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

Access user hardware via ASP.NET app?

Tom
Is there any way to 'download' a control that could access hardware on
a PC? Reason is that I am considering retooling a client-server app of
ours over to ASP.NET (VB.NET). However, currently that app has options
that 'talk' over the serial port to a piece of hardware, controlling it
and getting information to/from it. The ASP.NET app would need to do
the same think.

Previously, in VB6, I believe one could do something like this by
'downloading' an ActiveX control and then having that talk to the
hardware and funnel the info back to the web app. (I never did anything
like that but believe that is generally how it was done) I need to do
something similar, but with ASP.NET (via Visual Studio 2005).

Any ideas? Or points to articles that describe how this is done? Thanks.

Chimp
--

Jan 9 '07 #1
3 2108
that is still the only option. you could write the active/x control in
..net, but the user would need to install the runtime, and you would have
to customize the .net security to allow a hosted control to acces the
serial ports.

-- bruce (sqlwork.com)

Tom wrote:
Is there any way to 'download' a control that could access hardware on
a PC? Reason is that I am considering retooling a client-server app of
ours over to ASP.NET (VB.NET). However, currently that app has options
that 'talk' over the serial port to a piece of hardware, controlling it
and getting information to/from it. The ASP.NET app would need to do
the same think.

Previously, in VB6, I believe one could do something like this by
'downloading' an ActiveX control and then having that talk to the
hardware and funnel the info back to the web app. (I never did anything
like that but believe that is generally how it was done) I need to do
something similar, but with ASP.NET (via Visual Studio 2005).

Any ideas? Or points to articles that describe how this is done? Thanks.

Chimp
Jan 9 '07 #2
there are a lot of ways to solve this problem, but it all depends on
what kind of project you are doing: do your end users trust you?
if you are writing this app for the general public, then its going to
be difficult, but if you are writing it for a client, or for your own
company then there is no problem.

The easiest way i can think of would be to write a downloadable client
side app that controls the hardware and communicates back to a web
service central server, or you could use remoting.

provided your end users trust you enough to download and install an
application there should me many ways to skin that cat.

bruce barker wrote:
that is still the only option. you could write the active/x control in
.net, but the user would need to install the runtime, and you would have
to customize the .net security to allow a hosted control to acces the
serial ports.

-- bruce (sqlwork.com)

Tom wrote:
Is there any way to 'download' a control that could access hardware on
a PC? Reason is that I am considering retooling a client-server app of
ours over to ASP.NET (VB.NET). However, currently that app has options
that 'talk' over the serial port to a piece of hardware, controlling it
and getting information to/from it. The ASP.NET app would need to do
the same think.

Previously, in VB6, I believe one could do something like this by
'downloading' an ActiveX control and then having that talk to the
hardware and funnel the info back to the web app. (I never did anything
like that but believe that is generally how it was done) I need to do
something similar, but with ASP.NET (via Visual Studio 2005).

Any ideas? Or points to articles that describe how this is done? Thanks.

Chimp
Jan 10 '07 #3
Tom
Sticky: Yes, this would be an intranet only application - i.e. only
Corporate users would be running it. Therefore, downloading a client
app should be fine. Dummy me, it never dawned on me to use web
services! :-(

OK, so let's say I did this, two more questions: (1) Is there a way to
have the web app automatically download the 'client' part to the user
and install it (much like ActiveX controls are downloaded and the user
is asked if they wish to install it), and (2) Once that is done, is
there a way from the web app to 'startup' the client portion? I.E. The
user clicks on a button the the web app and somehow it starts up the
client portion so it can do it's thing and then write back to the web
service. And by the same token can the client on the PC tell the web
app when it is done?

Thanks.

Tom
--

sticky wrote:
>there are a lot of ways to solve this problem, but it all depends on
what kind of project you are doing: do your end users trust you?
if you are writing this app for the general public, then its going to
be difficult, but if you are writing it for a client, or for your own
company then there is no problem.

The easiest way i can think of would be to write a downloadable client
side app that controls the hardware and communicates back to a web
service central server, or you could use remoting.

provided your end users trust you enough to download and install an
application there should me many ways to skin that cat.

bruce barker wrote:
>that is still the only option. you could write the active/x
control in .net, but the user would need to install the runtime,
and you would have to customize the .net security to allow a
hosted control to acces the serial ports.

-- bruce (sqlwork.com)

Tom wrote:
Is there any way to 'download' a control that could access
hardware on a PC? Reason is that I am considering retooling a
client-server app of ours over to ASP.NET (VB.NET). However,
currently that app has options that 'talk' over the serial port
to a piece of hardware, controlling it and getting information
to/from it. The ASP.NET app would need to do the same think.
>
Previously, in VB6, I believe one could do something like this by
'downloading' an ActiveX control and then having that talk to the
hardware and funnel the info back to the web app. (I never did
anything like that but believe that is generally how it was
done) I need to do something similar, but with ASP.NET (via
Visual Studio 2005). >
Any ideas? Or points to articles that describe how this is done?
Thanks. >
Chimp
Jan 11 '07 #4

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

Similar topics

3
by: Sham Yemul | last post by:
Hello, I recently started development in Vb.net. I am about to finish a product in VB.net Database Applicatio, Sql Server as Backend. I read little about wireless technology and PDAs. Is it...
13
by: BigDaDDY | last post by:
Um yeah....In case you haven't figured it out, Microsoft sucks. I'm going to be kicked back in my chair eating popcorn and watching football 10 years from now, while all you clowns are scrambling...
6
by: Bill Elgie | last post by:
This is about a mysterious slow down only. An application (split data & FE) that has run for 6 years without error with six to ten users. The hardware (not my job) has been ‘updated' and a new...
47
by: ship | last post by:
Hi We need some advice: We are thinking of upgrading our Access database from Access 2000 to Access 2004. How stable is MS Office 2003? (particularly Access 2003). We are just a small...
17
by: DaveG | last post by:
Hi all I am planning on writing a stock and accounts program for the family business, I understand this is likely to take close to 2 years to accomplish. The stock is likely to run into over a...
6
by: charles_gero | last post by:
Hi Everyone, I have a quick question regarding access to a file from disparate CHAR_BIT systems. Has anyone had experience writing a file on a system where CHAR_BIT is one value (let's use the...
1
by: Michael | last post by:
Hello, I am trying to develop a database solution for an organisation in Indonesia. This organization has a number of offices and users throughout the country. They all need to maintain their...
10
by: Les Desser | last post by:
In article <fcebdacd-2bd8-4d07-93a8-8b69d3452f3e@s50g2000hsb.googlegroups.com>, The Frog <Mr.Frog.to.you@googlemail.comMon, 14 Apr 2008 00:45:10 writes Not sure if I quite follow that. 1....
3
by: Earl Anderson | last post by:
One of the users in our departmental db has Read/Write permissions to a particular form. He was able to access and edit the form at will until 2 weeks ago. His current problem was that he was not...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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...
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...
0
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,...

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.