mibuso.com

Microsoft Business Solutions online community
It is currently Wed Jun 19, 2013 3:47 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Navision AdvancedImage.Net v1.1
PostPosted: Wed Aug 03, 2005 2:33 pm 
Offline
Site Admin

Joined: Sun Nov 07, 1999 8:01 am
Posts: 1914
Location: Wilrijk, Belgium
Country: Belgium (be)
Navision AdvancedImage.Net v1.0
This is the embedded Image object you can use in your Navision forms, written as .Net DLL.

Unlikely standard Navision's Image,

- AdvancedImage supports many formats:
Bmp - bitmap image format
Emf - enhanced Windows metafile image format
Exif - Exchangeable Image File format
Gif - Graphics Interchange Format (GIF) image format
Ico - Windows icon image format
Jpg - Joint Photographic Experts Group (JPEG) image format
Png - W3C Portable Network Graphics (PNG) image format
Tif - Tag Image File Format (TIFF) image format
Wmf - Windows metafile (WMF) image format

- supports transparent GIF images
- supports dynamic stretch of image
- supports dynamic loading
- supports images of unlimited file size and resolution

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

Discuss this download here.


Last edited by Administrator on Mon Aug 08, 2005 12:49 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Resize instead of Stretch
PostPosted: Fri Aug 05, 2005 11:25 am 
Offline

Joined: Wed Jul 07, 2004 4:18 pm
Posts: 31
Location: Amersfoort
Country: Netherlands (nl)
Looks good. I would be very happy with a SizeMode that would allow me to resize the PictureBox but keep the original ratio.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 05, 2005 1:27 pm 
Offline

Joined: Wed Feb 04, 2004 1:07 pm
Posts: 12
Location: Moscow
Country: Russia (ru)
I've added GetImageWidth and GetImageHeight methods to the component, so you could keep aspect ratio like this:

AdvancedImage.LoadImage('c:\sample.jpg');
CurrForm.SubForm.WIDTH := AdvancedImage.GetImageWidth*10;
CurrForm.SubForm.HEIGHT := AdvancedImage.GetImageHeight*10;
CurrForm.UPDATE;

Wait for 2.0 version


Top
 Profile  
 
 Post subject: Navision AdvancedImage.Net v1.1
PostPosted: Mon Aug 08, 2005 12:50 pm 
Offline
Site Admin

Joined: Sun Nov 07, 1999 8:01 am
Posts: 1914
Location: Wilrijk, Belgium
Country: Belgium (be)
Navision AdvancedImage.Net v1.1
This is the embedded Image object you can use in your Navision forms, written as .Net DLL.

Unlikely standard Navision's Image,

- AdvancedImage supports many formats:
Bmp - bitmap image format
Emf - enhanced Windows metafile image format
Exif - Exchangeable Image File format
Gif - Graphics Interchange Format (GIF) image format
Ico - Windows icon image format
Jpg - Joint Photographic Experts Group (JPEG) image format
Png - W3C Portable Network Graphics (PNG) image format
Tif - Tag Image File Format (TIFF) image format
Wmf - Windows metafile (WMF) image format

- supports transparent GIF images
- supports dynamic stretch of image
- supports dynamic loading
- supports images of unlimited file size and resolution

Version 1.1:

- added GetImageWidth, GetImageHeight and SetAspectRatio methods
- added "Keep ratio" size mode

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

Discuss this download here.


Top
 Profile  
 
 Post subject: two (or more) images
PostPosted: Tue Aug 09, 2005 10:15 am 
Offline

Joined: Tue Aug 09, 2005 10:10 am
Posts: 2
Location: Houten
Country: Netherlands (nl)
Hello,

Nice piece of software (and fast).
Can you tell me if it is possible to show two (or more) images on one form ?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 09, 2005 11:16 am 
Offline

Joined: Wed Feb 04, 2004 1:07 pm
Posts: 12
Location: Moscow
Country: Russia (ru)
It is possible.

For example open form 80004, make a copy of subform and set its name to 'image2'.
Create a global variable AdvancedImage2 and change
'AdvancedImage' to 'AdvancedImage2' in OnActivate trigger of subform 'image2'.
Create an alternative button with code "CurrForm.img2.ACTIVATE;".
Compile form

So when you click alternative button you will get two images on one form


Top
 Profile  
 
 Post subject: images on a report
PostPosted: Tue Aug 09, 2005 11:34 am 
Offline

Joined: Tue Aug 09, 2005 10:10 am
Posts: 2
Location: Houten
Country: Netherlands (nl)
Oke, I got that.

But you "link" the image to a subform . Is it possible to create a report with an image on it ?

Thanks !


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 12, 2005 12:11 am 
Offline

Joined: Fri Aug 12, 2005 12:05 am
Posts: 26
Location: Ohio
Country: United States (us)
Is it possible to store the image in the database (such as in a BLOB) and then display it using this DLL?

What code would this require to store an image and to retrieve an image?

Thanks!

Tim Larson
Mission to the World


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 12, 2005 9:37 am 
Offline

Joined: Wed Feb 04, 2004 1:07 pm
Posts: 12
Location: Moscow
Country: Russia (ru)
It's possbile using C/AL:

1) import an image into BLOB-field of table
Code: Select all
Table.INIT;
Table.BLOBImage.IMPORT('c:\sample.jpg');
Table.INSERT;


2) retrieving an image
Code: Select all
Table.FIND('-');
Table.CALCFIELDS(BLOBImage);
Table.BLOBImage.EXPORT(ENVIRON('TEMP')+'\temp_img.jpg');
AdvancedImage.LoadImage(ENVIRON('TEMP')+'\temp_img.jpg');


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 24, 2005 5:24 pm 
Offline

Joined: Fri Mar 12, 2004 10:11 am
Posts: 43
Location: Southern Germany
Country: Germany (de)
This control look promising. Though after trying to use it in a report, I had to disassamble your code (!! thanks MS for .NET :D ) to enquire possibillities. It seems there has to be a Subform acting as container and therefore bound to be used in forms. :(

I recon most people urging for a control like this but wants (or has!) to use it in Reports as well as in Forms.

If you intend to improve the control, I have some topics for consideration:
- Named Hooking. Couldn't it be possible to use f.ex. a Shape as container. The container name could then get it's own property or be passed to the Init function.
- Alignment Properties. HorAlign (Left, Center, Right) and VerAlign (Top, Center, Bottom). It would then be possible to f.ex. center a "Keep Ratio"-mode picture.

Nice to see that innovation hasn't stopped! Great work..


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 27, 2005 9:15 pm 
Offline

Joined: Mon Feb 10, 2003 5:58 pm
Posts: 15
Country: Belgium (be)
Nice tool !.

What I would like to see is that, when you print a word doc as eg tiff you could use this tool to see the doc in Navision.
For some reason, the pagebreaks are not supported. I only see the first page if I do so.


Are there eny intentions to integrate this ?


Thanks !


Top
 Profile  
 
 Post subject: Wondering if browse for a file is possible
PostPosted: Fri Sep 16, 2005 3:52 pm 
Offline

Joined: Fri Oct 29, 2004 9:22 am
Posts: 4
Location: Heeswijk Dinther
Hi,

Is it possible to browse for a file and put that in the subform instead of the filename sample.jpg

This would be a great feature

Thanks in advance

Alexader de Rooij


Top
 Profile  
 
 Post subject: many comp
PostPosted: Mon Dec 26, 2005 11:03 pm 
Offline

Joined: Mon Nov 22, 2004 3:51 pm
Posts: 110
Location: Russia
Country: Russia (ru)
Hi.
We have many computers.
Can I avoid registering NavAdvancedImage.dll on evry comp.
(we are do not use Citrix etc)/


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 27, 2005 10:07 am 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12266
Location: Brno
Country: Czech Republic (cz)
http://www.mibuso.com/howtoinfo.asp?FileID=5&Type=howto


Top
 Profile E-mail WWW  
 
 Post subject: th
PostPosted: Tue Dec 27, 2005 7:40 pm 
Offline

Joined: Mon Nov 22, 2004 3:51 pm
Posts: 110
Location: Russia
Country: Russia (ru)
thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3  Next

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: