Results 1 to 14 of 14

Thread: problem opening example

  1. #1

    Thread Starter
    Member Rocky_Lad's Avatar
    Join Date
    Jan 2005
    Posts
    57

    problem opening example

    ive downloaded this example of a web browser from http://www.vbwm.com/articles/builder...p?ArticleID=31
    but when i try to open it i get alot of warnings then vb crashes and i have to restart it....why? i have a feeling i may have to add certain components.

    i know this question is a bit vague but i'm a vb newbie


    I reject your reality and substitute my own.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: problem opening example

    1. Does it allow you to load it into VB, and when you try and run it, the IDE crashes, or does it not allow you to even load it?

    2. What, specifically, are the warning messages?

  3. #3

    Thread Starter
    Member Rocky_Lad's Avatar
    Join Date
    Jan 2005
    Posts
    57

    Re: problem opening example

    when i try to open the .vbp file i get this....
    [IMG]u:\vbp error.jpg[/IMG]

    and when i try to open the .frm file i get...
    [IMG]u:/frm error.jpg[/IMG]


    hmmm how do you attach images?
    Attached Images Attached Images   


    I reject your reality and substitute my own.

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: problem opening example

    Quote Originally Posted by Rocky_Lad
    when i try to open the .vbp file i get this....


    and when i try to open the .frm file i get...



    hmmm how do you attach images?
    What do the log files say?

  5. #5

    Thread Starter
    Member Rocky_Lad's Avatar
    Join Date
    Jan 2005
    Posts
    57

    Re: problem opening example

    everything is invalid


    I reject your reality and substitute my own.

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: problem opening example

    Give me some specifics. What is invalid?

  7. #7

    Thread Starter
    Member Rocky_Lad's Avatar
    Join Date
    Jan 2005
    Posts
    57

    Re: problem opening example

    see attached log file.
    Attached Files Attached Files


    I reject your reality and substitute my own.

  8. #8
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: problem opening example

    Attach the log please.

  9. #9

    Thread Starter
    Member Rocky_Lad's Avatar
    Join Date
    Jan 2005
    Posts
    57

    Re: problem opening example

    sorry, have done now


    I reject your reality and substitute my own.

  10. #10
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: problem opening example

    It looks like you need to add, as a component, the Microsoft Windows Common Controls 6.0

    This will give you the ImageList, Progressbar, Statusbar and Toolbar controls.

  11. #11

    Thread Starter
    Member Rocky_Lad's Avatar
    Join Date
    Jan 2005
    Posts
    57

    Re: problem opening example

    It crashes everytime i add a component.


    I reject your reality and substitute my own.

  12. #12
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: problem opening example

    How many forms and modules are there in the project?

  13. #13
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926

    Re: problem opening example

    Did you open the .vbp file, or did you directly open the .frm file?

    If you open a .frm file, no references have been set, so every control that isn't a standard vb control will fail to load.

    If you open the .vbp file, and still get these errors, the controls are probably not registered on your machine.
    In your case you need to add a the windows common controls 6.0 and the webbrowser control to your components.

    Make sure you don't save the form, because vb will change unknown components into pictureboxes. If you save the form while they are pictureboxes, it will be difficult to correct it.
    Remove the form from the project, make sure you have the components added to your toolbox, and then add the form to the project again.
    Frans

  14. #14
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808

    Re: problem opening example

    Start a new project and try to add the "Microsoft Windows Common Components 6.0". If your VB crashes, the problem is not the project itself but VB. In that case, you might need to re-install it.
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

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