vb6-migration Questions

1

I had to convert some VB6 code to VB.net using the old VS2008 conversion tool. That tool helpfully inserts warning comments when it was not sure that the original & converted code was equivalen...
Dunaj asked 15/8, 2022 at 14:41

5

Solved

I have some VB6 code that needs to be migrated to VB.NET, and I wanted to inquire about this line of code, and see if there is a way to implement it in .NET Dim strChar1 As String * 1 Intellisen...
Toiletry asked 6/3, 2012 at 6:32

4

Solved

I'm working on porting some classic VB6 code to C# and just stumbled across a usage of the PV function. I feels wrong including a reference to the Microsoft.VisualBasic Assembly. Is this something...
Gastongastralgia asked 24/9, 2009 at 14:6

9

Solved

Maybe I just don't know .NET well enough yet, but I have yet to see a satisfactory way to implement this simple VB6 code easily in .NET (assume this code is on a form with N CommandButtons in array...
Stevens asked 2/9, 2008 at 13:44

8

Solved

Im planning to upgrade a large vb6 application to .net. The project uses many third party components eg VSFlexGrid as well as crystal reports. It also uses old VB6 dlls whose source code is u...
Brahms asked 12/3, 2009 at 11:7

6

Solved

I'm making the transition from VB6 to VB.Net (VS 2010) and have a basic rather than expansive understanding of the latter. I obviously have quite a bit of code to... I hesitate to use the word "upg...
Huxham asked 20/8, 2012 at 4:34

1

Solved

Is it possible to call a vb6 class file like (example.cls) in java by any means? if its possible can you suggest how it can be implemented like where should i start looking.
Ruthven asked 27/11, 2018 at 5:5

4

Solved

Are control arrays supported in .Net? We are talking about converting a legacy app from VB6 to .NET. The app has a lot of control arrays. I've read different articles that differ if .NET support co...
Implead asked 21/4, 2011 at 0:15

10

How do i Declare a string like this: Dim strBuff As String * 256 in VB.NET?
Holocene asked 21/2, 2010 at 8:56

2

Solved

I have 'Applications.PrevInstance' in VB 6 code that I am trying to upgrade to .NET using VS 2008. Apparently this code is no longer valid. Does anyone have any ideas about upgraded solution? TIA
Fidge asked 8/9, 2010 at 14:54

2

I have this code line in VB: Dim Sqrt As Double Sqrt = Radius ^ 2 - (CenterX - X) ^ 2 The parameters in the statement above are being passed the values below: X= -7.3725025845036161 Double Cent...
Serinaserine asked 28/9, 2016 at 7:35

5

I want to open a program (written in Visual basic 6) to be open in Visual Studio.net. Please guide, how could I do that? While trying to open VB6 (.vbp file) program directly from the OPEN project...
Ornithic asked 15/1, 2013 at 1:49

1

Solved

Actually every time I am using the Early binding code to use the ADODB Connection , However now I want to use the Late Binding Code. According to me, it seems the code is perfect but I don't the ho...
Requirement asked 16/2, 2016 at 13:35

1

Solved

I am converting some VB6 code to VB.Net. Since my VB6 installation appears to be damaged beyond repair I am using Notepad to read the original source code and can see at near the top of the file:- ...
Runty asked 11/11, 2015 at 10:36

4

Solved

I have a class library written in .Net that I would like to make available to VB6/VBA. What I tried did not work (obviously as I am asking this question). Here is what I did: I Created a Class Li...
Sharpnosed asked 27/7, 2010 at 18:20

4

I am upgrading VB6 to .NET after the upgrade I get the compile error: Name 'Printer' is not declared My code in VB6 is something like this: THeight = Printer.TextHeight("#") What is the corre...
Clock asked 23/10, 2014 at 17:48

3

Solved

According to MS when you show a modal form in VB6 it does not show in the taskbar 'by design' But is there any way to make a VB6 Modal form to be shown in the taskbar (the ShowInTaskbar property h...
Autobahn asked 5/1, 2012 at 16:48

9

Solved

I'm in a source code migration and the converter program did not convert concatenation of embedded strings with integers. Now I have lots of code with this kind of expressions: f("some text" + i);...
Schlessel asked 12/7, 2014 at 13:10

4

Solved

I'm working on a migration project in which a database actually stores display sizes in twips. Since I can't use twips to assign sizes to WPF or Winforms controls, I was wondering if .NET has a con...
Derman asked 28/10, 2010 at 15:27

11

Solved

I know this question could be similar to others but really I'm looking for reasons why VB6 developers should switch to C#. My company recently approved project to be written in C#, so we have a l...
Apostil asked 20/10, 2010 at 3:9

1

Yet again, more fantastic VB6 to VB.NET migration. Okay sure, this isn't necessarily a "Question" in definition, but it will answer many questions that users will have in the future, and will hope...
Begorra asked 17/3, 2012 at 3:55

10

Does anyone know a way to convert from VB6 code to C#? Is there a tool that can do this for me? Is there any migration process that I can follow to do this?
Chaldean asked 7/10, 2008 at 17:48

3

Solved

I should convert a huge load of code which was written in VBA (Excel) to VB6. But I really do not know what I have to take care of or where to begin. Therefore it would be great to get some hints h...
Parra asked 11/1, 2010 at 11:4

2

Solved

EDIT: Having gotten this to work under 32-bit, I'm now trying to get it to work for 64-bit. I've gotten source code for the DLL and both DLL and application are being compiled for 64-bit. I get an ...
Boudreaux asked 13/11, 2012 at 1:46

2

Solved

Can anyone explain me in VB i need to use Public Shared Sub so it can be accessed from another form. But what this "Public" and "Shared" means? Who is public? With who is shared? If it is p...
Microelement asked 20/10, 2012 at 18:54

© 2022 - 2024 — McMap. All rights reserved.