Click here to Skip to main content
15,903,012 members
Home / Discussions / C#
   

C#

 
GeneralRe: VB6 (eek!) to VB.net to C#????? Pin
Christian Graus20-Jul-05 14:41
protectorChristian Graus20-Jul-05 14:41 
GeneralRe: VB6 (eek!) to VB.net to C#????? Pin
WetRivrRat20-Jul-05 14:52
WetRivrRat20-Jul-05 14:52 
GeneralRe: VB6 (eek!) to VB.net to C#????? Pin
Christian Graus20-Jul-05 14:56
protectorChristian Graus20-Jul-05 14:56 
GeneralRe: VB6 (eek!) to VB.net to C#????? Pin
WetRivrRat20-Jul-05 15:15
WetRivrRat20-Jul-05 15:15 
GeneralRe: VB6 (eek!) to VB.net to C#????? Pin
tatchung20-Jul-05 15:42
tatchung20-Jul-05 15:42 
GeneralRe: VB6 (eek!) to VB.net to C#????? Pin
Christian Graus20-Jul-05 15:49
protectorChristian Graus20-Jul-05 15:49 
GeneralRe: VB6 (eek!) to VB.net to C#????? Pin
Christian Graus20-Jul-05 15:53
protectorChristian Graus20-Jul-05 15:53 
GeneralRe: VB6 (eek!) to VB.net to C#????? Pin
WetRivrRat20-Jul-05 17:25
WetRivrRat20-Jul-05 17:25 
Christian Graus wrote:
*sigh*
You're not alone! I've been up since 6 somthing this morning going balls to the wall all day. I was sitting in a MS Word 1 intro class when I was writing to you about this(requirement for finacial aid for MCSE, don't ask) So between dealing with a teacher who didn't like me not paying attention, and having the fear of this deadline being bumped up a week I am not thinking too clearly.
that said i greatly appreciate your help thus far... and anything provided beyond this...

I have never had to implement any crypto in my apps, and this being the first i'm struggling to grasp the functions as i was dealing with the teacher...

What I need is the ablility to take today's date, hard code that to the app,
then install my app today, when it loads up the next time it checks to see if the date is the same or not, if it is it does set A of methods, if not it does set B of methods.

I am writing the date of install(installDate) to Isolated Storage thru a hashtable that
stores the info as a string(currently i'm too tired to remember why, and its too big a part of the app to disect it tonight(6hours to delivery) and reconstruct it.) then I compare that string to the date string hard coded in the app as well to today's date.

If a user found the iso-storage and changed the date to todays date then the program would re-install itself. I need to write the installDate to the iso-storage in a non-reconizable format that will then re-construct itself to the date of install for comparison.

I don't care if it is md5 or not, the reason i was looking for a way to convert the vb code was because it did what i needed it to, the problem is that I can't make it work in C#, and i'm not sure what needs to be done at this point to make it work. I tried the app from David Anton, but it has all kinds of errors that I haven't yet had the time/energy to debug, but i'll ask him about those.
If you know of a better way than this please enlighten me.... i'll post the code result from the converter David Anton suggested.



Confused | :confused:


Dim Beautiful As String
Beautiful = "ignorant"
Label1.Text = "The world is full of " & Beautiful & " people."


Why is common sense such an un-common comodity?
GeneralRe: VB6 (eek!) to VB.net to C#????? Pin
Christian Graus20-Jul-05 17:38
protectorChristian Graus20-Jul-05 17:38 
GeneralRe: VB6 (eek!) to VB.net to C#????? Pin
WetRivrRat20-Jul-05 17:42
WetRivrRat20-Jul-05 17:42 
GeneralRe: VB6 (eek!) to VB.net to C#????? Pin
Christian Graus20-Jul-05 17:47
protectorChristian Graus20-Jul-05 17:47 
GeneralRe: VB6 (eek!) to VB.net to C#????? Pin
WetRivrRat20-Jul-05 18:01
WetRivrRat20-Jul-05 18:01 
GeneralRe: VB6 (eek!) to VB.net to C#????? Pin
Christian Graus20-Jul-05 18:09
protectorChristian Graus20-Jul-05 18:09 
AnswerRe: VB6 (eek!) to VB.net to C#????? Pin
Dave Doknjas20-Jul-05 16:13
Dave Doknjas20-Jul-05 16:13 
GeneralRe: VB6 (eek!) to VB.net to C#????? Pin
Christian Graus20-Jul-05 17:41
protectorChristian Graus20-Jul-05 17:41 
GeneralRe: VB6 (eek!) to VB.net to C#????? Pin
Dave Doknjas20-Jul-05 19:24
Dave Doknjas20-Jul-05 19:24 
GeneralRe: VB6 (eek!) to VB.net to C#????? Pin
Christian Graus21-Jul-05 13:20
protectorChristian Graus21-Jul-05 13:20 
GeneralPrinting window form Pin
quangmogulasia20-Jul-05 12:57
quangmogulasia20-Jul-05 12:57 
GeneralFocus Pin
nc3b20-Jul-05 12:39
nc3b20-Jul-05 12:39 
GeneralRe: Focus Pin
Mark Greenwood20-Jul-05 18:07
Mark Greenwood20-Jul-05 18:07 
GeneralRe: Focus Pin
nc3b21-Jul-05 0:01
nc3b21-Jul-05 0:01 
GeneralRe: Focus Pin
nc3b21-Jul-05 1:15
nc3b21-Jul-05 1:15 
GeneralRe: Focus Pin
[Marc]21-Jul-05 16:10
[Marc]21-Jul-05 16:10 
GeneralRe: Focus Pin
nc3b21-Jul-05 21:21
nc3b21-Jul-05 21:21 
GeneralRe: Focus Pin
[Marc]22-Jul-05 9:29
[Marc]22-Jul-05 9:29 

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.