473,567 Members | 2,902 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compile Error : Method or data member not found

1 New Member
hI, would you like to help my problem, I'm a new programmer and I had encounter an error in my new program.

Compile Error : Method or data member not found

I'm using vb6 and my database is access.

Here's my code that i'm using
Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Load()
  2.   BSE1.InitSubClassing
  3.   con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\Invdata.mdb;Persist Security Info=False"
  4. End Sub
Attached is the screenshot of error using vb6.



Appreciate if you could help me.

Thanks,
Mark
Attached Images
File Type: jpg BSE1.jpg (22.4 KB, 857 views)
Dec 1 '14 #1
1 2347
Frinavale
9,735 Recognized Expert Moderator Expert
It would help if you posted the code for the declaration of the BSE1 variable.

-Frinny
Dec 1 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1632
by: Kenny G | last post by:
Hello, Got a small problem: I built a small table and used the following on my laptop this morning. This code compiled and worked fine on my laptop but when I compiled the first Sub on my desktop I get compile error: Method or Data Member Not Found The words ProjectCode was highlighted.
2
23925
by: bradleyp | last post by:
Hi all, Hopefully somebody can help. In Access 2002-SP2, I receive an error from the VB Editor if I try to compile the following code (see below). The error is as follows: Compile Error: Method or data member not found The follow subroutine is highlighted (specifically .txtNR_Program1):
1
4017
by: Tim::.. | last post by:
Can some one please tell me why I'm getting this error! I presume it is because there is something wrong with my Database connection but am not really sure what! Thanks ...:: Error ::.. System.MissingMemberException: No default member found for type 'Boolean'. ...:: CODE ::.. Private Sub cmdSubmit_Click(ByVal sender As System.Object,...
5
2464
by: solrium | last post by:
Good morning, Thanks in advanced.... and Here are the basics: VB 6.3 on W2K, Using for WRQ Reflections for IBM (v 13.0) Visual Basic Editor (built into the above mainframe) - As most stories go, a guy created a GUI as a macro using VB and saved everything under the shared folder for our clients' server, which then was deleted. Since...
3
6680
by: DThreadgill | last post by:
Upon trying to compile my db, I get the following error - "Compile Error - Method or Data Member Not Found" and it highlights the .backcolor of the following code Private Sub Mentioned_Employee_GotFocus() Mentioned_Employee.BackColor = 65535 End Sub I viewed my references and there are none that says MISSING. These are the ones I do...
1
2663
by: jayjayplane | last post by:
I have two combo boxes on my form, let's say box1(s1_individual_session) and box2(s1_nationality1), initially I disable box2(gray-out). I want to select box1 value is "true" then enable the box2, the code: Private Sub s1_individual_session_AfterUpdate() If Me.s1_individual_session.Value = True Then Me.s1_nationality1.Enabled =...
15
11563
by: Elizabeth Mitte | last post by:
Hello, Before I ask my question, I want to say how good this forum is and how much help it has been to a complete novice. At this moment in time I am having trouble creating VBA syntax (I think that is what it is called) that works to update one combo box (in subform) from another (in the main form). I have tried the same 'code' in the...
1
1181
by: cate | last post by:
Pls help I encountered this error when I entered an amount in premium... Private Sub PREMIUM_AfterUpdate() Me.DOC_STAMP = Format(Me.PREMIUM * 0.125, "#,##0.00") Me.LGT = Format(Me.PREMIUM * 0.002, "#,##0.00") Me.VAT = Format(Me.PREMIUM * 0.12, "#,##0.00") Me.TOTAL_PREM = Format(Me.PREMIUM + Me.DOC_STAMP + Me.LGT + Me.VAT +...
4
1572
by: rhonda6373 | last post by:
Good morning, I am not an experienced user and have a basic question. I have a main form named Test Cases which has a subform called TestSteps. The subform TestSteps has a field named StepDescription. I want the user to be able to click on the field StepDescription and open another form UnitTestCase. I want Unit Test Case to open where...
0
7688
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7590
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8115
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7651
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5488
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5216
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3630
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1205
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
930
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.