Tag Archives: .Net

Free Scanning tool for Alfresco

Are you looking for a free scanning tool for Aflresco, you should try the new Capturesco version 2.0, open source built based on open source projects, no need to any licenses. Built with .Net framework 3.5 using C#. Can capture documents from any scanner with a TWAIN driver using ADF or flatbed by using the Native TWAIN User Interface or direct scanning. All documents can be saved as jpg, gif or Tiff also support single or multipage documents. The tool is still in development stages and testing. Feel free to add your comments and if you have any troubles just contact me and I will try to reply to you soon. Capturesco is a good start point for the developers who’s looking to develop their own customized scanning utility.

You can download Alfresco Scanning tool (Capturesco) from here.

Thank you for your interest and your support.

Using ADF with WIA (VB.Net)

While I am working on Capturesco as a scanning/Capturing tool for Alfresco by using WIA, I faced a problem using ADF (Automatic Document Feeder) to scan images. I did some googling on the Internet until I found this article ADF using WIA, the article was for C#, I converted to VB.Net and did some modifications on the code to make it work.

The code will detect if there is a pages on the feeder if not, it will stop scanning, the code need some modifications to add multipages supports, for now all images will be saved as tiff on the C drive.

You can get the Scanning Code from Here

Playing FLV files in VB .Net

To play FLV files for SWF files in a windows application  you have to:

  1. Downloaded Flash player
  2. Added Com object (Macromedia Flash Factory Object) into the VB .Net Toolbox
  3. Drag and drop Com object onto a form
  4. download JW FLV Media Player from here
  5. load the “player.swf” file and send to it the parameters like the video name, etc… here you can find the parameter list

I put the below code on the load form event as an example

Dim swftoload As String
swftoload = “c:\player.swf?file=video.flv&autostart=true&logo=logo.PNG&smoothing=true”
AxShockwaveFlash1.LoadMovie(0, swftoload)

Enjoy playing flv files within your application or create you own FLV Player