windows

Toolbar and statusbar z order problem

Hi, I have a problem with the layout of 2 controls on my window. I have a status bar which is located at the bottom of the window. Now I want to create a toolbar that will be located at the bottom also, but above the status bar. I used the CCS_BOTTOM style but the problem is is that the toolbar goes behind the status bar and becomes bar...

windows NDIS intermediate (IM) driver installation programmatically

I am learning windows NDIS Intermediate(IM) driver development.I am getting problem in installation . I always need to install it manually. My question is how can i do NDIS intermediate (IM) driver installation programmatically Regards Navaneeth ...

How do you prepare your application for the new Microsoft3000 technology?

Or in other words, how do you develop your application so you can easily pick up the next big thing? Do you dive deep into the current technology, like Java, C#/.Net, ... and ignore the future? Or are you using slightly older but proven technologies like C++ and already struggling on how to move to newer technologies? Or have you foun...

what webserver / mod / technique should I use to serve everything from memory?

I've lots of lookuptables from which I'll generate my webresponse. I think IIS with Asp.net enables me to keep static lookuptables in memory which I can use to serve up my responses very fast. Are there however also non .net solutions which can do the same? I've looked at fastcgi, but I think this starts X processes, of which anyone c...

C program cross platform Differences on windows and Unix OS

Is there any difference in C that is written in Windows and Unix. I teach C as well as C++ but some of my students have come back saying some of the sample programs does not run for them in Unix. Unix is alien for me. Unfortunately no experience with it whatsoever. All i know is to spell it. If there are any differences then i should be ...

windows 2003 server login script to Sync Folder

in windows 2003 server we have built in option to SYNC my documents, desktop, application data ... folders from client computers to server. i am looking for some login script to to SYNC one special folder/Folders from Client computer to Server. Thanks ...

How to open a file in Eclipse AND jump to a specific line?

I can open a file in exclipse, but is there any syntax to jump to a specific line? VI can do this by vi -c LINE filename ...

C++ Exception Handler problem ...

Hi, I written an exception handler routine that helps us catch problems with our software. I use SetUnhandledExceptionFilter(); to catch any uncaught exceptions, and it works very well. However my handler pop's up a dialog asking the user to detail what they were doing at the time of the crash. This is where the problem comes, becau...

How can I opt the user to delete all files in a folder (but no subdirectories)?

I've got a folder path. The folder contains a lot of files as well as some subfolders. I'd like to let the user delete the files (but not the folders) using the standard windows dialog. I'm currently using this code, which deletes the whole folder. Microsoft.VisualBasic.FileIO.FileSystem.DeleteDirectory ( path, UIOption.AllDial...

Is WPF a safe choice for my application?

I'm maintaing a Windows Forms application which draws map data with overlays. I've been considering a move to WPF for the drawing layer, to take advantage of the graphics card rendering. In the last couple of weeks, however, I've started to have some doubts: The new release of Evernote uses WPF, and doesn't run on Nvidia Quadro cards. ...

Java Swing - problem insert component in JTextPane

The below given program insert a new JTextArea on button click. Everytime new TextArea is inserted in new Line. The program is working fine on Linux machine but not on windows machine. On windows machine it is giving me BadLocationException . Can anyone please tell me the solution of this problem. Thanks in advance. import javax.swing.J...

Free Windows GUI text editor supporting Regular Expressions, for programmers?

Looking for a free Windows GUI text editor that supports solid1 regular expressions for its Find/Replace features, for programmers to use. Familiar with Vim, Ed, Emcas, etc. Not looking for a command-based editor. Will give chosen editor to team members already familiar with Regular Expressions, but don't want learning curve incurred to...

What exactly happens when sleeping a thread

I was wondering how the task scheduler in the operating system handles sleeping threads. By this I mean whether a sleeping thread is still checked by the scheduler, or just skipped entirely when figuring out which thread to active for the next 10 ms or however long it's given. My reason for asking this, is to figure out whether a sleep...

OpenProcess / SetProcessAffinityMask on process started by my service

In my manager.exe, I'm trying to change the CPU usage of my worker.exe, which is started by my service.exe. Service.exe is running under the System Account, while manager.exe is running under the logged in user's account. When I call OpenProcess in manager.exe with worker.exe's PID, I get NULL for procHandle: HANDLE procHandle = O...

svn status in TortoiseSVN?

Which is the right-click equivalent to svn status in TortoiseSVN? TortoiseSVN is a Windows' GUI for Subversion. ...

How do i read the eventlog of windows service

I am trying to modify an already written Windows service. I see the source has an System.diagnostic.EventLog object which logs different action of the service. I am trying to figure out how do i read this log. From semantics it seems that Eventlog is logging several actions of service. where is this log stored, how can i see it, i n...

local LDAP server for development on windows 7

Our (ASP.Net) application has to talk to an LDAP/Active Directory server for verifying user groups. Now several members of our team need to be able to work disconnected. Is there a way to set up a local LDAP server on the development machine (Windows 7 Pro)? ...

View PDF files in IFrame with Named Destinations

We've got an application that displays PDF files in an IFrame at specific Named Destinations. This works well on Windows systems but not Mac. In Safari, with Acrobat, the Named Destination is ignored and the document is displayed at the start. Does anyone have any suggestions on how we might accomplish the task of displaying this info...

How to get the currently focused menu item ID?

I want to display info when my mouse cursor is on an item in my menu by using SendMessage() to my statusbar. How do i get the current menu item ID ? I suppose they use same ID's as my Visual Studio shows in the menu editor. I found these on msdn but none of them seems to serve my needs: WM_COMMAND WM_CONTEXTMENU WM_ENTERMENULOOP WM_EXI...

What is the most common version control software for Windows?

Coming from a UNIX background, with some knowledge of CVS and git, I have gotten my Windows development skills up in just about every area. But I still have no idea if there is a single VCS that Windows devs "have" to know. Is there one used above all others? ...