Skip to main content
Participant
November 28, 2007
Question

CS2 VB Resize

  • November 28, 2007
  • 2 replies
  • 295 views
I do some work at a VB application that places and resizes JPEGs into a table cell.
The problem: when I run it from the MS Visual Studio 6 development environment, it scales well both horizontally and vertically. However when I create an executable myprogramm.exe it does no longer scale horizontally ???

--

The code that is directly involve looks like this HScale# and VScale# are computed before and have reasonable values.

actRect.Resize HScale#, VScale#
aktCell.Height = H#
aktCell.Width = W#
actRect.Fit idContentToFrame

Any hint is welcome,
werner frank
This topic has been closed for replies.

2 replies

Known Participant
December 4, 2007
Hi Werner,

You can bring your question over to the InDesign scripting forum--VB/VBScript are frequently discussed there.

Thanks,

Ole
Participating Frequently
November 28, 2007
you have posted 2 posts. Second this is not a VB forum, This Indesign Sdk forum.

Try Refresh form and control after setting scale value.