D'oh
That doesn't sound very good :-/
Now, it seems that I have to go that way anyway - I don't see any other way.
But perhaps you know another. I'll describe you my problem:
My VB App only wrapps a call to a .dll which I have to do. I don't know how that (or any other) dll exactly works but...
OK I had finally time to try it and it works great!
Now a second question: is it possible to write output back to the shell?
best regards
Stefan Rusterholz
Hmm, sorry, but this hint got me nothing but a few dozens of entries - but none of them seems to cover my problem (I had a lot of entries for ADO and command-object).
But I have to tell you, that I'm not very used to VB and VB-help...
could you please be a bit more specific?
but thank you so...
My VB-App serves as kind of intermediation-application and therefore gets executed via the command-line (or better: it is planned to execute it from the commandline).
I plan to give the vb-app some arguments via the commandline. My question now is: how can I access those arguments?
many thanks...
Uhm, seems like UBound = -1 is not true for erased arrays. I get an error: "Index ausserhalb des gültigen Bereiches" (I think the adaequate english error message is "Subscript out of boundaries") when I do
dim myArray() as String
dim myUBound as Integer
erase...
Hi
I'm programming in VB for about 2 weeks now and can't get around following obstacle:
I have got an array (public because it can grow up to a few MB) which is at start erased.
Question 1:
How can I test if that array is still erased or has got redimmed? At the moment I use the workaround of...
The situation is a bit complicated, so let me explain:
On Machine A I got Visual Studio installed.
On this machine I developed a script which accesses a mysql database. When I compile this script on machine A and run the .exe file on 'A' then it runs just fine.
When I copy the .exe file onto a...
Thanks to both of you
I didn't find the wizard because I didn't think enough :-/
I have a german installation, so it's named "Verpackungs und Verteilungsassist" which is _slightly_ different to it's english name :-)
It was only the file 'MSADODC.OCX' which had to be placed into...
You are right. I indeed only copied the .exe file.
I'm kind of newbie to VB and had not a lot of time to study it (I just have had to adapt a script and add mySQL support to it) so I learnt it in a hurry.
I think your advice is also correct.
So here another stupid problem: where can I find this...
Thank you too.
I did it indeed with coding the connectionstring:
dim connstr as string
connstr = "driver={MySQL};server=my.server.domain;uid=myname;pwd=mypassword;database=myDB;"
dim rs as adodb.recordset
set rs = new adodb.recordset
rs.open "SELECT something FROM myTable"...
Finally my VB program runs fine on the pc with visualbasic installed. now I generated an .exe file (which also runs on the developmentmachine) and copied it onto another pc (windows2000 Server). But on this machine a message appears at start:
"Component 'MSADODC.OCX' or one of its...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.