Members Login.
 

Please register HERE to be part of our Community
Contest of the Day.
 
Participate and Earn $$$.
Looking to Hire.
 
Earn By Posting
 
Participate in forum and Earn $$$.
  • Referrer Credit - BRL$ 100
  • Positive Rep Cr. - BRL$ 3
  • New Thread Cr.- BRL$ 3
  • Posting Cr. - BRL$ 3
  • Post size Credit
Full List of BRL$ Earnings
Sponsors.
 


VB & Delphi Development and coding discussion related to Visual Basic and Delphi programming

Reply
  #1 (permalink)  
Old 03-15-2008
Link Exchange - Jr. Member
 
Join Date: Mar 2008
Posts: 264
Rep Power: 5
mira is on a distinguished road
BRL$: 7.42
Default Writing to Windows Registry using VB

Hello All

I am trying to make my application auto run. I mean I want to start it automatically when Windows starts. So I want My applcation entry in Windows registry.

Can anyone tell me how to write in registry using vb?

Any help regarding this is appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-15-2008
Peon
 
Join Date: Mar 2008
Posts: 7
Rep Power: 0
techno is on a distinguished road
BRL$: 129.32
Default Re: Writing to Windows Registry using VB

I hope following code will be useful to you, it works with vb 6
HTML Code:
Dim ClickCounter As Integer
Private Sub Form_Load()
ClickCounter = 0
End Sub
Private Sub Form_MouseDown(button As Integer, _
   shift As Integer, x As Single, y As Single)
   ClickCounter = ClickCounter + 1
   SaveSetting "AboutVBExample", _
         "Location\Click" & ClickCounter, _
         "button", button
   SaveSetting "AboutVBExample", _
         "Location\Click" & ClickCounter, _
         "shift", shift
   SaveSetting "AboutVBExample", _
         "Location\Click" & ClickCounter, _
         "x", x
   SaveSetting "AboutVBExample", _
         "Location\Click" & ClickCounter, _
         "y", y
End Sub 
Hope it helps
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
KRYPT.COM Pentium Sale Under $80 and Free Cpanel offers Rss_Feeds Dedicated Server Offers 0 10-02-2007 02:00 AM
Offer Windows and Linux Windows Hosting NOW! brl_admin Reseller Web Hosting Offers 0 09-30-2007 01:16 AM
JHServers - NEW Product! - 100 Mbps Unmetered - $145/month! Rss_Feeds Dedicated Server Offers 0 09-21-2007 05:43 PM
CBras.com - 100mbps UNMETERED - QUALITY NETWORK - Free IP, Free cPanel, Free Windows Rss_Feeds Dedicated Server Offers 0 09-04-2007 09:50 AM
Windows VPS Specials! As low as $29.38/month. brl_admin VPS Hosting Offers 0 07-17-2007 10:33 PM


 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91