I think he wants to have video stream in Navision. I don't think it's possible, however, you can have Navision run another program to launch a video streaming program.
I´m making a database in navision that requieres a photography a part form the rest of the data. I want to make this photography from the formulary that I use in Navision for introduce this information.
i think he is saying he wants to include an image of an item in Navision. If it is a static image, he could easily load the image into a blob field. if he wants video (like a camera watching an assembly line), i have no idea...
I´m making a database in navision that requieres a photography a part form the rest of the data. I want to make this photography from the formulary that I use in Navision for introduce this information.
I have seen sometimes at the doctor's they fill in a new application and after they take a picture with the camera. Anyway you will have to do that through different application and then load file into Navision. If you know methods of that application you can control it from Navision. But I think that user will always want an ability to resize, and change image before putting it into the database...
Most webcams (cameras, scanners, ...) can be controlled through an API called WIA - Windows Image Acquisition. There's an Automation interface that can be used from C/SIDE as well. It can be downloaded from http://www.microsoft.com/downloads/deta ... layLang=en. Good luck!
Hi jhoek,
Tried above but getting following error
This message is for C/AL programmers:
The call to member Item failed. Unknown Class returned the following message:
Index out of range.
at below line
DeviceInfo := DeviceManager.DeviceInfos.Item(Index);
index is 1
will it work only in XP or windows 7 also.?
Any thing changes needed fro window 7?
If index 1 is out of range, it seems the DeviceManager.DeviceInfos collection is empty. I'm not really an expert in this field, but I think this might indicate that the device driver for your camera/scanner/... is not WIA-compatible.
As far as I could see on MSDN and Wikepedia, Windows Image Acquisition is still the recommended Windows API for image acquisition, so there's a fair chance that a WIA-compatible device driver is available on your device's manufacturer's website.
Comments
http://www.BiloBeauty.com
http://www.autismspeaks.org
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
http://www.BiloBeauty.com
http://www.autismspeaks.org
Oleg
Jan Hoek
Product Developer
Mprise Products B.V.
Store the path to the Photo, and open the photo when you select it?
Mobile: +44(0)7854 842801
Email: david.cox@adeptris.com
Twitter: https://twitter.com/Adeptris
Website: http://www.adeptris.com
Jan Hoek
Product Developer
Mprise Products B.V.
Tried above but getting following error
This message is for C/AL programmers:
The call to member Item failed. Unknown Class returned the following message:
Index out of range.
at below line
DeviceInfo := DeviceManager.DeviceInfos.Item(Index);
index is 1
will it work only in XP or windows 7 also.?
Any thing changes needed fro window 7?
Thanks in advance
If index 1 is out of range, it seems the DeviceManager.DeviceInfos collection is empty. I'm not really an expert in this field, but I think this might indicate that the device driver for your camera/scanner/... is not WIA-compatible.
As far as I could see on MSDN and Wikepedia, Windows Image Acquisition is still the recommended Windows API for image acquisition, so there's a fair chance that a WIA-compatible device driver is available on your device's manufacturer's website.
Good luck!
Jan Hoek
Product Developer
Mprise Products B.V.