|
Right click on any file in Windows 2000 NTFS and you get a summary tab.
In that summary tab, you can attach any number of attributes to the file including Author, Subject, Category, etc. You can do this to any file, not just compound document files. What are the Win32 APIs to programatically get and set these attributes in C/C++?
Michael S. Scherotter
Lead Software Architect
Tartus Development, Inc.
|
|
|
|
|
Have a look at MSDN Magazine (online somewhere at Microsoft.com). There was an article about it a few years ago. There's also code from product support. Keywords might be "NTFS5".
|
|
|
|
|
I've a video decoder (PCI card) with a 'Conexant fusion 878A' chipset.
It's impossible to find an appropriate driver to it for Win2k.
HHHHHEEELLLLPPPP MEEEEEEEEEEEEEEEEE!!!!!!!!!!!!!!!!!!!!
10x...
--BlackSmith--
"With the help of all mighty", 2001, Me.
|
|
|
|
|
ONLY in the Factory Site....!!!!!
Regards....
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|
|
I am using the SMTP server that comes with Windows 2000's IIS pack. But I find it pathetic at times. Sometimes when the attachments are huge, it rejects them. Sometimes I manage to send them after zipping. The file size does not matter. It might send a 5 MB attachment without hassles but will then reject a 2 MB attachment. I believe certain kinds of files actually manage to crash the thread.
What would be an alternatice SMTP choice for me?
Free ones preferred!
Nish
My most recent CP article :-
A newbie's elementary guide to spawning processes
www.busterboy.org
|
|
|
|
|
You have got all the latest service packs?
Why don't you use your ISP's SMTP server?
Have you looked at http://www.tucows.com. Do a search for SMTP server, it might have something you can use.
You could always try Exchange 2000
Michael
|
|
|
|
|
|
I had the same problem. I spent weeks playing with various other servers and decided that XMail was probobly best. You can download it at:
http://www.xmailserver.org
The server is a little fiddly to setup the basics but it doe's everything i can think off.
Hint: download the additional GUI based admin tools they make basic admin much easier.
|
|
|
|
|
|
You can turn off the size restriction, or you can just increase it.
Jon Sagara
What about ?
Sonork ID: 100.9999 jonsagara
|
|
|
|
|
Jon Sagara wrote:
You can turn off the size restriction, or you can just increase it.
It's not a size related problem.
I can send a 5 MB file with no problems.
But sometimes a 2 MB file might not go through.
If it is a size problem I'd have got some message like, "The smtp server has rejected the message or something"
Here, my error is something like the "smtp server has stopped responding" or something like that
Nish
My most recent CP article :-
A newbie's elementary guide to spawning processes
www.busterboy.org
|
|
|
|
|
Weird. I've never had a problem with it. Did it just start happening, or has it always done that?
Jon Sagara
What about ?
Sonork ID: 100.9999 jonsagara
|
|
|
|
|
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
|
|
|
|
|
|
How can I restart Win2000 computer from batch file/command line?
|
|
|
|
|
I don't remember ever seeing any direct way of it - however if you check out http://www.gavintaylor.co.uk/downloads you should find at the bottom of the page a file called 'Reboot', run this from the command line / batch file and it will reboot the workstation / server. I use it all the time for updates on live servers using the NT scheduler.
|
|
|
|
|
|
These should still work:
- rundll32.exe user32.dll,LockWorkStation
- rundll32.exe user.exe,restartwindows
- rundll32.exe user.exe,exitwindows
|
|
|
|
|
Does anyone know if it is possible to login to a winNT box from over a network. I.E the other computer is at its login screen.
Standard screen sharing programs cannot be used as I think they require a server to be running on the unlogged in machine.
Thanks
Coremn
---
|
|
|
|
|
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.
|
|
|
|
|
I finally got around to taking the skink wrap off my copy of Red Hat Linux 6.2 the other, walked through the installer OK and rebooted the machine. The OS begins to start, detects the processor correctly and tries to disable the CPU ID and promptly GPFs.
Just wandering if anybody else has encountered the same problem - if so is there a way around it...?
The machine is know to work ( Running Win2k Server and XP for months without fault ).
Motherboard : ASUS A7V running latest BIOS.
|
|
|
|
|
|
Cool, thanks i'm just downloading the ISO's now...
|
|
|
|
|
I'm trying to make an interactive batch file (.cmd) to run under Windows NT. The obvious way is to have a program that displays a prompt and sets an environment variable with the response, however
1) using _setenv (I'm in C/C++ here) only alters the environment for the current program, so the batch file that ran the program does not see them; conversely
2) altering the registry where the environment variables are kept (HKEY_CURRENT_USER\Environment etc.) has no effect until a new DOS shell is started, so the batch file that ran the program does not see them;
3) the old DOS method of getting the PSP and walking up the environment areas isn't allowed under NT (and there's never enough space in the environment area anyway);
If anyone knows how to write a program that can do this, or any other way of making a batch file intercative, I'd love to hear about it.
(PS I know that using VBS or some other scripting language is the right way to go, but I need this to run on any NT Server machine, and the CMD processor seems to be the only scripting engine that is guaranteed to be available)
Thanks
Dave
Dave
|
|
|
|
|
Dave - I dont know if you've since found a solution (or if Ive understood the problem), but here's my $AUD 0.02c worth (probably not worth much in other currencies)
I would start with :-
http://www.pgh.net/~newcomer/processes.htm
or
http://www.pgh.net/~newcomer/process.htm
or go to http://www.pgh.net/~newcomer/mvp_tips.htm and look for 'asynchronous process notification'
these solve the problem of starting (for example) a batch file and reading the console output back into a listbox etc ..
from there, the listbox could be parsed looking for certain triggers etc, to get the results.. 'Franky Braem' also has an article on Codeproject entitled 'Redirect' which could be used as a starting point.
If thats not what you want 100%, then how about creating a console window using one of the above techniques, and reading (much like screen scraping from it) directly - I have seen examples on doing this, but cant find any to hand right now ...
hth
Garth
|
|
|
|