Tech Support > Microsoft Windows > Development Resources
Strange problem of VC 6.0 debugger
Posted on August 5th, 2004 | 1 Comments

Hi, I have very strange problem with VC++ (6.0). Consider the following program: #include <stdio.h> int MAIN = 0; int main() { if (MAIN==0)

Scrollbar Painting bug
Posted on August 5th, 2004 | 4 Comments

Hi, I've a Win32 app created using VC++ and MFC running on Windows XP. On one of the forms(CFormView derived), I have a scrollbar control. If I click on the down arrow of the scrollbar( and keep it...

Beginner - OLE DB - bind to grid control
Posted on August 5th, 2004 | 0 Comments

Hi. I try to connect to a Microsoft SQL database using Ole Db - IRowSet interface. This works, but I can't bind it to a grid control (I use Microsoft Datagrid control). I have: IRowset*...

[beginner] programming a modem?
Posted on August 5th, 2004 | 0 Comments

Hello, I've got an easy problem to solve, but I have no idea how. Here is a simplification: I've got a modem on COM1 which can be in state 1 or 2. I'd like to create a script or a programm that...

Automatically activating a deskband
Posted on August 5th, 2004 | 0 Comments

In our development we've created a deskband (like the IE QuickLaunch). After installing and registering the software we can't seem to get it to show up without right clicking on the TaskBar and...

DATETIMEPICKER tapping selects entire string on pocket PC 2003
Posted on August 5th, 2004 | 0 Comments

Hi, i placed a DATETIMECONTROL on my dialog box. format =HH:mm i can select/highlight an element (say mm) and use teh up down control to change the value. but when i shift focus on the other...

Skrollable Vertical Tab control?
Posted on August 5th, 2004 | 4 Comments

Hi I just noticed that a vertical tab control behaves different from a horizontal one. It seems like Microsoft forgot to implement the scroll buttons for vertical tabs so if i get too many of...

cursor escaping from ClipCursor confinement
Posted on August 5th, 2004 | 1 Comments

I've got a CAD program that shows mechanical linkages in motion in the main window, with a second window used to create the next linkage to be modeled. Some of the drawing operations are click and...

Question about VS_VERSION_INFO
Posted on August 5th, 2004 | 3 Comments

In VS6, the Resource Tab shows a Folder called Version, with information like FILEVERSION and PRODUCTVERSION. How can I retrieve this info in my program? For instance, how do I make the FILEVERSION...

Building non-DialogBox Window with Resource Editor, Second Try.
Posted on August 5th, 2004 | 3 Comments

Hi Again: This is my latest attempt to use the resource editor to set the controls in a window that isn't of the DialogBox class. This is what I believe happens when the resource editor is used to...

Help! How to trigger (to display) a menu?
Posted on August 5th, 2004 | 0 Comments

Hi, Normally, click on an item like 'File' on the menu bar will trigger the menu to be displayed. How to use code to do that? Trigger the menu of current application or other running...

Using SendInput to Simulate Mouse Clicks
Posted on August 5th, 2004 | 0 Comments

Hi, I am trying to use SendInput to Simulate a mouse click at position (x,y) within a client window whose handle is stored in the class member variable hWnd_. I have built a successful...

How to detect if a screensaver is launched manually?
Posted on August 4th, 2004 | 2 Comments

You can launch a screensaver manually, or it can be launched by the OS when the timeout is reached. I need to detect which one is the case. Anyone know a good way to do this? Cheers, Tom

IIS programmer wanted
Posted on August 4th, 2004 | 0 Comments

I'm looking for someone who can do a simple little programming job for me on a cash basis. I need an application that will post a periodic screen shot to a Web page. I just want to snap the screen...

Windows Login script/command
Posted on August 4th, 2004 | 1 Comments

hi to everyone, I try to create a process that check a condition (if a file exist and contain a valid string) and so it can logout/login a user. I'm able to logout a user, but I can't login it, is...

Help 2 runtimes....
Posted on August 4th, 2004 | 2 Comments

Why doesn't the Core SDK include the Help 2 runtimes? What's the use of having a lot of .hsx and .hsi files I can't read. I really don't feel like installing the .NET Framework SDK just the get...

Force unload of out of process COM object
Posted on August 4th, 2004 | 1 Comments

What techniques are there to force an out of process COM exe to unload when its client application has ended suddenly ? The reference count is obviously not getting decremented. If my client app...

change wndproc at the runtime?
Posted on August 4th, 2004 | 1 Comments

Hi, can I change the wndproc at the runtime? I tried to do that but I only got an error 'Access is denied'. I started a notepad with CreateProcess and I managed to find the hwnd. Then I used...

postmessage
Posted on August 4th, 2004 | 1 Comments

How to use postmessage to pass data of DWORD or char* types? Your help is appreciated!

Using TLS index hangs my app.
Posted on August 4th, 2004 | 0 Comments

Hi, I've a function run by a thread (the thread is created with this function) with many returns. I decided to use some kind of "Resource Acquisition Is Initialization" and register every resource...