|
These articles maybe help you
Mazy
Don't Marry a Person You Can Live With...
Marry Someone You Can Not Live Without
|
|
|
|
|
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.
|
|
|
|
|
If all clients in a LAN are assigned an IP address from a DHCP server,how can I enumerate ip address of all clients connecting to the server?
I can not use broadcasting.
Thx ahead for any information.
|
|
|
|
|
|
Thx a lot.
|
|
|
|
|
I am having an intermittent problem with an application that 'hangs' and thought that the PWALK Platform SDK tool would help me debug things.
However although I got the project to compile it doesn't seem to work. I am running on NT 4 and there is an MSDN article that suggests this only works in 16 bit land. Has anyone got this to work on NT, or has used an equivalent tool?
Ta
Jim
|
|
|
|
|
I know from all the standard written works of art that the Windows API knows about such things as WM_LBUTTONDOWN and WM_RBUTTONUP, but there are three-button desk rodents out there. Does the API define WM_MBUTTONDIDDLE or some such equivalent?
|
|
|
|
|
There's WM_MBUTTONxxx for the middle button (#3), and WM_XBUTTONxxx for all buttons after the third. The WM_XBUTTONxxx messages send an id to indicate which button was pressed.
--Mike--
"Everyone has figured out what 'service pack' really means, so they had to go and change the language. Perhaps this is what Bill was talking about in the 'security is top priority' letter."
-- Daniel Ferguson, 1/31/2002
My really out-of-date homepage
Sonork - 100.10414 AcidHelm
Big fan of Alyson Hannigan.
|
|
|
|
|
|
Is there any way for an application which runs as a console app (i.e. command line application) to detect that the DOS BOX he runs in, is closing?
i.e. click on the little x?
-p
|
|
|
|
|
There is a way, I know that icecast shuts down properly when the x is clicked. check out the icecast source at www.icecast.org
Stephen Caldwell
Blackfission, CEO
http://blackfission.myip.org:81
|
|
|
|
|
Well, you see, I've been using my good ol' comp since the days of Win95. Unfortunately, now with WinME, my system folder is still called Win95. I was thinking of simply renaming the folder to WINDOWS, but realized how risky that might be. Anyone have any tips for me to change the folder name AND avoid shortcut problems etc.?
Everyone welcome the NewbiE!!!!
First Programmer: "How many bits are in a bite?"
Second Programmer: "You spelled bytes wrong."
First Programmer: *stares* "It's a joke, moron."
Second Programmer: "Joke...?"
|
|
|
|
|
you could try changing the %SystemRoot% variable at startup. This way windows programs would not be missing much i think. .lnk shortcuts will have to be updated though.
.NET or not .NET? MFC is the question......
|
|
|
|
|
when are we gonna see some new MS WinXP visual themes. Currently there is only Luna and windows Default. MS have all the resources to make 'skins' for XP but so far none are released. The defauult themes are located in C:\Windows\resources\themes.
.NET or not .NET? MFC is the question......
|
|
|
|
|
Buy MS Plus for XP and you can get some. Kind of a ripoff for what you get though.
- Matt Newman
-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
|
|
|
|
|
There's a program in beta called StyleBuilder XP, its shareware $20, it does XP themes.
TGT Soft they also make StyleXP for preview/applying XP Themes. I prefer its interface over the XP interface simply because i can switch color styles on the same page
James
Sonork ID: 100.11138 - Hasaki
"Not be to confused with 'The VD Project'. Which would be a very bad pr0n flick. " - Michael P Butler Jan. 18, 2002
|
|
|
|
|
GASP !
for some reasons I forgot to remove the Write enable option from my Win2K ftp site and .... bhooomm ! Some weird people thought to put some files on my ftp server. Now, the problem is they created the files in an empty name folder
(actually is a folder containing only one blank space in its name).
Now what ? I cannot remove the folder !
Does anyone have any clues to give me how to remove this folder ?
thanks
PS : i'm using Win2K SP2 with NTFS
|
|
|
|
|
The most likely cause was that the directory was renamed with the ascii alt-code for space which is (ALT+255). If you ftp in you should be able to type in rmdir ALT+255 to delete the directory.
Hope this helps ..
Travis D. Mathison ---
--- After three days without programming, life becomes meaningless ...
|
|
|
|
|
Hi guys,
I'm doing a ::PostMessage() to a window via a worker thread. The documentation for ::PostMessage() says that if the post succeeds, then the return value is nonzero. However, sometimes I get a zero result, and then I check the GetLastError() and this returns 0 as well (I'm assuming this means "no error", as the docs say nothing about this). I know the window handle I'm posting to is valid. What is going on?
Thanx
swinefeaster
Check out Aephid Photokeeper, the powerful digital
photo album solution at www.aephid.com.
|
|
|
|
|
I have been trying to find a way to map a view of a file in to a pre-selected base address using the MapViewOfFileEx() function.
This works perfectly fine on NT if the base address is 0x60000000, but the same address does not work on Win95 due to the differences in the virtual memory handling.
Does anybody out there know an address which can be used for Win95?, or even better: on both platforms.
I am not trying to map more than about 50MB, but it is crucial that i can get the same base pointer every time i load the file.
Jan
"It could have been worse, it could have been ME!"
|
|
|
|
|
jan larsen wrote:
Does anybody out there know an address which can be used for Win95?, or even better: on both platforms
Sorry, the allowable ranges don't overlap. Advanced Windows says 0x80000000 to 0xBFFFFFFF for 9x, 0x00010000 to 0x7FFEFFFF for NT.
--Mike--
"COM didn't solve the old version of DLL hell - it just provided us with a new and improved version of hell."
-- John Simmons, 1/22/2002
My really out-of-date homepage
Sonork - 100.10414 AcidHelm
Big fan of Alyson Hannigan.
|
|
|
|
|
Where in i'll assume the registry would i find the key for printer setup properties...?
I'm really tired of printing and having to click draft radio button...Printing in Normal for small articles is such a pain...so for the properties to default to draft would be a real time saver...Is this possible and where...?
"An expert is someone who has made all the mistakes in thier field" - Niels Bohr
|
|
|
|
|
This is not a question but an answer to people who edit registry and mess up their boot up etc. For Windows 98, the one way to restore the registry is to boot the system in MS-DOS mode and do a 'scanreg /restore' at the C:> prompt. Scanreg comes up with a screen from which you can select from previous backup of the registry provided your system backs up the registry at boot up every time. May be this is not possible for Windows 2000 server
or XP, but it is worth a try if your registry is messed up. For Window 98, holding the CTRL key takes you to the MS-DOS prompt but for Windows 2000 you might need your boot disk. I have done this anumber of times for Windows 98 -and it always worked- and never for Windows 2000 or XP.
|
|
|
|
|
For Windows 2000 server, pressing the F8 key while boot up will get you to the 'safe mode command prompt' and 'scanreg /restore'.
|
|
|
|
|
Hi there,
I have installed the NT Option pack over NT 4.0 sp 5, and use the personal web server to run ISAPI extensions of my development. The problem is, once a web page accesses a certain extension (DLL) and it is loaded into memory, I can't seem to unload it (stopping the web service doesn't help). This of course prohibits changing the code and trying again, since I can't replace the DLL in my SCRIPTS folder, unless I reboot .
Any ideas?
|
|
|
|