Hi,I'm starting to go crazy with porting some code from NT4 to 2k.What I need to do in a nutshell is get the printer status i.e. Online, Offline etc. At present this status is polled. This was achieved in NT4 with a call to DeviceIoControl() using IOCTL_PAR_QUERY_INFORMATION. Unfortunately the...
I'm deploying an ActiveX component that needs administrative access. Isthere any way for ASP to "log in" as an account and give that ActiveXcomponent admin access?It's not acceptable for the user to have to log in (so the ASP page will beloaded under IWAM_CompName), and setting up the com...
192 byte By
nkarthik at 2007-11-17 14:29:47
I would like to "Set the Check box for Client for Microsoft networks" using an API call or in the Registry. This is in Dial up networking in Win 2000.<br/>Can I know how??<br/>thanks
318 byte By
preetham at 2007-11-17 14:29:48
Hi all, I would like to know if there is any documentation of the IOCTL's that some of the windows operating system components implement and which ones can be used by us if we choose to write a kernal driver.Also sm sample code would help.Would appriciate the help greatlyThanks,Preetham....
1465 byte By
xxnazxx at 2007-11-17 14:29:49
I am trying to debug a DLL I wrote that is used by the MMC snap-in called Active Directory Users and Computers. I am able to launch the executable from within the MSVC++ debug environment, but run into the following:1. I cannot set up any breakpoints. They are removed right before the program starts...
718 byte By
xxnazxx at 2007-11-17 14:29:50
I have been trying to add a custom property page to support my custom attributes created in the Active Directory schema. This is done by creating a COM object and implementing two interfaces (IShellExtInit and IShellPropSheetExt). The Microsoft SDK provides a sample project that does exactly this fo...
Which C/C++ API calls are needed to connect to a Remote Network (Windows 2000 professional) after you have established a connection to the remote computer using the C/ C++ API function RasDial.
Hi, I am trying to authenticate users and passwords our test Domain is MHCB.COM.AUMy test user login is "markadmin" Password of "password"Organisational Unit of "testibj"Full Name is "mark b"I receive the following after using the following code of Automation errorLogon failure: unknown user nam...
In order to map 8Gbyte of physical memory via 128Mbyte window using the AWE (see MSDN "Inside Win2K Scalability Enhancements"), what are the system requirements (in terms of: CPU, Chipset, motherboard, minimum RAM, OS(windows version) exc..) to do it ?
344 byte By
mganesan at 2007-11-17 14:29:54
I have 2 W2K Advanced server machines . I need to put them in a cluster. But they do not have any SCSI devive and there is no need to share any data between the application. My application is a web server with some static pages and i need cluster for reliability. But i could not install the clust...
HiI would like to know if somebody has already seen the COM error bellow, working with MSXML 2 -IXMLHttpRequestPtr (a smart pointer for http requestes):Error Code -2147483638(0x8000000A) The data necessary to complete this operation is not yet available.I have not been able to figure out why it is o...
I am trying to program in excel. I need to be able to do a few different things. Anyone know where I can find some helpful info about this?<br/> http://dewtech.20m.com/<br/>Free software made in VC++/VB
I am trying to run the very simple line:net use z: \\ffp05\pep /PERSISTENT:YESin a .bat file. However It gives me the following error when run on a windows 95/98 machine. C:\My Documents>net use z: \\ffp05\pep /PERSISTENT:YESThe option "PERSISTENT:YES" is unknown. Make sure you are specifying a v...
I have to use netmeeting sdk to send a file to another computer which has netmeeting installed.<br/>All I have to do is able to send the file to a machine whose ip address is entered and nothing else,and maybe able to recieve files too.<br/>have fun<br/>pauli
189 byte By
sonnt07 at 2007-11-17 14:29:59
I heard that we can use WMI to get the ID of motherboard programatically. Does any one know how to do that? And can we do it with Win98 or Win2000 only?<br/>Thanks in advance for your help.
589 byte By
Stefaan at 2007-11-17 14:30:00
Hello, after installing/configuring simple component which uses MTS transactions (created by ATL Wizard in VC++ 6.0) in COM+ Catalog Manager(Component services in Win2000), accessing to MS Access database using ADO from component code failed (at calling Open method on pointer to _Recordset and it re...
202 byte By
naka7a at 2007-11-17 14:30:01
Hi all!<br/>Does anyone know the path in the registry where a PCI Network Card stores it's information? I'm looking specifically for data pertianing to the deviceID and the vendorID. TIA
122 byte By
rrkailat at 2007-11-17 14:30:02
Like UNIX is there any way in WINDOWS 2000 / NT that you can run SNMP commands from command line? Thanks for your replies.
247 byte By
maxc at 2007-11-17 14:30:03
Hi all,<br/>Does anybody know what APIs can be used to map an open tcp/udp port to the process that is bound to it. I need this information for NT/W2K. For XP, I have the solution. Please let me know if you have any code/hints.<br/>Thanks,<br/>Max
421 byte By
VolCamp at 2007-11-17 14:30:04
I'm new to using COM+ and I'm developing a publisher/subscriber application set as a prototype. I found a sample class wrapper source that will register the transient subscriptions for me. When I build this C++ wrapper, I get a file error when trying to include comadmin.h. Does anyone...
1708 byte By
mcoop at 2007-11-17 14:30:05
I have a service developed in VB6 - using the NTService.ocx from Microsoft.When the program is run as a desktop application - no problems (other than those of my own doing!)When the program is installed as a service and run 'manually' - no problems (ditto).However, if run as an 'autom...
465 byte By
nagi at 2007-11-17 14:30:06
Does anyone know if there is a way to do a cold reboot from a program (VC++ 6) in Windows 2000? I can't use the Windows API function, ExitWindowsEx(), as there is a process running on the PC that causes a blue-screen if it is killed. Since this process can hang sometimes I needed to do a forc...
351 byte By
BadGhost at 2007-11-17 14:30:07
Hi, anyone has developed an IAS extension, for authentification in a custom user database? I am tryng to do this ting but, i have a problem deciding if the user should or should not be allowed to login into network. The problem is that regardless of the decision i make(setting the pfAcction to Rejec...
How do I start/stop the Windows 2K serial driver from a Win32 program? Here's why I want to do this. I have a program that runs in a real time extension to Windows NT/2K and which accesses a serial port e.g. COM1. However, it cannot share the serial port with windows. Hence I must disable the W...
51 byte By
steing at 2007-11-17 14:30:09
How do I convert a LSA_UNICODE_STRING to a CString?
657 byte By
madeline at 2007-11-17 14:30:10
Hello,I have a problem with a web application I wrote that interfaces to an Access DB (via ASP/ADO). The application used to work just fine on my old Windows 2000 computer (with Access 2000), but since I have copied it onto my new computer running Windows XP Professional (with Access 2002), I cannot...
544 byte By
VolCamp at 2007-11-17 14:30:11
I've got a FireEvents app and an EventSubscriber app, along with an EventClass. I want to run the FireEvents app on a machine and have the EventSubscriber app run on 2 other remote machines. Right now, if I export the event "app proxy" file to the "FireEvents" machine from one of the other "E...
387 byte By
Li Zeng at 2007-11-17 14:30:12
Hi,AllI'd like to develop a SAN service provider on Windows 2000 advanced server (sp2). Windows Sockets Switch uses its session protocol to transfer data over a SAN connection. But the Windows 2000 DDK document does not introduce the Windows Sockets Switch's seesion protocol. How can I get...
HiDoes anyone know how to configureAn IAS server (Microsoft radius) to Authenticate wireless users with CiscoAccess-point, and eap encryption?can you tell me about web sites (ather then microsoft ) that can help me with it ?????thankslimor:confused:...
226 byte By
slonline at 2007-11-17 15:15:57
I want to do interprocess communication between processes in windows 98. <br/>I do not want to use WM_COPYDATA, or mapped files. Is there anything analogous to message queues as in unix/linux on windows 98?<br/>Pls help<br/>sl
223 byte By
slonline at 2007-11-17 15:17:25
Cud u guide me of how we may use IPC in windows 98 - except WM_COPYDATA, and memory -mapping, is there something like msg queues in windows 98?<br/>The IPC is to be used in a protocol stack....<br/>Pls reply soon....<br/>sl
561 byte By
iahmad at 2007-11-17 15:27:27
Hi,I am developing a virtual device driver (VxD), in Windows 98.I need to know how we use DeviceIOControl to call a function , that is lying in the VxD.It gives me (win32 Error codes)error no. 1: Invalid Function. (when I place the function name as the second parameter, and the function code in a he...
669 byte By
towiz at 2007-11-17 15:29:12
Hi All!I'm developing the middleware COM+ application. It is activated within the ASP script. I've run it on Win2K without any problem but under WinXP I met an annoying problem. After a few minutes of being idle my application stops responding thus I have to open task manager and shutdown...
163 byte By
preetham at 2007-11-17 15:36:23
Hi:<br/> I would like to know if windows provides any api to create user sessions and run multiple user sessions on a windows 2000 server.<br/>Thanks,<br/>Preetham
163 byte By
preetham at 2007-11-17 15:36:24
Hi:<br/> I would like to know if windows provides any api to create user sessions and run multiple user sessions on a windows 2000 server.<br/>Thanks,<br/>Preetham
1309 byte By
Joe Hayes at 2007-11-17 16:01:35
In Windows operating systems (I'm using 2000), what is the distinction between the LPVOID returned by ::GlobalLock(HGLOBAL ) and the HGLOBAL passed as an argument to ::GlobalLock()?When I go to unlock or free the memory, is it OK to pass the LPVOID returned by ::GlobalLock() to ::GlobalUnlock()...
727 byte By
SergMour at 2007-11-17 16:11:10
Hi everyone, We are looking into developing an application that manages different kinds of devices connected over TCP/IP network. We also write firmware for these devices and load it from the central computer. The problem is that we need to assign IP addresses to these devices. The boards of the d...
656 byte By
Bnt at 2007-11-17 16:42:32
I am using the CAPICOM object to encrypt passwords in a database. When users log on to the web site their passwords are encrypted and compared to the encryption in the database. I have found though that the encrypted password differs from computer to computer, on one computer the encrypted password...
1302 byte By
arisp at 2007-11-17 16:54:14
Hi all... I am quite new to Windows development, as well as the .net framework in general. I would kindly like to ask you a few questions, looking more for pointers as an answer rather than an answer as such... ;-)I have this task at hand which is the following. I am trying to create a mechanism (se...
Hello Everyone,I don't know how to convert jpg to the wmf?I have download one software named magic convert,it can save jpg as wmf.But it is an exe file.So I want to change the exe to dll at first so thatI can use the dll's functions in my vc project.Can you tell me how to realize this? Tha...
1037 byte By
chammond at 2007-11-17 18:45:38
I experimented with threading in COM+ Applications to find a limit in the number of threads that can be created in a COM+ Library Application. I wanted to find out what the effect of blocking calls is. My VB6 COM+ component (Server Application) has a method that simply sleeps (Win32 API) for 20 seco...
2903 byte By
mansur78 at 2007-11-17 18:56:02
I have to take a design time decision. We are developing an enterprise application based on COM/COM+ that already makes use of SQL Server. Our application supports some standard documents that are XML-based and are stored in the form of files. Our application requires frequent read/write operations...
2213 byte By
bmcnicoll at 2007-11-17 19:09:34
Hello,I wasn't entirely sure where the best place to post this would be but here goes anyway:I am currently producing silent Installation Cd's for Windows NT4.0 which use script files to automatically configure the installation of the OS without prompting the user for information.The troub...
971 byte By
kenobi at 2007-11-17 19:15:58
Hi !I just started developing in Visual C++ and first thing I do is developing a service :) My Problem is I do have the logitech internet keyboard(old) and logitech didn't develop drivers for win2k. So I am doing it myself.Everything worked fine, getting the special keys and stuff...now my Prob...
854 byte By
ktalinki at 2007-11-17 19:55:56
Hi, I am doing the following from a DCOM server program on Windows NT 4.0 server. Changing the password for a user using NetUserSetInfo(). After setting the password cross verifying the change with LogOnUser() function with new password, which is successful. Immediately shutting down the mac...
Hello,I'm developing a program in C that involves automatically pasting images into MSWord. Some images are rather large and Word takes a while to finish pasting them. Is there a way to suspend execution of my program until Word is finished pasting? I tried using WaitForInputIdle but that di...
Hi all!<br/>Can somebody show me the way, how to get a pointer or physical adress to the process only by it's handle...<br/>I'm talking about Win2000;<br/>Thank's a lot!
Hi,We have package our product using Installshield (5.5). the product is component based. When we installed on some machines which had Windows 2000 professional machines, it crashed. But the package installed on some other machines with windows 2000 professinal is working fine. What might be the...
362 byte By
andlag at 2007-11-17 20:47:41
This was the nearest thing i could find and should have something to do with Windows programming.I have been heard that Acrobat distiller uses GDI to convert printer output to PDF. What i would like to do is to do similar and convert it to a document format. Can you point out any resources about thi...
I want to write a program which will add IP addresses to my network adapter. I am using the windows api AddIpAddress. I am unalbe to compile my program though I have iphlpapi.h and iphlapi.lib files. Can anyone help me out please!!