473,772 Members | 2,349 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I'm trying to grasp the concept of class modules, seeking a straight-forward example on a site somewhere

MLH
I'm new to A97 - moving up from Access 2.0 and Access Basic.
Would like to build a fundamental, sound understanding of class
modules. Is there a site with an example of a simplistic class module
saved as

I understand that Access 97's standard modules are essentially what
1.x and 2.0 global modules. I would like to study and experiment with
an Access 97 class module created in a standard module.

Thank-you.
Nov 13 '05 #1
6 2012
Take a look at the House of Straw, House of Bricks and House of Sticks
examples at
http://msdn.microsoft.com/library/en...ionclasses.asp

While aimed at VB6, I believe most of it is applicable to Access 97.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"MLH" <CR**@NorthStat e.net> wrote in message
news:s7******** *************** *********@4ax.c om...
I'm new to A97 - moving up from Access 2.0 and Access Basic.
Would like to build a fundamental, sound understanding of class
modules. Is there a site with an example of a simplistic class module
saved as

I understand that Access 97's standard modules are essentially what
1.x and 2.0 global modules. I would like to study and experiment with
an Access 97 class module created in a standard module.

Thank-you.

Nov 13 '05 #2
rkc
MLH wrote:
I'm new to A97 - moving up from Access 2.0 and Access Basic.
Would like to build a fundamental, sound understanding of class
modules. Is there a site with an example of a simplistic class module
saved as


Here is an article by one of the fellows that wrote the
Jet Database Engine Programmers Guide. You might even find
it useful since you're using Access 97.

http://www.fmsinc.com/tpapers/97classes/
Nov 13 '05 #3
rkc
MLH wrote:
I'm new to A97 - moving up from Access 2.0 and Access Basic.
Would like to build a fundamental, sound understanding of class
modules. Is there a site with an example of a simplistic class module
saved as


This one has screen shots.
http://techrepublic.com.com/5100-6329_11-5031814.html
Nov 13 '05 #4
MLH
Thx, Doug. Will do.
xxxxxxxxxxxxxxx xxxxxxxxx
On Tue, 14 Jun 2005 18:26:20 -0400, "Douglas J. Steele"
<NOSPAM_djsteel e@NOSPAM_canada .com> wrote:
Take a look at the House of Straw, House of Bricks and House of Sticks
examples at
http://msdn.microsoft.com/library/en...ionclasses.asp

While aimed at VB6, I believe most of it is applicable to Access 97.


Nov 13 '05 #5
"MLH" <CR**@NorthStat e.net> wrote in message
news:s7******** *************** *********@4ax.c om...
I'm new to A97 - moving up from Access 2.0 and Access Basic.
Would like to build a fundamental, sound understanding of class
modules. Is there a site with an example of a simplistic class module
saved as

Another site...
http://www.members.shaw.ca/AlbertKal.../WhyClass.html

--
Joan Wild
Microsoft Access MVP
Nov 13 '05 #6
MLH wrote:
I'm new to A97 - moving up from Access 2.0 and Access Basic.
Would like to build a fundamental, sound understanding of class
modules. Is there a site with an example of a simplistic class module
saved as

I understand that Access 97's standard modules are essentially what
1.x and 2.0 global modules. I would like to study and experiment with
an Access 97 class module created in a standard module.

Thank-you.


I have a StringObj class on my site. It was meant to provide a mixture
between a string and a queue. It does not exhibit special behaviour so I
think it can function as a simple example.

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html

Nov 13 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1983
by: rdshultz | last post by:
I'm a complete newbie. Need to insert a Company logo into a database column to use later on in a check printing application. Read how to insert the pointer instead of the object into the column. Below is what I did: SET QUOTED_IDENTIFIER OFF GO INSERT INTO BankInfo (CoLogo) VALUES(0xFFFFFFFF)
10
2107
by: William Gill | last post by:
Being somewhat new to Python, and having a tendency to over complicate things in my class design, I was wondering if anyone can suggest a simple graphical or flowcharting tool that they use to organize their class and program design? Because of a 55 mph head-on accident a few years back, I have short term memory problems, so flipping back and forth between pages of code is next to impossible for me to keep straight. A simple graphical...
13
2222
by: Bijoy Naick | last post by:
My project contains multiple aspx pages. Many of these pages have code-behind that use several helper functions. Instead of copying each helper function into each aspx page, I am thinking of using a VB Class file to store these. Questions - - How would I "include" this class in each aspx page?
8
1182
by: Bruce D | last post by:
I'm developing my first VB.NET application and I want to use good coding technique, but I'm a little confused about 'modules and 'classes'. I have several windows forms that have to connect to my data (MySQL). During my testing, I created a ODBCconnection object via code (I didn't want to use the windows form object because I'm going to want to use this from other forms)...and all was great. So, now I need to put that code in a place...
9
2359
by: Rudy | last post by:
Hello All! I'm a little confused on Public Class or Modules. Say I have a this on form "A" Public Sub Subtract() Dim Invoice As Decimal Dim Wage As Decimal Static PO As Decimal Invoice = CDec(txbInv.Text) Wage = CDec(txbTotWage.Text)
22
2116
by: RSH | last post by:
Hi, I have been reading on interfaces working on samples I've run across on the web. For the life of me I cannot seem to grasp them. It appears to me that interfaces are simply blueprints to a class, that when implemented, they require the implementing calss to make sure that each of the properties, functions etc. are handled by the class. (????) What I am really having a problem with is how they overcome the limitation
0
1213
by: nandar | last post by:
Hi All, I am involved in migratinig one of the MS Access Project to ASP.Net and SQL Server 2000. My question here is that how Modules and Class Modules (MS Access) can be taken care in ASP.Net. To some extend I know the answer (I beleive) but I want to know whether that is the right way or any other solution is available. My understanding is, 1) MS Access Modules will be placed in the App_code directory (wrt .Net 2.0) and set the Methods...
13
2701
by: André | last post by:
Hi, i'm developping asp.net applications and therefore i use VB.net. I have some questions about best practises. According what i read about class and module and if i understand it right, a module does the same as a class but cannot herite or be herited. 1)Is that right? 2) So i guess this module does exactly the same as the class?
10
2659
by: stonny | last post by:
I read the following sentence from a c++ website, but can not understand why. can anyone help me with it? " An important detail to keep in mind when debugging or implementing a program using a static class member is that you cannot initialize the static class member inside of the class. In fact, if you decide to put your code in a header file, you cannot even initialize the static variable inside of the header file; do it in a .cpp file...
0
1231
by: bettatronic | last post by:
The goal : to have class which is able to add some OLE objects on the sheet runtime. Instances of the class must be accessible from any public/private module. Okay, I've experimented for so long & getting quite tired (:huh: ) of it. So I think it's time to call some help. I hope there must be some solution. I NEED it. Well actually what I need ? I need to have some class/object which create some OleObjects (images and buttons) runtime....
0
9621
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10264
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9914
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8937
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7461
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4009
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3610
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2851
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.