Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I know some of you will discourage scanning through a web page, unfortunately, it is a requirement.
I want to view my options in the situation, and maybe, some of you may have already gone through this and had a workable solution.
Problem is, we need to have a universal approach in scanning documents through the webpage without any external helper apps that does this for us.
I know this is a tall order, I would simply want to know the best next thing.
Thank you!
You can't do it with just a browser and JavaScript, full stop, you'll need to include something else -- a Java applet, a .Net "No Touch Deployment" application (mostly IE-only), a Flash or Shockwave application, something like that. In the Windows world, Flash has a huge installed base on browsers, but I don't know if it can do what you want (not knowing much about Flash). Next up would be a signed Java applet.
The user will then need to give your thingy permission to access local resources, a process that varies depending on the technology used. It's quite a simple process with a signed Java applet, much more involved and awkward for the end user with a .Net "No Touch Deployment" app.
I've seen this done with a Java applet successfully. ActiveX might also work.
Here is what appears to be a working TWAIN applet.
Here is question with answers related to TWAIN and Java.
I've successfully used Morena for implementing web scanning. It requires only that the user have Java installed. (With older versions of Java you can run out of memory when processing the scanned image. I had to cut large images into 100 pixel strips and send them individually to the server.)
Here's a small scan-to-email project that I used Morena with.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 11 months ago.
Improve this question
What is the best way to test a multiplayer network game in unity without build the app ?
It is something like in editor unity there is two editor which one is a copied editor. So we can login in one editor and login in second editor with different user. Is there a tool like this ?
Thanks
Dennis
Is there a tool like this ?
As far as i know, there is not.
What is the best way to test a multiplayer network game in unity
without build the app ?
When i test, I usually build the game, and then run another instance in the editor, on separate monitors. That should work like normal.
But you need one build. :/
If you are using the built in Unity Networking
Host from the editor
Connect the build as a client
Many issues can be resolved just by changing the host, and in these cases you don't have to rebuild.
That being said, don't forget to rebuild every now and again to be safe. And remember, sometimes you change things that you don't realize affect the client.
I would suggest ParallelSync for anything Unity 2018+, it's basically the closest successor to uecho. You can add it as a package in Unity and it will copy your project to a new folder and run however many instances you require.
https://github.com/VeriorPies/ParrelSync
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm newbie when talks about Error Handling. It's a subject that i want to study but right now i just don't have free time, so i'm looking to implement an error/exception handler one a few projects i've developing last weeks (C#, .NET 3.5).
What do you recommend me to implement for this? Other point is where to store the errors logs. In database or .xml file? Well, i really need some help on this!
By the way, is there any book about error handling?
Thanks in advance,
Guilherme Cardoso
For unhandled exceptions you might want to use ELMAH. Its super simple to setup - just a dll and some settings in your web.config.
Log4net is a robust tool for logging to a variety of sources. Where I work, we use the Logging Application Blocks from the Enterprise Library. You can read up about these resources on their websites.
As for logging to XML files vs. databases, there are tradeoffs to each approach. Using local files reduces how many breakable components are required for a functioning application. Imagine that the database goes down, and your app tries to log to the database that the database went down... Hmmm.
On the other hand, logging to a database can dramatically improve your ability to query and gain intelligence on the nature of errors that get logged.
No one will be able to tell you absolutely what you should do; just weigh the tradeoffs and your expectations, and you'll be good to go.
If you want to go with some home-brewed error handling, you can tap into the Application_Error method of your Global.asax and manually log members of the HttpContext.Current.AllErrors property. You can also use the ClearError() method on the context to wipe out the errors, and then redirect to a safe page if you want to log-and-continue.
Good luck!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm building a desktop application in Flex/AIR, and one of the current items on my TODO list is to develop a help system.
Throughout the GUI, there are little (?) buttons. When the user clicks one of those buttons, a HelpPanel appears, displaying some relevant information from the docs.
Simple enough.
But I'd really like to build a full-fledged help system, just like the ones normally deployed in desktop apps: a hierarchical table of contents, the ability to search for keywords, hyperlinking between help topics, etc.
Also, since my app will provide an API for plugin authors, I'd like to also provide hooks for third-party plugins to integrate their own documentation in with the core help system.
With my app, the user may not always be online, so all of the help data must be available locally (though it'd be very cool if new help content could be synchronized periodically from a server).
Building that kind of help system from scratch would be relatively straightforward, but it would also take a lot of time away from actually developing the core features of my application, so I'd rather use an off-the-shelf solution.
I've done a bit of googling, but can't find anything that fits the bill.
Any suggestions?
You might consider using the AIR html control to display html help files bound to links in your app, and built using any number of available tools for constructing HTML help screens.
If you design it using a conventional web server directory and file structure, there are plenty of tools for maintaining synchronized files.
This link references an AIR-based help system, and a possible interface to RoboHelp.
Here is a link to the RoboHelp "Packager".
Another page of possible interest.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
For a system I'm working on I need to call a list of Phone numbers programatically when something breaks. Basically a simple phone based alert system, and am guessing it could be done with Skype, but I'm wondering if anyone has experience doing this, Skype or not.
Anyways links and or tutorials would be great help.
I would go with sms. You can have a clearer error's message than skype's phone generated with robotic voice :)
Just search google with "sms gateways", for the operator's list. Almost all of them give api and code examples for interfacing.
You might consider a system like Twilio instead. Try the demo account (1000 free minutes) - it's very powerful and easy to set up.
You could do it with any other VoIP system; hacking it together with SIP or XMPP networks should be fairly easy as they are standards with libraries avaialble for many platforms.
But Skype is a closed network, with a closed (and heavily protected) binary client. Even if you did manage to work out how to interoperate with it (and many have failed), they could just update the client code to keep you locked out. Skype is no fun at all.
About the best you could manage at the moment would be to use UI automation to simulate interaction with the real Skype client. (yuck.)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking to write a small proxy server for kicks and giggles.
Apart from the options in libWWW, can anyone recommend any opensource options for the HTTP server and client code? Thinking of a library of some kind similar to libWWW.
Chosen language is C/C++ but open to Java, C#, Python... etc. :-)
If you choose the Java way, take a look at Jetty. It's full featured HTTP server which is very easy to embed and pretty lightweight.
Jetty is great indeed. However, if you want a proxy server, take a look at RabbIT proxy. It is well designed and amenable to modifications. e.g. We implemented a filter that serialized certain XML text in requests to Java objects, and similarly deserialized responses.
There's a wide array of choices depending on what you want to do. For example, to handle NTLM authentication, you have cNTLM (C) or NTLMAPS (Python) or jCIFS library (Java).
If you're considering to make your proxy server in Asynchronous way in C/C++.
Here's some of open source projects you might want to check out:
libevent provides one - good choice for light use. but recursion on large data is not provided..
mongoose - nice API, good abstraction, but it uses select() and realloc() based i/o buffer, Also dual license for commercial use.
libevhtp - developed as a replacement of libevent's http module.
GNU's libmicrohttpd - good feature set.
libasyncd - I'm the author. It features general asynchronous framework and comes with HTTP handler.
I'm only able to make 2 links on my answer, but you can easily find the project homes by googling them.