Search results

  1. S

    whoami

    Well I have never tried to do anything outside of using windows forms to completed remedial tasks and such...I want to learn more outside of the scope of just using windows forms, I'd love to maniuplate the desktop with my own custom wallpaper with relevant text on it (Yeah, I know whoami does...
  2. S

    whoami

    Anyone know how whoami creates the wallpaper and adds the text in the wallpaper? I am curious to know...I have tried to replicate it with VB.net but cannot...
  3. S

    Idle time

    I use both VS 2003 and VS 2005, only problem is the client I am programming for only has .Net 1.1 so I am stuck with 2003 :) It isn't for a splash item, just to snag idle time on a workstation and then log it off if the time goes over x amount of seconds. Really simple :)
  4. S

    Idle time

    Bob beat me to the reply :)
  5. S

    Idle time

    I actually got rid of the while loop and leanred how to use the timer in VS 2003 (never used it before)
  6. S

    Idle time

    I have the following code after my form loads to get idle time and show a message box after 30 seconds. It works but it eats up cpu time, how can i make this more efficient?? I am using GetLastInputInfo to get the idle time. Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As...
  7. S

    mySQL database

    Still stuck :(
  8. S

    System Tray

    I am working on a small application (hobbyist at programming) that will load in the system tray using an icon that I have created, when the mouse is over it it will display the system idle time. Two issues for me, I cannot make the form load as an icon to the system tray, and I am having a hard...
  9. S

    mySQL database

    I am still new to the whole webpage / database deal, I read up a little, I have a vb file that connects to the database using the mySQL Connector/Net that doesnt give any error I am now working on figuring out how to list all the records in the database, have a delete / edit button and an Add...
  10. S

    mySQL database

    I am working on a webpage using VS2005 (learning 2005) and I would like for it to connect to a mySQL database and pull all the records from it into a table but I am not having much luck with the connection to the mySQL database, can you help?
  11. S

    Get Computer Name

    I am actually trying environ("computername") to see how well that works out for me :)
  12. S

    Get Computer Name

    What would be the easist and quickest way to get the computer name of the system running the application, right now I am using what is below Public Shared Function GetComputerName() As String Dim ComputerName As String ComputerName = System.Net.Dns.GetHostName Return ComputerName End Function...
  13. S

    Populate Forms

    you rock sir...i chain smoked for about 45 mins while trying to figure this out haha Thanks again...(VB being a hobby, I sure do get into it when I start a project)
  14. S

    Populate Forms

    sender.text just sends the text on the button, it doesnt give me the device name (server name in this case)... The Subroutine i am using needs the name of the computer / server but when I use sender.text it sends the name of the button which is Drive Information...
  15. S

    Populate Forms

    interesting issue (banging my head against the wall) First the code I am using to populate my form Public Sub Populate() 'read the file into array Dim sr As New IO.StreamReader(Application.StartupPath & "\devices.ini") Dim ary As New ArrayList Do While sr.Peek <> -1 ary.Add(sr.ReadLine())...
  16. S

    getting information without wmi

    ah sweet, dont think i was using the correct search terms...really just need this information in case I cannot use WMI~
  17. S

    getting information without wmi

    Is there a way to get logical disk information without using WMI?? I am not sure if any of you have run into this before but I cannot use WMI to get information about the computer :(
  18. S

    WMI getting disk information problem

    uh nevermind I am being silly again, just realized that it was showing just the last drive's information cause I didn't use the appendtext method :) all figured out for now...thanks for anyone who took a look though!
  19. S

    WMI getting disk information problem

    Function GetDriveSpace(ByVal computername As String) Dim objLD As Management.ManagementQuery objLD = New Management.ObjectQuery("SELECT * FROM Win32_LogicalDisk") Dim objWMIService As Management.ManagementScope objWMIService = New Management.ManagementScope("\\" & computername & "\root\cimv2")...
  20. S

    system.management namespace missing?

    Yeah, I am just slightly retarded lol :) I found it, dunno what I was looking at...
Top Bottom