Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1

    Default run time error in vb6


    mga master ung say pasabot ani.
    ako a na gtry ug trace but still mo debug
    ok raman cya sa access

    error cya ani nga code
    rs.open "Select * from Customer",conn, AdOpenDynamic, AdLockOptismistic

    The connection cannot be used to perform this operation. It is either close or invalid in this context.

  2. #2

    Default Re: run time error in vb6

    naa wala jud ko ikatambag ani

    kay vb pud amo klas karon

  3. #3

    Default Re: run time error in vb6

    VB diay ghapon gipang tudlo karon sa college? Gamit ba gd diay ning VB? daghan ba jd nig real world applications? Daghan mn kaayo ug mas maayo nga alternative uy.

    Anyways, sa imo pangutana, connection issue na siya. Either imo gi set imo activeConnection to an invalid connection object or was jd nmu gi set ang activeCOnnection property, at all. Check if imo active connection is open and valid.

    Also, make sure you're using the set keyword.

    These are just my theories. Posting some code may lead to a better answer.
    Last edited by kamahak; 03-01-2011 at 06:23 PM. Reason: Edit:grammar, spelling, etc

  4. #4

    Default Re: run time error in vb6

    naka encounter ko anha nga problema bro sa connection string manha bro na ai lang ka kuwang sa code

  5. #5

    Default Re: run time error in vb6

    kanang nag try ko sa access den ok man cya. ang connection ok ra sad lay error.

    pero sa db2 na murag mo run time error. ako-a gyud gbalik2x ang connection.

    but i will try nga maka kita ko sa answer a2 nganung na ingun ato.


    salamat kaayo.

  6. #6

    Default Re: run time error in vb6

    VB6 gihapon kai mao man ang nahibaw-an sa maestro...paet..

    luoy ang estudyante...na-among sa maestro..

  7. #7

    Default Re: run time error in vb6

    Quote Originally Posted by kamahak View Post
    VB diay ghapon gipang tudlo karon sa college? Gamit ba gd diay ning VB? daghan ba jd nig real world applications? Daghan mn kaayo ug mas maayo nga alternative uy.

    Anyways, sa imo pangutana, connection issue na siya. Either imo gi set imo activeConnection to an invalid connection object or was jd nmu gi set ang activeCOnnection property, at all. Check if imo active connection is open and valid.

    Also, make sure you're using the set keyword.

    These are just my theories. Posting some code may lead to a better answer.

    VB is usually use for Rapid Application Development and Extreme Programming.

  8. #8

    Default Re: run time error in vb6

    check your conn bro kung naka.connect ba siya sa database.

  9. #9

    Default Re: run time error in vb6

    Quote Originally Posted by neigyl_noval View Post
    VB is usually use for Rapid Application Development and Extreme Programming.
    That was before .NET

  10. #10

    Default Re: run time error in vb6

    Quote Originally Posted by nullpointer View Post
    That was before .NET
    Even after .NET.

    OnT: muguwa nah nga error when you are not actually connected to the database.

  11.    Advertisement

Page 1 of 2 12 LastLast

Similar Threads

 
  1. Sakit ba jud kung first time ma in-love?
    By kyuusai in forum "Love is..."
    Replies: 212
    Last Post: 10-06-2009, 01:32 AM
  2. Replies: 111
    Last Post: 11-20-2008, 12:20 PM
  3. No Error!! But cant Update in VB6 Help pls..
    By ventura in forum Programming
    Replies: 17
    Last Post: 11-04-2008, 02:14 PM
  4. Replies: 4
    Last Post: 03-06-2008, 07:19 PM
  5. anyone know how to run a page in ie browser??
    By Zid in forum Websites & Multimedia
    Replies: 15
    Last Post: 05-15-2006, 09:18 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