473,385 Members | 2,162 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

using activex in vc v6


I'm tring to learn how to use activeX controls in my C++ programs but have
hit a stone wall. I have a server control that's suppose to pass the
clients name and password. The VB example shows it as User.Name and
User.Password

VC has the function declared as:

OnUserLogin(LPDISPATCH User, BOOL FAR* Cancel, BSTR FAR* Message)

I can't figure out how to get the user's name and password. Can any one
help?
Jul 23 '05 #1
4 1513
mi**@winserver.us wrote:
I'm tring to learn how to use activeX controls in my C++ programs but have
hit a stone wall. I have a server control that's suppose to pass the
clients name and password. The VB example shows it as User.Name and
User.Password

VC has the function declared as:

OnUserLogin(LPDISPATCH User, BOOL FAR* Cancel, BSTR FAR* Message)

I can't figure out how to get the user's name and password. Can any one
help?


Not here, no. ActiveX is off-topic. LPDISPATCH is undefined. This is
C++ _language_ newsgroup, not OLE newsgroup. Try microsoft.public.vc.*
hierarchy.
Jul 23 '05 #2
In Article <mo*******************@newsread1.mlpsca01.us.to.ve rio.net>
Victor Bazarov <v.********@comAcast.net> writes:

Not here, no. ActiveX is off-topic. LPDISPATCH is undefined. This is
C++ _language_ newsgroup, not OLE newsgroup. Try microsoft.public.vc.*
hierarchy.


I'm writing in C++ so no it is NOT off topic. If you can't help, don't
waste bandwidth.

Hell by your way of thinking, since I'm using a dell computer, I should be
posting in a DELL newsgroup.
Jul 23 '05 #3
On Sat, 26 Mar 05 17:44:42 CST, mi**@winserver.us wrote:
In Article <mo*******************@newsread1.mlpsca01.us.to.ve rio.net>
Victor Bazarov <v.********@comAcast.net> writes:

Not here, no. ActiveX is off-topic. LPDISPATCH is undefined. This is
C++ _language_ newsgroup, not OLE newsgroup. Try microsoft.public.vc.*
hierarchy.


I'm writing in C++ so no it is NOT off topic.


This newsgroup is meant for discussion about ISO C++ only, where the answer
can be determined by looking at the ISO language definition. Because
this is a high-traffic newsgroup, system-specific issues have been
generally declared offtopic and are discouraged.

Read: http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

Jul 23 '05 #4
mi**@winserver.us schrieb:
I'm writing in C++ so no it is NOT off topic. If you can't help, don't
waste bandwidth.

Hell by your way of thinking, since I'm using a dell computer, I should be
posting in a DELL newsgroup.


No, because that doesn't affect how to program with it. Using
technologies specific to a particular platform makes questions regarding
their use specific to that plaform though. If you encounter a
C++-language specific problem while doing so, that problem becomes on
topic here again.
By your way of thinking, I would have to ask an English teacher how to
understand the C++ standard since it is written in the English language.

Cheers,
Malte
Jul 23 '05 #5

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

Similar topics

7
by: NewbieJon | last post by:
I am attempting to send the variable "sComputerName" from my ActiveX script to "GetInfo.asp" using javascript. (Having been advised this is the way to get my ActiveX variable into my ASP script) ...
6
by: Sergio Otoya | last post by:
Hi all, Is there any way of copying a file using javascript, not using the Filesystemobject (ActiveX). I need this to run in Windows and MACS. Any help would be greatly appreciated. Thanks...
1
by: Norman Fritag | last post by:
Hi there I have avoided to use active x controls because I thought they are causing more problems then they are doing any good. I a new application I would want to use the tree and list view...
1
by: Raed Sawalha | last post by:
Hello I have ActiveX DLL and I usually register it using following procedure 1. gactutil -i ActiveXDLL 2. regasm ActiveXDLL /tlb:DLLNAME/codebase 3. then using the activeX can I automate step...
3
by: fumihiko | last post by:
Hi, I created an activex control (C++), and it uses another COM dll (C++). This COM dll links with a static library that dose some calculation. (both are debug multithreaded dll) I created a...
2
by: Mehr H | last post by:
I have been working on this for several days and am still have had no success in achieving this. Pleae help. It seems that documentation for this is very limited. I have looked in several books and...
3
by: EJ1003 | last post by:
Hello I would like to create Activex Control uisng C# and use it in ASP.Net webform. User Control is not solving my requirement so I am going for Activex Control. Please guide me on this, how...
9
by: Prabhat | last post by:
Hi Friends, I have created one ActiveX DLL in VB that has one public function ("GetClientCPUID") which will return a string of the CPUID. I want to use this to get the clients CPUID and retuern...
3
by: tuvman | last post by:
We are developing a web application. Our web app is a heavy client- our existing .net app exposed as an activex control running in IE. We need the activex to be able to access our remote database...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...

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.