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 bkrike 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
  • Content: Threads
  • Order by date
  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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.
  8. 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...
  9. 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...
  10. 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...
  11. wallaceoc80

    Check if a string is numeric

    Hi, I'm new to C++ and need to know how to test if a string is numeric. I'm pulling the string from a grid and all numeric values will be of type double. However, some columns in the grid will have text in them so I need to be able to check this out before I start work with the values. Any...
  12. wallaceoc80

    Check if a record contains no rows?

    I'm writing a stored procedure that inserts a new row into a table. In the procedure I'm calling a function that checks that the name and address provided for a customer with ID x is consistent with the data already in the table. This is the function: create or replace function...
  13. wallaceoc80

    Query problem

    I have a table in my database called message_builder. It is probably badly designed and looks like this message_builder(message_ID, sent_business_ID1, sent_business_ID2, sent_business_ID3) Another table business looks like this: business(business_ID, name) I want to write a query that returns...
  14. wallaceoc80

    ChoiceGroup - pass by reference??

    In a MIDlet I'm writing I am using some ChoiceGroups. At the moment for each choiecgroup I have a separate but very similar method that creates and displays the choicegroup. I'm trying to write one generic method that takes a ChoiceGroup as a paramater and creates and displays the ChoiceGroup...
  15. wallaceoc80

    inserting multiple rows

    I want to insert multiple rows into a database table. The only problem is that the insert statement needs to be built up dynamically using asp.net. The insert statement looks like this: insert into lbs_temp_353876354551 values (4, 'McDonalds', 'McDonalds $ saver menu now available'...
  16. wallaceoc80

    setting textfield text to value from drop down list

    I have a drop down list which is populated from a query to the database in the Page_Load method. I also have a textfield and I want the value of this to be set to the selected value of the drop down list whenever the user selects a new value. I have the code...
  17. wallaceoc80

    column data type help

    I am designing a table that will have two columns for gps coordinates. One for longitude and one for latitude. I don't know which data type I should use for this information. I was thinking either real or float. I don't want the database to change the figure if it has less than 5ish digits...
  18. wallaceoc80

    Insert into table with identity column

    If you have a table with (say) 3 columns, the first of which is an identity colum with an auto increment of 1, and you want to insert a new row into the table. Do you have to list out all the columns like this: insert into tablename (column2, column3) values ('a', 'b'); or can you leave out...
  19. wallaceoc80

    Redirect at the Server

    Is there any way that ASP.NET can redirect the user to a different page at the server (i.e. as far as I know Response.redirect returns something to the browser telling it to load a different page). I also know that Server.Transfer will do this if the page was on the same server. However, I...
  20. wallaceoc80

    Processing data sent by HTTP

    I am developing a Java MIDlet for a mobile phone. I want this MIDlet to open up a HTTP connection to a aspx page and send some information to the page so that it can be processed. Is it possible to have ASP.NET pages processing data that is posted from a mobile device via HTTP? Any advice...

Part and Inventory Search

Back
Top