Upgrading VB6 Code To VB2008?

Apr 14, 2010

We have an old large program generated using vb6. This has been running for years and it works great.We would like to migrate/ upgrade to vb 2008, is there any fast way to have it running under vb 2008?I loaded the project in vb 2008, it did load but generate a lot of errors and warnings. how can i migrate the vb6 codeto vb 2008 easily?

[code]....

View 7 Replies


ADVERTISEMENT

Upgrading C Code To .NET - Unioned Structures?

Feb 3, 2011

I am trying to upgrade the btrieve code written by Jim Kyle in the early 90's to VB.NET and am running into a problem with unioned structures. The old C code is as follows:

typedef struct {
union {
struct {
PGPTR PgSeq; // 00 - page number

[code]....

One issue I am running into is that VB.NET doesnt like two struct variables with the same name (Usage). What am I missing to group the overlapping fields with a unique struct name as is done in the C example (v5 and v6)?

View 2 Replies

VS 2008 Error Upgrading Vb 6 Code?

Dec 17, 2009

I'm trying to upgrade sum vb 6 code to vb.net 2008 but I'm getting an error.'AddressOf' expression cannot be converted to 'Integer' because 'Integer' is not a delegate type.How can I fix this.

Public Declare Function EnumChildWindows Lib "user32" (ByVal hWndParent As Integer, ByVal lpEnumFunc As Integer, ByVal lParam As Integer) As Integer

[Code]...

View 2 Replies

How To Change Those Code From Vb6 To Vb2008

Sep 18, 2010

In vb6,I wrote those code: statusbar1.text=Inet1.Open[URL]

In vb2008,it had statusbar,but it hadn't "Inet",I don't know how to change those code. ps:I'm a beginner,maybe this problem it's not a big problem,but I really don't know how to solution this problem,

View 7 Replies

Vb6 To Vb2008 Code Transfer?

Oct 15, 2009

i want to create a basic calculator. i can create it in vb6. but when in vb2008. it have problem.. how should i do this?i just need help for + and - .. then other i can done it le... y i can use dim at vb6 but when i use in vb 2008 .. i can't use.. the array is same also... seem like quite different vb6 and vb2008...

<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
Inherits System.Windows.Forms.Form

[code]....

View 4 Replies

Code For Save Command In VB2008?

Jan 13, 2009

guys...good day to all just made a program for our company im not a programmer i just do a program because no one can do that cause im the only IT in the company i just made a program for concrete pricing the pricing is not constant so it will be change anytime and i have a form to which you can edit the price but the problem is everytime i close the program and then run again it will not update?

View 1 Replies

Encrypt The VB2008 Code With Dotfuscator

Jun 16, 2009

I have forgotten the right procedure to encrypt the VB2008 code with dotfuscator community edition, may you explain the way to use it (the dotfuscator) step by step?

View 2 Replies

Facial Recognition Code In VB2008

Jun 6, 2011

How do I go about writing facial recognition code for a program I'm designing? I'm using Visual Basic 2008 Express Edition and I need to implement facial recognition into my software.

View 2 Replies

VB6 Code Convert To VB2008 Express?

Nov 23, 2010

I am converting a VB6 program to VB express and am having a couple of problems. One of them is a difference in String use. "Result=string$(32,0)" doesn't compile and I tried the trim function, but when I cannot use the "0" with the trim function the program shuts down with the error "Argument 'Start' is not a valid value." I need to replace the "Result=string$(32,0)" with a valid vb express line.

[Code]...

View 1 Replies

[VB2008]same Identical Code That Works Only In 6 PC Out Of ?

Feb 19, 2011

The Sub that make the job is this:

Private Sub DoMouse(ByVal flags As NativeMethods.MOUSEEVENTF, ByVal Wheel As Integer)
'wheel = +-120 if wheel event, 0 in other cases
'added hoping to improve the code, but nothing changes, Hwnd is a global variable

[code].....

View 1 Replies

VB2008 Express Edition Registration Code?

Apr 5, 2011

I have 16 student machines who can not access the windows live login during the school hours due to filtering restrictions. They need to register Visual Basic 2008 Express Edition within 30 days or the product becomes useless. The registration process wants them to login to access the keys. Is there an alternative way to obtain the keys as a group, rather than one-by-one?Everything I've found redirects to the 2010 version, but the 2008 version works with our textbooks.

View 3 Replies

Write A Code For A Exponentiation Calculator In VB2008?

Feb 5, 2010

I am trying to write a code for a exponentiation calculator in VB2008?

View 2 Replies

[vb2008] Multithreading Timers-based Code?

Jan 29, 2010

The Timers based on System.Timers are multithreading timers, I can readBut if in my application I have two timers:1) Timer1 (based on Windows.Forms.Timers) that every 500 ms execute the program main code2) Timer2 (based on System.Timers) that every 1000 ms controls a secondary eventif in the Timer2_Elapsed event I insert the Thread.Sleep(30000)for 30 seconds ALL THE program stops, even the Timer1 controlled main code.

View 5 Replies

Vb2008 Code To Send Exchange Server Emails?

Nov 2, 2009

I'm trying to do what it says in the title. I don't even need to send a message body, just the subject will do. The full code with imports and references would be a

View 2 Replies

Interface And Graphics :: Display The Rgb Code Of System Colors In VB2008?

Mar 10, 2009

Is there an easy way to display the rgb code of system colors in VB2008?

That is, I am looking for some code that will retrieve the names of the colors that are used in the system colors and display their rgb codes (and maybe show a sample), so I could display, for example, what the rgb code for "control" is.

View 1 Replies

VS 2008 : Timer Code For VB6 To VB2008 - Error1Name 'StartTime' Is Not Declared

Jun 10, 2009

This timer code is for VB6 and worked fine, It's to change the timer seconds into minutes, I'm not sure how to make this work for 2008 though.

Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Timer1.Interval = 1000 ' set timer to 1 sec intervals.
Timer1.Enabled = False ' timer is off
End Sub

[code]....

the errors are...

Error1Name 'StartTime' is not declared.
Error2Name 'MinutesToWait' is not declared.
Error3Name 'StartTime' is not declared.

View 4 Replies

Code For Making A Score On A Game Of Rock, Paper, Scissors On Vb2008

Oct 23, 2009

What is the code for making a score on a game of rock, paper, scissors on vb2008 and how do you make sure it works?

View 1 Replies

Upgrading .net Web App From .net 1.1 To 3.5

Apr 14, 2011

I have been tasked with upgrading a large web application from .net 1.1 to 3.5. I have converted it using Visual Studio 2008, and it compiles ok. Should I be expecting everything to work correctly straight off? And if not can anyone suggest what are the major pitfalls I should be looking out for. Should I be taking the time to write and carry out a full test for the entire system, or is that overkill?

View 2 Replies

VB 6 GUI When Upgrading To .NET?

May 26, 2011

We are upgrading a VB6 project to VB.NET. I ran it though an upgrade utility (Artinsoft). I guess the question is where is the GUI. In VB6, there is a form designe and Object mode. That does not exist in vb.net correct???

It looks like during the upgrade the entire GUI, the forms, the buttons, they are all gone. None of that was upgraded. So does the entire GUI have to be recreated in asp.net or something?

View 3 Replies

VS 2008 Writing Some VB2008 Code To Control Four 7-seg LED's / Serial Port Control?

Nov 10, 2010

I'm writing some VB2008 code to control four 7-seg LEDs I bought from Velleman. They came with some example code in VB 5.0, and with instructions telling me to input 5 bytes at a time in the format Chr$() & Chr$() & etc. for the rest of the 5 bytes. When I try to do this using VB2008, it rejects the $ sign, so I've tried it using the Chr() format, which VB2008 allows. However, it doesn't work. Is Chr() the new version of Chr$() or are they different entities? In sending data to the LEDs, I'm using LiveComPort.WriteLine() as my command. (My serial port is called LiveComPort) I also tried it with LiveComPort.Write() asthe command. I know that my serial port and the LEDs are working, because they respond to the demo program provided by Velleman.

View 7 Replies

Best Way To Use Upgrading On PayPal

Feb 3, 2010

this is a discussion on what is the best way to add License's to your Program and the Best way to obtain/buy one using Paypal

View 1 Replies

Upgrading An Old VB Six Program Into .Net?

Nov 4, 2009

I am currently working on upgrading an old visual basic six program into .Net. I seem to be getting this error after the conversion on one of arrays. "Value of type '2-dimensional array of String' cannot be converted to '1-dimensional array of String' because the array types have different numbers of dimensions."

[Code]...

View 2 Replies

Upgrading Of Datagrid From Vb6 To .net?

Jun 1, 2010

I am upgrading from vb6 to vb.net.I used to list my query results in datagrid in my previous applications.What can be more visually attractive control in replacement of datagrid?

View 1 Replies

Working With Upgrading VB5?

Feb 17, 2010

My work has a VB 5.0 file they want modified or upgraded. The only tool I currently have at my disposal is VS 2005.

View 16 Replies

C# - Upgrading Telerik RAD Controls For ASP.NET

Jun 19, 2009

I go about upgrading the Telerik ASP.NET controls? I am currently using the Q3 2008 release and I just recently bought the Q1 2009 SP1 release. How do I upgrade my projects? Do I need to uninstall the old one and install the new one or just install the new one? Also how do my projects get upgraded? Also, what about my projects that I have "live"? Do I just need to upload the new DLLs and and change my web.config?

View 4 Replies

Considerations To Be Made While Upgrading To .NET?

Oct 2, 2011

I had been programming in Visual Basic 6 as an Intermediate programmer. I realized that it is far too old and is comparatively less powerful. So, I've upgraded to VB.NET. I'm using Visual Studio 2010. My query is before beginning programming with it, what things should I consider over VB6?

View 1 Replies

Programming Logic Upgrading From VB 6 To .net

May 26, 2010

I have been programming in vb6 for few time ago and i used open SQL Server connection and command objects to make database transactions. I have been searching for similar approaches in vb.net too but not finding any starting point. How can we work similarly in vb.net application?

View 2 Replies

Upgrading From VS2008 To VS2010?

Sep 10, 2010

when upgrading from VS2008 to VS2010 or what problems & issues you ran into? Just trying to make the switch as painless as possible.

View 6 Replies

Upgrading VB6 Raster Map To VB 2008?

Dec 15, 2009

a while ago I developed an interface that shows raster maps under VB 6.0 (see, for example, slide 5 "Forest Stand Development" on [URL]

I would like to rewrite the code in VB 2008 (or download open source code) to transfer everything to VB 2008. But rather than just putting a picture control on a form as I did before under VB6, I would like to learn and adopt some new technology while continuing to use classic Windows form coding. WPF technology (see [URL] is way over my head.

View 1 Replies

VS 2008 Upgrading From Put To FilePut

May 28, 2009

I recently upgraded an application that creates several report files, that are read by an older VB6 application that i cannot upgrade. I've gotten everything working (faster than i expected) except the new FilePut. I'm saving the ubound of an array, which is a UDT, Then saving the array itself(which again, is a UDT)No matter what I do, the file is about 7 b larger, and doesnt want to read in at all in VB6. For example, I put an 32 bit integer into the file, say 4000, VB6 reads it as 3948395 or so, it seems its padding the file at the beginning or something.

And Yes, i've tried microsofts ArrayIsDynamic function, but it seems to have made no difference at all.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved