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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by myasin78

  1. myasin78

    ProvideX ODBC Sql Problem

    I will try it tomorrow. thanks,
  2. myasin78

    ProvideX ODBC Sql Problem

    Thanks for reply! I did search MAS90(best software) website and i downloaded the ODBC driver to connect. I got a connection to the database, but even though i provided a username and passwd throught DSN str,i get prompt for MAS 90 database Signon I found someone with the same problem but he is...
  3. myasin78

    ProvideX ODBC Sql Problem

    Hello All, I wrote a vb app that connects to provideX database through ODBC Conn. I pointed the odbc to the right database path. eg: \\myserver\share\companyA\po.soa I assume *.soa is the database files for ProvideX. I tested my application with Access/ODBC and worked fine. but after I...
  4. myasin78

    Reading INI values

    here is what i got: "DSN=odbcname ;UID=myuser" as you see there is a lot of space, I did Trim$ on them and got nothing different. I apperciate you help. thanks,
  5. myasin78

    Reading INI values

    I tried that I got DSN=odbcname thanks, myasin78
  6. myasin78

    Reading INI values

    Hello All, I am reading ini file to open DB connection. I am having problem generating cnn string to open DB here is some of the code, hope to get some help. Dim dummy As String Dim odbcName As String * 255 Dim user As String * 255 Dim pwd As String * 255 Dim buffer as string * 1024 Dim...
  7. myasin78

    .ini API used for application

    thanks for the code, but I keep getting Compile error: on the line you give me. here is the error. " Constants, fixed-length string, arrays, user-defined types and declare statments are not allowed as public members of object modules " thanks,
  8. myasin78

    .ini API used for application

    Do you know which API I should use for .ini calls thanks,
  9. myasin78

    ODBC To Access

    I forget to do: cnn.open buffer thanks anyway, it is working now.
  10. myasin78

    ODBC To Access

    Hello All, I setup ODBC DSN name to connect to MS Access DB. Public Function OpenDB() As String Dim buffer As String buffer = "DSN=name;UID=;PWD=" OpenDB = buffer End Function Private Sub cmdStart_Click() Dim GetDBConn As String Dim sql As String GetDBConn =...
  11. myasin78

    FTP in VB

    I wanted to thank you for you help. I finally get it to work. here is my code, in case if someone else needs it. Private Sub cmdftp_Click() txtResult.Text = "Working" txtResult.SelStart = Len(txtResult.Text) With InetFtp .AccessType = icUseDefault .Protocol =...
  12. myasin78

    FTP in VB

    I added a control Inet (Microsoft Internet Transfer Protocol)and called it inetFtp. this is what defined inetFtp. I am not sure why do i have to defined in my code since its a control. I draged it from the control bar. anyway, i added more code to test the connection, here is my code, it seems...
  13. myasin78

    FTP in VB

    I have added the inetFtp control. right now i have no errors nor result. I don't know what is the probelm i have put in the test file that i am trying to ftp localy. here is the new code. Option Explicit Private Sub cmdftp_Click() Dim host_name As String Enabled = False...
  14. myasin78

    FTP in VB

    here is what i got. Error "variable undefined (inetFTP)". I need to declare inetFTP as an ftp object is that correct? thanks for your help.
  15. myasin78

    FTP in VB

    I assumed it is a predefined object within VB.

Part and Inventory Search

Back
Top