473,395 Members | 1,623 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,395 software developers and data experts.

How to Use ActiveX for Client PC using ASP

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 to webserver. I am new to using
activeX in client side.

In Asp how can I send this ActiveX to client browser? (I will instruct my
users to allow this activeX). Is there a way I will execute this activeX in
clients PC and get the return value and return to the server for my
processing? Please suggest the ways that I can do this.

Also suggest what are the situations that I should know before I proceed. I
think there will might a issue when I upgrade the activeX and the client
those are using the current one may face problem so I think I will need a
way to uninstall the register the new one. I am not sure of this. Please
suggest.

Thanks
Prabhat
Jun 6 '06 #1
9 2257

Prabhat wrote:
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 to webserver. I am new to using
activeX in client side.

In Asp how can I send this ActiveX to client browser?


OT groups removed from Crosspost.

Which bit of "You cannot do this in ASP" did you not understand? Why
on earth did you cross post to two ASP groups?

--
Mike Brind

Jun 6 '06 #2
> OT groups removed from Crosspost.

Which bit of "You cannot do this in ASP" did you not understand? Why
on earth did you cross post to two ASP groups?

--
Mike Brind


I did not cross post. I have made CC to the post. An d I think that is not
corsspost. I am not asking you the question that cant be done in ASP. I
asked how Can I send ActiveX DLL to client browser and return value to
server, Is that not possible in ASP???????
Jun 6 '06 #3

"Prabhat" <no********@hotmail.com> wrote in message
news:e4**************@TK2MSFTNGP04.phx.gbl...
OT groups removed from Crosspost.

Which bit of "You cannot do this in ASP" did you not understand? Why
on earth did you cross post to two ASP groups?

--
Mike Brind


I did not cross post. I have made CC to the post. An d I think that is not
corsspost. I am not asking you the question that cant be done in ASP. I
asked how Can I send ActiveX DLL to client browser and return value to
server, Is that not possible in ASP???????


No you can't
Jun 6 '06 #4

Prabhat wrote:
OT groups removed from Crosspost.

Which bit of "You cannot do this in ASP" did you not understand? Why
on earth did you cross post to two ASP groups?

--
Mike Brind


I did not cross post. I have made CC to the post. An d I think that is not
corsspost. I am not asking you the question that cant be done in ASP. I
asked how Can I send ActiveX DLL to client browser and return value to
server, Is that not possible in ASP???????


No.

Jun 6 '06 #5
Prabhat wrote:
OT groups removed from Crosspost.

Which bit of "You cannot do this in ASP" did you not understand? Why
on earth did you cross post to two ASP groups?

--
Mike Brind


I did not cross post. I have made CC to the post.


That's the definition of a crosspost.

Multiposting: posting individual separate messages to multiple newsgroups.
This is very much frowned upon since it is the equivalent of running into a
crowded room, screaming out a question, and then, without waiting for a
reply, running into another crowded room to scream the same question. When
people find that they've wasted their time responding to a question that has
already been answered elsewhere, they can get extremely annoyed at the
questioner, making it less likely that they will respond to that questioner
in the future. Does this sound like a good strategy for getting as many
people as possible to help you?

Crossposting: sending a single message to multiple newsgroups by either
including a list of the newsgroups in the To field, or using the CC as you
did. This practice is not frowned upon as much as multiposting ... EXCEPT
when you include irrelevant newsgroups in your crosspost. Even more so when
you've been previously advised that your question was irrelevant for those
groups. Irritating the people from whom you want support is not the best way
to get their support.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jun 6 '06 #6
"Prabhat" <no********@hotmail.com> wrote in message
news:ug**************@TK2MSFTNGP04.phx.gbl...
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 to webserver. I am new to using
activeX in client side.

In Asp how can I send this ActiveX to client browser? (I will instruct my
users to allow this activeX). Is there a way I will execute this activeX
in
clients PC and get the return value and return to the server for my
processing? Please suggest the ways that I can do this.


Use the object tag, and IE will install it automatically (assuming the
security settings and the user will allow it).

http://msdn.microsoft.com/workshop/a...cts/object.asp

If these are client machines you control, it would be preferable to install
the control NOT via drive-by download, but via a setup.exe. You could do
this in a login script (which wouldn't require users to be local
administrators)

Peter

--
Peter Torr - http://blogs.msdn.com/ptorr
HD DVD Program Manager
Jun 6 '06 #7
Hi Peter,

Yes you are right. I have seen some of samples in website that they use the
Object TAG for sending the ActiveX to client. Actually I did not know the
procedure and I was not sure if it install it or not. I think I can use the
TAG in ASP page to send to client. But I get reply in this post that NOooo.

Here I am not sure how can i execute that in clients browser and return the
value to server. Can you please advice me.

Thanks
Prabhat

Use the object tag, and IE will install it automatically (assuming the
security settings and the user will allow it).

http://msdn.microsoft.com/workshop/a...cts/object.asp
If these are client machines you control, it would be preferable to install the control NOT via drive-by download, but via a setup.exe. You could do
this in a login script (which wouldn't require users to be local
administrators)

Peter

--
Peter Torr - http://blogs.msdn.com/ptorr
HD DVD Program Manager

Jun 6 '06 #8
Prabhat wrote:
Hi Peter,

Followup-To set to
microsoft.public.scripting.vbscript,microsoft.publ ic.scripting.jscript
Please continue discussions there.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jun 6 '06 #9

Prabhat wrote:
Hi Peter,

Yes you are right. I have seen some of samples in website that they use the
Object TAG for sending the ActiveX to client. Actually I did not know the
procedure and I was not sure if it install it or not. I think I can use the
TAG in ASP page to send to client. But I get reply in this post that NOooo.


Pillock.

Plonk.

Jun 6 '06 #10

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

Similar topics

1
by: wang xiaoyu | last post by:
Hello: i want use activex in wxpython program,but when i use MakeActiveXClass an exception occurs. this is my source code dealing the DICOM ocx.I must note that in this program "hwtxcontrol" is...
0
by: Yaseen | last post by:
I am not sure if someone can help me, but please bare with me for a second... My problem is to retreive the Client's Printer Collection for a web application and then print to the client's default...
21
by: Strath-Clyde | last post by:
I'm a die hard c# developer, developing win32 and web based enterprise apps for last few years. The development team I'm on is going down a path I feel is wrong. I scoping out the web to knock...
1
by: Anand Kale | last post by:
How to have ActiveX control called from Web Form in ASP.Net ? ActiveX control is written using VC++/MFC/ATL-COM. Also kindly answer following issues, 1. Also how to take care of issues about...
3
by: Jeffery Franzen | last post by:
Anyone know where the documentation is regarding Activex controls in asp web forms? I'm using VS.NET 2002 enterprise and am trying to use Activex controls in vb.net web form app. I do the add...
2
by: Shawn | last post by:
Hi. I've never created an ActiveX control before, so I know little about what it is capable of and what its limitations are. My problem is this: I have to create a way to send multiple documents...
3
by: Weston Fryatt | last post by:
Simple question I hope.... How do I send data to and from an ASP.Net (server side) web page to a ActiveX Control (client side) embedded in a web browser??? What I need to do, is I have image...
1
by: Frank | last post by:
Short Version of Question: Can anyone provide an example of how I should embed the ActiveX and license, and then use it in a function?
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
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...
0
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...
0
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...

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.