error handling
Thu, 25 May 2006 17:39:17 -0300
Hey Guys!
I am moving from vb6 to vb2005
I was using:
on error go lbl_error:
code..
code..
exit sub or function
lbl_error:
.code
code
but it vb 2005 we have
try.. catch.. finally end try.
In your opinion wich is better for performance and code reading ?
Daniel
...
|
Project won't run from network drive.
Wed, 24 May 2006 15:13:56 +1000
Pardon the crosspost, didn't know where to put this one.
I upgraded a project from VB6 to dotNET 2005.
It compiles and runs ok on a local disk, but if I put the EXE on a mapped
network drive it just apologises for the invonvenience of not running.
Copying the EXE file to the desktop, it works a treat.
...
|
Scaling a picturebox
Mon, 22 May 2006 15:44:24 -0300
Going from VB6 to VB.NET i have lost the capability to do the most simple
things...
In VB6 scaling a picturebox was done like this: Me.picturebox.scale
(0,25)-(25,0)
How is it done in VB.NET ?
All I want to do is draw simple lines and circle in a coordinate system.
...
|
Visual Basic hang
Tue, 16 May 2006 09:49:37 +0100
I've been developing an application in visual basic .net 2005 from the
beginning. I allways looked at the IDE as being slow, but i only had, 8
forms, some classes and 2 modules. Recently i imported an application that
has been developed with visual basic 6 and now i'm trying to fix the bugs on
my imported ...
|
VB6 MS Project Addin -> VB2005
Thu, 4 May 2006 15:01:02 -0700
I have an existing MS Project Addin (DLL) written in VB6. I would like to
convert this application to VB2005. My preliminary attempts at migration have
failed, mostly on the .dsr file that links the DLL to Project.
Is there anything I should know before I go any further (and by "any
further" I guess I rea ...
|
creating PDF using vb.net
Thu, 04 May 2006 00:58:58 GMT
Hi,
is there any way/sample code to create a PDF file using vb.net with out
using 3rd party tools
Plz help
thanks
...
|
SSTab design time license issue with VB 2003 Upgrade Wizard
Wed, 3 May 2006 12:21:01 -0700
Hi,
I have a working VB 6 application that I am trying to convert to VB.Net
2003. I have a couple of forms that use the SSTab control. When I attempt to
run it through the Upgrade Wizard it indicates that hte control is lacking a
design time license. I have registered the ocx on the system with 2003 on it ...
|
|
|
return @@identity not working
Fri, 21 Apr 2006 11:42:01 -0700
I'm in the process of upgrading my app from VB6 to VB.net. One of the things
not working in .NET that was working in VB6 is returning the identity value.
I'm getting the error message 'Cast from type DBnull to integer is not valid'
with the code below:
Public Function SaveclsParty() As Integer
ptyID = 0
...
|
ini files or registry
Wed, 19 Apr 2006 06:04:01 -0700
Hi, I am a VB6 programmer that is migrating to VB2005, and have a question on
whether ini files are still the way to go in the .net era. My apps make
heavy use of ini files in vb6, and am trying to decided if maybe I should use
the registry. Any thoughts would be greatly appreciated. Thanks in advance. ...
|
Cannot access a disposed object named "ListBox"
Tue, 18 Apr 2006 11:25:01 -0700
I'm in the process of upgrading from VB6 to .NET 2003.
I have a form(form1) with a listbox. When a user double-clicks on an item in
that listbox, my code in the double-click event calls up another form(form2)
and runs some code to set up form2. When the code is done running in form2,
my code returns to th ...
|