B
bsgcic
I have been looking for a Microsoft bug tracking database for Microsoft so
that I can submit a bug to them. I am a fairly advanced MS access programmer.
If you know if there is a bug tracking db for Access, can you post the link
please?
Below is the bug by the way:
Subject:
Microsoft Access Japanese Visual Basic - Incorrect Twips on non-gif images
(e.g. jpg, png)
Description:
Twips values are incorrect for non-gif images embedded in picture objects of
forms.
For example, if attach an 800 pixel by 800 pixel with 72 pixels per inch
jpg, the twips evaluate to 1067 pixels by 1067 pixels in the vb code. The
same image in gif form evaluates correctly to 800 pixels by 800 pixels. The
twips outcome changes if you change the density of pixels per inch within the
image itself. For example an identical 800 by 800 pixel jpg image with a
density of 100 pixels per inch evaluates to twips values that equate to an
image of 768 pixels by 768 pixels.
The evaluation in the code is performed per the function used is as
documented in the following link. However, the function below itself is not
in error. The actual picture size and twips values of image.width and
image.height in the picture are incorrect.
http://support.microsoft.com/default.aspx/kb/210590
Environment is Windows Server 2003 SP2 Japanese.
This error is new to Access 2007. It worked correctly in Access 2003.
Repro Steps:
Create an picture object in a form.
Change the source of the picture object programmatically setting it to a jpg
file.
Read the Twips values for the image.width and image.height.
You can confirm that those values are incorrect by converting the twips
values to pixels values and comparing with the size of the jpg file in the
filing system.
(You can either use the Microsoft function mentioned in the link in the
description or the several online conversion tools on the web to do the
conversion.)
that I can submit a bug to them. I am a fairly advanced MS access programmer.
If you know if there is a bug tracking db for Access, can you post the link
please?
Below is the bug by the way:
Subject:
Microsoft Access Japanese Visual Basic - Incorrect Twips on non-gif images
(e.g. jpg, png)
Description:
Twips values are incorrect for non-gif images embedded in picture objects of
forms.
For example, if attach an 800 pixel by 800 pixel with 72 pixels per inch
jpg, the twips evaluate to 1067 pixels by 1067 pixels in the vb code. The
same image in gif form evaluates correctly to 800 pixels by 800 pixels. The
twips outcome changes if you change the density of pixels per inch within the
image itself. For example an identical 800 by 800 pixel jpg image with a
density of 100 pixels per inch evaluates to twips values that equate to an
image of 768 pixels by 768 pixels.
The evaluation in the code is performed per the function used is as
documented in the following link. However, the function below itself is not
in error. The actual picture size and twips values of image.width and
image.height in the picture are incorrect.
http://support.microsoft.com/default.aspx/kb/210590
Environment is Windows Server 2003 SP2 Japanese.
This error is new to Access 2007. It worked correctly in Access 2003.
Repro Steps:
Create an picture object in a form.
Change the source of the picture object programmatically setting it to a jpg
file.
Read the Twips values for the image.width and image.height.
You can confirm that those values are incorrect by converting the twips
values to pixels values and comparing with the size of the jpg file in the
filing system.
(You can either use the Microsoft function mentioned in the link in the
description or the several online conversion tools on the web to do the
conversion.)