Convert VB.NET sources into VB6
-
Hello, I would like convert codes sources VB.NET into VB6. I have one application who uses components for VB6 only, so i can't migrate now to VB.NET I saw good sources in your site ( like "http://www.codeproject.com/vb/net/autoupdate.asp") and i'm trying to use it in my application, but i have some problem with API/functions VB.NET. Example : How convert "Imports System.IO", "System.IO.StreamReader", "System.Net.WebClient", ... What code must i use in VB6 ? Thanks a lot for your help ! Bye PS : sorry for my english, i'm french ... -- modified at 11:27 Monday 23rd January, 2006
-
Hello, I would like convert codes sources VB.NET into VB6. I have one application who uses components for VB6 only, so i can't migrate now to VB.NET I saw good sources in your site ( like "http://www.codeproject.com/vb/net/autoupdate.asp") and i'm trying to use it in my application, but i have some problem with API/functions VB.NET. Example : How convert "Imports System.IO", "System.IO.StreamReader", "System.Net.WebClient", ... What code must i use in VB6 ? Thanks a lot for your help ! Bye PS : sorry for my english, i'm french ... -- modified at 11:27 Monday 23rd January, 2006
You'll have to re-write your application from scratch. VB6 doesn't have any equivalent to the constructs you listed. You can pretty easily convert VB6 code to VB.NET, not definately not the other way around. It'll take some serious work to do that. For instance, VB6 has no native web access built in. You'll have to use an external control in VB6 to do the same thing, like downloading a web page. About the best you'll be able to get is the basic idea and steps behind the process of what you want to do. Converting the code is next to impossible. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
You'll have to re-write your application from scratch. VB6 doesn't have any equivalent to the constructs you listed. You can pretty easily convert VB6 code to VB.NET, not definately not the other way around. It'll take some serious work to do that. For instance, VB6 has no native web access built in. You'll have to use an external control in VB6 to do the same thing, like downloading a web page. About the best you'll be able to get is the basic idea and steps behind the process of what you want to do. Converting the code is next to impossible. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Hello, I would like convert codes sources VB.NET into VB6. I have one application who uses components for VB6 only, so i can't migrate now to VB.NET I saw good sources in your site ( like "http://www.codeproject.com/vb/net/autoupdate.asp") and i'm trying to use it in my application, but i have some problem with API/functions VB.NET. Example : How convert "Imports System.IO", "System.IO.StreamReader", "System.Net.WebClient", ... What code must i use in VB6 ? Thanks a lot for your help ! Bye PS : sorry for my english, i'm french ... -- modified at 11:27 Monday 23rd January, 2006
It might be possible to keep the VB.NET code and call it from VB6. Take a look at the VB Fusion section on MSDN. http://msdn.microsoft.com/vbrun/vbfusion/[^] I've never tried this myself. Nor want to. So, you're on your own from here. -- modified at 13:21 Monday 23rd January, 2006
-
Hello, I would like convert codes sources VB.NET into VB6. I have one application who uses components for VB6 only, so i can't migrate now to VB.NET I saw good sources in your site ( like "http://www.codeproject.com/vb/net/autoupdate.asp") and i'm trying to use it in my application, but i have some problem with API/functions VB.NET. Example : How convert "Imports System.IO", "System.IO.StreamReader", "System.Net.WebClient", ... What code must i use in VB6 ? Thanks a lot for your help ! Bye PS : sorry for my english, i'm french ... -- modified at 11:27 Monday 23rd January, 2006
-
It might be possible to keep the VB.NET code and call it from VB6. Take a look at the VB Fusion section on MSDN. http://msdn.microsoft.com/vbrun/vbfusion/[^] I've never tried this myself. Nor want to. So, you're on your own from here. -- modified at 13:21 Monday 23rd January, 2006
-
It might be possible to keep the VB.NET code and call it from VB6. Take a look at the VB Fusion section on MSDN. http://msdn.microsoft.com/vbrun/vbfusion/[^] I've never tried this myself. Nor want to. So, you're on your own from here. -- modified at 13:21 Monday 23rd January, 2006
-
Hi, Is it possible to use dll VB.NET in my application VB6 ? If it's possible, how can i use it ? I think that i need a new parameter for RemotePath in the class AutoUpdate ? Thanks for your help !
It is possible. Go to the link I provided in my previous post. It contains several articles by Microsoft on how to do this.
-
Hello, I would like convert codes sources VB.NET into VB6. I have one application who uses components for VB6 only, so i can't migrate now to VB.NET I saw good sources in your site ( like "http://www.codeproject.com/vb/net/autoupdate.asp") and i'm trying to use it in my application, but i have some problem with API/functions VB.NET. Example : How convert "Imports System.IO", "System.IO.StreamReader", "System.Net.WebClient", ... What code must i use in VB6 ? Thanks a lot for your help ! Bye PS : sorry for my english, i'm french ... -- modified at 11:27 Monday 23rd January, 2006
Hi, As far as i could think of it, why don't you convert the .NET code into a .NET Assembly (DLL) and register it in GAC so that you can use it in VB6 by adding it's reference into your VB6 project? Hope that might help and if you find some better way then please post it on the forum. With warm regards, KEDAR :) -- modified at 7:45 Wednesday 1st February, 2006
-
Hi, As far as i could think of it, why don't you convert the .NET code into a .NET Assembly (DLL) and register it in GAC so that you can use it in VB6 by adding it's reference into your VB6 project? Hope that might help and if you find some better way then please post it on the forum. With warm regards, KEDAR :) -- modified at 7:45 Wednesday 1st February, 2006
Hi, We have find a good solution. You can see it in french forum : http://www.developpez.net/forums/viewtopic.php?t=446317 And download source for VB6 here : http://thierry_aim.developpez.com/downloads/AutoUpdateExe.zip Thanks for your help and interrest. Bye