Click here to Skip to main content
15,892,059 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: converting vb.net Windows Application to Web Application Pin
rprateek4-Nov-08 15:51
rprateek4-Nov-08 15:51 
QuestionOWC11, context menu Pin
valkyriexp31-Oct-08 11:26
valkyriexp31-Oct-08 11:26 
QuestionBLUETOOTH VB.NET Pin
ste199031-Oct-08 10:09
ste199031-Oct-08 10:09 
AnswerRe: BLUETOOTH VB.NET Pin
Johan Hakkesteegt31-Oct-08 11:14
Johan Hakkesteegt31-Oct-08 11:14 
AnswerRe: BLUETOOTH VB.NET Pin
SilverGold3-Sep-12 9:47
SilverGold3-Sep-12 9:47 
QuestionWhat tools/scripts are available to automate migration? Pin
emunews31-Oct-08 3:21
emunews31-Oct-08 3:21 
AnswerRe: What tools/scripts are available to automate migration? Pin
Dave Kreskowiak31-Oct-08 5:05
mveDave Kreskowiak31-Oct-08 5:05 
GeneralRe: What tools/scripts are available to automate migration? Pin
emunews31-Oct-08 9:18
emunews31-Oct-08 9:18 
Hi Dave,

Thanks. Well, if you or anyone else can thing of something that I missed let me know.

The Upgrade Wizard and Upgrade Companion don't do enough to make the source code more .NET-like, such as renaming variables prefixed with "lng" to "int".

In VB6, it was common to prefix your variables with an abreviation to indicate data type. For example:

Dim intNumber1 As Integer
Dim lngNumber1 As Long

In .NET, an integer is now called a short and a long is now called an integer. So the tool will upgrade that code to:

Dim intNumber1 As Short
Dim lngNumber1 As Integer

The problem with that code is that the prefix no longer matches the data type.

It should be:

Dim shoNumber1 As Short
Dim lngNumber1 As Integer

And actually, Microsoft recommends against using Hungarian notation so it really should be:

Dim number1 As Short
Dim number1 As Integer

The UW and VBUC do not handle changes like this. I can't be the first developer who's faced this problem. I figure that someone somewhere has already written some sort of utility or script that handles changes like this. I don't want to reinvent the wheel if I don't have to.
GeneralRe: What tools/scripts are available to automate migration? Pin
Dave Kreskowiak31-Oct-08 11:50
mveDave Kreskowiak31-Oct-08 11:50 
QuestionProblem in invoking methods of a class Pin
aakkpp31-Oct-08 0:07
aakkpp31-Oct-08 0:07 
AnswerRe: Problem in invoking methods of a class Pin
Sathesh Sakthivel31-Oct-08 0:22
Sathesh Sakthivel31-Oct-08 0:22 
AnswerRe: Problem in invoking methods of a class Pin
Dave Kreskowiak31-Oct-08 3:21
mveDave Kreskowiak31-Oct-08 3:21 
AnswerRe: Problem in invoking methods of a class Pin
Paul Conrad31-Oct-08 7:37
professionalPaul Conrad31-Oct-08 7:37 
AnswerRe: Problem in invoking methods of a class Pin
rprateek4-Nov-08 16:02
rprateek4-Nov-08 16:02 
QuestionSetup and Deployment Templates Missing Pin
ccdmf30-Oct-08 19:20
ccdmf30-Oct-08 19:20 
AnswerRe: Setup and Deployment Templates Missing Pin
Jon_Boy31-Oct-08 1:16
Jon_Boy31-Oct-08 1:16 
GeneralRe: Setup and Deployment Templates Missing Pin
ccdmf31-Oct-08 5:51
ccdmf31-Oct-08 5:51 
GeneralRe: Setup and Deployment Templates Missing Pin
nlarson1131-Oct-08 7:15
nlarson1131-Oct-08 7:15 
QuestionProperties of RichTextBox at Runtime Pin
pdnet30-Oct-08 18:42
pdnet30-Oct-08 18:42 
AnswerRe: Properties of RichTextBox at Runtime Pin
Paul Conrad30-Oct-08 19:16
professionalPaul Conrad30-Oct-08 19:16 
GeneralRe: Properties of RichTextBox at Runtime Pin
pdnet30-Oct-08 20:18
pdnet30-Oct-08 20:18 
GeneralRe: Properties of RichTextBox at Runtime Pin
Paul Conrad31-Oct-08 5:15
professionalPaul Conrad31-Oct-08 5:15 
AnswerRe: Properties of RichTextBox at Runtime Pin
LeandroABorges31-Oct-08 1:01
LeandroABorges31-Oct-08 1:01 
QuestionUser Control ComboBox help Pin
Tim Groven30-Oct-08 7:35
Tim Groven30-Oct-08 7:35 
AnswerRe: User Control ComboBox help Pin
Tim Groven30-Oct-08 7:43
Tim Groven30-Oct-08 7:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.