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

Sending Events to the Server

Greetings,

im totally new to ASP.Net, so i hope you can help me out here. Ive got
some ActiveX Controls, which work great with Windows Forms. Now i have
to do some work with ASP.Net, where i also have to use these Controls
again. Some of these Controls fire events, like a Scannercontrol, which
fires an event if it scanns something. So now i want to know how i can
hook to the events on the client side, so that i can react to them and
send updates to the WebApplication.

Any help is appreciated, thanks in advance

Jens

Nov 19 '05 #1
4 1379
Jens,

Do you need to move scanned images across to the server?

Eliyahu

"Trollpower" <tr********@gmx.de> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Greetings,

im totally new to ASP.Net, so i hope you can help me out here. Ive got
some ActiveX Controls, which work great with Windows Forms. Now i have
to do some work with ASP.Net, where i also have to use these Controls
again. Some of these Controls fire events, like a Scannercontrol, which
fires an event if it scanns something. So now i want to know how i can
hook to the events on the client side, so that i can react to them and
send updates to the WebApplication.

Any help is appreciated, thanks in advance

Jens

Nov 19 '05 #2
this would all be done in client script. pick up a book on javascript and IE
support. as it will require the users to trust your site to run unsafe
controls, you might want to write one .net control active/x control that is
the whole app (again you will have to work out the trust issues).

-- bruce (sqlwork.com)
"Trollpower" <tr********@gmx.de> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Greetings,

im totally new to ASP.Net, so i hope you can help me out here. Ive got
some ActiveX Controls, which work great with Windows Forms. Now i have
to do some work with ASP.Net, where i also have to use these Controls
again. Some of these Controls fire events, like a Scannercontrol, which
fires an event if it scanns something. So now i want to know how i can
hook to the events on the client side, so that i can react to them and
send updates to the WebApplication.

Any help is appreciated, thanks in advance

Jens

Nov 19 '05 #3
Thanks Eliyahu for your reply.

A scanner is attached to the Client. It sends an event if it scanns
something, since it has some sort of autodetection. My problem here is,
how do i hook up this event and send the scanned image to the server to
put it into a Panel for example. As far as i understand the asp.net
stuff I dont have any application running on the client side where the
scanner ist attached to, beside the browser-window.

Maybe i have to describe the problem from an other point of view: How do
the server know that the scanner has scanned something and also can
update the shown website at the users browser window?

Again thank you very much for your patient...

Greetz

Jens

*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #4
Jens,

You need an ActiveX capable of sending scanned images to web sites over
http. I am using http://www.dynamsoft.com/WebTWAIN_Overview.html
The ActiveX produces an event when there is a new image from the scanner.
You have to write a small piece of javascript code that will handle the
event and call an http transfer function provided by the Activex. On server
side you will have to make a page that will accept images from client. The
client-side event handler will transfer images to this page.

Eliyahu

"Jens Meyer" <tr********@gmx.de> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Thanks Eliyahu for your reply.

A scanner is attached to the Client. It sends an event if it scanns
something, since it has some sort of autodetection. My problem here is,
how do i hook up this event and send the scanned image to the server to
put it into a Panel for example. As far as i understand the asp.net
stuff I dont have any application running on the client side where the
scanner ist attached to, beside the browser-window.

Maybe i have to describe the problem from an other point of view: How do
the server know that the scanner has scanned something and also can
update the shown website at the users browser window?

Again thank you very much for your patient...

Greetz

Jens

*** Sent via Developersdex http://www.developersdex.com ***

Nov 19 '05 #5

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

Similar topics

7
by: Dayne | last post by:
How do I send a mouse or keyboard event(vb.net) without touch(using) either? DT
2
by: Chris | last post by:
Hi, I have an application that contains a class library as another project. The application basically executes DTS packages on a remote SQL Server. This works great. However I want to add...
4
by: John Sutor | last post by:
I currently have an event handler setup to handle keypress events. the handler only takes the same arguments as the keypress event (object sender, System.Windows.Forms.KeyPressEventArgs e). I...
0
by: Michael Bredbury | last post by:
Dear All I am developing a web site in VS 2002 using VB.NET and ASP.NET which uses a client side ActiveX control in the web-browser to perform tasks such as determining what MS Office products...
4
by: Frank | last post by:
Hello. In the early stages of developing a server application that will be required to send events to multiple client applications that will be running on different PC's. I'm wondering what the...
6
by: Gary Kshepitzki | last post by:
Hello I am trying to send an event from a Python COM server to a VB (or VB.NET) COM client. I am a newbie both in VB and in python. Can anyone give me a simple (but complete) code example both of...
4
by: david | last post by:
hello, I have a client/server application. the server capture picture from webcam and send it to every client connected to it.the network part works good and the capture from webcam too. I...
3
by: Builder | last post by:
Is is possible to send events through application domain boundaries (i.e. from one application domain to another)?
2
by: ornto | last post by:
Hi, I'm trying to create an application which checks a dynamic web site and on certain events sends an email to me. My problem though is with the email task. By now I made this simple test code: ...
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
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...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.