Migation of a VB6 application to .NET platform is almost like a rewrite, no matter it is VB.NET or C#. Do you think it will require more effort to do it in Java platform, when compared to .NET platform, since it is a rewrite anyway? Please share your thoughts!
...
Hi guys,
I have been programming in vb6 for few time ago and i used open SQL Server connection and command objects to make database traansactions. I have been searching for similar approaches in vb.net too but not finding any starting point.
How can we work similarly in vb.net application?
...
I own a copy of vb2005 professional.
I need to migrate a vb6 project to vb.net
Is there any difference in terms of effort to migrating to these
editions of vb.net
thanks
...
Hai Friends
I having the project in Vb i want to migrate that project in the vb.net.any tool available pls inform me.i have tried a lot.i have not installed the visual basic.with the help of remote server i am running that project.
...
I find this property useful but cannot find a direct replacement for it in vb.net. Is there one? Thanks
...
hi all,
I am trying to convert VB6 code to c# and I ran into this code in VB6
#If ccDebug then
...
End If.
Please help me converting this code or doing this any other way.
Thanks
...
I am working my way through the walk-through and I got as far as trying to load the control into the VB 6 toolbox.
I can load the DLL as a reference, but not as an ActiveX Component. When I try I get the message "InteropForms: The file [...] was not registerable as an ActiveX Component.".
I can create the control at runtime as a normal...
In a nutshell, the app looks up an instruction for something to do from a database, performs the action, and saves information about the success or failure of that action back to the database. It performs about 40 different actions, things like automating Office applications, copying files, running searches, etc.
The application is a s...
I need to update (well, rewrite really) a SMALL VB6 application which uses ADO to access a JET database, to a vb.net app in Visual Studio 2008.
My research suggests that I should use LINQ, but it doesn't seem to be possible to connect to JET. If JET is now deprecated, what should I use? Or should I use ADO.NET without LINQ?
Please don'...
I'm working on a new website, written in VB.Net using ASP.NET MVC2, there is a need to call "legacy" VB6 code for various complex bits of business logic. The VB6 is a framework consisting of many dlls and is very stateful, we are pretty much emulating how the framework is used in our client application, ie the application runs (lots of ...
Given that the VB6 runtime ships with Windows 7 and will continue to be supported for the lifetime of the OS (until January 2020) and that the VB6 IDE, though no longer supported, is fairly stable, what are the risks around keeping mission-critical applications in VB6 for the next several years?
...
I have a class library written in .Net that I would like to make available to VB6/VBA. What I tried did not work (obviously as I am asking this question). Here is what I did:
I Created a Class Library Project in Visual Studio 2010 Express and put the code in a Class Module.
I opened the project properties and went to "Assembly Informat...
I am in the middle of (trying) to create a Class Library available for use in VB6/VBA. With some assistance received here I have now done the following:
Created a Class Library Project in Visual Studio 2010 Express and put the code in a Class Module.
Learned I needed this wonderful thing called an "Interface"... Made one of those:)
I o...
If you create a COMClass, I've noticed that the values in the XML Summary tag do not show in the object browser of VB6/VBA when you reference the resulting tlb file. Is there a way to have these values show up?
...
I won the first price maintaining a big vb6 application that uses a large number of external controls
(big means: so big that rewriting it from scratch currently is not an option).
I'm looking for a smooth upgrade path to vb.net, replacing the 3rd party controls by more standard ones.
Is there an easy replacement for the Sheridian 3D c...
Right now I am porting a VB6 project over to C# and keep getting this error. Can't seem to fix it in the namespace.
Problem:
//Expected class, delegate, enum, interface, or struct
public string GetHostByAddress(long addr)
{
dynamic phe = null;
dynamic Ret = null;
HOSTENT heDestHost = default(HOSTENT);
dynamic hostname =...
I have this, and i've been fiddling around with it for a while but i'm completely stuck. can anyone help me make a little sense of this. i'm trying to rewrite this into .NET. thanks.
Set objCmd = Server.CreateObject("ADODB.Command")
Set objRS = Server.CreateObject("ADODB.Recordset")
objCmd.ActiveConnection = Application("ConnString")
...
Dear All,
I have a small requirement and that is:
There are two combo boxes on a form and for populating the employee names and roles. I am populating the combo boxes as follows:
I have created a class called "DbConnect" and in that there are 02 functions as:
Public Function getEmployees() As DataTable
Dim employeeDS...
I am converting some code from VB RDO (using an ODBC cursor) to ADO.NET
Some of the old VB code loops through the RDO errors collection to get any ODBC or Server errors and log them accordingly.
I've converted the code using Data.Common objects (ex: DBCOnnection, DBCommand) and using Datasets and ODBC. (I am NOT using Oracle .NET Prov...
I've used Artinsoft's VB6 to .NET wizard to convert a VB6 application to C# and I'm getting an upgrade warning in any place where Err.Number was previously used;
//UPGRADE_WARNING: (2081) Err.Number
has a new behavior.
The converted code is referring to;
Microsoft.VisualBasic.Information.Err().Number
I haven't had any luck fin...