This is really weird ! I compiled(released) my proj from within the IDE , then worked fine(output dll ) with no errors .But with CL , I got like 30 errors or so and a msg said "Maximum number of errors has been exceeded" ? What might be wrong ?
Last edited by Pirate; Apr 20th, 2003 at 03:07 PM.
What kind of errors were reported?
When you compiled your app in the IDE, was there anything in the output window (I think that is what it is called - the one where it shows errors). Maybe there was warnings in the IDE, but the CL calls them errors...
It's underlining the stuff it doesn't know about, you need to include every dll your project references, doesn't system.data.dll contain the oledb/data stuff? that needs to be included in the references switch.
Those are all just reference errors.
You are going to have to make sure everything has a reference when compiling it. You are leaving out the system.data namespace, the system.data.OleDb reference....etc...
hmmm, well not sure what's goin on. I coded up a little test app and tried it and it worked like a champ(but i also don't know what alls in your code, my sample is REALLY simple), here are some screen shots. Here's a shot of my ide. And here's a shot of my command line params.
It's regular Classfile contains all database methods ever . Sorry I can't post it here . I should tell you that it's attachted (added) to myproj (winforms) Do you think I should compile it by itself ?
it's worth a try, maybe just create a new console app, add your databaseclass.vb file and the necessary references to make it compile in the ide then try it from commandline.
The problem now is with "Format" and "Now" keywords. It says , they are not declared . BTW , I replaced "msgbox" keywords with "MessageBox.Show" because I got errors sound it didn't find "msgbox" declaration .I believe that have to do with VisualBasic Namespace.
Hmm , that's really weird ! . How come when I run that within the IDE even without Import Visualbasic library , I get no errors but the opposite while CL Compilation ??