473,505 Members | 14,658 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

to recompile VB code with .NET SDK

How can I recompile ActiveX dll from VisualBasic6 code
with Visual Studio.NET?
Can I mix VB6 sources with C#.NET?

Nov 17 '05 #1
3 1699
"vgv888" <vg****@hotmail.com> wrote in news:03dd01c36835$2e7cebc0
$a*******@phx.gbl:
How can I recompile ActiveX dll from VisualBasic6 code
with Visual Studio.NET?
I don't think you can do that easily... however, .NET can use ActiveX dlls
via Interops, so you don't need to recompile.
Can I mix VB6 sources with C#.NET?


There have been changes in VB6 syntax and .NET, so you can't just
recompile. You'll have to make some changes (significant?).

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 17 '05 #2
-----Original Message-----
"vgv888" <vg****@hotmail.com> wrote in news:03dd01c36835 $2e7cebc0$a*******@phx.gbl:
How can I recompile ActiveX dll from VisualBasic6 code
with Visual Studio.NET?
I don't think you can do that easily... however, .NET can

use ActiveX dllsvia Interops, so you don't need to recompile.
Can I mix VB6 sources with C#.NET?
There have been changes in VB6 syntax and .NET, so you

can't justrecompile. You'll have to make some changes (significant?).
--
Lucas Tam (nn**@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.http://members.ebay.com/aboutme/coolspot18/
.

The problem is that I do not have VB6, just now.
I shall have a project for transition SAP to ASPX (C#.NET).
So what, I should use Visual Studio6 with Visual
Studio.NET, I cannot reuse any code?
Can it be done with Rational Rose?
I have Rational Rose Enterprise Edition Demo, it has
VC++6.0, VB6, J2EE, JSP templates but does not have .NET.
I also got Rational Rose XDE Demo but could not quite get
if I can use simultaneously both (I am shifting from JSP
experience and am a little bit lost)
Nov 17 '05 #3
"vgv888" <vg****@hotmail.com> wrote in news:0d1b01c3683a$d2ac6090
$a*******@phx.gbl:
The problem is that I do not have VB6, just now.
I shall have a project for transition SAP to ASPX (C#.NET).
So what, I should use Visual Studio6 with Visual
Studio.NET, I cannot reuse any code?


Although VB.NET and VB6 share the same lineage, VB.NET and VB6 are totally
different beasts. There is no way to easily convert the code to .NET.

If you don't have V6 you're basically out of luck. Rewriting the code is
probably more effort than it's worth.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 17 '05 #4

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

Similar topics

2
3472
by: ggg | last post by:
In regards to mod_python, I keep getting this warning when I do apachectl configtest: Loaded DSO libexec/mod_python.so uses plain Apache 1.3 API, this module might crash under EAPI! (please...
3
4289
by: P | last post by:
I would like to call my stored proc and invoke the WITH RECOMPILE option. I can't figure out what to set in ADO to make that happen. Anyone know how to make this work? BTW, I _don't_ want to...
7
5035
by: Harold | last post by:
Hi, I have a question in SQL Server 2K, I use SQL Profile to trace, and find Stored Procedure was auto recompiled, like this row in the trace: SP:Recompile 15 1680 76 2004-02-27 16:01:11.610 ...
6
1438
by: chrisspen | last post by:
Is it possible to recompile the AST generated by compiler.parse, back into code or an executable code object? My aim here is to allow a script to manipulate Python code as elements within a list....
3
1766
by: Dai Hao | last post by:
Hi all, I have a solution that includes several projects, and one of them depends on all others. When I compile it in Visual Studio, it always recompile all the other projects even though I...
3
1737
by: David | last post by:
HI, I know this might be very basic, but I have a asp.net site that I need to recompile. I do have asp,net, although I have no idea how to use it. I did see some info that I can use vbc.exe to...
1
1679
by: sarojanand | last post by:
Hi, I have created a project (abc) in my wwwroot folder on my system. From visual studio, i am able to run and view this page. Now I have deployed on wwwroot folder and for this I have edited...
2
2159
by: Vols | last post by:
I have a class that many libraries depend on. If I modify the class with 'adding an argument with default value to an existing member function', is it necessary to recompile all library? How about...
11
20187
by: Benoit Lefebvre | last post by:
Anyone have hints for me on how I can disassemble a binary file using objdump, do some modifications and then recompile everything ? thanks, --Ben
0
7216
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7303
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7367
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
5028
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4699
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3187
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1528
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.