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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
A

Adrian Soon

@Adrian Soon
About
Posts
25
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • DataGridView Class
    A Adrian Soon

    Hi All, I'm now trying to use the DataGridView Class but i'm nt sure how to allow user to do sorting of data himself. Is there anyway I can code it? as I had my datagridview created in run time. what is the correct way to add the code in? thanks...

    C# question algorithms tutorial

  • tab table
    A Adrian Soon

    Is there a way to cancel the event to change tab? So it will remain at the same page.

    C# question announcement

  • tab table
    A Adrian Soon

    Hi all, I had 2 tab. each tab had a table and a update btn. User after updating the cell in the table. he will press the update btn before pressing the other tab. it is possible tat? everytime the user updated the cell, and he press the tab, the application will promote him to press the update 1st? how was it done with the coding? this are the call event. private void dgScore_CellEndEdit(object sender, DataGridViewCellEventArgs e) private void tabMain_SelectedIndexChanged(object sender, EventArgs e) any other event I can use to make it possible?

    C# question announcement

  • Multiple Language
    A Adrian Soon

    Hi All, Is there any other way to make my application multiple language? Currently I'm creating a class to handle all the diff language in an array and calling them upon diff timing.

    C# data-structures question

  • File? or A Folder?
    A Adrian Soon

    U means Directory.GetFiles? but it only get the files. hai. think I there isn't a faster way then.. hehe

    C# question

  • File? or A Folder?
    A Adrian Soon

    ok thanks... if it is a folder.. I wish to know whether is there any file inside.. is there a shortest possible coding?

    C# question

  • File? or A Folder?
    A Adrian Soon

    in my coding format how should I put it??? if(File.Exist(path)){ } else if(){ /// Find whether is folder? } else{ }

    C# question

  • File? or A Folder?
    A Adrian Soon

    Hi... is there any coding where I can tell a path is a folder or a file? private void FileOrFolder(string path){ if(){//// condition is path is a folder } else if(){/// condition is path is a file } else{/// unknown condition. } }

    C# question

  • getting the icon and extension
    A Adrian Soon

    Hi I tried pasting the code. but it fails. Conversion was attempted, however the following errors were reported: -- line 6 col 9: invalid NonModuleDeclaration I nt sure how to get it done. what went wrong?

    C# question tutorial

  • getting the icon and extension
    A Adrian Soon

    O the thread is good.. but I do need some sample as I have no idea how to start.

    C# question tutorial

  • getting the icon and extension
    A Adrian Soon

    Hi all, How do I able to get all the icons and extension of my files in my computer using coding?:confused: is there anyway? I know is something to do with HKEY_CLASSES_ROOT but I not sure how to code it. is there any sample? thanks.:-D I wish to take them out and then place it on a treeview. so user can see the all my treeview having diff icons.

    C# question tutorial

  • TreeView Control problem
    A Adrian Soon

    Hi. care to send to my emaiL? pls thanks.. I can't find my way to download this. :):):)

    C# question help

  • TreeView Control problem
    A Adrian Soon

    Hi, thanks. I can't see the link. but thanks for the advice it do gif me some clue to do my stuff. thanks alot.

    C# question help

  • TreeView Control problem
    A Adrian Soon

    Thanks I had tried ur method however no matter wat I click on it when to the last else statement. which means "if (e is TreeViewCancelEventArgs)" <== Had always been false isn't there a way I can stop a NodeMouseClickEvent in a BeforeExpand Method? if i can do something like this my problem will be solve. that wat I felt coz current situation is that when i click on expand it will call the NodeMouseClickEvent too which my mouse click event had other function to do which will affect the expand method which affect the result I wan to show. thanks private void tv_local_BeforeExpand(object sender, TreeViewCancelEventArgs e) { tv_local.Click -= new TreeNodeMouseClickEventHandler(tv_local_NodeMouseClick); tv_local.Click += new TreeNodeMouseClickEventHandler(tv_local_NodeMouseClick); }

    C# question help

  • TreeView Control problem
    A Adrian Soon

    I tink U don't get wat I mean See.. when I click using the mouse. it enter tv_local_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e) method In the method I wish to know whether I click on the check or click on the expand slot. is there a way??? -- modified at 5:04 Tuesday 14th August, 2007

    C# question help

  • TreeView Control problem
    A Adrian Soon

    Hi thanks, but tat don't do the trick. I felt. my tree goes like this. c:\ ---a\ ---b\ -----a\ -----b\ ---c\ -----a\ -----b\ -------a\ -------b\ ---d\ I nd to find out whether I click is a + sign or a check box. how to program it? thanks.

    C# question help

  • TreeView Control problem
    A Adrian Soon

    Hi All, I working on my treeView. I had a treeView with both CheckBox and Expandlist. I had a "NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)" method. inside the method I wish to know whether I click on is a checkbox or the expand + button. how can I do it?

    C# question help

  • Wat Should I do???
    A Adrian Soon

    I have to program a application, that require user to enter a name, then wit the name I genarate a serial number... but I have no idea how to start... is there any suggestion? coz I have been out of programming for 6month now abit rusty... I'm working on the embedded c++ wat I need is the logic to start

    Mobile c++ hardware tutorial question

  • Painting Node
    A Adrian Soon

    about the stuff... do u have any sample code to share? thanks for the help... btw... if I wan to change it from painting to using active X to do it... is it possible? I need a sample code tat is simmilar to mine... do U know any? I jus need something tat allow a node to repaint itself without user touching the screen... and the node will move from it spot too...

    C / C++ / MFC c++ question java help

  • Painting Node
    A Adrian Soon

    Halo... I was a java user and I have program a application tat allow me to see my node moving when I move around in my house using my mobile phone. now I wan to change the langauge to C++ MFC so as to put on my PDA. And I have successfully coded the stuff. but my node don't move when I on the application. but when I click on the pda I can actually move... meaning my codeds have no problem but the screen can not refresh to paint the new node position. do anyone have a alike application lik mine? or do anyone know wat was the problem y the pda nv repaint. does the WM_PAINT auto repaint all the time? or U have any question pls ask thank U...

    C / C++ / MFC c++ question java help
  • Login

  • Don't have an account? Register

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