Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / ActiveX Controls / August 2003

Tip: Looking for answers? Try searching our database.

ActiveX fundamental question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ed Fair - 10 Aug 2003 15:48 GMT
Hi,
I've never used activeX objects before and have a few basic questions about
them.

I have used Visual C++ and MFC, and I have plenty of javascript and PHP
experience.  I'm not a rank beginner when it comes to writing code or
establishing web servers so the basics shouldn't be an issue.  But I do have
a nubie question regarding activeX objects, I need a
few pointers to get going in the right direction.  Here's my situation, any
advice or answers would be appreciated:

- I have a device that is attached to the user's serial port.
- I would like to create a web page ( call it
http://www.xyz.com/page1.html ) that contains one button:  "Go".
- When the user loads this web page, an activeX control is downloaded to the
user.
- When the user clicks the "Go" button the activeX object reads the serial
port and obtains a text string.
- When the activeX object is done reading the text string, the text string
is uploaded to the web server via POST.
- When the activeX object is done uploading the text string to the web
server the user is redirected to another page (call it
http://www.xyz.com/page2.html)

Here is what I already know:
- I know to use Visual C++.NET.
- I know how to create an CInternetSession and CHTTPConnection object to
perform the POST.
- I know how to read the serial port.
- I know how to code html pages.

Here is what I think I know:
- I need to add one methodto my object, mGo(), that is invoked when the user
clicks the "Go" button.

Here are my questions:
-Is this a reasonable, sane approach?
-Using visual C++.NET what type of project do I need to create?
-What project settings do I need to change from the default values?
-If the project I create is named "abc", What is the name of the Class that
I add the mGo() method to?
-Are there other methods that I must supply that whe Visual C++ wizard won't
create?
-What do I have to put in my HTML to download the activeX object,
instantiate it, and to invoke the mGo() method?  (Compared, say, to Java or
Javascript?)
-Do I have to use IIS for the web server, or will any web server do?

Thanks in advance for your insight.

ed
Larry Daugherty - 10 Aug 2003 16:12 GMT
Hi Ed,

This newsgroup is centered on using ActiveX controls in Microsoft Access,
not the creation of them.

Signature

-Larry-
--

> Hi,
> I've never used activeX objects before and have a few basic questions about
[quoted text clipped - 47 lines]
>
> ed
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.