Results 1 to 4 of 4

Thread: VB windows application error??

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2007

    VB windows application error??

    recently i received a project to help the company do some changes to the layout and other stuffs but the previous programmer has gone MIA.. the manager found some files which look like codes... i open the frm files with Visual Studio 2010 but a lot of error came out like obsolete coding and etc... also from my knowledge i thought that should have the project file.. what i means is that for example is i create a new windows application project with VS 2010 the .vbproj file will be generated but i could not find this file from what is given to me.. so i would like to check how could i go around to edit the codes and afterards compile it so that it will change the program...

    the program also have a setup file which install the program on the client computer and exe file to run the program...

    furthermore when i try out the application i receive this error:

    Uploaded with ImageShack.us

  2. #2
    Frenzied Member
    Join Date
    May 2006
    some place in the cloud

    Re: VB windows application error??

    IMO, it's a VB6 project
    Then you should look for a file with .vbp extension and open it with VB6 and not with VS2010

    The error message is saying that in the pc where you're trying to execute the application is neccesary to define a DSN that point to the database that use the application...


  3. #3
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Beside Waldo

    Re: VB windows application error??

    Look for a vbp file; if found then that's a classic VB project then. It will also identify other parts of that application, including any modules, classes, usercontrols, dependencies, etc. This can be viewed in Notepad. If you find the file and are not familiar with the contents, you may want to upload it so some of us can take a look at it
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online

    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  4. #4
    Join Date
    Jul 2006
    Maldon, Essex. UK

    Re: VB windows application error??

    You could try using the Visual Basic Upgrade Wizard which is shipped with Visual Basic 2008 Express (as with all the other Express products it's freely available from Microsoft.

    It attempts to convert VB6 projects to .NET and at least you'd get an idea of the amount of changes in syntax etc you'd have to make. Just start up VB2008 and open the .vbp file. The converted Project can then be opened in VB2010 (and it will undergo another conversion).

    I've used it on a very simple VB6 project successfully. I suspect that anything 'complex' may stretch the convertor.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


Click Here to Expand Forum to Full Width