472,371 Members | 1,607 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,371 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 2207

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: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.

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.