Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 15th, 2004, 08:40 PM
synchrox synchrox is offline
The bugger
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: on earth
Posts: 12 synchrox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
runtime error '91'

i need some help.. i got runtime error '91'
this is the codes :

Adodc1.Recordset.MoveFirst
Do While Not Adodc1.Recordset.EOF
If txtUserName.Text = Trim(Adodc1.Recordset!Name) And txtPassword.Text = Trim(Adodc1.Recordset!Password) Then
LoginSucceeded = True
GoTo check
Else
LoginSucceeded = False
Adodc1.Recordset.MoveNext
End If
Loop

check:
If LoginSucceeded = True Then
frmOptions.Caption = "Login User: " & txtUserName.Text
frmOptions.Show
MsgBox "Login User: " & txtUserName.Text, vbOKOnly
Unload Me

Else
MsgBox "Invalid Username or Password, try again!", , "Login"
txtPassword.SetFocus
SendKeys "{Home}+{End}"
End If
End Sub

Reply With Quote
  #2  
Old January 15th, 2004, 08:56 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 33 m
Reputation Power: 181
Where does the error occur?

Reply With Quote
  #3  
Old January 15th, 2004, 09:03 PM
synchrox synchrox is offline
The bugger
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: on earth
Posts: 12 synchrox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Adodc1.Recordset.MoveFirst --> it says object variable or with block variable not set

Reply With Quote
  #4  
Old January 18th, 2004, 10:02 PM
synchrox synchrox is offline
The bugger
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: on earth
Posts: 12 synchrox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
can any1 help me? no 1 knows the answer?

Reply With Quote
  #5  
Old January 18th, 2004, 10:14 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 33 m
Reputation Power: 181
I suppose your recordset isn't really there. The code you have posted doesn't help identify your problem.

Reply With Quote
  #6  
Old May 28th, 2005, 06:37 AM
dayakaran dayakaran is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 1 dayakaran User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 57 sec
Reputation Power: 0
I have the same problem too. Run time error no 9 . Have you found the soulution

Reply With Quote
  #7  
Old June 1st, 2005, 07:48 PM
dawnong dawnong is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 45 dawnong User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 31 m 55 sec
Reputation Power: 4
Try to check if adodc1 is linked correctly to the database which you intend to link

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > runtime error '91'


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT