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.










share|improve this question


















  • 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















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.










share|improve this question


















  • 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













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.










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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














  • 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












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).






share|improve this answer





















  • 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











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















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

























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).






share|improve this answer





















  • 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















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).






share|improve this answer





















  • 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













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).






share|improve this answer












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).







share|improve this answer












share|improve this answer



share|improve this answer










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


















  • 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


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents