Search results

  1. S

    Doubt regarding openevent() in vc++

    Here there are topics like vs.net general discussion, which I thought would cater to these questions.
  2. S

    Doubt regarding openevent() in vc++

    I am trying this in vc++.net. This is not a visual basic code. Event in c++ is one way of synchronization. Can people suggest answers?
  3. S

    Doubt regarding openevent() in vc++

    Hi all, I am writing a multithreaded code in vc++, where I am using createevent() and openevent() function to control threads. hEvent1 = OpenEvent(EVENT_ALL_ACCESS, FALSE, "Event1"); I want to know the significance of first 2 arguments. This is in light of when I tried EVENT_MODIFY_STATE in...
  4. S

    Nasty bug in dotnet framework

    Hi all, I am getting a bug when executing my project in visual studio.net in debug mode. The error is Unhandled exception at 0x77f9180c in myprogram.exe: User breakpoint can anyone tell me how to overcome this bug. I tried using debugger tool gflags.exe, but I don't know how to use it...
  5. S

    How to know the windows directory in vb.net

    Hi all, In vb.net code, I want to know the windows directory, say if windows is installed in d:, I would like to know d:\windows thanks in advance Sudhanshu
  6. S

    Overlapping groupboxes

    Hi, Is there a way without using tab control. Something like dynamic groupboxes. ( I don't know what a dynamic groupbox is ?)
  7. S

    Overlapping groupboxes

    Hi all, I have created 2 groupboxes, each containing some textboxes etc. I have created them adjacent to each other inside the form. But I want both of them to be overlapping, because at a time I will use only one of them. This will reduce the size of my form. How can I do it ?
  8. S

    Can an arraylist store an array object ?

    Hi all, I have a class for which I created an array of objects. can I store this array in an arraylist ?
  9. S

    Topmost problem

    Hi, It is OK to call both progressbar and the form from the same place. But I think the progressbar can be called in a separate thread just before the main report form is called. better still, create a function that will do these works like creating progressbar form, showing it etc. e.g. Dim...
  10. S

    Doubt regarding arraylists

    Hi all, can an arraylist contain objects of variety of classes. If yes,then when we want to extract an object from this arraylist, how do we come to know of its type ? Thanks, Sudhanshu
  11. S

    Associating a hyperlink with an event

    Hi all, I would like that when user clicks on a button, a hyperlink should open. For e.g. on clicking button, an internet explorer etc should appear with say http://sdfasfa.com How can I do so ? Thanks sudhanshu
  12. S

    Disallowing raising events

    Thanks, I am using built in events for treeview. I would like to know if I can disable raising events by any means.
  13. S

    Disallowing raising events

    Hi all, Suppose i have associated an event with textbox that gets raised when I change the value inside a textbox. Now I am changing the value of the textbox inside my code, then that event gets raised automatically inside the code. But I don't want that event to be raised inside my code. How...
  14. S

    Displaying progress bar

    Hi JMC, Thanks, But you got to tell me what is wrong in the way I am doing ? 1> suppose I abort() a thread, then the thread called a function where a form was created. once I abort() the thread, the form.dispose() should be called automatically. Is it true ? 2> tell me to solve this problem. If...
  15. S

    Displaying progress bar

    Hi all, Thanks for the reply. I got what I wanted to achieve. What I did was create a new form inside a function. The form contains a continuously looping progressbar. Now i called this function inside a new thread. I start the thread before calling the show() of main form. Once the main form...
  16. S

    Displaying progress bar

    Hi all, I would like to display an infinite message progress bar on desktop till some form comes up. After the form appears I would like to close that progress bar. How can I do so ?
  17. S

    Does pressing the cancel icon on a form dispose it ?

    Hi all, In a Vb.net form, we have cancel icon on right side top of the form. When we press it, we can close the form. when we click this icon, does the form get disposed ( meaning its memory is ready to be freed by garbage collector). Or it still remains in memory and we have to specifically...
  18. S

    How to display a avoidable message box in vb.net

    I want a simple solution,without any threads etc. Only tell me how to implement the form in a modal thing etc. How can we implement this thing in a safe and simple manner.
  19. S

    How to display a avoidable message box in vb.net

    Thanks Vis, I am kind of a new guy in vb.net and don't understand the term you said "don't display modally". Can you please elaborate more. Again thanks for such a quick response..........
  20. S

    How to display a avoidable message box in vb.net

    Hi all, I would like to display a messagebox in vb.net that can be avoided. When you display a messagebox like below MessageBox.Show("Message Text", "Message Title", MessageBoxButtons.YesNo, MessageBoxIcon.None) then, user has to click on yes/no, else the program will not move forward. I want...
Top Bottom