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
W

woudwijk

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

Posts

Recent Best Controversial

  • My support nightmare
    W woudwijk

    Just curiuos, why are you not using the Dotnet cleanup tool ? http://blogs.msdn.com/astebner/pages/8904493.aspx[^] This should cleanup all of dotnet including all reg settings

    My second computer is your linux box.

    The Lounge csharp help wpf question winforms

  • Any Solution ???????????????????
    W woudwijk

    Ow god no!!!!!! you now have 2 options : Do a format or deinstall, that will compleetly drain all resources. Or Wait with the risk of spanning child processes, that will also drain all resources. the latter will even cripple the system more. eighter way, you'r f*ckt

    My second computer is your linux box.

    The Lounge help question

  • Just watched Harry Potter 3 and 4...
    W woudwijk

    Yah, but the movie is not a representation of the book, it is just another telling of the same story. when you tell two people to write something down, they write down what you tell them to, but it still wil be diffrent than what you told them.

    My second computer is your linux box.

    The Lounge visual-studio

  • How to read Textfile FAST into memory and then read LINE
    W woudwijk

    you could use FileStream to copy the file into a MemoryStream, and later use StreamReader from MemoryStream to parse it. FileStream fs = new FileStream("text.txt", FileMode.Open, FileAccess.Read); MemoryStream ms = new MemoryStream(); byte[] buf = new byte[4096]; int bytes = 0; while((bytes = fs.Read(buf, 0, 4096)) > 0) { ms.Write(buf, 0, bytes); } fs.close(); StreamReader sr = new StreamReader(ms); string x = sr.ReadLine();

    My second computer is your linux box.

    C# question data-structures performance tutorial

  • switch statement
    W woudwijk

    switch (DayOfWeek) { case DayOfWeek.Monday: case DayOfWeek.Tuesday: case DayOfWeek.Wednesday: case DayOfWeek.Thursday: case DayOfWeek.Friday: work = true; break; case DayOfWeek.Saturday: case DayOfWeek.Sunday: party = true; break; } well, it works for me... think you may be doing something wrong

    My second computer is your linux box.

    C# csharp question

  • Task Manager's Performance tab
    W woudwijk

    I think you are beter of if you try to read the performance monitor, and build your own graph. there are plenty of examples here that show you how to do that.

    My second computer is your linux box.

    C# data-structures performance question

  • Visual Basic says: Hello Linux!
    W woudwijk

    So viruses do run on linux !!

    My second computer is your linux box.

    The Lounge html com linux

  • New look for CodeProject [modified]
    W woudwijk

    Well, i'm still seeing the ugly vb.net in the top menu :~ is there a option to make it go away ?:-D My second computer is your linux box.

    The Lounge csharp c++ html css com

  • New look for CodeProject [modified]
    W woudwijk

    I think i like the new look, but i seem to be stuk in the menu. i was at c/c++ and then went to c#, but in the sections menu only the top two seems to be c#, the rest is stil c++. after clicking c++ in the top menu, the sections menu still shows the wrong items. e.g. the top two c#. after clicking asp.net, the sections menu on the left : top two c#, rest C++ whats the point o a sections menu, if the sections dont change ? My second computer is your linux box.

    The Lounge csharp c++ html css com

  • One large project VS Many small projects
    W woudwijk

    Who gave you my access to my customdrawn listbox with unicorns? i thought i kept that source for myself My second computer is your linux box.

    The Lounge visual-studio question

  • Problems with MSDE & Networking
    W woudwijk

    what connection string are you using ? My second computer is your linux box.

    Database sysadmin help database sql-server

  • SQL Performance problem need help
    W woudwijk

    something like this ??? update a set a.a3 = (SELECT top 1 b.b3 FROM b INNER JOIN a ON a.a1 = b.b1) My second computer is your linux box.

    Database help database sysadmin performance announcement

  • Index seek and Index scan
    W woudwijk

    On what column do you get an indexscan ? did you make indexes ? on what columns ? did you make a covering index ? by adding the requested data and the filtering data in one index, sql does not have to go to the table itself, just the index is enough how many rows of data are there in this table ? SQL server ignores indexes when there are few rows of data My second computer is your linux box.

    Database database tutorial

  • Problem with Stored Procedure's Return value
    W woudwijk

    looks to me you got two thing mixed up. you should eighter change youre sql code to ======================= CREATE PROCEDURE spCheckLogin @LoginID char(20), @Pwd char(8), @Response int OUTPUT AS IF EXISTS (SELECT * FROM tEmployees WHERE LoginID=@LoginID AND Pwd=@Pwd) SET @Response=1 ELSE SET @Response=0 GO ======================== OR you should use something like this in youre code: ======================== string temp=""; //create the sql string sql = "spCheckLogin"; //create command cmdLogin = new SqlCommand(sql,gvDatabase.scInventoryControl); cmdLogin.CommandType=CommandType.StoredProcedure; cmdLogin.Parameters.Add("@LoginID", SqlDbType.Char,20); cmdLogin.Parameters["@LoginID"].Value=log; cmdLogin.Parameters.Add("@Pwd", SqlDbType.Char,8); cmdLogin.Parameters["@Pwd"].Value=p; cmdLogin.Parameters.Add("@Response",SqlDbType.Int,4); cmdLogin.Parameters["@Response"].Direction=ParameterDirection.Output; Console.WriteLine("Data Access started"); try { //open the connection gvDatabase.scInventoryControl.Open(); //use the connection temp=(string)cmdLogin.ExecuteScaler(); Console.WriteLine(temp); } catch(Exception ex) { Console.WriteLine(ex.ToString() ); } finally { //clean up code gvDatabase.scInventoryControl.Close(); Console.WriteLine("Data Access Closed"); } cmdLogin.Dispose(); ======================== i hope this helps. (p.s. i did not test above code) cookies are for eating, not for websites.

    C# database csharp help question
  • Login

  • Don't have an account? Register

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