Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11

    Default Re: UNSAON PAG CONNECT VB6 TO MSSQL????


    Try use ADO or ODBC connection string...

  2. #12

    Default Re: UNSAON PAG CONNECT VB6 TO MSSQL????

    "Driver{SQLServer};Server=Your_Server_Name;Databas e=Your_Database_Name;Uid=Your_Username;Pwd=Your_Pa ssword;"

  3. #13

    Default Re: UNSAON PAG CONNECT VB6 TO MSSQL????

    if you want to hard code try this:

    Dim cn As ADODB.Connection
    Dim rst As ADODB.Recordset
    Dim StrConnect As String, StrQuery As String

    StrConnect = "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=your_database.mdb"


    Set cn = New ADODB.Connection
    cn.Open StrConnect

    Set rst = New ADODB.Recordset
    rst.Open StrQuery, cn, adOpenKeyset, adLockReadOnly


  4. #14

    Default Re: UNSAON PAG CONNECT VB6 TO MSSQL????

    Quote Originally Posted by soulripper
    if you want to hard code try this:

    Dim cn As ADODB.Connection
    Dim rst As ADODB.Recordset
    Dim StrConnect As String, StrQuery As String

    StrConnect = "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=your_database.mdb"


    Set cn = New ADODB.Connection
    cn.Open StrConnect

    Set rst = New ADODB.Recordset
    rst.Open StrQuery, cn, adOpenKeyset, adLockReadOnly

    The above is a correct ado connection all u have to do is to change the connection string since its designed for access just follow my example above!!!

  5. #15
    up!!!!!!!!!!!!!!!!!!!!

  6. #16
    try ni siya bro...

    Code:
    "Provider=SQLOLEDB;Data Source=Your_Server_Name;Initial Catalog= Your_Database_Name;UserId=Your_Username;Password=Your_Password;"

  7. #17
    try ngari bro ay. naa ngari tanan :ConnectionStrings.com - Forgot that connection string? Get it here!

    hope maka help ni nmo...

  8. #18
    goggle it bro ..if u want to achieve something try to be resourceful...programmers are resourceful..

  9. #19
    tama ka bro pero basin dli pa siya hanas unsaon pag search bro mao ni ask lang sa siya. Like how to use the correct keyword in searching in order to get the nearest answer to his query.. tagail lang sa og chance gud bro. maka learn ra lagi ni siya sa kadugayan.

  10. #20
    na ai ebooks for this

  11.    Advertisement

Page 2 of 2 FirstFirst 12

Similar Threads

 
  1. Unsaon pag connect sa internet using Samsung Tab 2 7.0?
    By Franga in forum Android Devices
    Replies: 2
    Last Post: 12-16-2012, 10:29 PM
  2. Replies: 23
    Last Post: 09-25-2012, 02:53 PM
  3. unsaon pag connect? SUCCESS! wahahha
    By brachypelma in forum Networking & Internet
    Replies: 70
    Last Post: 12-31-2007, 11:32 AM
  4. MOVED: UNSAON PAG CONNECT VB6 TO MSSQL????
    By BadDudes in forum Software & Games (Old)
    Replies: 0
    Last Post: 12-13-2006, 08:29 AM
  5. Unsaon pag convert sa VHS to DVD?
    By s.n.m.p. in forum Websites & Multimedia
    Replies: 10
    Last Post: 09-17-2005, 09:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top