Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
C

Code Crapper

@Code Crapper
About
Posts
39
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Directory problems?
    C Code Crapper

    Thank you, that really helped me, I can now make a full on computer cleaner if I put the time in :-D Thanks again!

    --------------------------- If I had a £0.01 for the amount of times I have said to people "USE GOOGLE" I would be richer than Bill Gates.

    Visual Basic question tutorial

  • Directory problems?
    C Code Crapper

    I need to get through the bit that says Code Crapper, the user name because otherwise the program wont work on any other computer with a different user name. So far I have "C:\DOCUME~1\username (dont work)" The 'DOCUME~1' bit works but I just need the username bit, I tried 'USER~1'and 'USERNA~1' but no luck. All I need to know is the Username one and then I can do things like. C:\DOCUME~1\Username?\Cookies I can do anything else which does not require a user name too like C:\DOCUME~1\All Users\LOCALS~1\

    --------------------------- If I had a £0.01 for the amount of times I have said to people "USE GOOGLE" I would be richer than Bill Gates.

    Visual Basic question tutorial

  • Directory problems?
    C Code Crapper

    How can I tell my program to read the folders that are different on peoples computers like mine for example. C:\Documents and Settings\Code Crapper\Cookies Now as you can see your computer has not got that, your computer (if its XP) would have. Drive letter:\Documents and Settings\Your Name\Cookies So my question is, how do I get it to work on anybodys computer? do I have to do something like this? %systemroot%\DOCU~\%USER%\Cookies ???? :~

    --------------------------- If I had a £0.01 for the amount of times I have said to people "USE GOOGLE" I would be richer than Bill Gates.

    Visual Basic question tutorial

  • Tree View (sorry guys dont get mad)
    C Code Crapper

    Thanks! :-D Just one more thing im not sure about? when I click on the next node, the controls from the old node are still showing, cant I make it so that when the new node is double clicked the old nodes properties dissapear and the new nodes properties appear? E.g First node has a text box and a combo box in the group box and then when i double click another node the group box hides the textbox and combo box and then displays just a list box (or whatever)

    --------------------------- If I had a £0.01 for the amount of times I have said to people "USE GOOGLE" I would be richer than Bill Gates.

    Visual Basic question data-structures

  • Run Registry Value
    C Code Crapper

    yay, thank you for the help guys, I should be fine from here :-D

    --------------------------- If I had a £0.01 for the amount of times I have said to people "USE GOOGLE" I would be richer than Bill Gates.

    Visual Basic question windows-admin

  • Tree View (sorry guys dont get mad)
    C Code Crapper

    THANK YOU I LOVE YOU!!!! LOL (sorry thats not normally me) Anyway, since I have done that, will it now make it so that the group box will show the properties just for the node I have clicked on and then when I click on another node it should clear the properties of the last one and then show this new nodes properties? (sorry if thats a bit confusing) EDIT Damn.. I just ran into a new prob In editing mode I cant select nodes so how can I make the properties for each node in 1 group box :S :sigh: EDIT 2 Damn.. again, I just relised that just changes the group box text not whats in the group box.. how do I change whats in the group box :S.. my god this thread is getting big.... SORRY EVERYBODY -- modified at 21:26 Sunday 26th November, 2006

    --------------------------- If I had a £0.01 for the amount of times I have said to people "USE GOOGLE" I would be richer than Bill Gates.

    Visual Basic question data-structures

  • Tree View (sorry guys dont get mad)
    C Code Crapper

    I'm using Visual Basic 2005 .. OH NO... i can do it in VB cant I ?!?!?! :wtf:

    --------------------------- If I had a £0.01 for the amount of times I have said to people "USE GOOGLE" I would be richer than Bill Gates.

    Visual Basic question data-structures

  • Tree View (sorry guys dont get mad)
    C Code Crapper

    What am I looking for in the properties panel? (sorry about this I'm just real tired and my eyes are fuzzy) ugh... what have i gotta change in the properties panel? Is it that tag field or is it something in the node properties somewhere?

    --------------------------- If I had a £0.01 for the amount of times I have said to people "USE GOOGLE" I would be richer than Bill Gates.

    Visual Basic question data-structures

  • Tree View (sorry guys dont get mad)
    C Code Crapper

    I tried that but at the end (the bit thats in bold) it says the signitures are not the same :confused: Its underlined in blue saying it :( Private Sub TreeView1_NodeMouseDoubleClick( .... ) Handles TreeView1.NodeMouseDoubleClick

    --------------------------- If I had a £0.01 for the amount of times I have said to people "USE GOOGLE" I would be richer than Bill Gates.

    Visual Basic question data-structures

  • Tree View (sorry guys dont get mad)
    C Code Crapper

    Quote ---------------- The tree control has an event when the selected node is changed. You catch that, work out what node is selected, and show your contents accordingly. Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert Quote ---------------- Um guys I still need help?!?!?? What event.. Catch?.. event..? :confused: Can someone give me a code snippet because I'm the type of person that learns how to code from code snippets and then experiments with it. I am stuck here with a tree view and a panel thats not doing anything.... Many thanks

    --------------------------- If I had a £0.01 for the amount of times I have said to people "USE GOOGLE" I would be richer than Bill Gates.

    Visual Basic question data-structures

  • Tree View (sorry guys dont get mad)
    C Code Crapper

    Hi again :~ This one sounds hard and not even !!!google!!! OMFG gave me an answer since I cannot phrase it so google understands the question. When I click on a node in a treeview, how would I make it so that a panal or groupbox nearby will show the options for that selected node? You are my last hope since I cant get google or MSDN to cough up any results. ------------------

    If I had a £0.01 for the amount of times I have said to people "USE GOOGLE" I would be richer than Bill Gates.

    Visual Basic question data-structures

  • Run Registry Value
    C Code Crapper

    Uh, ye thanks... :)... lol Would you recommend a Treeview then? if so I would need to know how as I have never worked with the Tree view control. thanks

    Visual Basic question windows-admin

  • Run Registry Value
    C Code Crapper

    Thanks for the code snippit and for Chris, I know how to read and write to the registry AND I also know what messagebox.Show does EXACTLY but how is that gonna help me, my question was How can I display the contents of the RUN registry key in a TEXTBOX (thats already on the form) not a message box, I know how to display registry VALUES in a textbox but I do not know how to display the entire contents of a registry SUBKEY. :doh:

    Visual Basic question windows-admin

  • Run Registry Value
    C Code Crapper

    Thanks on the quick reply, how would I use message box.Show to display it? like this? Messagebox.show ("HKEY_L...") ? sorry I am allmost certain that is wrong as that just displays text. :sigh:

    Visual Basic question windows-admin

  • Run Registry Value
    C Code Crapper

    I have had some trouble with this one. How can I Display the contents of the Run Registry value in a textbox? Just incase you are wondering, this key is located in the registry at: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Run

    Visual Basic question windows-admin

  • How do I delete all files in a folder?
    C Code Crapper

    Cool, well thanks guys for all your help, I will fiddle about with the code and see what the result is ;P

    Visual Basic question

  • How do I delete all files in a folder?
    C Code Crapper

    Christian Graus wrote:

    Sadly, the answer is 'one at a time'. Directory.GetFiles will tell you the files, then you delete them one at a time.

    Does that mean that I couldnt create a program that could clean the computer like CCleaner for example? :sigh:

    Visual Basic question

  • How do I delete all files in a folder?
    C Code Crapper

    Hey everyone, well the title says it all. How do I delete all files in a folder? e.g. TEMP folder PS: How would I display the results in a textbox of what is in that folder before i delete it? ( then i click a button to comfirm deletion)

    Visual Basic question

  • Run...
    C Code Crapper

    How can i read all of the entries in a registry subkey and then display them in a list inside a textbox?

    Visual Basic question windows-admin

  • Timer out of control!
    C Code Crapper

    ah cool ;P

    Visual Basic com tutorial question announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups