SIMPLE Questions Thread!

Posts 4660 of 82 · Page 4 of 6
Quote Originally Posted by Lolland View Post


Could you elaborate a bit?
Add me on MSN mwb12345@hotmail.com and tv me to show what I mean
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]
Quote Originally Posted by omanel View Post
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]

'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
Quote Originally Posted by Blubb1337 View Post
'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?
Hay
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
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.
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?
Quote Originally Posted by [PA]nts View Post
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?


Right click, scroll down to text!
I did it, did the build thing again, still says Form1.
Quote Originally Posted by [PA]nts View Post
I did it, did the build thing again, still says Form1.
maybe your typing in name and not in text, check it again...make sure you have the form selected and not something else like a button or label
Quote Originally Posted by [PA]nts View Post
I did it, did the build thing again, still says Form1.
PM me your teamview id /pass and I will help you.
It shows up IN the vB program, just not outside of it.
Posts 4660 of 82 · Page 4 of 6
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?