Click here to Skip to main content
15,902,938 members
Home / Discussions / C#
   

C#

 
QuestionJava -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 3:00
wgarnett22-Mar-09 3:00 
AnswerRe: Java -> C# Programming Problem , plz help ! Pin
SeMartens22-Mar-09 3:32
SeMartens22-Mar-09 3:32 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 4:30
wgarnett22-Mar-09 4:30 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
0x3c022-Mar-09 4:37
0x3c022-Mar-09 4:37 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 5:04
wgarnett22-Mar-09 5:04 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
Yusuf22-Mar-09 5:15
Yusuf22-Mar-09 5:15 
AnswerRe: Java -> C# Programming Problem , plz help ! Pin
0x3c022-Mar-09 5:55
0x3c022-Mar-09 5:55 
GeneralRe: Java -> C# Programming Problem , plz help ! Pin
SeMartens22-Mar-09 5:42
SeMartens22-Mar-09 5:42 
First of all creating the date:

<br />
DateTime dDate = DateTime.Now.AddYears(3);<br />
// cal.Add(6, -1); I don't know the constant value for 6, is it month? days?<br />


To format the license key into a three-digit number use:

<br />
licenseNum = Int32.Parse(licenseNum).ToString("D3"); <br />


The date can be converted using
<br />
string verTime = "-" + dDate.ToString("yyMMdd") + "0";<br />


Convert all other lines according to this.

Hope this helps you a bit.

Regards
Sebastian

It's not a bug, it's a feature!

Check out my CodeProject article Permission-by-aspect.

Me in Softwareland.

GeneralRe: Java -&gt; C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 6:24
wgarnett22-Mar-09 6:24 
GeneralRe: Java -&gt; C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 6:31
wgarnett22-Mar-09 6:31 
GeneralRe: Java -&gt; C# Programming Problem , plz help ! Pin
0x3c022-Mar-09 6:48
0x3c022-Mar-09 6:48 
GeneralRe: Java -&gt; C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 7:08
wgarnett22-Mar-09 7:08 
GeneralRe: Java -&gt; C# Programming Problem , plz help ! Pin
0x3c022-Mar-09 8:33
0x3c022-Mar-09 8:33 
GeneralRe: Java -&gt; C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 15:12
wgarnett22-Mar-09 15:12 
GeneralRe: Java -&gt; C# Programming Problem , plz help ! Pin
0x3c022-Mar-09 21:03
0x3c022-Mar-09 21:03 
GeneralRe: Java -&gt; C# Programming Problem , plz help ! Pin
wgarnett22-Mar-09 21:14
wgarnett22-Mar-09 21:14 
GeneralRe: Java -&gt; C# Programming Problem , plz help ! Pin
0x3c023-Mar-09 5:41
0x3c023-Mar-09 5:41 
GeneralRe: Java -&gt; C# Programming Problem , plz help ! Pin
wgarnett23-Mar-09 6:22
wgarnett23-Mar-09 6:22 
QuestionDrawing graphics in a new thread causes flicker Pin
_Martin_22-Mar-09 2:39
_Martin_22-Mar-09 2:39 
AnswerRe: Drawing graphics in a new thread causes flicker Pin
0x3c022-Mar-09 2:56
0x3c022-Mar-09 2:56 
QuestionHow do I get the Objects of the Solution Explorer(or General the Files of the Project) in an Visual Studio Integration Package Pin
Dromar22-Mar-09 2:10
Dromar22-Mar-09 2:10 
AnswerRe: How do I get the Objects of the Solution Explorer(or General the Files of the Project) in an Visual Studio Integration Package Pin
tech60322-Mar-09 3:59
tech60322-Mar-09 3:59 
AnswerRe: How do I get the Objects of the Solution Explorer(or General the Files of the Project) in an Visual Studio Integration Package Pin
Yusuf22-Mar-09 5:19
Yusuf22-Mar-09 5:19 
QuestionHow to Sort Dataset ? Pin
E_Gold21-Mar-09 22:33
E_Gold21-Mar-09 22:33 
AnswerRe: How to Sort Dataset ? Pin
Abhishek Sur22-Mar-09 0:04
professionalAbhishek Sur22-Mar-09 0:04 

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.