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...
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
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.
The time you enjoy wasting is not wasted time. Bertrand Russell
@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!!! :-( :-(
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