Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by wallaceoc80

  1. wallaceoc80

    Overflow error when call Ubound method

    I figured out what was happening. Ubound returns a long and I was assigning the returned value to an Integer. This was ok some of the time but when a larger number was returned it caused the overflow. Thanks for your suggestions. Wallace
  2. wallaceoc80

    Overflow error when call Ubound method

    Some more info that might help. result object is a class that I have created as follows: class HedgeResult { friend std::ostream & operator<<(std::ostream &, const HResult &); public: void clear(); struct Result { std::string resultError...
  3. wallaceoc80

    Overflow error when call Ubound method

    Hi, I am getting an "Overflow" error when I call Ubound on an object of type Variant numResult = UBound(result) I have tried doing some searching on the net and I can't figure this one out. Has anyone ever encountered this before? The result object looks to be ok when I check it in debug...
  4. wallaceoc80

    removing rows/columns from 2d arrays

    Hi, I have an array of arrays decalred as follows: double[][] egArray = new double[19][]; and populated as you would expect. Later in the program there are situations when I want to remove a corresponding row/column e.g. egArray[2][2]. Is there any easy way of doing this without having to...
  5. wallaceoc80

    Static variables in multithreading

    Hi, I have a question regarding the use of static variables in a multithreading application. I have an application that will be parsing 2 different XML files on different threads. I then want to have a class (say Object1) that has a map containing other objects (Object2). Items of Object2...
  6. wallaceoc80

    Passing ComboBox datasource in method

    Hi everyone, It's been a long while since I did vb.net and I can't remember how to do something very simple!!! I have a ComboBox on form1 and another one on Form2. What I want to do is when the user clicks on a button that loads form2 I want to pass the DataSource from the ComboBox on form1...
  7. wallaceoc80

    Do somethong after ShowDialog

    Hi, I have a form that I am showing using the ShowDialog method. However, I want to acess the value of one of the selectors on the form after I call the ShowDialog but I can't. Is there any event that I can use that is fired by the ShowDialog or is there any other way I can use to get at teh...
  8. wallaceoc80

    Auto-update Project References

    Hi, I have a VB6 project that contains a reference to a tlb from another .Net project that I have. The problem is that whenever I rebuild the .Net project the reference in the VB6 project becomes out-of-date and I have to re-enter it. Is there any way that the project reference will...
  9. wallaceoc80

    Force ComboBox UserChanged event.

    Basically yes. The UserChanged event is fired if the user selects a new item from the drop down. Based on this selection other ares of the screen are loaded with new data. However, there is a part of my application where I pass in the value of the combobox and have to do...
  10. wallaceoc80

    Force ComboBox UserChanged event.

    I have gotten it working by explicitly callin the UserChanged event method like this: this.combobox_UserChanged(combobox, null) I'm not sure if it's OK to have System.event.arg set to null though? Thanks
  11. wallaceoc80

    Force ComboBox UserChanged event.

    I have a comboBox on one of my forms and when I set the text of the comboBox from another method it does not fire the UserChange event. Is there any way I can force this event to fire so that the component_UserChange method will be invoked? Thanks for any help.
  12. wallaceoc80

    Creating a Class to Interoperate with COM

    Question answered! thanks for your help.
  13. wallaceoc80

    Creating a Class to Interoperate with COM

    I have created a class to interoperate with COM and when I try to add a reference to the type library I get the following error: "A reference to 'Test' could not be added. Converting the type library to a .NET assembly failed. Type library Test was exported from a CLR assembly and can not be...
  14. wallaceoc80

    Starting .Net application from C++ app

    Thanks for the reply. What about the aspect of passing information from one to the other? Would this be easier if i was to create the .Net app as a dll and include it in the main C++ application?
  15. wallaceoc80

    Starting .Net application from C++ app

    One thing I forgot to add is that when I launch the new application which is basically a form I want to be able to pass some data to it so that it is populated when it opens. Thanks, Wallace

Part and Inventory Search

Back
Top