Click here to Skip to main content
15,917,997 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: use c++ dll in VB6 application Pin
Michael P Butler6-Aug-04 1:01
Michael P Butler6-Aug-04 1:01 
GeneralRe: use c++ dll in VB6 application Pin
Dave Kreskowiak6-Aug-04 3:04
mveDave Kreskowiak6-Aug-04 3:04 
Generalcommunication with I2C Adapter Pin
sumiko5-Aug-04 21:11
sumiko5-Aug-04 21:11 
GeneralRe: communication with I2C Adapter Pin
Dave Kreskowiak6-Aug-04 3:00
mveDave Kreskowiak6-Aug-04 3:00 
GeneralRe: communication with I2C Adapter Pin
sumiko10-Aug-04 20:43
sumiko10-Aug-04 20:43 
GeneralRe: communication with I2C Adapter Pin
Dave Kreskowiak11-Aug-04 1:15
mveDave Kreskowiak11-Aug-04 1:15 
GeneralWord PrintPreview to Jpeg Pin
Anonymous5-Aug-04 14:26
Anonymous5-Aug-04 14:26 
GeneralRe: Word PrintPreview to Jpeg Pin
Dave Kreskowiak6-Aug-04 2:56
mveDave Kreskowiak6-Aug-04 2:56 
It's going to be a big PITA to do. There is no one call you can make you get an image from the screen. This will require in-depth knowledge of Windows and the Win32 API.

You'll have to write code to find the instance of Word you want, find the window for the print preview image (not the print preview dialog!), get a handle to that window, convert that handle to a Graphics object (assuming VB.NET here, VB6 - forget it), use the Graphics object to save the image in JPEG format, then release your objects and handles.

Do I have any example code? NO! You can Google for pieces of this process, but you more than likely won't find an app written for you.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralList Views containing Custom objects Pin
kowplunk5-Aug-04 10:00
kowplunk5-Aug-04 10:00 
GeneralRe: List Views containing Custom objects Pin
kowplunk5-Aug-04 15:45
kowplunk5-Aug-04 15:45 
GeneralGeneric Custom Data Source For Data Grid Pin
toddmo5-Aug-04 7:47
toddmo5-Aug-04 7:47 
Questionhow can I close .exe in multiple forms? Pin
Lisana5-Aug-04 4:59
Lisana5-Aug-04 4:59 
AnswerRe: how can I close .exe in multiple forms? Pin
Colin Angus Mackay5-Aug-04 6:05
Colin Angus Mackay5-Aug-04 6:05 
GeneralRe: how can I close .exe in multiple forms? Pin
Lisana5-Aug-04 6:45
Lisana5-Aug-04 6:45 
GeneralRe: how can I close .exe in multiple forms? Pin
Lisana5-Aug-04 8:01
Lisana5-Aug-04 8:01 
GeneralRe: how can I close .exe in multiple forms? Pin
Colin Angus Mackay5-Aug-04 10:15
Colin Angus Mackay5-Aug-04 10:15 
GeneralRe: how can I close .exe in multiple forms? Pin
Lisana5-Aug-04 10:44
Lisana5-Aug-04 10:44 
GeneralRe: how can I close .exe in multiple forms? Pin
Colin Angus Mackay5-Aug-04 10:56
Colin Angus Mackay5-Aug-04 10:56 
GeneralRe: how can I close .exe in multiple forms? Pin
Lisana5-Aug-04 11:04
Lisana5-Aug-04 11:04 
GeneralRe: how can I close .exe in multiple forms? Pin
Colin Angus Mackay5-Aug-04 13:29
Colin Angus Mackay5-Aug-04 13:29 
Generalmore on environment variables Pin
madfiddlerchris5-Aug-04 4:18
madfiddlerchris5-Aug-04 4:18 
GeneralRe: more on environment variables Pin
Dave Kreskowiak5-Aug-04 7:29
mveDave Kreskowiak5-Aug-04 7:29 
GeneralRe: more on environment variables Pin
madfiddlerchris25-Aug-04 0:31
madfiddlerchris25-Aug-04 0:31 
GeneralRe: more on environment variables Pin
Dave Kreskowiak26-Aug-04 1:33
mveDave Kreskowiak26-Aug-04 1:33 
GeneralRe: more on environment variables Pin
madfiddlerchris26-Aug-04 2:10
madfiddlerchris26-Aug-04 2:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.