Upgrade A Code I Wrote In 6.0 To VB?

Mar 11, 2010

I want to upgrade a code i wrote in vb6.0 to vb.net aw do i go abt it

View 2 Replies


ADVERTISEMENT

Optimized Code For A Class Wrote?

Apr 5, 2008

Whenever I decide to make a utility in VB.NET, I always end up writing a class like this one. I'm using it in an Explorer-like listview, and while I know it works, I have no idea (or experience) with coding for minimal overhead, speed, and precision. So I would like to know what I can do to optimize it.

''' <summary>
''' File sizes (I.E. to get strings like "1.45 MB" and "5.31 GB" or "60.4

[code].....

View 4 Replies

Wrote Some Code To Encode Data Using Hashed Technique?

Mar 8, 2010

I wrote some code to encode data using hashed technique,

HTML
Dim strPlainText As String = "admin"
Dim hashedbytes As Byte()
Dim encoder As New UTF8Encoding()

[Code]...

View 3 Replies

.net - VB6 Code Upgrade?

Apr 20, 2012

Possible Duplicate: Best Strategy for moving from VB6 to .NET Conversion tool comparisons for visual basic 6.0 Is there a good tool anyone can recommend to convert a commercial VB6 application into a VB.NET application. I have discovered some free ones and some commercial one's, but can't find any reviews and opinions of developers who have tried and failed or tried and succeeded.

What are the complexities involved? I know that .NET uses managed code and multi threaded apartments etc whereas VB6 is based on COM.

View 4 Replies

Upgrade The VB6 Code?

Dec 8, 2008

I'm having trouble upgrading this vb6 code to vb.net.

Code:
Option Explicit
Private Declare Function FloodFill Lib "gdi32" (ByVal hdc As Long, ByVal X As Long, ByVal Y As Long, ByVal crcolor As Long) As Long
Private Type Point

[code]....

View 10 Replies

AddressOf, Delegate And Upgrade Code From VB6?

Jan 17, 2012

I am converting some VB6 code to VB.Net - specifically callbacks.VB6 code in Form_Load:

[Code]...

View 4 Replies

IDE :: Setup Project Upgrade Code?

Oct 22, 2009

I have an application which has been deployed in a setup programme, but have lost the original project setup code.The new versions setup project has a different 'Upgrade code' GUI in the setup project and therefore when you try and upgrade the product it throws an error saying that a later version of the product is installed!

Is there any way for me to retrieve the Upgrade Code from an installed version of the program so that I can amend the new installer to match the old program.The program has to be installed to 350+ desktops via active directory, so no answers with silly shortcuts that only work for a single PC please people.

View 3 Replies

Get What The User Wrote In The Textbox?

Aug 19, 2010

When i use a dialog like savefile, is there a way to get what the user wrote in the textbox.

I cant use .filename cause that give me the full path like c: est.txt and not just "test".

View 2 Replies

Loop - Sub - Wrote Only To Temporarily Fill The Database In During Run Time

May 1, 2009

I have a sub that i wrote only to temporarily fill the database in during run time to be able to test a few other functions that i wrote as well ... weird thing is by the way i wrote it it should only look 100 times... but by the unique ID in the database and the information it pulls back into my list box it loops 700 times before actually stopping the loop ...

Public Sub Fill_LeftOvers()
Dim x As Integer = 0
conn.Open()

[CODE]...

Now i used step debugging and sure enough it only loops 100 times during stepping but in the database it looped like crazy ... i have also tried while x < 100 instead of the do loop but it did the same thing ... i know this may be considered a double post i mistakenly posted originally in the PHP forums earlier today ...

View 2 Replies

Wrote "Imports System.Numerics" But It Gives Me An Error

Apr 13, 2012

i want to manipulate complex numbers and i followed that link but when i typed
Imports System.Numerics but it gives an error [URL] so how to overcome this problem?

[Code]...

View 3 Replies

Wrote A Games Program Which Used The File "Cards.dll"?

Aug 4, 2011

My question is : How do I find out what processes/information are contained inside System .dll files ?

I recently wrote a games program which used the file "Cards.dll" in which was stored a full deck of cards. That was exactly what I wanted. I discovered the existance of this file by chance from a friend and would like to get a list of the contents and functionality of all the other .dll files.

View 3 Replies

How Is Upgrade To SQL

Feb 13, 2009

I have written an address book and for its database, I used Access to create a .mdb database and store my data programmatically into this .mdb file.However, the problem is that when reading and saving data to this kind of database I have to use Jet 4.0 which is NOT available on 64-bit systems and I have to compile my application as 32-bit in order to run on all systems.I just want to know how is upgrade to SQL?I never used SQL, can I create a stand-alone database file using SQL like Access and create tables/fields so I can modify it programmatically?I also need the database file to be independent and don't need any special requirements to run on target systems, like the .mdb file I've created in Access!

View 1 Replies

NullReferenceException In .NET After Upgrade To 4.0?

Jul 25, 2011

I have a VB.NET solution that I just upgraded. It was originally in .NET 1.1, I upgraded to .NET 2.0 and verified that it would build and run correctly. Then I upgraded from 2.0 to 4.0. It is still building with no errors, but when I try to run I am getting a NullReferenceException in Global.asax.vb. The really weird thing is, the line that is throwing the exception is this:

Dim dt As System.Data.DataTable I am not trying to use the variable, just declare it. Further down a Function is called that returns a DataTable and sets the variable, but I don't even get to that line. It is throwing the NullReferenceException on the Dim line. Has anyone run across this before? Is this some issue with upgrading?

[Code]...

I did a Rebuild Solution before posting. This is a web application and the only files I see in the bin folder are the dll files I am referencing. I'm not sure what else I should clean up.

View 1 Replies

Upgrade With VB6.TwipsToPixelsY

Jan 17, 2011

CODE:

So if VB6.TwipsToPixelsY is no longer any good. What do I use now?

View 7 Replies

Upgrade A .NET 2.0 Website To 3.5?

Sep 14, 2009

My website is VB.NET 2.0. I already opened a it in VS2k8 and told it not to upgrade. Now I want to upgrade, how do I trigger it? All the posts say 'just open it in 2k8 and it will prompt you'. Well I did, and it did, and I didn't want to yet. Now I cant get it to come up.

View 1 Replies

Upgrade My App To Vbulletin?

Oct 9, 2011

I bought a script vbulletin for install it in my forum, now I have a discuzx forum on [url]...forum.php but I don't like this script. I trying to change my app from discuzx to vbulletin, I using this app for send pms to my members. The application is almost finished. only the last thing I need is that I can not fill the message. I still I have no forum installed and I am testing my app with another forum and I can not insert the message.[code]...

View 2 Replies

.net - Upgrade Software From VisualBasic 5 To 8?

Jan 23, 2012

I've given a VisualBasic Software, written in VB5. Now the whole thing should run under Windows 7, so it needs to be converted to VB8 or VB9. It seems that most of the API of VB changed a lot in these years, so for me it seems quite impossible to run just a few code upgrades and everything is fine...

The biggest Problem are Forms. There are a lot of Forms in this Software, which are declared inside .frm files and begin always like this:

[Code]...

It seems for me that this Stuff was generated with an UI-Layouter, so none self written code is in there.Is it possible to run this code in VB8/9 or even rewrite it that VB8/9 understands it? I'm currently very pesimistic and think that the whole software needs to rewritten...

View 1 Replies

.net - Upgrade VB6 To .net NewIndex & OLE1?

Feb 4, 2011

I am trying to get my conversion fixed from a VB6 application over to a VB.net 2010 application. Everything went well but for a few sleeted listbox NewIndex and OLE control.

Below are the trouble lines that could not seem to be converted:

VB6.SetItemData(lstARCurrent, lstARCurrent.NewIndex, (.Fields("approval_s").Value))
OLE1.CreateLink(strFileName)
OLE1.DoVerb(vbOLEOpen)

If anyone has any incite to correct this issue then that would be great as i have not found a way around these errors!

View 1 Replies

Control The Upgrade Through A Program?

Dec 15, 2010

I've written a VB.Net program and it's deployed all across the U.S. When I make changes or bug fixes and want to get a new version out to my clients, I'm wondering if there is an automated way of upgrading the clients. I cannot use Click-Once deployment, I have over 7,000 users and want to control the upgrade through a program. Is there a tool in the toolbox for automating this process?

In VB6, I used the INet control, is there an equivelent to this in .Net?

View 1 Replies

Mdb Error Due To Office Upgrade?

Sep 28, 2011

I have been supporting vb.net application which worked fine with office 2003 but when one of my client upgraded to the office 2007.then we got a error like this after a bit of research ,i found that

"One possibility is that the file is corrupt (Access databases have a tendency to do that -- see

Article #2190 for a way to compact / repair the database through code). A more common reason is that you are trying to connect to an Access 97 database with Access 2000 or better drivers, or vice-versa. Make sure the server has the most recent MDAC (MDAC Download Page) and the most recent JET drivers (see Article #2342). Also, try upgrading your database to a more recent format (Access 2000 or better)."

may be my case is similar.the applicattion is working fine with the other users ,only the user who upgraded to office has got the problem.

View 2 Replies

Resizing Form After Upgrade?

Mar 4, 2011

I have a windows forms program that I upgraded from VB 2005 to VB2010. When the program was on VB 2005 the form would resize to any monitor resolution. But since I upgraded the program to VB 2010 some of my controls are off the screen when I run my program on a 1024 x 768 screen resolution. Why is it doing that?

View 1 Replies

Upgrade 6.0 To Program 2010?

Mar 1, 2012

I have a vb 6.0 program which has .dsr forms. How do I upgrade these forms?

View 2 Replies

Upgrade And Power Packs?

Nov 16, 2009

I got a new laptop friday, it has windows 7 and its a 64 bit system. I installed visual studio 08. everything was fine until I opened one of my projects.Seems like the powerpacks drawing items no longer exist, there is only a pointer and reort viewer in the group now and all of the items that I have used in the past are keep my app from running.

View 2 Replies

Upgrade From Anoher Table?

Feb 6, 2012

I am trying to update one database table base on another table. all rows are updating but first row is not updating.[code]...

View 2 Replies

Upgrade From Quick Basic On XP?

Nov 12, 2009

I used to write programs in Quick Basic on my XP computer. I now have a Vista (64bit) computer and everybody knows (except me) that those programs won't run on my Vista computer.I want to be able to write single user programs on my Vista computer like I did with my XP computer. Since I'm somewhat familiar with the Quick Basic language, I want to stay in the "Basic" language family. What do I need to have on my Vista computer that would allow me to write and run simple single user programs?

View 4 Replies

Upgrade To Program10 Professional?

Dec 13, 2010

I'm using vb10 express. How do I upgrade to vb 10 pro? I've been to microsofts web site [code]...

View 1 Replies

Upgrade To VS2008/VS2010?

Oct 30, 2009

I have a big application which is really working succesfully written in VB.Net version 2005 I am wanting to upgrade this to VS2008/2010 early next year. All versions used would be the fully paid for versions

I am totally clueless about what this upgrade would entail. I cannot afford to re-write the entire application as it is critical to our business.Can I take my code across without too much hassle? And then slowly "re-write" the code to take full use of the new features. Would i need to attend some sort of "new features" course? Or is the accompanying documentation good enough to get by.

View 5 Replies

Upgrade Wizard In .NET 2010?

May 26, 2010

I know that VS 2003, 2005 and 2008 had the VB6 to VB.NET Upgrade Wizard. Now, on a email list I'm on a said that he cannot open a .vbp file to use the upgrade wizard in VB 2010. Is there no Upgrade Wizard in VB 2010?

View 13 Replies

VS 2008 - Upgrade/cleanup

Mar 10, 2011

I've had 2008 express on this PC since it came out -- I basically have ONE important project that now is being troublesome.

Just had an "unhandled exception" and "configuration system failed" -- errors I've never received before and I've just made minor changes to the program.

For one, I was thinking about a fresh install of 2010 express (but remember some real problems when I upgraded from 2005, so ??) be afraid ? very afraid?

ALSO --

What are the mandatory files I need to save in a project folder?

If I delete the bin and obj folders (plus?) and let it write new ones will that sometimes cure some problems?

What is a good way to SAFELY keep all your hard work but get rid of possible clutter and ?

Configuration system failed to initialize --

View 6 Replies

VS 2008 : Graphics Upgrade From Vb6?

Apr 16, 2010

In VB6 I have drawn lines on a picturebox and if I display another form the lines remain (I haven't drawn them in the paint event).In vb2008 doing the same the display is erased when another form is displayed.How can I reproduce the vb6 functionality in vb2008?

View 1 Replies







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