1 2 3 4 5 6 7

Is there a way to update Windows registry in Cmd (Commad/Dos/Emulator) mode?

135 byte By Biasha at 2007-11-17 22:32:32
Hi all,<br/>Is there a way to update Window's registry in Cmd (Commad/Dos/Emulator) mode?<br/>Thank you,<br/>Biasha

Problems with WaitableTimer

359 byte By Vassili Kouzmin at 2007-11-17 23:39:26
Hi all!I have a problem with using WaitableTimersVC60 doesn't want to compile it even if i do like MSDN said: #define _WIN32_WINNT 0x0500 #include <windows.h> Maybe someone knows other ways to compile functions like CreateWaitableTimer()Answer me please...p.s. My NT2000 build is 1251...

query gives garbage value

164 byte By kashyaplalit at 2007-11-17 23:50:59
hi i am using mysql and my problem is that when i execute a query for more then 1 user connected to my server it return a garbage value .so help me out plz

How to output continuously in WIndows

1622 byte By Gyannea at 2007-11-17 23:55:45
I am new at Windows programming and I tried searching FAQs and previous posts, but I am not sure how to even ask this question.I need to have the ability to have real time output in a Windows program. The problem is that in the message loop, if there is no message from the OS to my program, the cont...

Open automatic a dial-up connection

208 byte By jaimelopez at 2007-11-18 0:08:11
Hi!<br/>I have in my computer one modem and I have defined a Dial-up connection (to my ISP).<br/>Can I create a .BAT file that can open and close this connection automatic.<br/>Thanks for your time.<br/>Jaime

Modifying Ethernet packet/frame header fields via Winsock APIs

470 byte By gbenga007 at 2007-11-18 0:31:40
Hello,I am writing a simple program that generates a raw packet via the winsock api. The specific nature of this application requires that the Type field of the Ethernet header be set to a specific value (not IP). Basically, I want to send out a packet that is not an IP packet via winsock. I would...

Help ??***

130 byte By Wfranc at 2007-11-18 0:43:59
Is it possible for me to use WM_ERASEBKGND to load a bitmap ? If OK, could you tell me how ? Any help please ? Thanks. :( :( :( :(

Domain help needed

474 byte By dvandam at 2007-11-18 0:49:23
We have a local area network and a webserver which requires a user name and password. One of the computers in our network has decided to ask for a domain name in addition to the user name and password. No domain name I enter will work and the computer cannot access our web site. It's network co...

How do I list applications on a machine using perl modules?

454 byte By mrpatel at 2007-11-18 0:50:01
Hi all, I am trying to write a Perl script which lists all the applicaitons I have on my computer. I already have a list of all the .exe files on my computer in a .txt file. Also, I have to use different perl modules ( or .sad file ) for each applicaion, so that if I add a new application I can...

Perls hashtable question

139 byte By mrpatel at 2007-11-18 1:03:54
Hi,<br/> I want to check if the value exists in a hash table in perl or not? Is there any quick way to do it?<br/>Thanks,<br/>-Mehul

MTS Object

340 byte By bharadwajrv at 2007-11-18 2:07:11
Hi.. i hosted a ActiveX dll component on MTS on Win 2K Server.. If i logout in the Server,, and try to create an object from client machine object will not be created..if i login to Server and access from the client i'm able to create the object.Can u pl. help me in resolving thisthanks in adv....

Calculating processor utilization % using WMI

96 byte By Sam Hobbs at 2007-11-18 2:27:57
Problem solved.<br/>A Microsoft specialist answered my question in the Microsoft WMI forum.

Is DNA dead?

20 byte By barkochba at 2007-11-18 3:42:57
With .Net and all...

Adding a browser toolbar button

659 byte By Pascal_c at 2007-11-18 3:55:30
Hi all,I'm trying to add a browser toolbar button that calls a VB.Net object. The object is implemented and works just fine. All I need is to figure out a way to instantiate it from the toolbar button of a browser.I'm almost sure that there's a different way to do this for IE and Nets...

Executing programs from service

139 byte By mszarafinski at 2007-11-18 3:57:46
Help !!!<br/>Does enybody know how to run other program from service in Windows 2000. I will be extremaly pleased for any kind of help

Using CertMgr - URgent !

245 byte By tyson at 2007-11-18 4:07:08
HI,<br/>Has anyone used the CertMgr.exe to automate an import of a cert file ( .pfx ) ? I need to import a cert into the Personal Store and I can't find any online examples of how to do this.<br/>Many thanks for any suggestions !!

Font Listing - Determining if Symbol/Dingbat font

969 byte By SkipNewarkDE at 2007-11-18 5:48:18
Hey there:I have some C code that creates a scrolling list box containing the names of all of the fonts installed in the system. Each font name is displayed in the typeface of the font, ie. Arial will be displayed in Arial, etc.For symbol, or multi-byte fonts, the name of the font will appear in w...

Plese tell me...

160 byte By hometown at 2007-11-18 5:51:03
In developing software/ windoew progrsmming, can you answer if DNA are well for these thing. What is the advandtaages ? <br/>Thank U very much...<br/>Nina.

IIS problem

187 byte By Arsalan at 2007-11-18 6:14:04
In IIS there is a "Default SMTP Virtual Server", what is it used for :rolleyes: ?<br/>How do i make an SMTP server on my local machine and use it to send e-mail message ??:confused:

how to determine driver version ?

551 byte By ctsinger at 2007-11-18 7:11:56
Hi,I am attempting to write some C++ code to determine the version of my audio driver. I am using SetupDiGetClassDevs(), SetupDiEnumDeviceInfo(), and SetupDiGetDeviceRegistryProperty().This API allows me to get the list of ALL drivers on the system, their names and versions. The only thing I can...

what is a kernel mode driver?

139 byte By shobaradha at 2007-11-18 7:24:00
hi<br/> I want to know what defines a kernel mode driver. how can u say one as a kernel mode driver. what features it should have in it.

How to create a batch file that uploads a file on FTP server

153 byte By Farhad at 2007-11-18 7:52:00
Please tell me <br/>How to create a batch file that uploads a file on FTP server, and returns success or failure message.<br/>Thanks in advance

Detect a runinng Word

1112 byte By j.sieben at 2007-11-18 9:31:35
Hi forum,I'm new to this forum (and to Shell-prgramming) and tried to find a solution for my problem, but wasn't succesfull, so please excuse if this question sounds too familiar to you!Here's the problem:I'm using a set of wll's and dll's to enhance Word (Word 97 as we...

Linking HLP files (MAP entries)

905 byte By Panimu at 2007-11-18 11:16:29
So I have an application from a 3rd party that I work on and it includes context sensitive help. I can't edit their help file (NOEDIT.HLP lets call it) so I've created my own MINE.HLP and edited/created CNT files so I can see the contents of both in my index.Now my problem is I can have th...

COM+ Application Creation

868 byte By Dhana at 2007-11-18 11:19:29
Hi,For a COM+ Application with any object set to 'Requires' as the Txn Attrib, the Object creation (Not the Method Invocation) takes significant amount of time (for the first time). Subsequent creations is faster. Similarlly, the first connection to the Database also takes significant time...

Windows Context Menus

496 byte By shalomb at 2007-11-18 11:38:51
How would one change/edit a windows context menu to a personalized one with custom commands? Eg. Edit the windows desktop right-click context menu to include a command set like "Lock Desktop", "Goto...", etc etc. I would like to know how to personalize it, also if possible create an entirely new on...

new transaction can not enlist (urgent)

2486 byte By akshya2 at 2007-11-18 11:58:25
Dear friends ,i am facing a criticalerror,pls help me out :- My MTS component(developed using ATL and using ADO to access SQL Server) running on Win 2k behaving well normally without any error,but sometimes it abort when firing a SQL query before deafult transaction time out period ( 60 sec) and pro...

Programming applications using full HTML/DHTML/JAVASCRIPT/VBSCRIPT

671 byte By bowaelmama at 2007-11-18 12:15:26
Hi,I've developped an application generator that allows you to build desktop applications using JavaScript, HTML/DHTML, VBScript, ActiveX.It means that you can put HTML documents, scripts and multimedia documents in a single file, and distribute it as an EXE file. You will be able from the HTML...

drag and drop - how to get information about data source?

290 byte By AndreiF at 2007-11-18 17:38:09
I mean the following - if an item was dropped on my application, can I get some information on the application, from where this item was dragged?<br/>For example, if a message from Outlook was dropped on my application, is it possible to determine name of containing folder of this message?

using SERVICE_INTERACTIVE_PROCESS

457 byte By busterTom at 2007-11-18 18:14:18
I have a process running as a service that needs to run various other executables. Some of these other executables don't work unless I set the SERVICE_INTERACTIVE_PROCESS flag on my service. According to Microsoft's documentation, running a service with this flag enabled is a security ri...

How to recognize a STOP in windows Services

410 byte By mattl at 2007-11-18 18:23:09
I am writing a Service in 'C' which has lots of database activity. When the user requests to STOP the Service (within the Service Control Manager) the program simply halts. It does not matter what it is in the middle of doing.How do I recognize that a STOP has been requested? I need thi...

Bug in Windows Shell object?

1629 byte By jeffmcln5 at 2007-11-18 18:25:07
Hello,I'm trying to retrieve the contents of the folder "\My Bluetooth Places\Entire Bluetooth Neighborhood" to see my local Bluetooth devices. I can use the Shell class to access teh "My Bluetooth Places" folder, but the Items collection is empty (which is wrong--it *does* contain "Entire Blu...

Automating Programs in Windows

576 byte By cberg at 2007-11-18 19:15:30
Hello,Does anybody know of a way to automate both opening applications and various application calls in Windows 2000 or XP? For example, say I wanted to use this program for testing purposes or to automate repetitive tasks for various applications I am using in Windows. Possibly record an action scr...

Automating windows network configuration

608 byte By daveey at 2007-11-18 19:20:53
i am developing an application, that for various reasons needs the machine to have a certain configuration. i am trying to autmate the following manual setup:1. install two loopback adapaters (client/server)2. unbind file sharing from server3. set ip of client/server to be on the same network4. disa...

Controlling processor speed

307 byte By rhayek at 2007-11-18 19:53:09
I have an HP XW 6000 workstation at 2.66 GHz processor speed.For testing purposes, I need to have its processor run at a lower clock speed.Is there a way to achieve that? I don't mean running a program that just consumes memory, but controlling the clock speed itself.TIA....

keying off a particular key

990 byte By les_stockton at 2007-11-18 20:40:49
I'm creating a multimedia computer to work much like a dvd player. In fact, I have the buttons (play/pause, stop, eject, next, prev). Everything works, but it would work better if users would always hit stop before hitting eject.Currently I have an app mapped to the eject button. This app op...

Add Current directory to class path

205 byte By Sylvester12 at 2007-11-18 21:26:17
Hi ,<br/>I have written a VC++ dll.<br/>I want to add the current directory where the dll is stored using a .bat file.<br/>Can any one suggest me how can I do this .<br/>bye,<br/>Sylvester12

Process Memory Protection

336 byte By ermo at 2007-11-18 21:26:54
Hi, on this site I've read some articles about DLL injection, password stealing and keylogging. Tools for compromising a process security are provided by the OS itself, without any hack. I wonder if a process which handles sensitive data can protect itself from such simple attacks. Do you...

Start Menu Shell Manipulation

599 byte By DDort58 at 2007-11-18 21:54:56
I'm running XP Pro and am systematically tweaking the shell more to my liking. On the Start Menu, have been able to attach Control Panel popup directly to the SM instead of it being appended to Settings. That was easy since all the related strings are in Explore.exe. What I'm trying to do...

Catch reboot events inside NT service

193 byte By PavelShvarts at 2007-11-18 22:01:38
Is any way to know if service start because of reboot PC not just restart service. (Or way to know if service stop because of reboot)?<br/>(Parsing Event Log file it is not desirible solution)

Change focus to window in taskbar

620 byte By mcwhite53 at 2007-11-18 22:30:11
I have a browser application that via javascript issues an ActiveX command to start a terminal emulator program residing on the XP system.My problem is that when javascript issues the call, the terminal emulator opens a window, but then the browser takes back focus to complete work. I need to find a...

Obtaining List of USB Mounted Drives

282 byte By bud1664 at 2007-11-18 22:42:48
Anyone know how to retreive a list of the current drives which connect via USB?<br/>C, C++, VB, .Net doesn't matter which language as I'm writting it in a DLL so Java can execute the funcationaility.<br/>Cheers for any hints, pointers or advice people can offer.

Ejecting USB Mounted Drive

248 byte By bud1664 at 2007-11-18 22:42:49
Anyone know how to eject a USB mounted drive?<br/>C, C++, VB, .Net doesn't matter which language as I'm writting it in a DLL so Java can execute the funcationaility.<br/>Cheers for any hints, pointers or advice people can offer.

timeout command in windows 2000

260 byte By deeznuts at 2007-11-18 23:15:54
hi there<br/>I'd like to cause a batch file to wait about 10 seconds before executing the next command..<br/>something like "sleep" or "timeout"<br/>does windows 2000 offer a command that will accomplish this ?<br/>thanks<br/>matt

Exe startup code problem

393 byte By Peter Cheesewright at 2007-11-18 23:38:46
I have modified the PE header to come to some code I have added to an exe file.I display a Dialog (and terminate it) and then jump to the original startup code of the exe file. However, when I do this, the application appears as a background task. Why? How do I make it display in the foreground (...

Windows Process Detection

670 byte By pach2212 at 2007-11-19 0:18:41
I want to write a code in win32 which would be invoked by a windows service. This will have a list of executables(list of exe paths i.e. C:\Program Files\xyz.exe) in it.This has to detect any windows process (be it user or system process) which would start after this starts, and if the new process d...

Unique identifier for Disk

241 byte By PavelShvarts at 2007-11-19 0:35:10
Is the some unique identifier for disk (like manufacturer product key) for disk drive.<br/>SerialNumber that can be obtain with API GetVolumeInformationfunction or via WMI Win32_LogicalDisk unfortunately not unique.<br/>Thank you for looking

Determine media type in drive

962 byte By BobN at 2007-11-19 0:35:50
I'm trying to find a way to determine the type of media currently loaded in a DVD burner.I have existing code to do this, and I thought it worked. I wrote this some time ago, and tested it. But something may have changed, and it now doesn't work...The existing code uses IOCTL_STORAGE_GET...

No response from regsvr32

775 byte By captain12pack at 2007-11-19 0:37:36
I've developed a component (.dll file) on my desktop computer using VC++ 6 running Windows XP SP1. When I run regsvr32 on the the desktop computer, the .dll registers and I'm able to access the component from a client program.When I attempt to register the same component on a laptop compu...

Batch File

539 byte By Mirren at 2007-11-19 0:52:25
I am anewbie to batch programming and have a couple of questions.I am looking to create a batch file in Windows 2000 which opens up the Terminal Services Client. I then want to open a further program within the termincal services client. Is this possible and , if so, how best should I approach it? o...