|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic 4.0 16/32 Capture Routines for .Net?Does anybody know if somebody has made available a .Net version of these
routines? I just don't have the time right now to figure out how to do it myself. I know that there is a PrintForm component in the Visual Power Packs, but it does not allow for scalling the print to the page or for just pasting the image to the clipboard. TIA, -- Terry Thanks Armin,
I now haver it working. One problem though, the drop down menu is always there! I tried doing a ...HideDropDown() call before the capture, but it is still there. Maybe a threading problem? Any suggestions? TIA, -- Show quoteHide quoteTerry "Terry" wrote: > Does anybody know if somebody has made available a .Net version of these > routines? > I just don't have the time right now to figure out how to do it myself. I > know that there is a PrintForm component in the Visual Power Packs, but it > does not allow for scalling the print to the page or for just pasting the > image to the clipboard. > TIA, > -- > Terry Terry wrote:
> Thanks Armin, Which drop down menu?> I now haver it working. One problem though, the drop down menu is > always there! > I tried doing a ...HideDropDown() call before the Doesn't it close or is it still visible on the screen shot only?> capture, but it is still there. > Maybe a threading problem? How can I know?> Any I can only guess here: You are chosing an item from whatever kind of drop > suggestions? down menu/list? In the click event, you're creating the screenshot? You could force the repaint in your own application but you never know what's underneath, therefore it wouldn't be a good suggestion. Well, "WYSIWYG"! You can delay the screenshot by 500ms (by using a Timer) but, as a principle, there's no guarantee that everything looks like you want it 500ms later. It's a snapshot. Armin Thanks Armin,
I used a timer with just a 10 ms interval, and the problem is resolved! -- Show quoteHide quoteTerry "Armin Zingler" wrote: > Terry wrote: > > Thanks Armin, > > I now haver it working. One problem though, the drop down menu is > > always there! > > Which drop down menu? > > > I tried doing a ...HideDropDown() call before the > > capture, but it is still there. > > Doesn't it close or is it still visible on the screen shot only? > > > Maybe a threading problem? > > How can I know? > > > Any > > suggestions? > > I can only guess here: You are chosing an item from whatever kind of drop > down menu/list? In the click event, you're creating the screenshot? You > could force the repaint in your own application but you never know what's > underneath, therefore it wouldn't be a good suggestion. Well, "WYSIWYG"! You > can delay the screenshot by 500ms (by using a Timer) but, as a principle, > there's no guarantee that everything looks like you want it 500ms later. > It's a snapshot. > > > Armin > >
detect file status
remember a forms position on the screen how to call Change() with System.Threading.Timer If Statement, Please Help bold selected text Math functions in VB (or even a dll somewhere) Options Saving data in a datatable Urgent: XP, Vista logoff application (WM_QUERYENDSESSION) Export a Graphic to Excel Spreadsheets List Boxes |
|||||||||||||||||||||||