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
A

autekre

@autekre
About
Posts
12
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • prevent MessageBox from continuously reappearing
    A autekre

    Couldnt you just use a bool value to indicate whether or not its shown (might have to create it as an object for this) and use an if statement to act accordingly ?

    C# question sysadmin

  • EnterDebugMode/Keeping Sorting Constant
    A autekre

    1. I'm writing a process manager and by the sounds EnterDebugMode is what I want to set, but how do I go about setting MY program to it as the method doesnt seem to be available to Process objects, is it really just as simple as Process.EnterDebugMode()/Process.LeaveDebugMode() without any associated object ? 2. I've got an 'oncolumnclick' sorting method that works fine but when I refresh my listview the sorting disappears, presumably theres an easy way to keep it (my refresh method involves clearing the whole thing and repopulating it) is there a way of figuring out which column was the last to be clicked and then sending a message to programatically 'reclick' it on refresh ? TIA.

    C# question algorithms

  • Get info from a listview and pass to a method ?
    A autekre

    Ah that works brilliantly, cheers man :-D

    C# question

  • what @ mean in sql statement?
    A autekre

    Its not the sql statement with the @ in, the @ signifies that its a verbatim literal string iirc.

    C# question database

  • Get info from a listview and pass to a method ?
    A autekre

    I've managed to get the name out of the first column using lstProcesses.SelectedItems[0].Text, just have to figure out how to get it out of the third column :doh:

    C# question

  • Get info from a listview and pass to a method ?
    A autekre

    Gah, I meant listview rather than box, sorry. Though I tried something like that initially, but it just kept returning "System.Windows.Form.ListView + SelectedListViewItemCollection" and nothing much to do with whats actually in the table.

    C# question

  • Get info from a listview and pass to a method ?
    A autekre

    Hi, I'm writing a process manager as my first real 'project,' I've got all the info into a listview (including the pid) and a kill method that works if you manually enter the pid but how would I go about extracting the pid and passing it to the method based on which row has been clicked ? TIA. -- modified at 3:59 Sunday 26th February, 2006

    C# question

  • WMI Exceptions/Updating List View
    A autekre

    I've only just started with c# so these are probably stupid questions. 1. Why is it displaying certain information (for example CommandLine from Win32_Process) throws up a NullReferenceException, yet other information from the same collection works fine and how would I go about avoiding this (ie; actually getting the information rather than just handling the exception,) I'm displaying the information in a list view fwiw, using foreach (ManagementObject MO in processQueryCollection) { ListViewItem processItem = new ListViewItem(MO["Whatever"].ToString()); processItem.SubItems.Add(MO["Whatever"].ToString() + " Bytes"); ...... lstProcesses.Items.AddRange(new ListViewItem[] {processItem}) } You get the idea. 2. What would be the best way to update the list view on a timer event ? I've got the timer working but obviously if I call the method that contains the above code it replicates the data, adding new columns and rows rather than updating the existing data and if I call a clear method it ends up looking very strange. TIA.

    C# csharp tutorial question announcement

  • Basic iphlpapi questions
    A autekre

    Im new,ish, to MFC and was hoping one of you knowledgable folks be kindenough to show me how to convert the t_time values of leaseobtained/expires, so i can display them in a static control. And does anyone know the whereabouts of a practical example of IpRenew/releaseAddress, i cant seem to get it to work proberly :/ Thanks in advance :)

    C / C++ / MFC tutorial c++

  • Detecting first run ?
    A autekre

    Is there a simple way to detect if its the first time an app is being run ? i want to display a license agreement without an installer program, my app is dialog based, if it matters. Cheers :)

    C / C++ / MFC question

  • Hyperlinks in dialog apps ?
    A autekre

    Hi, Could any of you knowledgable types tell me how to turn a static text control into a hyperlink ? my current system of buttons is somewhat crude. Any help appreciated :)

    C / C++ / MFC help tutorial question

  • Auto sorting list control
    A autekre

    Im relatively new to MFC and Im trying to implement an automagically sorting list control (you know the one, click on the column header, and it sorts itself, etc), im fairly sure ive got it all figured, but i get the error; 'GetListCtrl' : undeclared identifier I always thought, as does msdn that GetListCtrl is a function of afxcview.h, yet despite me including this file, i still get the message, is there a lib i need to link or something ?

    C / C++ / MFC c++ algorithms 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