Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. stefanRusterholz

    How can I access data from the command-line?

    Sorry for responding so late (week-end). Thank you all very much. You really helped me out! It works now very fine.
  2. stefanRusterholz

    How can I access data from the command-line?

    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...
  3. stefanRusterholz

    How can I access data from the command-line?

    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
  4. stefanRusterholz

    How can I access data from the command-line?

    OK Thank you very much! I'll try that one as soon as possible. (I'm wondering why I still can't find that entry in the help system...)
  5. stefanRusterholz

    How can I access data from the command-line?

    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...
  6. stefanRusterholz

    How can I access data from the command-line?

    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...
  7. stefanRusterholz

    Rediming dynamic arrays - problems with erased and defaults

    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...
  8. stefanRusterholz

    Rediming dynamic arrays - problems with erased and defaults

    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...
  9. stefanRusterholz

    Manual Install: what components for mysql-access

    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...
  10. stefanRusterholz

    .exe created with VB doesn't run on another pc (msadodc.ocx problem)

    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...
  11. stefanRusterholz

    .exe created with VB doesn't run on another pc (msadodc.ocx problem)

    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...
  12. stefanRusterholz

    Access a mySQL Database from VB

    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&quot...
  13. stefanRusterholz

    .exe created with VB doesn't run on another pc (msadodc.ocx problem)

    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...
  14. stefanRusterholz

    Access a mySQL Database from VB

    Hmmm, strange. I tried it again and now it presents me some results... perhaps it was just a misstypo before :-/ Stefan
  15. stefanRusterholz

    Access a mySQL Database from VB

    I tried that but it told me it had found 0 results :-( But luckily I found it somewhere else. But thank you anyway! Stefan
  16. stefanRusterholz

    Access a mySQL Database from VB

    Hmm, I searched a while for it in vbcode.com, but I couldn't find it. Can you please tell me where this examples are located? Stefan
  17. stefanRusterholz

    Access a mySQL Database from VB

    I'm still a newbie, so please explain stepwise ;-) I got following problem: i need to access (on the local machine) a mysql database. I downloaded myODBC 2.50.38 from mysql.com (http://www.mysql.com/Downloads/MyODBC/myodbc-2.50.38-nt.zip) but i couldn't get it run. The old code which accesses...
  18. stefanRusterholz

    Newbie Question: Data from Access directly into variables

    Thank you very mutch. Unfortunately I'm not at work yet so I can't test it, but I'll try it Monday Again: thank you! Stefan
  19. stefanRusterholz

    Newbie Question: Data from Access directly into variables

    Hi. Sorry if I ask a stupid question, but I'm a Newbie to VB so please don't beat me ;-) What I want to do: open a specific database run the sql "SELECT field1,field2 FROM mytable WHERE condition='true'" (just an example) fetch the result directly into a variable (NOT into a datagrid...

Part and Inventory Search

Back
Top