Click here to Skip to main content
16,007,277 members
Home / Discussions / C#
   

C#

 
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 
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 
hammerstein05 wrote:
my understanding of this is that the string needs to be divisible by 64


That is not correct, but if the number of characters is divisable by 4 it happens to form a base64 string that needs no extra characters at the end to be decodable.

As the length is incorrect for a base64 string, it's probably "modified base64" that is used. Here you can read about how the string is padded at the end with "=" characters, and how "modified base64" doesn't use those:

wikipedia: Base64[^]

To make the .NET method decode the string, you can determine how many "=" characters should be added at the end, from the number of characters in the string (after all white space has been removed).

Despite everything, the person most likely to be fooling you next is yourself.

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 
AnswerRe: regular expression problem Pin
Igor Velikorossov25-Jun-08 6:30
Igor Velikorossov25-Jun-08 6:30 
GeneralRe: regular expression problem [modified] Pin
mahraja25-Jun-08 7:35
mahraja25-Jun-08 7:35 

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.