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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: wallaceoc80
  • Order by date
  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
  16. wallaceoc80

    Starting .Net application from C++ app

    Hi, I have a question about starting a C# .Net application from another app that is written primarily in C++. I basically want to add a menu option to the parent (C++) app so that when the user selects this menu option it fires and event that will open the .Net application. Some other things I...
  17. wallaceoc80

    Enumerator data type

    Ok thanks for all the replies. Can you suggest something else that I can use instead of an enumerator?
  18. wallaceoc80

    Enumerator data type

    Thanks for the reply. Given it's 32 bits am I correct to assume so that e.g. 1 << 34 will cause errors? Wallace
  19. wallaceoc80

    Enumerator data type

    I have an enumerator data type and assign the values as follows: enum manualControlList { efirst = 1 << 0, esecond = 1 << 1, ....... ....... eThirtyThird = 1 << 34, eThirtyFourth = 1 << 35, eLast }; However, I think...
  20. wallaceoc80

    Check if a string is numeric

    Ok found a way around that by converting it to _bstr_t first and then converting that to an RWCString. Any ideas how I can convert a double to an RWCString? thanks for all the help. Wallace

Part and Inventory Search

Back
Top