Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

Mmithat

@Mmithat
About
Posts
8
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Crystal Report distribution
    M Mmithat

    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

    C# csharp question

  • LISTBOX How to select more than one entry at the startup
    M Mmithat

    It worked just fine, Thank you very much =) ~Mithat

    C# question graphics tutorial

  • How to assign executable's icon
    M Mmithat

    Where is the application icon is assigned? So the executable that my program creates, will have the icon that i want. Thanks, ~Mithat

    C# tutorial question

  • LISTBOX How to select more than one entry at the startup
    M Mmithat

    Hi 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

    C# question graphics tutorial

  • How to get Windows Directory with C#
    M Mmithat

    I like that better. Thanks =) ~Mithat

    C# csharp help tutorial

  • How to get Windows Directory with C#
    M Mmithat

    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

    C# csharp help tutorial

  • How to get Windows Directory with C#
    M Mmithat

    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 with Environment.GetFolderPath()) is there any method in System.Environment that rerieves Windows Directory path ? Thanks ~Mithat

    C# csharp help tutorial

  • How to get Windows Directory with C#
    M Mmithat

    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

    C# csharp help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups