473,856 Members | 1,836 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to Use ActiveX for Client PC using ASP

Hi Friends,

I have created one ActiveX DLL in VB that has one public function
("GetClientCPUI D") 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 2271

Prabhat wrote:
Hi Friends,

I have created one ActiveX DLL in VB that has one public function
("GetClientCPUI D") 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********@hot mail.com> wrote in message
news:e4******** ******@TK2MSFTN GP04.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********@hot mail.com> wrote in message
news:ug******** ******@TK2MSFTN GP04.phx.gbl...
I have created one ActiveX DLL in VB that has one public function
("GetClientCPUI D") 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.publi c.scripting.vbs cript,microsoft .public.scripti ng.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
6007
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 a ocx developed my me use vc6,this ocx works fine in wxpython. but you can see i only change this ocx with a new DICOM ocx and set up eventClass,
0
2060
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 printer or a printer of his choosing. I know Asp.Net is basically server-side. So I was thinking of using an ActiveX Control which is downloaded on to the client's machine and then the ActiveX control Reads the client's printer settings and use the...
21
14689
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 their solution but of course, an alternative is needed... 1) We need a complex client application 2) This client app will need to communicate with a local (same box) and remote server 3) It will need to read/write to the local file system
1
1772
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 security etc ? 2. Can anyone give me exact steps to embedd activex in a web form ? 3. Can the activeX control interact with the server side control on the web form ? 4. Do I need to register the activeX on client machine ? I want to download the...
3
2526
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 control to pallete and then add a reference. I get the interop dll added to bin folder. I did this with the MediaPlayer activex control as a simple case to to try and get it working. I set the control to autostart via the html parameter tag for...
2
2009
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 from the web server to a printer on the user's network. The way it works today the user has to manually download each document and send it to his printer, but now they want me to create an automated process. Will I be able to download documents...
3
2312
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 data (mostly TIFF format) that need to be sent to our custom Image Viewer (ActiveX control). So far I can get the TIFF image data loaded into a Byte Array in C# on my ASP.Net web page, But how do I send this data now to my ActiveX control on the...
1
5173
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
1866
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 server when hosted within a browser from anywhere.Originally we were planning on using port forwarding...and having the externalip:databaseport forward from the web server to the database server. But our customer's network admin says this is not...
0
9911
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
9762
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
10696
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10780
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9530
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...
0
5761
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5958
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4575
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
3
3201
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.