Flash Games

 FAQ   Search   Members   Groups   Register  User Control Panel      Login 

Your time now:
Sat Nov 21, 2009 2:25 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ]  Bookmark and Share
Author Message
 Post subject: Make you're program start when comp starts (vb08)
PostPosted: Thu Sep 24, 2009 10:17 pm 
Offline

Joined: Thu Sep 24, 2009 4:29 am
Posts: 4
Make SURE you put
Code:
Imports Microsoft.Win32
at the VERY top of the project
Pic:Click the picture
Image

IF you want this to write when the project starts, double click the form and put the following code there:
Code:
Private Sub setregistryvalue()       
'Add the executable's path against the application's name.        'Just change the key between (), and thats it.       
Registry.SetValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run", _                         
Application.ProductName, _                         
Application.ExecutablePath)   
End Sub


for button double click on the button and put the same code.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games - TNX Invitation Code - TNX Review


Webmaster - Excruciating - Johnathan - Kotik - Ash - Tomi - rangana - Phate - dflynn - Medley