It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Can you scan directly from an asp.net page or even an embedded Silverlight object?
Silverlight doesn't have access to local devices like scanners. ASP.NET pages run in the web browser, so they also don't have access to scanners.
What are you trying to accomplish?
If user can use the 'Windows Fax and Scan' utility to scan the document and save it in the local hard disk, You may use Silverlight OpenFileDialog and read the document and save it on the server.
I've done exactly this in a few company website applications that I've worked on.
You have to use an ActiveX control to gain access from the client's browser to the configured TWAIN scanner on the machine. Once you have access you can then initiate the scanner via a webpage button, scan the document and use the newly delivered image object within your website code.
I'd recommend looking at an already developed activex component library to do this for you. An example being http://dynamic-web-twain.smartcode.com/info.html
The downside of this approach is obviously ActiveX only works with IE and requires the user to trust your website. If your user base is a trusted company or are internally based then this should not be a problem.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am building a web application, where a function is needed where i could make the web app send a specific stream of data to the desktop application, which is running on the web server where the website is also running on.
In example: you push a button, a certain code (probably an integer/string code) gets sent to the desktop app which then does something.
Why it's needed/wanted: we currently use this desktop application to quickly launch specific gameservers, without having to fiddle around with a million different shortcuts to each server, for each different configuration.
Now we'd like to have a web application to work as a "middle man" so certain people could start gameservers without having to connect to the server through RDP.
Extra info: the desktop app is currently written in VB.Net, but rewriting it in C#.Net shouldn't be a big problem, if it's needed.
Does anyone of you guys know of any good tutorials or techniques to do this, or have a better solution for my needs?
How about setting up some code in your Web app to write data to a DB. You could then have your desktop app poll the database using a backgroundworker. If it finds new records then it can continue processing.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I've got a windows based application (not one I have control over) that will push an xml file to an ftp server. I would like to have that file automatically processed by my asp.net application without having to poll the ftp server. From within the windows application I can control the ftp server that it is being sent to, so I could setup an ftp server on my iis box, but then i would still have to poll for a change in the file. I am open to any suggestions on accomplishing this without having to poll an ftp server.
The FileSystemWatcher class is designed to monitor a directory and respond to events such as the creation of a file.
I'd suggest creating a Windows Service application to host the FileSystemWatcher and handle the OnCreated event.
FileSystemWatcher:
http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher%28v=vs.100%29.aspx
OnCreated event:
http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.oncreated%28v=vs.100%29.aspx
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Is it possible to connect to a DATABASE which is in WEBSERVER through HTML5 only without using ASP.NET, JSP etc.
Html5 is a browser display language. It has no inherent methods or capabilities to connect to server side technology. You will always need a server side technology to connect to a database, even when using AJAX through a service. When you think about it, isn't this how you should want it? Would you really WANT to have a client connect directly to your database for any reason? You'd be exposing authentication information and allowing direct public access to your data store. Not terribly sensible.
The short answer is "No".
The slightly longer answer is "Maybe, it depends". e.g. If your database is CouchDB, then it is possible to host HTML documents directly on it (as an attachment to a regular CouchDB document). These can include JavaScript which can hold your application logic.
There is a specification called Web Sql Html 5, which is a variant of SQL. Unfortunately, this specification is stopped. You can see more details on these links.
Web SQL Database
HTML 5 Web SQL Database
Introducing Web SQL Database
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have built an ASP.NET application that needs to be password protected. This application will be installed on multiple offline computers, and we need to make sure that when being installed it requires a password. But even if it requires a password, someone can easily copy the database and the published folder and duplicate the application on their system right?
I need a way to prevent this. Any ideas? It should only work on laptops that we have installed it on.
You could create a licensing tool like any other client app. Check the license key during app startup and occasionally during the runtime. Look at this post for ideas: Protect .NET code from reverse engineering?
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have installed alfresco community edition and want to develop a web application having database connectivity.
I have developed that application using jsp, servlets but want to develop the same application in alfresco.
Can anybody help where to start?
I have written a series of tutorials for people new to the Alfresco platform. I humbly submit those as a good place to start. There are also a number of books available on Alfresco.
It is a little hard to tell what you are trying to do from your brief description, but if you are trying to perform CRUD operations against the repository, I strongly suggest that you start with the Content Management Interoperability Services (CMIS) standard because that gives you a vendor-neutral, language independent way to talk to Alfresco or any other CMIS-compliant repository. My tutorials cover CMIS. You also might be interested in OpenCMIS, which includes a CMIS client API for Java.
That should get you started.
One of the more documented ways is to use Alfresco Web Services Client (I am using alfresco-web-service-client-3.4.d). Its a SOAP client generated from the WSDL provided by Alfreco.
There are good examples on the web. Google for Alfresco+Web+Services+Ingres.
If you have developed the application, then it will definitely help you know the flow and understanding of the application.
You need to play around with alfresco, check their website: http://www.alfresco.com/