|
-
Jun 12th, 2007, 04:39 AM
#1
Thread Starter
Hyperactive Member
VB6 - Method or data member not found
Hello,
I'm trying to fix the code in an app which was written by someone who has now left.
The problem comes when I try to click onto a certain form, and I get the error :
==========================
Compile Error :
Method or data member not found.
==========================
It then breaks on the following line :
Code:
WebBrowser1.Navigate "http://xxx/yyy/login.asp?LoginName=" & Login & "&Password=" & Pass
Can anyone shed any light on why ?
I've checked the web, and the webbrowser1 object should have 'Navigate' as one of it's members, but when I type 'webbrowser1.' - the intellisense doesn't show this ?
Thanks,
-
Jun 12th, 2007, 05:09 AM
#2
Re: VB6 - Method or data member not found
Make sure you have a Webbrowser control on your form and that it's name is 'WebBrowser1'
-
Jun 12th, 2007, 05:12 AM
#3
Thread Starter
Hyperactive Member
Re: VB6 - Method or data member not found
Cheers Lintz,
I have, and it is named that, but for some reason it won't get past this line.
-
Jun 12th, 2007, 05:18 AM
#4
Re: VB6 - Method or data member not found
can you upload the form or project and I'll have a look?
-
Jun 12th, 2007, 10:28 AM
#5
Re: VB6 - Method or data member not found
Are you sure that the control named WebBrowser1 is a web browser control? Look at the properties window and see what VB thinks it is.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Nov 7th, 2011, 12:43 PM
#6
Junior Member
Re: VB6 - Method or data member not found
I am also getting the same error message for below code:
Private Sub cmdNewRecord_Click(Index As Integer)
datIDU.Recordset.AddNew
cmdSaveRecord.Enabled = True
cmdMoveFirst.Enabled = False
cmdMoveLast.Enabled = False
cmdMoveNext.Enabled = False
cmdMovePrevious.Enabled = False
End Sub
can someone please help??
-
Nov 7th, 2011, 12:58 PM
#7
Re: VB6 - Method or data member not found
Welcome to the forums. It is not advisable to hijack another thread to ask your own question. In the future, start your own thread after your forum searching failed to find a resolution.
We don't know which line is causing the error. So, one or both of the following apply
1) You do not have dataIDU declared in your form & if you do, you don't have ADO/DAO referenced in your project
2) One or more of those cmdxxxxx buttons do not exist
-
Nov 7th, 2011, 12:58 PM
#8
Re: VB6 - Method or data member not found
Swap
Welcome to the Forums .. 
That was an ancient thread you brought up.
While I commend you for searching first before posting,
your question seemingly has nothing to do with a
WebBrowser control.
I'd suggest that next time you simply start a new thread.
That said, on which line in your code does the error occur?
Spoo
-
Nov 7th, 2011, 01:41 PM
#9
Junior Member
Re: VB6 - Method or data member not found
thanks spoo,
i have created new thread:
http://www.vbforums.com/showthread.p...54#post4088854
plz visit it
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|