Click here to Skip to main content
16,011,608 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHTML to RTF pls help Pin
AllPhee4-Jun-10 5:00
AllPhee4-Jun-10 5:00 
QuestionCode Standards Pin
mazemalik4-Jun-10 3:17
mazemalik4-Jun-10 3:17 
AnswerRe: Code Standards Pin
dan!sh 4-Jun-10 3:21
professional dan!sh 4-Jun-10 3:21 
AnswerRe: Code Standards Pin
Jamil Hallal4-Jun-10 4:22
professionalJamil Hallal4-Jun-10 4:22 
GeneralRe: Code Standards Pin
R. Giskard Reventlov4-Jun-10 4:33
R. Giskard Reventlov4-Jun-10 4:33 
AnswerRe: Code Standards Pin
R. Giskard Reventlov4-Jun-10 4:35
R. Giskard Reventlov4-Jun-10 4:35 
AnswerRe: Code Standards Pin
T M Gray4-Jun-10 5:48
T M Gray4-Jun-10 5:48 
QuestionGDI+ Image wont Show Properly Pin
Randal Vance Cunanan4-Jun-10 2:55
Randal Vance Cunanan4-Jun-10 2:55 
I got this simple GDI+ Code:


Bitmap image = new Bitmap(300, 50);
Graphics g = Graphics.FromImage(image);
g.FillRectangle(Brushes.White, 1F, 1F, 300F,50F);

Font font = new Font("Impact", 20, FontStyle.Regular);
g.DrawString("Saranghae", font, Brushes.Blue, new Point(10, 5));

image.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Gif);
image.Dispose();
g.Dispose();



But I got this output instead of an image
GIF89a,2���������3��f����������+��+3�+f�+��+��+��U��U3�Uf�U��U��U������3��f��������������3��f��������������3��f�ՙ�����������3��f���������3��3�33�f3��3��3��3+�3+33+f3+�3+�3+�3U�3U33Uf3U�3U�3U�3��3�33�f3��3��3��3��3�33�f3��3��3��3��3�33�f3ՙ3��3��3��3�33�f3��3��3��f��f�3f�ff��f��f��f+�f+3f+ff+�f+�f+�fU�fU3fUffU�fU�fU�f��f�3f�ff��f��f��f��f�3f�ff��f��f��f��f�3f�ffՙf��f��f��f�3f�ff��f��f�������3��f�����̙���+��+3�+f�+��+̙+��U��U3�Uf�U��U̙U������3��f�����̙�������3��f�����̙�������3��f�ՙ��̙�������3��f�����̙�������3��f����������+��+3�+f�+��+��+��U��U3�Uf�U��U��U�̀�̀3̀f̀�̀�̀�̪�̪3̪f̪�̪�̪������3��f�ՙ�����������3��f��������������3��f����������+��+3�+f�+��+��+��U��U3�Uf�U��U��U������3��f��������������3��f��������������3��f�ՙ�����������3��f���������������������!�����,����,2����H���*\Ȱ�Ç#J�H��ŋ��ȱ�Ǐ C�I��ɓ(S�\ɲ�˗0aj�I��͛8s�����̞@� J��ПF�*]ʴ)P�N�J�Ju*ԪX�j��*ׯ`Â�*��ٳIɢ]˶-M�n�ʝ.ݻx����߿��f�[ N��M�n��0�n����rړ�;>�V�_ÖCU�X������������ֆ�����܄�U�7_ǐ?��{A�s��G�]`�̦c��Ԙ7v�� ��i��7�2�� 2���c�3��h��k�[���_ԭ��O������p}��V���gYt�Y�g�����q�x��u.��)(2xbz"z�|��gae��FX(��~��>H���m�a��X@(�� �:>��_?y�6�x�b�e瑈�f�_<�S�$N9ٚ;���0v��~Aɦ�x>�b�^�戚 �G]��m)`j�!J���]���5��U���XnTe�� �|��XsnF ���ڝUB��i���Z��;�ڨ��.�]�nd�A���ivd즶�Z�õج���iZsN���\�n4az��C��rn �>��x��k�g��sn��R�-�,���p�j'k;����f*�p�Z���f۽m�(e�w���g���ŭG�z�(m�?�gs�l/�nI\k"�&:lr�rd���:����J���fj��,��ö�q��{��]v4g�i��2���!2�#���X6�a����t}jF3�<#W��*o(��Y�]/�L�J0���kp�/G��9��%�d�ӭ���U{~��bJ�V���t�̒�}�7ݬʎ�v�o���%G�%���A����C'�6/�F�No�\�_�=��w������4ؓo~��_V��o�����ׯ���_������`J�(����L�G�; 


I ran it with Firefox and Chrome and yield the same results. In IE, I prompts me to run an addon and after running the addon, the image showed properly. Thanks
QuestionSubqueries Pin
Morgs Morgan4-Jun-10 2:37
Morgs Morgan4-Jun-10 2:37 
AnswerRe: Subqueries Pin
Peace ON4-Jun-10 2:47
Peace ON4-Jun-10 2:47 
GeneralRe: Subqueries Pin
Morgs Morgan4-Jun-10 4:17
Morgs Morgan4-Jun-10 4:17 
Questionwhat is trace listeners Pin
somasekhara7774-Jun-10 2:16
somasekhara7774-Jun-10 2:16 
AnswerRe: what is trace listeners Pin
Peace ON4-Jun-10 2:28
Peace ON4-Jun-10 2:28 
AnswerRe: what is trace listeners Pin
Not Active4-Jun-10 2:29
mentorNot Active4-Jun-10 2:29 
AnswerRe: what is trace listeners Pin
JHizzle4-Jun-10 2:44
JHizzle4-Jun-10 2:44 
AnswerRe: what is trace listeners Pin
Jamil Hallal4-Jun-10 4:28
professionalJamil Hallal4-Jun-10 4:28 
QuestionIE8 on Windows 7 Does not Respond Pin
Vimalsoft(Pty) Ltd4-Jun-10 2:15
professionalVimalsoft(Pty) Ltd4-Jun-10 2:15 
AnswerRe: IE8 on Windows 7 Does not Respond Pin
Vimalsoft(Pty) Ltd6-Jun-10 21:27
professionalVimalsoft(Pty) Ltd6-Jun-10 21:27 
Questionwhat is the difference between appsettings and connectionstring Pin
somasekhara7774-Jun-10 1:40
somasekhara7774-Jun-10 1:40 
AnswerRe: what is the difference between appsettings and connectionstring Pin
Not Active4-Jun-10 1:55
mentorNot Active4-Jun-10 1:55 
GeneralRe: what is the difference between appsettings and connectionstring Pin
somasekhara7774-Jun-10 2:17
somasekhara7774-Jun-10 2:17 
QuestionExcel to sqlserver Pin
amina894-Jun-10 0:54
amina894-Jun-10 0:54 
AnswerRe: Excel to sqlserver Pin
walterhevedeich4-Jun-10 1:31
professionalwalterhevedeich4-Jun-10 1:31 
GeneralRe: Excel to sqlserver Pin
amina894-Jun-10 2:00
amina894-Jun-10 2:00 
GeneralRe: Excel to sqlserver Pin
Sadheesh R7-Jun-10 20:53
Sadheesh R7-Jun-10 20:53 

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.