I am using Crystal reports in my .NET project. Do i need to buy any user/developer copy of Crystal Reports when I am distributing the software? (do I have to pay or not?) I have legal copy of .NET, and I did not register with Crystal Reports (they let you use it when you are in development I guess) PS.And their licensing aggreement is just so confusing. Thanks ~Mithat
Mmithat
Posts
-
Crystal Report distribution -
LISTBOX How to select more than one entry at the startupIt worked just fine, Thank you very much =) ~Mithat
-
How to assign executable's iconWhere is the application icon is assigned? So the executable that my program creates, will have the icon that i want. Thanks, ~Mithat
-
LISTBOX How to select more than one entry at the startupHi All, I have list box in one of of my form:
private System.Windows.Forms.ListBox listCampaign;
(InitializeComponent()) function contains those initializations for that list box:this.listCampaign.Location = new System.Drawing.Point(80, 144); this.listCampaign.Name = "listCampaign"; this.listCampaign.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listCampaign.Size = new System.Drawing.Size(168, 69); this.listCampaign.TabIndex = 1; this.listCampaign.Visible = false;
And then I add the items to List Box.listSkillSet.Items.Add("AB"); listSkillSet.Items.Add("AC"); listSkillSet.Items.Add("AD"); listSkillSet.Items.Add("AE");
QUESTION: Now I have 4 items in my list, I want to show 2 of em already selected.(at the beggining before user chooses - like telling him, we did choose for you already) I know how to choose one item (highlighted i mean) as in :listCampaign.SelectedIndex = 0;
But How you select more then one ? (if I want to Choose (highlight) "AB" and "AC" at the same time Thanks, ~Mithat -
How to get Windows Directory with C#I like that better. Thanks =) ~Mithat
-
How to get Windows Directory with C#this is how i retrieve it right now,
csTempDirectory = Environment.SystemDirectory; //csTempDirectory = Environment.GetEnvironmentVariable("windir"); m_csWindowsDirectory = Directory.GetParent(csTempDirectory).ToString();
But I dont want to rely on those kinda stuff sometimes system does not let u get those paths. and it may vary . in my orginal message, there should be a way to import this function (getwindowsdirectory()) from SDK But i am just not comfortable with the variables in import-declaration-functions. ~Mithat -
How to get Windows Directory with C#I already checked the System.Environment And it does not have a memeber variable to rerieve the path for Windows directory . I want to retrieve c:\winNT not C:\winNT\system32 (which you can retrieve with
Environment.SystemDirectory()
) or any of those: Program Files, Programs, System, or Startup directory (which you can retrieve withEnvironment.GetFolderPath()
) is there any method in System.Environment that rerieves Windows Directory path ? Thanks ~Mithat -
How to get Windows Directory with C#I was wondering If anyone had an experience with retrieving path of the Windows directory C# Unfortunately, Directory namespace has no class/member function to retrieve this information, And when I try to use this piece of code to import SDK function:
[DllImport("kernel32")] private static extern uint GetWindowsDirectory(string lpBuffer, // buffer for Windows directory uint uSize // size of directory buffer );
But apperantly I couldnt make this work. Basically lpBuffer should be ref parameter in C#, but in decleration of this function is LPSTR in SDK, Any help will be appreciated, Thanks, ~Mithat