Click here to Skip to main content
15,891,204 members
Home / Discussions / C#
   

C#

 
AnswerRe: CreateDatabase() / DatabaseExists() Question Pin
Judah Gabriel Himango25-Jun-08 18:07
sponsorJudah Gabriel Himango25-Jun-08 18:07 
GeneralRe: CreateDatabase() / DatabaseExists() Question Pin
Jammer26-Jun-08 2:57
Jammer26-Jun-08 2:57 
GeneralRe: CreateDatabase() / DatabaseExists() Question Pin
Jammer26-Jun-08 7:20
Jammer26-Jun-08 7:20 
QuestionHow can I convert this string to the image? Pin
Mohammad Dayyan25-Jun-08 9:33
Mohammad Dayyan25-Jun-08 9:33 
AnswerRe: How can I convert this string to the image? Pin
Guffa25-Jun-08 9:44
Guffa25-Jun-08 9:44 
AnswerRe: How can I convert this string to the image? Pin
hammerstein0525-Jun-08 9:45
hammerstein0525-Jun-08 9:45 
GeneralRe: How can I convert this string to the image? Pin
Mohammad Dayyan25-Jun-08 9:56
Mohammad Dayyan25-Jun-08 9:56 
GeneralRe: How can I convert this string to the image? Pin
hammerstein0525-Jun-08 10:13
hammerstein0525-Jun-08 10:13 
data:image/png;base64,

if you get rid of that section at the beginning, you'll get an error along the lines of base64 string is of incorrect length. Well, the string is 312 characters, my understanding of this is that the string needs to be divisible by 64, so the next one up (removing characters would remove image data) would be 832 characters in length. So, I copied 20 characters from within the string and tagged them on the end. Admittedly, there would be incorrect image data, but it should still work. And it did. It displays an icon. It's probably the favicon.ico (Zine is the word on the icon)

That's how I got it working. Your code is pretty much correct.
GeneralRe: How can I convert this string to the image? Pin
Mohammad Dayyan25-Jun-08 10:21
Mohammad Dayyan25-Jun-08 10:21 
GeneralRe: How can I convert this string to the image? Pin
Guffa25-Jun-08 10:29
Guffa25-Jun-08 10:29 
GeneralRe: How can I convert this string to the image? Pin
hammerstein0525-Jun-08 10:34
hammerstein0525-Jun-08 10:34 
GeneralRe: How can I convert this string to the image? Pin
Mbah Dhaim25-Jun-08 22:39
Mbah Dhaim25-Jun-08 22:39 
GeneralRe: How can I convert this string to the image? Pin
Mohammad Dayyan25-Jun-08 10:16
Mohammad Dayyan25-Jun-08 10:16 
GeneralRe: How can I convert this string to the image? Pin
hammerstein0525-Jun-08 10:22
hammerstein0525-Jun-08 10:22 
GeneralRe: How can I convert this string to the image? Pin
Mohammad Dayyan25-Jun-08 10:36
Mohammad Dayyan25-Jun-08 10:36 
QuestionUse Ctrl+F1 to cycle between MDI child windows Pin
AndrusM25-Jun-08 7:46
AndrusM25-Jun-08 7:46 
QuestionUsing Ctrl+E menu shortcut from readonly control Pin
AndrusM25-Jun-08 7:43
AndrusM25-Jun-08 7:43 
QuestionAdding A Record (Sql Server 2005 Compact Edition and Visual Studio 2005 C#) Pin
lpaulding25-Jun-08 6:16
lpaulding25-Jun-08 6:16 
AnswerRe: Adding A Record (Sql Server 2005 Compact Edition and Visual Studio 2005 C#) Pin
Igor Velikorossov25-Jun-08 6:34
Igor Velikorossov25-Jun-08 6:34 
GeneralRe: Adding A Record (Sql Server 2005 Compact Edition and Visual Studio 2005 C#) Pin
Abhijit Jana25-Jun-08 6:43
professionalAbhijit Jana25-Jun-08 6:43 
QuestionRegion left-most coordinate? Pin
Emil Müller25-Jun-08 6:08
Emil Müller25-Jun-08 6:08 
AnswerRe: Region left-most coordinate? Pin
Guffa25-Jun-08 7:31
Guffa25-Jun-08 7:31 
GeneralRe: Region left-most coordinate? Pin
Luc Pattyn25-Jun-08 7:55
sitebuilderLuc Pattyn25-Jun-08 7:55 
GeneralRe: Region left-most coordinate? Pin
Emil Müller25-Jun-08 13:48
Emil Müller25-Jun-08 13:48 
Questionregular expression problem Pin
mahraja25-Jun-08 5:51
mahraja25-Jun-08 5:51 

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.