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!

Search results for query: *

  • Users: myasin78
  • Content: Threads
  • Order by date
  1. 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...
  2. 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...
  3. myasin78

    .ini API used for application

    Do you know which API I should use for .ini calls thanks,
  4. 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 =...
  5. myasin78

    FTP in VB

    Hello all, I am tring to write ftp module that ftps specific direcotry to an ftp server. here is my code: Private Sub cmdftp_Click() Dim host_name As String Enabled = False MousePointer = vbHourglass txtResult.Text = "Working" txtResult.SelStart = Len(txtResult.Text)...
  6. myasin78

    perl and xml

    hello all, I am looking to read mysql database and then convert the recoreds int xml format. I can read mysql easily, so right now i am testing flat file "tab delimated file" to import the data into xml format. I am using XML::Simple; here is my code. my $fi = "file.txt"; my $xml =...
  7. myasin78

    str2field

    I am trying to update DB using ADO Recordset. Rs1.addnew with Rs1 !name = str2field(txtname) end with Rs1.update when i run this code i get function not defined. do you know which library should i load to define this function " str2field". thanks, myasin78
  8. myasin78

    SQL Insert Statment

    I am trying to insert data into DB using VB. I have connected, test connection, select data, all fine. the only problem is that i can't insert data into the tables. here is some function that might help understand the problem. thanks in advance. 'declartion Public Rs1 As New ADODB.Recordset...
  9. myasin78

    .MovePrevious

    I have two Buttons, one to select next record and one to select previous one. the next record works, but the previous one doesn't. the exact error i get "Operation is not allowed in this context" when i hit debug buttion .MovePrevious gets highlited in yellow which is the problem...
  10. myasin78

    Sql Fetching in VB

    Hello, I am trying to fetch an oracle table using vb app. here is my current code. can someone tell me what i am doing wrong. Private Sub Command1_Click() Dim Rs1 As New ADODB.Recordset Dim buffer As String Dim dbConn As New ADODB.Connection Dim strSql As String buffer =...
  11. myasin78

    VB ODBC Connection

    Hello All, Below is VB code I am using to open an ODBC connection. I have created a DSN called Patent. when i run this code i get the following error. Compile error: User-defined type not defined the compile high lite the following line which has the error. Set dbConn = New ADODB.Connection...
  12. myasin78

    connect to ODBC from VB

    I am currently working on VB6.0 application that uses MS Jet to connect to Access DB. I need to be modify the code in order to make it talk to ODBC DB in stead, could someone send me a sample code please. this is the current code that i have to modify. Public Function GetDBConn() As String...

Part and Inventory Search

Back
Top