Is there a way to compile VB6 in 2018?
up vote
0
down vote
favorite
The reason I need this is I'm porting a VB6 app and I'm getting a very small difference in the arithmetic between VB6 and C#. I just need to test a couple calculations. The one I'm most interested in is how this comes out:
Round(2.24984, 1)
If that comes out to 2.3 in VB6 I'm done, it's figured out. But if not there are a couple steps leading up to that which could also be the problem.
An online VB6 fiddle would be ideal but I can install a virtual machine if I have to.
compilation vb6 vb6-migration legacy-code
|
show 4 more comments
up vote
0
down vote
favorite
The reason I need this is I'm porting a VB6 app and I'm getting a very small difference in the arithmetic between VB6 and C#. I just need to test a couple calculations. The one I'm most interested in is how this comes out:
Round(2.24984, 1)
If that comes out to 2.3 in VB6 I'm done, it's figured out. But if not there are a couple steps leading up to that which could also be the problem.
An online VB6 fiddle would be ideal but I can install a virtual machine if I have to.
compilation vb6 vb6-migration legacy-code
1
It comes out to 2.2 in VB6.
– Brian M Stafford
Nov 14 at 19:04
1
It comes out to 2.2 in VB.Net (2017).
– R.J. Dunnill
Nov 14 at 19:51
1
I'm not sure I understand what question you're asking. You can certainly install VB6 if you have a copy. Are you asking about where you can buy a copy (which I think would be off-topic for Stack Overflow), or are you having some problem installing it or something?
– Peter Cooper Jr.
Nov 14 at 20:05
1
VB6 uses banker's rounding, but that doesn't really matter with your example - it only comes into play with rounding halves up or down based on the odd/even value of the preceding digit, I believe. Since your number isn't exactly 2.25 it will round down to 2.2.
– Bill Hileman
Nov 14 at 21:13
1
Visual Basic for Applications is 95% equivalent to VB6 so you could try a macro in Office (Word, Excel etc) if you have a copy.
– MarkJ
Nov 15 at 12:22
|
show 4 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
The reason I need this is I'm porting a VB6 app and I'm getting a very small difference in the arithmetic between VB6 and C#. I just need to test a couple calculations. The one I'm most interested in is how this comes out:
Round(2.24984, 1)
If that comes out to 2.3 in VB6 I'm done, it's figured out. But if not there are a couple steps leading up to that which could also be the problem.
An online VB6 fiddle would be ideal but I can install a virtual machine if I have to.
compilation vb6 vb6-migration legacy-code
The reason I need this is I'm porting a VB6 app and I'm getting a very small difference in the arithmetic between VB6 and C#. I just need to test a couple calculations. The one I'm most interested in is how this comes out:
Round(2.24984, 1)
If that comes out to 2.3 in VB6 I'm done, it's figured out. But if not there are a couple steps leading up to that which could also be the problem.
An online VB6 fiddle would be ideal but I can install a virtual machine if I have to.
compilation vb6 vb6-migration legacy-code
compilation vb6 vb6-migration legacy-code
asked Nov 14 at 18:59
user875234
6341718
6341718
1
It comes out to 2.2 in VB6.
– Brian M Stafford
Nov 14 at 19:04
1
It comes out to 2.2 in VB.Net (2017).
– R.J. Dunnill
Nov 14 at 19:51
1
I'm not sure I understand what question you're asking. You can certainly install VB6 if you have a copy. Are you asking about where you can buy a copy (which I think would be off-topic for Stack Overflow), or are you having some problem installing it or something?
– Peter Cooper Jr.
Nov 14 at 20:05
1
VB6 uses banker's rounding, but that doesn't really matter with your example - it only comes into play with rounding halves up or down based on the odd/even value of the preceding digit, I believe. Since your number isn't exactly 2.25 it will round down to 2.2.
– Bill Hileman
Nov 14 at 21:13
1
Visual Basic for Applications is 95% equivalent to VB6 so you could try a macro in Office (Word, Excel etc) if you have a copy.
– MarkJ
Nov 15 at 12:22
|
show 4 more comments
1
It comes out to 2.2 in VB6.
– Brian M Stafford
Nov 14 at 19:04
1
It comes out to 2.2 in VB.Net (2017).
– R.J. Dunnill
Nov 14 at 19:51
1
I'm not sure I understand what question you're asking. You can certainly install VB6 if you have a copy. Are you asking about where you can buy a copy (which I think would be off-topic for Stack Overflow), or are you having some problem installing it or something?
– Peter Cooper Jr.
Nov 14 at 20:05
1
VB6 uses banker's rounding, but that doesn't really matter with your example - it only comes into play with rounding halves up or down based on the odd/even value of the preceding digit, I believe. Since your number isn't exactly 2.25 it will round down to 2.2.
– Bill Hileman
Nov 14 at 21:13
1
Visual Basic for Applications is 95% equivalent to VB6 so you could try a macro in Office (Word, Excel etc) if you have a copy.
– MarkJ
Nov 15 at 12:22
1
1
It comes out to 2.2 in VB6.
– Brian M Stafford
Nov 14 at 19:04
It comes out to 2.2 in VB6.
– Brian M Stafford
Nov 14 at 19:04
1
1
It comes out to 2.2 in VB.Net (2017).
– R.J. Dunnill
Nov 14 at 19:51
It comes out to 2.2 in VB.Net (2017).
– R.J. Dunnill
Nov 14 at 19:51
1
1
I'm not sure I understand what question you're asking. You can certainly install VB6 if you have a copy. Are you asking about where you can buy a copy (which I think would be off-topic for Stack Overflow), or are you having some problem installing it or something?
– Peter Cooper Jr.
Nov 14 at 20:05
I'm not sure I understand what question you're asking. You can certainly install VB6 if you have a copy. Are you asking about where you can buy a copy (which I think would be off-topic for Stack Overflow), or are you having some problem installing it or something?
– Peter Cooper Jr.
Nov 14 at 20:05
1
1
VB6 uses banker's rounding, but that doesn't really matter with your example - it only comes into play with rounding halves up or down based on the odd/even value of the preceding digit, I believe. Since your number isn't exactly 2.25 it will round down to 2.2.
– Bill Hileman
Nov 14 at 21:13
VB6 uses banker's rounding, but that doesn't really matter with your example - it only comes into play with rounding halves up or down based on the odd/even value of the preceding digit, I believe. Since your number isn't exactly 2.25 it will round down to 2.2.
– Bill Hileman
Nov 14 at 21:13
1
1
Visual Basic for Applications is 95% equivalent to VB6 so you could try a macro in Office (Word, Excel etc) if you have a copy.
– MarkJ
Nov 15 at 12:22
Visual Basic for Applications is 95% equivalent to VB6 so you could try a macro in Office (Word, Excel etc) if you have a copy.
– MarkJ
Nov 15 at 12:22
|
show 4 more comments
1 Answer
1
active
oldest
votes
up vote
2
down vote
No, you cannot compile a VB6 project directly in Visual Studio 2017.
What you can do is open the project in Visual Studio 2008 and migrate it to VB.Net using the Visual Basic Update Wizard. (The migrated code will likely have errors you will have to fix yourself.) Once this is done, you can open the migrated project in Visual Studio 2017 (the current production release of Visual Studio).
It's too bad there isn't a VM out there somewhere...
– user875234
Nov 14 at 20:17
1
VB6 IDE works fine on Win 10. Have to run as admin. And complex programs will need to be recomiled on Win 10.
– CatCat
Nov 15 at 6:29
Do you know if the only place to get a copy of the IDE is second hand (like ebay or craigslist?).
– user875234
Nov 15 at 12:33
1
Visual Basic 6 Enterprise is available as an MSDN download with MSDN Enterprise subscriptions.
– R.J. Dunnill
Nov 15 at 17:46
An alternative is to buy it used on eBay. There are usually several legitimate copies for sale there at any time.
– R.J. Dunnill
Nov 15 at 18:10
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
No, you cannot compile a VB6 project directly in Visual Studio 2017.
What you can do is open the project in Visual Studio 2008 and migrate it to VB.Net using the Visual Basic Update Wizard. (The migrated code will likely have errors you will have to fix yourself.) Once this is done, you can open the migrated project in Visual Studio 2017 (the current production release of Visual Studio).
It's too bad there isn't a VM out there somewhere...
– user875234
Nov 14 at 20:17
1
VB6 IDE works fine on Win 10. Have to run as admin. And complex programs will need to be recomiled on Win 10.
– CatCat
Nov 15 at 6:29
Do you know if the only place to get a copy of the IDE is second hand (like ebay or craigslist?).
– user875234
Nov 15 at 12:33
1
Visual Basic 6 Enterprise is available as an MSDN download with MSDN Enterprise subscriptions.
– R.J. Dunnill
Nov 15 at 17:46
An alternative is to buy it used on eBay. There are usually several legitimate copies for sale there at any time.
– R.J. Dunnill
Nov 15 at 18:10
add a comment |
up vote
2
down vote
No, you cannot compile a VB6 project directly in Visual Studio 2017.
What you can do is open the project in Visual Studio 2008 and migrate it to VB.Net using the Visual Basic Update Wizard. (The migrated code will likely have errors you will have to fix yourself.) Once this is done, you can open the migrated project in Visual Studio 2017 (the current production release of Visual Studio).
It's too bad there isn't a VM out there somewhere...
– user875234
Nov 14 at 20:17
1
VB6 IDE works fine on Win 10. Have to run as admin. And complex programs will need to be recomiled on Win 10.
– CatCat
Nov 15 at 6:29
Do you know if the only place to get a copy of the IDE is second hand (like ebay or craigslist?).
– user875234
Nov 15 at 12:33
1
Visual Basic 6 Enterprise is available as an MSDN download with MSDN Enterprise subscriptions.
– R.J. Dunnill
Nov 15 at 17:46
An alternative is to buy it used on eBay. There are usually several legitimate copies for sale there at any time.
– R.J. Dunnill
Nov 15 at 18:10
add a comment |
up vote
2
down vote
up vote
2
down vote
No, you cannot compile a VB6 project directly in Visual Studio 2017.
What you can do is open the project in Visual Studio 2008 and migrate it to VB.Net using the Visual Basic Update Wizard. (The migrated code will likely have errors you will have to fix yourself.) Once this is done, you can open the migrated project in Visual Studio 2017 (the current production release of Visual Studio).
No, you cannot compile a VB6 project directly in Visual Studio 2017.
What you can do is open the project in Visual Studio 2008 and migrate it to VB.Net using the Visual Basic Update Wizard. (The migrated code will likely have errors you will have to fix yourself.) Once this is done, you can open the migrated project in Visual Studio 2017 (the current production release of Visual Studio).
answered Nov 14 at 19:50
R.J. Dunnill
17019
17019
It's too bad there isn't a VM out there somewhere...
– user875234
Nov 14 at 20:17
1
VB6 IDE works fine on Win 10. Have to run as admin. And complex programs will need to be recomiled on Win 10.
– CatCat
Nov 15 at 6:29
Do you know if the only place to get a copy of the IDE is second hand (like ebay or craigslist?).
– user875234
Nov 15 at 12:33
1
Visual Basic 6 Enterprise is available as an MSDN download with MSDN Enterprise subscriptions.
– R.J. Dunnill
Nov 15 at 17:46
An alternative is to buy it used on eBay. There are usually several legitimate copies for sale there at any time.
– R.J. Dunnill
Nov 15 at 18:10
add a comment |
It's too bad there isn't a VM out there somewhere...
– user875234
Nov 14 at 20:17
1
VB6 IDE works fine on Win 10. Have to run as admin. And complex programs will need to be recomiled on Win 10.
– CatCat
Nov 15 at 6:29
Do you know if the only place to get a copy of the IDE is second hand (like ebay or craigslist?).
– user875234
Nov 15 at 12:33
1
Visual Basic 6 Enterprise is available as an MSDN download with MSDN Enterprise subscriptions.
– R.J. Dunnill
Nov 15 at 17:46
An alternative is to buy it used on eBay. There are usually several legitimate copies for sale there at any time.
– R.J. Dunnill
Nov 15 at 18:10
It's too bad there isn't a VM out there somewhere...
– user875234
Nov 14 at 20:17
It's too bad there isn't a VM out there somewhere...
– user875234
Nov 14 at 20:17
1
1
VB6 IDE works fine on Win 10. Have to run as admin. And complex programs will need to be recomiled on Win 10.
– CatCat
Nov 15 at 6:29
VB6 IDE works fine on Win 10. Have to run as admin. And complex programs will need to be recomiled on Win 10.
– CatCat
Nov 15 at 6:29
Do you know if the only place to get a copy of the IDE is second hand (like ebay or craigslist?).
– user875234
Nov 15 at 12:33
Do you know if the only place to get a copy of the IDE is second hand (like ebay or craigslist?).
– user875234
Nov 15 at 12:33
1
1
Visual Basic 6 Enterprise is available as an MSDN download with MSDN Enterprise subscriptions.
– R.J. Dunnill
Nov 15 at 17:46
Visual Basic 6 Enterprise is available as an MSDN download with MSDN Enterprise subscriptions.
– R.J. Dunnill
Nov 15 at 17:46
An alternative is to buy it used on eBay. There are usually several legitimate copies for sale there at any time.
– R.J. Dunnill
Nov 15 at 18:10
An alternative is to buy it used on eBay. There are usually several legitimate copies for sale there at any time.
– R.J. Dunnill
Nov 15 at 18:10
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53307063%2fis-there-a-way-to-compile-vb6-in-2018%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
It comes out to 2.2 in VB6.
– Brian M Stafford
Nov 14 at 19:04
1
It comes out to 2.2 in VB.Net (2017).
– R.J. Dunnill
Nov 14 at 19:51
1
I'm not sure I understand what question you're asking. You can certainly install VB6 if you have a copy. Are you asking about where you can buy a copy (which I think would be off-topic for Stack Overflow), or are you having some problem installing it or something?
– Peter Cooper Jr.
Nov 14 at 20:05
1
VB6 uses banker's rounding, but that doesn't really matter with your example - it only comes into play with rounding halves up or down based on the odd/even value of the preceding digit, I believe. Since your number isn't exactly 2.25 it will round down to 2.2.
– Bill Hileman
Nov 14 at 21:13
1
Visual Basic for Applications is 95% equivalent to VB6 so you could try a macro in Office (Word, Excel etc) if you have a copy.
– MarkJ
Nov 15 at 12:22