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...
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...
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...
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...
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...
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...
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.
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...
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...
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...
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...
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...
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...
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...
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'...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.