Click here to Skip to main content
16,004,924 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionBackgroundWorker problem Pin
User 91483318-May-06 23:24
User 91483318-May-06 23:24 
QuestionDevelopment in LINUX Pin
Mr. Arfan Qadir18-May-06 23:23
Mr. Arfan Qadir18-May-06 23:23 
AnswerRe: Development in LINUX Pin
Steve Pullan18-May-06 23:51
Steve Pullan18-May-06 23:51 
GeneralRe: Development in LINUX Pin
BoneSoft19-May-06 5:04
BoneSoft19-May-06 5:04 
GeneralRe: Development in LINUX Pin
Steve Pullan19-May-06 23:18
Steve Pullan19-May-06 23:18 
AnswerRe: Development in LINUX Pin
User 91483319-May-06 0:32
User 91483319-May-06 0:32 
QuestionScaleTransform Pin
Daniel Loczi18-May-06 21:57
Daniel Loczi18-May-06 21:57 
AnswerRe: ScaleTransform Pin
Robert Rohde18-May-06 22:07
Robert Rohde18-May-06 22:07 
If you applay ScaleTransform to a graphics object it doesn't mean that the current contents gets transformed but that all coming drawing operations gets resized. In this scenario you won't need ScaleTransform at all:
b1 = New Bitmap(Me.Width, Me.Height)
g1 = Graphics.FromImage(b1)
g1.CopyFromScreen(Me.Location + Panel1.Location, Panel1.Location, Panel1.Size)
'g1.ScaleTransform(2.3F, 4.5F)
b1.RotateFlip(RotateFlipType.RotateNoneFlipY)
Form2.CreateGraphics.DrawImage(b1, 0, 0, b1.Width * 2.3F, b1.Height * 4.5F)

Also think about painting the image in the form via its Paint event instead of drawing it here directly. You could do this by setting some field to the generated bitmap and calling invalidate on the form. After that the Paint event will be thrown and you can draw your image there.
Also never forget to dispose created Graphics instances.
GeneralRe: ScaleTransform Pin
Daniel Loczi18-May-06 22:16
Daniel Loczi18-May-06 22:16 
QuestionJapanese encoding Pin
dexom18-May-06 20:54
dexom18-May-06 20:54 
Questionedit data in datagrid in "VB.net" Pin
ITstud18-May-06 20:37
ITstud18-May-06 20:37 
AnswerRe: edit data in datagrid in "VB.net" Pin
_AK_18-May-06 21:44
_AK_18-May-06 21:44 
QuestionPlz help me Pin
david boon18-May-06 19:55
david boon18-May-06 19:55 
AnswerRe: Plz help me Pin
coolestCoder20-May-06 0:28
coolestCoder20-May-06 0:28 
QuestionHelp Needed in MS ScriptControl in VB.Net 2005 Pin
devagnanam18-May-06 19:52
devagnanam18-May-06 19:52 
QuestionHow To Transfer Image file From one system to Another Pin
prabhakar dwivedi18-May-06 19:26
prabhakar dwivedi18-May-06 19:26 
AnswerRe: How To Transfer Image file From one system to Another Pin
Robert Rohde18-May-06 21:30
Robert Rohde18-May-06 21:30 
AnswerRe: How To Transfer Image file From one system to Another Pin
tomtheaint31-Jul-06 10:54
tomtheaint31-Jul-06 10:54 
QuestionHow a drop a project? Pin
cylix200018-May-06 17:53
cylix200018-May-06 17:53 
Questionvirtual listview/treeview Pin
Archer28218-May-06 11:35
Archer28218-May-06 11:35 
QuestionCannot connect to a secure database using ADO Pin
Quecumber25618-May-06 10:36
Quecumber25618-May-06 10:36 
AnswerRe: Cannot connect to a secure database using ADO Pin
Joshua Quick18-May-06 17:14
Joshua Quick18-May-06 17:14 
GeneralRe: Cannot connect to a secure database using ADO Pin
Quecumber25619-May-06 3:08
Quecumber25619-May-06 3:08 
GeneralRe: Cannot connect to a secure database using ADO Pin
Joshua Quick19-May-06 7:16
Joshua Quick19-May-06 7:16 
GeneralRe: Cannot connect to a secure database using ADO Pin
Quecumber25619-May-06 8:02
Quecumber25619-May-06 8:02 

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.