Click here to Skip to main content
15,892,005 members
Home / Discussions / C#
   

C#

 
GeneralHttpRequest returns "internal error 501 (not inplemented)" Pin
shaye4-Apr-04 1:44
shaye4-Apr-04 1:44 
Generalcopying a file to the web Pin
Rob Tomson4-Apr-04 0:26
Rob Tomson4-Apr-04 0:26 
GeneralRe: copying a file to the web Pin
Dave Kreskowiak4-Apr-04 3:32
mveDave Kreskowiak4-Apr-04 3:32 
GeneralRe: copying a file to the web Pin
Rob Tomson4-Apr-04 9:47
Rob Tomson4-Apr-04 9:47 
GeneralRe: copying a file to the web Pin
Tom Larsen4-Apr-04 11:00
Tom Larsen4-Apr-04 11:00 
GeneralRe: copying a file to the web Pin
Heath Stewart4-Apr-04 13:04
protectorHeath Stewart4-Apr-04 13:04 
GeneralRe: copying a file to the web Pin
Rob Tomson16-Apr-04 11:20
Rob Tomson16-Apr-04 11:20 
GeneralGDI+ Pin
Vladimir Georgiev3-Apr-04 22:46
Vladimir Georgiev3-Apr-04 22:46 
Hello,
I have the following code in a win app:


// create bitmap from file
Bitmap myBitmap = new Bitmap(textBox1.Text);

Graphics g = Graphics.FromImage(myBitmap);
g.RotateTransform(30); //rotate 30 degrees

// create a new bitmap from the Graphics object
Bitmap next = new Bitmap(myBitmap.Width, myBitmap.Height, g);

// save the new bitmap to disk
next.Save("c:/documents and settings/vortex/Desktop/file.jpg");


When this code is executed, an empty image file with the right dimensions is stored - just a blank (white) image... I tried without rotating, but nothing happened either.

I would appreciate if you could give me any hints about the problem.
Thank you in advance.

"Needless redundancy is the hobgoblin of software engineering." - Peter Darnell
GeneralRe: GDI+ Pin
Mazdak3-Apr-04 23:00
Mazdak3-Apr-04 23:00 
GeneralRe: GDI+ Pin
Vladimir Georgiev3-Apr-04 23:24
Vladimir Georgiev3-Apr-04 23:24 
GeneralRe: GDI+ Pin
leppie4-Apr-04 0:27
leppie4-Apr-04 0:27 
GeneralRe: GDI+ Pin
Vladimir Georgiev4-Apr-04 0:38
Vladimir Georgiev4-Apr-04 0:38 
GeneralRe: GDI+ Pin
leppie4-Apr-04 0:48
leppie4-Apr-04 0:48 
GeneralGrid programming question Pin
Alex Korchemniy3-Apr-04 22:11
Alex Korchemniy3-Apr-04 22:11 
GeneralRe: Grid programming question Pin
leppie3-Apr-04 22:26
leppie3-Apr-04 22:26 
GeneralRe: Grid programming question Pin
Alex Korchemniy5-Apr-04 5:51
Alex Korchemniy5-Apr-04 5:51 
GeneralRe: Grid programming question Pin
Ista4-Apr-04 15:40
Ista4-Apr-04 15:40 
GeneralRe: Grid programming question Pin
Alex Korchemniy5-Apr-04 6:51
Alex Korchemniy5-Apr-04 6:51 
QuestionHow to remove data from a access dataset? Pin
MeterMan3-Apr-04 15:41
MeterMan3-Apr-04 15:41 
AnswerRe: How to remove data from a access dataset? Pin
leppie3-Apr-04 21:17
leppie3-Apr-04 21:17 
GeneralRe: How to remove data from a access dataset? Pin
MeterMan3-Apr-04 21:52
MeterMan3-Apr-04 21:52 
GeneralRe: How to remove data from a access dataset? Pin
leppie3-Apr-04 22:12
leppie3-Apr-04 22:12 
GeneralRe: How to remove data from a access dataset? Pin
MeterMan3-Apr-04 22:36
MeterMan3-Apr-04 22:36 
GeneralShockwave Movie in C# Pin
Imad_4u3-Apr-04 15:15
Imad_4u3-Apr-04 15:15 
GeneralRe: Shockwave Movie in C# Pin
leppie3-Apr-04 21:13
leppie3-Apr-04 21:13 

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.