473,379 Members | 1,190 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

VB6 upgrade to VB.net

js
I newly installed Windoz Vista on my machine. I am trying to upgrade
several VB6 ACTIVEX DLLs to VB.net. I tried to open the original VBG
in Visual Studio 2005. The VB Upgrade Wizard was automatically
launched and tries to convert the VB6 projects. None of the VB
projects in the group are converted. The wizard asked that these
projects to be opened in VB6 and be compiled suceessfully before
VS2005 can convert them. So I digged out my many years old VB6 CDs
and installed on my Vista machine. In each of the project, there are
some reference missing. So I used text editor to correct the obvious
reference paths. All was fine. When I tried to run the Make option
from File menu, all DLLs has "Compile Error" and some had highlight
on the following line:

Dim oContext As COMSVCSLib.ObjectContext 'ObjectContext reference of
the current MTS transaction.

and some with "variable not defined" and had hightlight on the
following line:

Set oCoord =
GetObjectContext.CreateInstance("STPB_School.ICoor dinator")

According the Project Reference the "ASPType Library" is missing but I
can't find them anywhere in my Vista machine. In addition, since I am
using Windoz Vista Business Edidion, I wonder if MTS can be installed
on this version of Windoz.

Thank you for your help.

Sep 23 '07 #1
2 3109
"js" <an********@gmail.comschrieb
I newly installed Windoz Vista on my machine. I am trying to
upgrade several VB6 ACTIVEX DLLs to VB.net. I tried to open the
original VBG in Visual Studio 2005. The VB Upgrade Wizard was
automatically launched and tries to convert the VB6 projects. None
of the VB projects in the group are converted. The wizard asked
that these projects to be opened in VB6 and be compiled suceessfully
before VS2005 can convert them. So I digged out my many years old
VB6 CDs and installed on my Vista machine. In each of the project,
there are some reference missing. So I used text editor to correct
the obvious reference paths. All was fine. When I tried to run the
Make option from File menu, all DLLs has "Compile Error" and some
had highlight on the following line:

Dim oContext As COMSVCSLib.ObjectContext 'ObjectContext reference
of the current MTS transaction.

and some with "variable not defined" and had hightlight on the
following line:

Set oCoord =
GetObjectContext.CreateInstance("STPB_School.ICoor dinator")

According the Project Reference the "ASPType Library" is missing but
I can't find them anywhere in my Vista machine. In addition, since
I am using Windoz Vista Business Edidion, I wonder if MTS can be
installed on this version of Windoz.

Thank you for your help.

I don't know about the "ASPType Library", but the declarations above are
located in the "COM+ Services Type Library".
Armin

Sep 23 '07 #2
na
Thank you very much. Afert adding the COM+ Service Type Library, I
ran into another problem "Error accessing system registry" when I
tried to make the DLL. This is Windows Vista system. I may need to
open the source as "Administrator" mode, but there is no way I can
open it in that mode. Thank you for your help.

On Sep 23, 2:51 am, "Armin Zingler" <az.nos...@freenet.dewrote:
"js" <android...@gmail.comschrieb


I newly installed Windoz Vista on my machine. I am trying to
upgrade several VB6 ACTIVEX DLLs to VB.net. I tried to open the
original VBG in Visual Studio 2005. The VB Upgrade Wizard was
automatically launched and tries to convert the VB6 projects. None
of the VB projects in the group are converted. The wizard asked
that these projects to be opened in VB6 and be compiled suceessfully
before VS2005 can convert them. So I digged out my many years old
VB6 CDs and installed on my Vista machine. In each of the project,
there are some reference missing. So I used text editor to correct
the obvious reference paths. All was fine. When I tried to run the
Make option from File menu, all DLLs has "Compile Error" and some
had highlight on the following line:
Dim oContext As COMSVCSLib.ObjectContext 'ObjectContext reference
of the current MTS transaction.
and some with "variable not defined" and had hightlight on the
following line:
Set oCoord =
GetObjectContext.CreateInstance("STPB_School.ICoor dinator")
According the Project Reference the "ASPType Library" is missing but
I can't find them anywhere in my Vista machine. In addition, since
I am using Windoz Vista Business Edidion, I wonder if MTS can be
installed on this version of Windoz.
Thank you for your help.

I don't know about the "ASPType Library", but the declarations above are
located in the "COM+ Services Type Library".

Armin- Hide quoted text -

- Show quoted text -

Sep 24 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tappy Tibbons | last post by:
Have many of you upgraded to VS 2003? We have been using Visual Studio 2002, and are somewhat satisfied, except for the following areas: Speed - VS2002 apps are dead dog slow to start up, and...
1
by: cpchan | last post by:
If I want to upgrade the following system : (1) Oracle 8i RDBMS (2) Oracle Finance 11.5.2 to : (1) Oracle 9i RDBMS (2) Oracle Finance 11.5.8
8
by: Patrick | last post by:
Hi I am in the process of learning javascript and was wondering how often the web professionals update I.E & N.N? I mean do you religiously wait for the next upgrade and download it ASAP when...
4
by: Dave Harney | last post by:
Hi Newsgroup, I'm currently using VS Ver 7.0.9466 with an OS of Server 2000 (domain controller) Ver 5.0.2195 (Build 2195) SP4. I have MSDN Universal and would like to upgrade my development...
3
by: Ryan Cowan | last post by:
I would like to upgrade from XP Home to Professional. However, I get the following error message: "Setup cannot continue because the version of Windows on your computer is newer than the version...
3
by: John | last post by:
Hello, I am trying to figure out how to determine if I have fixed an upgrade warning. If I delete the green text then the upgrade warning goes away. However, I would expect it to come back...
36
by: Tim | last post by:
Is there a way to upgrade from Visual C++ Net 2002 to Visual C++ Net 2003? The 2002 version does not provide a Windows Forms Designer. I can't find any upgrade package on Microsoft's website. ...
2
by: Jerry Derringer | last post by:
Our company just upgraded to VS 2005 (and by the way, I love it!) I was able to migrate the code for our product from VS2003 to VS2005 with only a few snags, and it's working great now. However...
6
by: Ajith Menon | last post by:
I am working on a project "ABC" which needs to be upgraded from .NET framework 1.1. We are thinking about upgrading it to .NET framework 2.0. The reason for this is that we have some unmanaged...
3
by: Mark D Powell | last post by:
I attempted to upgrade my SQL Server 2000 Enterprise Edition (32 bit) to SQL Severer 2005 EE 32 bit and while the prereqs passed the installer will not let me select the version 8.00.x (2000 SP4)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.