Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  agyat : (23 May 2013 - 01:23 AM) Wow! Mr. Sb Back Home.
@  OpaQue : (23 May 2013 - 12:44 AM) Ting
@  OpaQue : (24 April 2013 - 02:44 PM) I guess, Time to run Mycent script.
@  OpaQue : (24 April 2013 - 02:43 PM) wow.. not much spam. except habatt posting lot of links.. :P
@  yordan : (23 April 2013 - 01:04 PM) You're welcome, agyat. Nice to have been helpful. Second lesson: try full words, "you" instead of "EW".
@  agyat : (23 April 2013 - 05:03 AM) @YORDAN: tHANK EW FOR YOUR FIRST LESSON.   :D
@  yordan : (22 April 2013 - 09:43 PM) @agyat : "why don't you help me", or "please help me", or "please teach us"
@  yordan : (22 April 2013 - 09:42 PM) welcome back, velma
@  velma : (22 April 2013 - 07:51 AM) **yawns** Good to be back, wonder what is going on here :)
@  agyat : (22 April 2013 - 03:50 AM) Oh! so, why don't help me learn english..
@  yordan : (21 April 2013 - 08:38 PM) The goal mentioned by shiu : "learning english, learning computer"
@  agyat : (21 April 2013 - 06:31 PM) WHAT GOAL?
@  yordan : (20 April 2013 - 10:39 AM) yes, that's our goal. simultaneouly learning English and teaching/learning computer using.
@  shiyu : (20 April 2013 - 07:30 AM) learning english,learning computer
@  yordan : (19 April 2013 - 01:11 PM) Oh, I see, it's just a trick in order to force people looking at your texte. Somehow smart, maybe.
@  agyat : (19 April 2013 - 02:54 AM) And of course I know it is not SEO friendly.
@  agyat : (19 April 2013 - 02:52 AM) There may be two possible answers for that ....


1) Shout was posted using mobile keypad.

2) To force people read content carefully and/or with more concentration.
@  agyat : (19 April 2013 - 02:49 AM) There may be two possible answers for that ....
@  yordan : (18 April 2013 - 09:35 PM) however, why this mixing of capital letters in the middle of your text?
@  agyat : (18 April 2013 - 11:10 AM) false feelings.

Photo
- - - - -

Delete A Registry Subkey And Key


8 replies to this topic

#1 jbitkill

jbitkill

    Member - Active Contributor

  • Members
  • 82 posts
  • Gender:Male
  • Location:Wales

Posted 06 November 2007 - 09:52 AM

Hi, does anyone know how to delete a registry key/subkey using VB 2005 Express. Also, if any other methods using VB, C#, C++, J#, post them as well.

#2 Jimmy89

Jimmy89

    Living at the Datacenter

  • [HOSTED]
  • 713 posts
  • Gender:Male
  • Location:Australia
  • myCENTs:14.01

Posted 06 November 2007 - 10:38 AM

you can modify anything in the registry through the My.Computer.Registry namespace.

for example, if you want to delete an entry in the local machine driectory, you would enter
My.Computer.Registry.LocalMachine.DeleteSubKey(key here)
and change 'key here' to the key you want to delete

Edited by Jimmy89, 06 November 2007 - 10:38 AM.


#3 faulty.lee

faulty.lee

    Super Member

  • [HOSTED]
  • 500 posts
  • Interests:Electronics, Software Programming, Embedded Programming, Movies, Windows Shopping
  • myCENTs:79.88

Posted 06 November 2007 - 11:38 AM

Or you can try the more ancient method
Dim regKey As RegistryKey
regKey = Registry.LocalMachine.OpenSubKey("Software", True)
regKey.DeleteSubKey("MyApp", True)
regKey.Close()

Or you can refer to http://www.codeproje...try_with_vb.asp

#4 tansqrx

tansqrx

    Super Member

  • [HOSTED]
  • 759 posts

Posted 06 November 2007 - 07:13 PM

Aww, why does the easy ones get answered so quickly.

#5 faulty.lee

faulty.lee

    Super Member

  • [HOSTED]
  • 500 posts
  • Interests:Electronics, Software Programming, Embedded Programming, Movies, Windows Shopping
  • myCENTs:79.88

Posted 06 November 2007 - 11:55 PM

Aww, why does the easy ones get answered so quickly.


Well, you can always give more input or tips along the way, :rolleyes:

#6 Jimmy89

Jimmy89

    Living at the Datacenter

  • [HOSTED]
  • 713 posts
  • Gender:Male
  • Location:Australia
  • myCENTs:14.01

Posted 07 November 2007 - 05:05 AM

lol, this one got answered in less then an hour! :rolleyes:

#7 faulty.lee

faulty.lee

    Super Member

  • [HOSTED]
  • 500 posts
  • Interests:Electronics, Software Programming, Embedded Programming, Movies, Windows Shopping
  • myCENTs:79.88

Posted 07 November 2007 - 02:52 PM

I guess I might want to a software to constantly check the latest topic :rolleyes:

#8 kelvinmaki

kelvinmaki

    Advanced Member

  • Members
  • 170 posts
  • Gender:Male

Posted 07 November 2007 - 03:48 PM

I guess I might want to a software to constantly check the latest topic B)


Hmm.. That reminds me of gmail and yahoo mail alert. If there's ever a software made to alert you of latest topics and latest post. You will be able to keep track. :rolleyes:

But is there such software..

#9 faulty.lee

faulty.lee

    Super Member

  • [HOSTED]
  • 500 posts
  • Interests:Electronics, Software Programming, Embedded Programming, Movies, Windows Shopping
  • myCENTs:79.88

Posted 07 November 2007 - 04:28 PM

Miss out a word, i actually meant i might wanted to "write" one, :rolleyes:



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users