SIMPLE Questions Thread!
Solved above problem 

How do I make an .exe application start when the computer is turned on?
I think i've got to move it to a folder, but im not sure wich one..is it right?
If not, how do I do it?
Can I somehow, set a application to move itself to the directory I want it to be?
EDIT(+1 question lol) :
Can I somehow delete textbox1.text every set amount of time using a timer, if i can, can u provide me the code for that, can I somehow start it like this:
[php]Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
If TextBox1.TextLength > 0 Then
'code_to_erase_textbox1.text_that_I_dont_know
End If
End Sub[/php]
I think i've got to move it to a folder, but im not sure wich one..is it right?
If not, how do I do it?
Can I somehow, set a application to move itself to the directory I want it to be?
EDIT(+1 question lol) :
Can I somehow delete textbox1.text every set amount of time using a timer, if i can, can u provide me the code for that, can I somehow start it like this:
[php]Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
If TextBox1.TextLength > 0 Then
'code_to_erase_textbox1.text_that_I_dont_know
End If
End Sub[/php]
'Write to register
Dim regKey As Microsoft.Win32.RegistryKeyregKey
regKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\Microso ft\Windows\CurrentVersion\Run", True)
regKey.SetValue("YourApplicationName", "YourInstallPath")
regKey.Close()
--------------------------
Textbox1.Clear
Problem:
Error 1
'LocalMachine' is not a member of 'Microsoft.Win32.RegistryKey'. C:\Documents and Settings\Itunes\Os meus documentos\Visual Studio 2008\Projects\Noobx2\Noobx2\Form1.vb 10 18 Noobx2
regKey.SetValue("noobx2", "C:\WINDOWS")
the noobx2 is the .exe file name, is that correct?
Error 1
'LocalMachine' is not a member of 'Microsoft.Win32.RegistryKey'. C:\Documents and Settings\Itunes\Os meus documentos\Visual Studio 2008\Projects\Noobx2\Noobx2\Form1.vb 10 18 Noobx2
regKey.SetValue("noobx2", "C:\WINDOWS")
the noobx2 is the .exe file name, is that correct?
Hay
How can i inject an dll from the resources of the programm, so that the user cant get the .dll?
How can i inject an dll from the resources of the programm, so that the user cant get the .dll?
uhm i need the code
if FolderBrowserDialog1.SelectedPath & "\Filename" doesn't exist, then my application ends
if FolderBrowserDialog1.SelectedPath & "\Filename" doesn't exist, then my application ends
setvalue("NoobProgram", application.startuppath & "\NoobProgram.exe")
[php]Dim AppPath As String = Application.StartupPath
My.Computer.FileSystem.CopyFile(AppPath, "C:\Windows")[/php]
I don't get what's wrong here...what do you think it is?
Please provide a solution.
My.Computer.FileSystem.CopyFile(AppPath, "C:\Windows")[/php]
I don't get what's wrong here...what do you think it is?
Please provide a solution.
I just saw this thread, so I though't I'd ask.
How do I change this name:
And, is it possible to put a picture behind there? Where the gray space is?
How do I change this name:

And, is it possible to put a picture behind there? Where the gray space is?
I did it, did the build thing again, still says Form1.
It shows up IN the vB program, just not outside of it.
This thread is closed for replies.


