Results 1 to 6 of 6

Thread: Need Help in Existing LAN Application

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2009
    Posts
    58

    Unhappy Need Help in Existing LAN Application

    Dear ALL

    I have an lan based application and its source code also .this application is being used by our organisation .This application is built in visual basic and as i m opening the forms or modules in vb 6.0 they r showing the error during load refer to log.

    And after opening the form i am not able to see the design view also .as i m new in vb so i dont know how and where i should edit the code and also want to see the changes i made.so please help me regarding this.I am having code on my pc and i have server also which is at another location and we have our database at the server location.and at every client location over the LAN including the server also dont have the code except my machine.
    So i am not able to understand the configuration.

    Please help me regarding this.In my code folder i have forms,modules,DLLs there.

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Need Help in Existing LAN Application

    Welcome to VBForums

    After getting the error, the code folder should also have a .log file with the same name as the form (eg: Form1.log). Open it in Notepad to see what the problem is.


    Note that you should not be opening the form file directly, you should open the Project/Group file (.vbp or .vbg) that they relate to instead - and doing that is likely to stop the error from happening.

  3. #3

    Thread Starter
    Member
    Join Date
    Dec 2009
    Posts
    58

    Re: Need Help in Existing LAN Application

    As i have checked my code there is one .vbp file which is of 1 kb only and on opening on this form also we cant see the project exploration.
    if you want to see my code it is available at
    http://rapidshare.com/files/320548697/AmitApp.rar.html

    please check and tell me.
    beside this i have a folder which is having setup and dlls and some other files.

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Need Help in Existing LAN Application

    A .rar file is not a good idea. Not everyone has the ability to use them, and even with the necessary software they take more time to use than .zip files.


    The log files very clearly show that the problem is that you opened the form files directly, rather than the project file - in each case you are missing components (which is part of what the Project file specifies).

    The .vbp file is definitely not the correct one (it only refers to 1 .bas file, and almost no References/Components). You should have another one too, which will be probably be about 5 to 10 kb... you should do everything you can to find it, as it will save lots of time and mistakes.


    If you cannot get hold of the proper project file you could create another one, but it will take a fair amount of trial and error to get it working - and even then it may not be correct.

    If you do it, the first step is to add these Components:
    • Microsoft Windows Common Controls 6
    • Microsoft Windows Common Controls-2 6
    ..and at least one that starts with "LaVolpe".

    After that, remove the form that was pre-added when you started the project, and add all of the forms/modules/etc that are supposed to be in the project (without the original project file you will have to guess). If you get the log file error again, remove the file that had the error, and read the log file to determine which component(s) are missing.

    The next step is to go to "Project"->"Properties" and set the startup object. Again, without the original project file you will have to guess what it is supposed to be.

    After that try to run the project via Ctrl-F5, and deal with any errors it shows (likely to include "User Defined Type not defined" etc, which mean you need to add References).


    As you have included so many compiled files (which could potentially include malware of some sort), I am not willing to risk attempting to help you build a new project - and I recommend others don't either.

  5. #5

    Thread Starter
    Member
    Join Date
    Dec 2009
    Posts
    58

    Re: Need Help in Existing LAN Application

    Thanks for the reply buddy

    As i am not able to find any other .vbp file in my code so now tell me from where i should start as you have my code with you because i am so much confuse about this code.So if you can help me a little more so dat it could take a lesser time.

    Thanks

  6. #6
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Need Help in Existing LAN Application

    Is there anywhere else that the .vbp file could possibly be? Even if it takes you an hour to find it, that will probably be much quicker (and definitely better) than starting again.


    To create a new one, click on "File"->"New Project", and select the project type that it is supposed to be (probably "Standard EXE", but we can't be sure).

    Then go into the "forms" folder and delete all of the *.log files.

    After that, follow the instructions in my previous post, from "If you do it," onwards.


    If you have problems, post with specific details of the issue(s). If that includes the message about log files again, attach just the relevant log files.

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