Hi,
I have a VB6 project that we need to migrate to VB.NET. I used the migration wizard. At one point, the VB6 code line is:
Private myArrary() as NEW RDO.Connection.
Now, after conversion, the keyword NEW gives error saying that array cannot have new keyword. What is the solution?
Secondly...
Hello,
We recently received a desktop mobile application developed by someone for maintainnace. The spec paper mentions about MC50 specification as:
CPU: Intel® XScale™ 520 Mhz processor
Operating System: Microsoft® Windows Mobile™ 2003
Now I made changes to the application on regular Intel...
Hi,
I am using Remoting with TCP. When I return the string it works. But when I try to return a collection, it gives error. Can anyone help me how to return a collection of objects?
Below is the code:
Imports System.IO
Imports System.Runtime.Remoting
Imports System.Runtime.Remoting.Channels...
Hi,
I have two databases and want to write an SQL to retrieve data from two tables. Both the tables are in different databases. Database 1 has collation set to SQL_Latin whereas database 2 has collation set to Windows Collation: Latin1_General. Because of this, my SQL gives me collation error...
Hi,
We got a product for maintenance. Now one of the form is using a third-party grid that is binded to a table in the dataset which has its .xsd file.
As per the requirements, we wanted one more field in the grid. So we opened the .xsd file and added the field and set the mapping to the...
hi SHelton,
Thanks for your reply. I also find that even if I type 1 or 2 numeric key values and press the tab key, I again get back the same old value. Why?
Regards,
Varsha
Hi,
We have an entry form that is binded to the datatable. There is an amount field. On this amount text box, when we delete the previous value and press tab key to go to next text box, the old value is displayed again in the text box? Why does this happen?
Regards,
Varsha
Hi,
I have a grid control on the Form1. When my form runs, I fill the grid binding it to the underlying dataview. Now when the user clicks on any row in the grid, I have to open a new form (Form2) in edit mode. From the grid form (Form1), when I call the edit form, I use position property as...
Hi,
In VB6, I used the following code in KeyPress event of textbox to convert lowercase to uppercase:
if keyascii >=97 and keyascii<= 122 then
keyascii = keyascii -32
endif
What is the equivalent code in VB.NET?
Regards,
Varsha
Hi,
I have an MDI main menu. I call a vb form "XX" from it. From that VB form "XX", I call another modal form. When when the user closes the modal form and comes back to the "XX" form, the text boxes on the 'XX", which gets under the modal form, does not repaint itself unless I switch to...
Hi friends,
I want to do the following using VB:
a. Create a blank new .pst file
b. Attach the new .pst file to my MS-Outlook
c. Read emails from my current .PST file and copy them to the new .pst file (just created)
Is (a) and (b) possible using VB? Any help is appreciated.
Regards,
VJ
Hi friends,
This variable (olMailItem) is a VB constant and hence need not be declared. If I set the Reference to Outlook, then the same code works. And after setting Reference, I also checked for this constant. It does exist. Then I removed the reference to Outlook object 9.0 as I want it to...
Hi,
Following is the code that I use to create object of Outlook. I have not set references since I want it to work with all versions of Outlook. But the .CreateItem method produces error. Following is the code:
Dim objOutlook As Object
Dim objOutlookMsg As Object
On Error...
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.