Click to See Complete Forum and Search --> : advantages of vb.net over vb


balajigr1214
August 6th, 2002, 06:49 PM
Hello,

I would like to know advantages of vb.net over vb 6.0.
And also would like to know, when i create a setup in vb.net and that if i have to install in different client systems,what are the minimum requirements of those different systems should have.
How big will the setup file going to be comparing to vb 6.0 setup file.
please mail info asap.

Thanks.

DSJ
August 7th, 2002, 09:19 AM
Sorry for the formatting... pasted from MSDN:

Using the StringBuilder object, which offers superior efficiency in working with strings.
File manipulation functions, including reading from and writing to files, copying, moving and deleting files, and accessing file properties.
Debugging and Tracing, using the new Debug and Trace objects, which have more flexibility then the VB6's Debug.
Structured exception handling with Try...Catch...Finally...End Try, which replaces the VB6 On Error GoTo construct, and offers superior flexibility.
Inheritance, including the concepts of overloaded procedures, overriding base class methods in the derived class, and contrasting these with interface inheritance in VB6.
Free threading, including the ability to start a new thread at will.
Windows Forms capabilities, including anchoring and docking, easily setting tab order, and new graphics capabilities.
In addition, these concepts are included in the demonstrations of the main features above.

Declaring and initializing variables
Zero-based arrays, whose declared size is the same as their number of elements
Short-circuited conditionals (AndAlso, OrElse)
The Return keyword
No more autoconversion of strings to numbers.
How variables now have scope in code blocks
Calling procedures
Control Arrays

balajigr1214
August 7th, 2002, 11:44 AM
Originally posted by DSJ
Sorry for the formatting... pasted from MSDN:

Using the StringBuilder object, which offers superior efficiency in working with strings.
File manipulation functions, including reading from and writing to files, copying, moving and deleting files, and accessing file properties.
Debugging and Tracing, using the new Debug and Trace objects, which have more flexibility then the VB6's Debug.
Structured exception handling with Try...Catch...Finally...End Try, which replaces the VB6 On Error GoTo construct, and offers superior flexibility.
Inheritance, including the concepts of overloaded procedures, overriding base class methods in the derived class, and contrasting these with interface inheritance in VB6.
Free threading, including the ability to start a new thread at will.
Windows Forms capabilities, including anchoring and docking, easily setting tab order, and new graphics capabilities.
In addition, these concepts are included in the demonstrations of the main features above.

Declaring and initializing variables
Zero-based arrays, whose declared size is the same as their number of elements
Short-circuited conditionals (AndAlso, OrElse)
The Return keyword
No more autoconversion of strings to numbers.
How variables now have scope in code blocks
Calling procedures
Control Arrays

Hello DSJ,

thanks,
and also i wanted to know about
Would like to know, when i create a setup in vb.net and that if i have to install in different client systems,what are the minimum requirements of those different systems should have.
How big will the setup file going to be comparing to vb 6.0 setup file.

thank.

DSJ
August 7th, 2002, 12:20 PM
I haven't really done a lot of that yet, just playing around learning the language, etc. You should probably review what microsoft says on MSDN. I have built one setup of a simple Form with a button Hello world app. Building the setup was simple enough. The catch to this is the the client has to have the .NET framework installed. There is a single EXE that performs this, but it's 25MB in size. As far as system requirements, again I'd refer you to MSDN all the machine I have access to are 1.6GHZ and up with 256MB RAM. Supposedly it'll run on Win98 and up.

balajigr1214
August 7th, 2002, 12:25 PM
Originally posted by DSJ
I haven't really done a lot of that yet, just playing around learning the language, etc. You should probably review what microsoft says on MSDN. I have built one setup of a simple Form with a button Hello world app. Building the setup was simple enough. The catch to this is the the client has to have the .NET framework installed. There is a single EXE that performs this, but it's 25MB in size. As far as system requirements, again I'd refer you to MSDN all the machine I have access to are 1.6GHZ and up with 256MB RAM. Supposedly it'll run on Win98 and up.

Hello,

how do i refer to msdn,i mean where ?

balajigr1214
August 7th, 2002, 02:41 PM
Originally posted by balajigr1214


Hello,

how do i refer to msdn,i mean where ?

Hello,

How do i install a windows service created in vb.net,i mean .exe should i take,is it the one in bin folder or obj/debug folder

balajigr1214
August 7th, 2002, 03:28 PM
Originally posted by DSJ
I haven't really done a lot of that yet, just playing around learning the language, etc. You should probably review what microsoft says on MSDN. I have built one setup of a simple Form with a button Hello world app. Building the setup was simple enough. The catch to this is the the client has to have the .NET framework installed. There is a single EXE that performs this, but it's 25MB in size. As far as system requirements, again I'd refer you to MSDN all the machine I have access to are 1.6GHZ and up with 256MB RAM. Supposedly it'll run on Win98 and up.

Hello,

To install a windows service developed in vb.net,i should use installutil <servicename.exe>
but when i give this it gives an error saying "cannot find the installutil"
where do i find this installutil ?

DSJ
August 7th, 2002, 03:48 PM
It's in C:\WINNT\Microsoft.NET\Framework\v1.0.3705\

You should destribute the EXEs in the BIN directory, but only after compile as a release build (found under Build... Configuration Manager...)

Microsoft support is at: http://support.microsoft.com/

VB.NET is at: http://msdn.microsoft.com/vbasic/

Set Bookmarks at for these!

DSJ
August 7th, 2002, 04:29 PM
It's in C:\WINNT\Microsoft.NET\Framework\v1.0.3705\

You should destribute the EXEs in the BIN directory, but only after compile as a release build (found under Build... Configuration Manager...)

Microsoft support is at: http://support.microsoft.com/

VB.NET is at: http://msdn.microsoft.com/vbasic/

Set Bookmarks at for these!

balajigr1214
August 8th, 2002, 11:42 AM
Originally posted by DSJ
It's in C:\WINNT\Microsoft.NET\Framework\v1.0.3705\

You should destribute the EXEs in the BIN directory, but only after compile as a release build (found under Build... Configuration Manager...)

Microsoft support is at: http://support.microsoft.com/

VB.NET is at: http://msdn.microsoft.com/vbasic/

Set Bookmarks at for these!

Thanks DSJ

balajigr1214
August 8th, 2002, 02:32 PM
Originally posted by balajigr1214


Thanks DSJ

Hello DSJ,

Can you let me kow what is the minimum requirements for a machine if i have to install an EXE created in vb.net

balajigr1214
August 12th, 2002, 01:18 PM
Originally posted by balajigr1214


Hello DSJ,

Can you let me kow what is the minimum requirements for a machine if i have to install an EXE created in vb.net

Hello,

I would like to know differences between reading a .txt file using Input function and LineInput functio.
Which one is more advantageous

balajigr1214
August 13th, 2002, 01:51 PM
Hello,

Can anybody let me know how to use a timer in a windows service created in vb.net so that my service will have to do some queries very 5 mins.
If any other logic for this also will be accepted.
Reply asap.