Click here to Skip to main content
15,886,798 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How do I Pin
jimpar20-Apr-04 7:41
jimpar20-Apr-04 7:41 
GeneralError in Add-In of Word in Windows 98/ME Pin
Mayank Kumar19-Apr-04 0:39
Mayank Kumar19-Apr-04 0:39 
GeneralMicrosoft .Net Framework Source Code Pin
steff kamush18-Apr-04 21:23
steff kamush18-Apr-04 21:23 
GeneralRe: Microsoft .Net Framework Source Code Pin
Dave Kreskowiak19-Apr-04 1:25
mveDave Kreskowiak19-Apr-04 1:25 
GeneralBitBlt LoadImage Pin
Fade (Amit BS)18-Apr-04 14:19
Fade (Amit BS)18-Apr-04 14:19 
GeneralProjects and solutions Pin
Fade (Amit BS)18-Apr-04 6:40
Fade (Amit BS)18-Apr-04 6:40 
GeneralRe: Projects and solutions Pin
Fade (Amit BS)18-Apr-04 7:38
Fade (Amit BS)18-Apr-04 7:38 
GeneralAdvanced BitBlt problem... Pin
Fade (Amit BS)18-Apr-04 2:05
Fade (Amit BS)18-Apr-04 2:05 
Now this is a tricky one, as i am puzzeled about this,
i got BitBlt all figured out, i even wrote an article on how to use it HERE[^]
BUT!WTF | :WTF:
It won't work if the source is not on the screen itself
you cannot use this code:
Dim tmpBitmap as new BitMap(...,...,)<br />
tmpGraphics = Graphics.FromImage(tmpBitmap) 
< graphics object
Now- Drawing to the Bitmap
tmpGraphics.DrawString("Hellow World!",myFont,myBursh,0,0)
Now Bliting
tmpHdc = tmpGraphics.GetHdc() < create a device context
BitBlt (TargetHdc ... tmpHdc )
it just wont work, it treats the source Hdc as an empty area in the memory, getting a blank image.

Note that if i'm coping from a context that is on the screen everything is working just fine, and then i can use the context in memory to copy to and from, but if i want the originating image to be created in memory and then use it? i don't like the idea of loading and drawing images to the screen in order for me to use them

Nothing worked for me and i have tried a lot of things.
You can download the code i'm using to BitBlt things, it's a class i worte, again here[^] it copies and pastes.

Any Ideas?Confused | :confused:


Fade (Amit BS)

Fade (Amit BS)
GeneralCreating Application for Website Pin
fargate18-Apr-04 1:17
fargate18-Apr-04 1:17 
GeneralRe: Creating Application for Website Pin
Fade (Amit BS)18-Apr-04 2:12
Fade (Amit BS)18-Apr-04 2:12 
GeneralRe: Creating Application for Website Pin
fargate20-Apr-04 1:17
fargate20-Apr-04 1:17 
GeneralRe: Advanced BitBlt problem... Pin
PaleyX17-Apr-04 15:58
PaleyX17-Apr-04 15:58 
GeneralRe: Advanced BitBlt problem... Pin
PaleyX17-Apr-04 16:02
PaleyX17-Apr-04 16:02 
GeneralCenter text on an a form using DrawString Pin
PaleyX17-Apr-04 3:47
PaleyX17-Apr-04 3:47 
GeneralRe: Center text on an a form using DrawString Pin
Dave Kreskowiak17-Apr-04 4:37
mveDave Kreskowiak17-Apr-04 4:37 
GeneralRe: Center text on an a form using DrawString Pin
PaleyX17-Apr-04 6:08
PaleyX17-Apr-04 6:08 
GeneralRe: Center text on an a form using DrawString Pin
Fade (Amit BS)18-Apr-04 2:17
Fade (Amit BS)18-Apr-04 2:17 
GeneralRe: Center text on an a form using DrawString Pin
PaleyX18-Apr-04 14:52
PaleyX18-Apr-04 14:52 
Generalget DB schema Pin
Silly Boy17-Apr-04 3:37
Silly Boy17-Apr-04 3:37 
GeneralRe: get DB schema Pin
-Dr_X-18-Apr-04 18:21
-Dr_X-18-Apr-04 18:21 
QuestionDraw on a Picture Box? Pin
Toola17-Apr-04 1:50
Toola17-Apr-04 1:50 
AnswerRe: Draw on a Picture Box? Pin
Fade (Amit BS)17-Apr-04 14:21
Fade (Amit BS)17-Apr-04 14:21 
GeneralVB 6.0 Pin
Anonymous16-Apr-04 22:03
Anonymous16-Apr-04 22:03 
GeneralUnable to start debugger Pin
Qaiser_Awan16-Apr-04 19:44
Qaiser_Awan16-Apr-04 19:44 
GeneralRe: Unable to start debugger Pin
Sarvesvara (BVKS) Dasa18-Apr-04 8:30
Sarvesvara (BVKS) Dasa18-Apr-04 8:30 

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.