mibuso.com

Microsoft Business Solutions online community
It is currently Thu Jul 31, 2014 7:37 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: NAVPictureViewer 2.2
PostPosted: Sun May 03, 2009 11:47 am 
Offline
Site Admin

Joined: Sun Nov 07, 1999 8:01 am
Posts: 2044
Location: Wilrijk, Belgium
Country: Belgium (be)
NAVPictureViewer 2.0
With this tool you can view any kind of supported picture formats like JPG, TIF, GIF, BMP, etc. from BLOB fields stored in the NAV database. The data are passed from the BLOB field to a picturebox control via NAV OutStream interface (no temporary files involved) and the picture is completelly embedded in a NAV subform control. You can rightclick the picture, copy it to the clipboard and paste it into another application.

Included is a demo object form (item card), which allows you to view, import, export and delete pictures (viewing is possible up to a picture size of 80 kB).

The tool and the 3 demo object Forms 50075 to 50077 should be useable for NAV version 3.01 or higher (tested with NAV 5.0 SP1 and NAV 2009 under XP and Vista).

If you would like a full version of this tool for commercial purposes or have any questions, please contact ghuebner@dms-systemhaus.de

http://www.mibuso.com/dlinfo.asp?FileID=1098

Discuss this download here.


Top
 Profile  
 
 Post subject: Re: NAVPictureViewer 2.0
PostPosted: Sun May 03, 2009 5:32 pm 
Offline

Joined: Sun Dec 10, 2006 9:21 am
Posts: 99
Location: Bayreuth
Country: Germany (de)
It should be noted that, compared to similar tools, there are no graphic format conversions (from jpg to bmp, e. g.) nor any temporary files involved in the functionality of the tool. The images are stored in their original graphic format in the BLOB fields of the database and are shown in a .NET PictureBox control without any conversions or temporary savings to hard disc directly from the OutStream of the BLOB.
In order to uninstall the control, you have to do the steps in the readme.txt file in reverse order. Especially the command for uninstalling the dll is:
regasm /unregister /codebase /tlb NAVPictureViewer.dll
After having the control uninstall, you can delete the file NAVPictureViewer.dll from your hard disk.

Known issues:
1.) If the control in the subform shows no image you can rightclick the (empty) subform and select "Copy", which causes an unhandled exception. This will be corrected in the next release ("Copy" should not be enabled, when there is no image to copy).
2.) If you import a file containing an invalid picture format, an exception is thrown, but it is not possible to delete the imported BLOB from the database with the demo objects. This will be corrected in the next release. Instead of an exception, a message is displayed.
3.) In the import- and export-dialogs only some of the supported graphic formats are proposed. The following formats are supported:
Bmp,Emf,Exif,Gif,Icon,Jpeg,Png,Tiff and Wmf (will be corrected)

Extensions planned for the next release:
1.) A comfortable installation routine should be provided making it unnecessary to install/uninstall the DLL manually.
2.) It should be possible to drag and drop an image file to the NAV subform, thereby the image is automatically saved in the database (replacing of course an already existing image after prompting). The context menu should also be extended by a "Paste" entry to import files directly from the clipboard.
3.) It should be possible to delete an image from the database via right-clicking it and select "Delete".
4.) It should be possible to print the stored images on arbitrary reports in a picture box of arbitrary size. The zoom factor should be determined automatically.
5.) It should be possible to convert a picture to another graphic format, for example convert existing bmp pictures to jpg.
6.) When exporting a picture, the same graphic format should be proposed in which the picture was originally stored in the BLOB field of the database. If annother graphic format is chosen, an automatic conversion should take place.


Top
 Profile  
 
 Post subject: NAVPictureViewer 2.1
PostPosted: Mon May 18, 2009 1:43 pm 
Offline
Site Admin

Joined: Sun Nov 07, 1999 8:01 am
Posts: 2044
Location: Wilrijk, Belgium
Country: Belgium (be)
NAVPictureViewer 2.1
PictureBox to display and print images of different formats embedded in NAV forms.

New Version 2.1:
- multiple images embeddable in Item card or other forms
- printing from NAV reports with auto scaling
- 9 supported image formats like Jpeg, Tiff, Gif, Wmf, ...
- easy to install and deinstall
- sample application objects
- documentation in pdf format
- drag and drop, copy and paste
- information about image (format, size, resolution)

http://www.mibuso.com/dlinfo.asp?FileID=1098

Discuss this download here.


Top
 Profile  
 
 Post subject: Re: NAVPictureViewer 2.1
PostPosted: Thu May 21, 2009 7:52 am 
Offline

Joined: Sun Dec 10, 2006 9:21 am
Posts: 99
Location: Bayreuth
Country: Germany (de)
NAVPictureViewer 2.1

Known issues:
1.) On NAV versions older than 5.0 the client may crash in a non reproducable way while printing or running the demo report. Often a C++ Runtime error is shown: R6025 Pure virtual function call. - This seems to be due to an incorrect handling of COM Automation objects within older NAV versions. There is a workaround which creates the NAVPictureViewer for every picture to print and clears it again afterwards. To implement this workaround you first have to create a new function ClearViewer() in the subform 50077:
Code: Select all
IF isActive THEN BEGIN
  CLEAR(PictureViewer);
  isActive := FALSE;
END;

Secondly, remove the code in the OnPreDataItem trigger of report 50075 "NAVPictureViewer Item List" and replace the code in the OnAfterGetRecord trigger with the following code:
Code: Select all
IF NAVPictViewerItemSubForm.InitViewer(FALSE) THEN BEGIN        // has to be created for every item due to R6025 C++ runtime error
  CALCFIELDS(Picture);
  IF NAVPictViewerItemSubForm.PrintPicture(Item,TempItemOut,6750,6345) THEN
    picValidText := ''
  ELSE
    picValidText := 'Invalid picture format.';
  NAVPictViewerItemSubForm.GetPictureInfo(picFormat,picWidth,picHeight,picHorzRes,picVertRes);
  NAVPictViewerItemSubForm.ClearViewer;
END;

(the variable isRunning is no longer needed)
So the Automation variable is created and cleared for every picture. Fortunately this does not lead to any noticeable slowing down of the report printing speed but should avoid crashing the client.

2.) In some cases (small picture size, some pictures in Wmf format, etc.) an Invalid format text is shown, though the picture is a valid image. If you encounter this problem and you have got a commercial version, please contact me to receive a hotfix.


Top
 Profile  
 
 Post subject: NAVPictureViewer 2.2
PostPosted: Thu Sep 09, 2010 11:55 am 
Offline
Site Admin

Joined: Sun Nov 07, 1999 8:01 am
Posts: 2044
Location: Wilrijk, Belgium
Country: Belgium (be)
NAVPictureViewer 2.2
PictureBox to display and print images of different formats embedded in NAV forms.

New Version 2.2:
- multiple scaleable images embeddable in Item card or other forms
- fast display of images
- printing from NAV reports with auto scaling
- 9 supported image formats like Jpeg, Tiff, Gif, Wmf, ...
- easy to install and deinstall
- sample application objects
- documentation in pdf format
- drag and drop, copy and paste
- information about image (format, size, resolution)
- no file size limitation in demo version

New Version 2.1:
- multiple images embeddable in Item card or other forms
- printing from NAV reports with auto scaling
- 9 supported image formats like Jpeg, Tiff, Gif, Wmf, ...
- easy to install and deinstall
- sample application objects
- documentation in pdf format
- drag and drop, copy and paste
- information about image (format, size, resolution)

http://www.mibuso.com/dlinfo.asp?FileID=1098

Discuss this download here.


Top
 Profile  
 
 Post subject: Re: NAVPictureViewer 2.2
PostPosted: Mon Jan 10, 2011 2:05 pm 
Offline

Joined: Thu Apr 20, 2006 3:28 pm
Posts: 168
Location: mauritius
Country: Mauritius (mu)
Hi,
you mentioned about 3 demo object Forms 50075 to 50077. did not foud it in the download section.. should we pay to use this?


Top
 Profile E-mail  
 
 Post subject: Re: NAVPictureViewer 2.2
PostPosted: Mon Jan 10, 2011 7:31 pm 
Offline

Joined: Sun Dec 10, 2006 9:21 am
Posts: 99
Location: Bayreuth
Country: Germany (de)
iqbalmad wrote:
Hi,
you mentioned about 3 demo object Forms 50075 to 50077. did not foud it in the download section.. should we pay to use this?

The demo object file is copied into the program folder (c:\programs\NAVPicturerViewer\2.2 , e. g.) by the installation routine.

_________________
New kits on the blog: http://mibuso.com/blogs/massivedynamicsnav/


Top
 Profile  
 
 Post subject: Re: NAVPictureViewer 2.2
PostPosted: Tue Jan 11, 2011 6:56 am 
Offline

Joined: Thu Apr 20, 2006 3:28 pm
Posts: 168
Location: mauritius
Country: Mauritius (mu)
how do i remove the demo version that is pasted alongside the picture i import?


Top
 Profile E-mail  
 
 Post subject: Re: NAVPictureViewer 2.2
PostPosted: Thu Mar 31, 2011 4:51 pm 
Offline

Joined: Wed Jul 13, 2005 5:23 pm
Posts: 57
Location: Montreal
Country: Canada (ca)
Where can we buy this add-on and anyone knows the price for it?


Top
 Profile E-mail  
 
 Post subject: Re: NAVPictureViewer 2.2
PostPosted: Thu Mar 31, 2011 5:18 pm 
Offline
Site Admin
MVP Microsoft Dynamics NAV
NAV TechDays 2014 attendee

Joined: Sun Nov 07, 1999 8:01 am
Posts: 3493
Location: Wilrijk
Country: Belgium (be)
Djou2424 wrote:
Where can we buy this add-on and anyone knows the price for it?

Did you read the first message in this thread?

_________________
No support using PM or e-mail - Please use this forum.
Search is your friend || Mark your Topic as SOLVED (= green checkmark) when your question is answered || Read the Forum Rules before making a posting

»»» Mark your calendar: NAV TechDays 2014 - 20 & 21 November 2014 ««« Visit the conference website: www.navtechdays.com


Top
 Profile  
 
 Post subject: Re: NAVPictureViewer 2.2
PostPosted: Thu Mar 31, 2011 8:06 pm 
Offline

Joined: Sun Dec 10, 2006 9:21 am
Posts: 99
Location: Bayreuth
Country: Germany (de)
iqbalmad wrote:
how do i remove the demo version that is pasted alongside the picture i import?

This is a feature of the demo version, only. In the commercial version, there is no "DEMO" string pasted in front of the picture.

_________________
New kits on the blog: http://mibuso.com/blogs/massivedynamicsnav/


Top
 Profile  
 
 Post subject: Re: NAVPictureViewer 2.2
PostPosted: Tue Apr 26, 2011 2:53 pm 
Offline

Joined: Thu Apr 20, 2006 3:28 pm
Posts: 168
Location: mauritius
Country: Mauritius (mu)
where can i buy this software??


Top
 Profile E-mail  
 
 Post subject: Re: NAVPictureViewer 2.2
PostPosted: Tue Apr 26, 2011 3:07 pm 
Offline

Joined: Sun Dec 10, 2006 9:21 am
Posts: 99
Location: Bayreuth
Country: Germany (de)
iqbalmad wrote:
where can i buy this software??

Did you read the 10th message in this thread?

_________________
New kits on the blog: http://mibuso.com/blogs/massivedynamicsnav/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: