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
K

KaineDunno

@KaineDunno
About
Posts
14
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to set Column size to DataGrid Column?
    K KaineDunno

    foreach (DataGridViewColumn col in dgRptSpdList.Columns) col.Width = 120; Greetings Kaine

    C# tutorial question

  • Problems with opening Child Window in MDI
    K KaineDunno

    try resizing your forms in design time. think that could help... i dont see anything wrong in the posted code. Greetings

    C# help question

  • Deleting words from string
    K KaineDunno

    Do you mean something like this? Regex.Replace(statementString, @"\[|dbo].|\]", ""); instead of the function Greetings Kaine

    C# question

  • Single instance over a local area network
    K KaineDunno

    i think the easyest way is to create a dummy file somewhere on the network (accessable to everybody) when your app starts. and delete when app closes. in startup of your app, check for existens of that file (File.Exists) Hope this helps Kaine

    C# sysadmin performance question

  • Deleting words from string
    K KaineDunno

    what you could do is keep it simple :) use string.Replace. ex: string x = "This is a test,test"; string y = x.Replace("test",""); Console.WriteLine(y); output should look like "This is a , " have fun Kaine

    C# question

  • Locking windows desktop
    K KaineDunno

    just catch the keydown events greetings

    C# csharp help tutorial question

  • Frames in HTML
    K KaineDunno

    Hi, Try this hope this helps. Greetings Kaine

    .NET (Core and Framework) html help learning

  • MSBuild unable to compile a project in a solution file, if project name contain dot "."
    K KaineDunno

    Didnt know that last part... Thanks for the update Greetings, Kaine

    C# help csharp visual-studio debugging workspace

  • DataGridView
    K KaineDunno

    Hi, You could code the following private void dataGridView1_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) e.Handled = true; } Hopes this helps... Greetings Kaine

    C# help

  • MSBuild unable to compile a project in a solution file, if project name contain dot "."
    K KaineDunno

    hi, It should read smth like /t:Rebuild or /t:Compile or /t:Rebuild;Compile. Greetings Kaine

    C# help csharp visual-studio debugging workspace

  • events and remoting
    K KaineDunno

    Hi, Just happened to see that same error yesterday... check out this link http://www.codeproject.com/useritems/RemotingEvent.asp Section solution 2. When you implement a wrapper class which can be accessed from both client and server side you app should work Greetings Kaine

    C# csharp security

  • open a file from web server in windows application
    K KaineDunno

    Hi, import system.Diagnostics and try with Process.Start("Applicationlocation fileToOpen") Greetings Kaine

    Visual Basic sysadmin

  • Hourglass
    K KaineDunno

    Somthing like this maybe? Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ' save the old cursor Cursor oldCursor = Me.Cursor; ' change the cursor to the one you want Me.Cursor = Cursors.WaitCursor ' do your work here ' restore the old cursor or else you may never get it back Me.Cursor = oldCursor End Sub

    Visual Basic question

  • SQL: getting and storing data
    K KaineDunno

    Glen, You only get the first table because you're using the executeScalar method. To get what you want you need to use the executeReader. Your code would thus be smth like: SqlConnection connection = new SqlConnection(connectionString); string command = "Select name From sysobjects where type ='U'"; SqlCommand getTableList = new SqlCommand(command, connection); myConnection.Open(); SqlDataReader reader = getTableList.ExecuteReader(CommandBehavior.CloseConnection); List tables=new List(); while(reader.Read()) { tables.Add(reader.GetString(0)); } reader.Close(); //Implicitly closes the connection because CommandBehavior.CloseConnection was specified. This should get you the list. Greeting Kaine

    C# database question data-structures
  • Login

  • Don't have an account? Register

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