Results 1 to 7 of 7

Thread: " could not be loaded

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2005
    Posts
    305

    " could not be loaded

    I downloaded a source from the net and when i try to open it, the form shows the error -- "could not be loaded" ... what is the reason for that... im attaching the form if required...
    Attached Files Attached Files

  2. #2

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2005
    Posts
    305

    Re: " could not be loaded

    no thats the problem, its not telling! Just a single colon and couldnt be loaded as in the subject.

  4. #4
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431

    Re: " could not be loaded

    That file is well and truly screwy. It's got a bunch of spaces in weird places, extra line breaks, and every other line ends with just a line feed character instead of the standard carriage return/line feed combo. You can read the source by just opening it in Notepad, but I don't think I'd trust such weird sample code in any case.
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

  5. #5
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431

    Re: " could not be loaded

    I was curious and cleaned up the file a bit. I had to replace the SSCommand button with a regular button, but that change doesn't seem to matter in any real way. Making that change, adding an "End", and turning a fractional font size value to an integer made it work. I have no idea how someone could have screwed up that file as badly as they did. The code itself isn't even very good and refers to many things in an apparently much larger project.
    Attached Files Attached Files
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2005
    Posts
    305

    Re: " could not be loaded

    @jemidiah- thanks very much man , that is a great help... although as you suspected it's a large project and most forms like this one are too badly coded!!! will have to fix it up!!! :-( :-(

  7. #7
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431

    Re: " could not be loaded

    A large project with files like that... ugh. They had to have been mishandled at some point to add those random spaces and extra lines, not to mention the line ending convention weirdness, since the VB IDE saves sanely. It's like some crazed, terrible coder ran idiotic scripts on them all and made random breaking changes to small pieces here and there. My best guess is that someone was playing a practical joke with the files. Good luck.
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

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