Skip to content

System Admin

General discussions on System Administration and support. Are you your company's IT expert?

This category can be followed from the open social web via the handle system-admin@forum.codeproject.com

3.7k Topics 12.3k Posts
  • 0 Votes
    3 Posts
    2 Views
    J
    I was... but I fixed that. Now I dereference a pointer to a font that always exists (so I can adjust the CFont at runtime), and it still breaks ;( This has me most perplexed.
  • Windows CE and System font

    graphics windows-admin question
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Open/Save Menus in XP

    com tutorial question
    4
    0 Votes
    4 Posts
    2 Views
    M
    Thats what I was looking for. Thanks! -:suss:Matt Newman:suss: -Sonork ID: 100.11179:BestSnowman †
  • System menu block

    tutorial
    3
    0 Votes
    3 Posts
    2 Views
    L
    Finally, I found it !! This code detect and cancel user input: Control+Esc void CMainFrame::OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized) { CFrameWnd::OnActivate(nState, pWndOther, bMinimized); if(nState==1) return; BOOL bCtrlDown = (!(GetKeyState(VK_CONTROL)==0)); if(bCtrlDown) { // Wait for init Sleep(300); // Send cancel keybd_event( VK_ESCAPE,0,0,0 ); keybd_event( VK_ESCAPE,0,KEYEVENTF_KEYUP,0); // Send task change keybd_event( VK_MENU,0,0,0 ); keybd_event( VK_ESCAPE,0,0,0 ); keybd_event( VK_ESCAPE,0,KEYEVENTF_KEYUP,0); keybd_event( VK_MENU,0,KEYEVENTF_KEYUP,0); } } Emi
  • Win2K Server DNS Service

    com sysadmin question workspace
    6
    0 Votes
    6 Posts
    2 Views
    A
    Install the server with standard options. Then go to the network config, and set the dns server ip address to the ip of the local machine. - Anders Money talks, but all mine ever says is "Goodbye!"
  • getting started

    com sysadmin tools
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Interactive batch in Windows NT

    c++ sysadmin windows-admin linux tutorial
    3
    0 Votes
    3 Posts
    2 Views
    D
    Thanks Garth, but either you've misunderstood the question or I've misunderstood the answer. Basically all I want is a way of putting user interaction into a batch file, such that the user is prompted to enter values which can then be used by subsequent operations in the batch file (ie. passed to other programs as parameters, used in IF constructs, etc.). There is(are) no Windows/windows involved here at all (except for the DOS box that the user runs the batch file in). Thanks for trying anyway. Dave Dave
  • Solaris lp to Lexmark Optra with inbuilt lpd

    sysadmin data-structures question
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Win 2000 SMTP

    com sysadmin windows-admin tutorial question
    10
    0 Votes
    10 Posts
    3 Views
    N
    Jon Sagara wrote: Weird. I've never had a problem with it. Did it just start happening, or has it always done that? I just discovered my size limit per mail was 2 MB and per session was 10MB. But I distinctly remember mailing 5+ MB mp3 files across our local intranet!!! Nish My most recent CP article :- A newbie's elementary guide to spawning processes www.busterboy.org
  • File properities on Win2k

    question
    10
    0 Votes
    10 Posts
    5 Views
    T
    Any of the standard API (i.e. CreateFile) "mytextfile.txt:stream_name_1" is the name of "stream_name_1" in the file "mytextfile.txt". MSDN Info Tim Smith I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
  • Logging into WinNT over network

    sysadmin
    2
    0 Votes
    2 Posts
    2 Views
    C
    You'll just need to download the free VNC server from http://www.uk.research.att.com/vnc/winvnc.html and configure it to run as service. It offers some basic functionality regarding login at a WinNT computer.
  • Drivers - SOS!

    help
    2
    0 Votes
    2 Posts
    2 Views
    C
    ONLY in the Factory Site....!!!!!:cool: Regards.... Carlos Antollini. Sonork ID 100.10529 cantollini
  • Red Hat Linux 6.2 With AMD

    sysadmin linux help question
    3
    0 Votes
    3 Posts
    2 Views
    G
    Cool, thanks i'm just downloading the ISO's now... Gavin Taylor w: http://www.gavintaylor.co.uk
  • Window position?

    tutorial question
    3
    0 Votes
    3 Posts
    2 Views
    G
    Have u tried : BOOL GetWindowRect( HWND hWnd, // handle to window LPRECT lpRect // window coordinates ); Gavin Taylor w: http://www.gavintaylor.co.uk
  • Logon scripts.

    question csharp c++ sysadmin tools
    3
    0 Votes
    3 Posts
    2 Views
    G
    A logon script is basically a batch file, VBScript file ( i think u can use them or an executable. Just remember that Win9x clients can't run batch files with a .cmd extension. The best way of doing it is ethier attach the script to each user individually using the Active Directory User Manager or using the group policy editor and move the users into the appropriate users into that group. Once done you can attach logon / logoff scripts to the whole group. I seem to remember that the Win2k server help had a little information on doing it - thats how I worked it out anyways. Gavin Taylor w: http://www.gavintaylor.co.uk
  • CD Probs

    help com question
    4
    0 Votes
    4 Posts
    2 Views
    M
    The bios recognizes it is connected and the driver thing doesn't work but I going to check some jumper settings. -:suss:Matt Newman:suss: -Sonork ID: 100.11179:BestSnowman Frankly AOL should stick to what it does best: Fooling millions of americans into believing that it, AOL, is the web. -Paul Watson
  • Transmiting first 5 bits of a character through RS232

    help tutorial
    2
    0 Votes
    2 Posts
    3 Views
    N
    Make out the first 3 bits with 0xE0 before transmitting the byes? Normski. - Professional Windows Programmer
  • Socket Programming

    sysadmin question
    3
    0 Votes
    3 Posts
    3 Views
    C
    Thanks a lot. I will do it with your first approach. The whole thing is based on the need to make an app work in a Terminal Services environmnent. It's something strange, I got a telnet session on a foreign OS. From there I launch a command like RunWord. The process of this command retrieves through native API's the IP adress and client port number of the telnet session . These parameters are sent to a service on the Terminal Server, that now has to decide on what Session to open Word. So one approach is to search for the PID of the open port, to get from this PID the SessionID and to launch Word in this Session. All I need is a roadmap and then I might be able to find a clue.
  • 0 Votes
    2 Posts
    2 Views
    T
    How 'bout a service running with the proper privilege that does the work - the user app could communicate with it through a socket, perhaps, with requests to start and stop.
  • BIOS-Windows Memory Differences

    performance question
    5
    0 Votes
    5 Posts
    3 Views
    N
    Its cause of the difference in taking 1 MB as 1024 KB and as 1000 KB. I think so anyway. Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org