windows-vista

What do I have to do and how much does it cost to get a device driver for Windows Vista / 7 (32 and 64 bit) signed?

I've got some drivers which are basically LibUSB-Win32 with a new .inf file do describe product/vendor ids and strings which describe my hardware. This works fine for 32 bit windows, but 64 bit versions have problems; namely that Microsoft in their wisdom require all drivers to be digitally signed. So my questions are thus: Is there a...

Can I install Netbeans while I already installed jdk.1.6.xx on same machine?

Hi, I just about to learn Java programming. I already have jdk on my computer. Then, I found this Netbeans is quite popular and come with all I needs. My question is, will there be any conflict if I install full version of Netbeans while I already have jdk installed on same machine(windows vista)? I will appreciate your answers and adv...

7zip timestamp archive under context menu

Does anyone know how I can add a context menu item that would compress a folder and add a timestamp? So that I can right-click a folder and it would give me the option to create something like this: folder_20100528.zip (I'm posting it here because I figure it's something that's done through a batch file/code) ...

In cygwin, why is there a lingering file filename.zip in a directory after running rm filename.zip?

In cygwin in windows vista, I tried to remove a few zip files I created from the command line in cygwin. The rm finished without complaining, but there remains entries for these zip files in the directory, that cannot be opened or deleted, either in cygwin or vista. For example, ls -l shows the following after performing the rm: $ ls -...

Shakin' things up

Hi All I have a little app here, and I would love to be able to do my own stuff in Vista/Win7 when I shake the form. Currently, when a form is shaken, it will restore/minimize everything else. But I want to change that behavior in my app only. So when my form is shaken, I could, for example, shuffle the playlist, or Clear the contents ...

Changing The Underlying Background Color Of A Swing Window

As discussed here, when resizing a Swing application in Vista (and Windows 7, which is what I'm using) you get a black background in the right/bottom corner while Swing's repaint catches up to the changes. Playing with other applications (Windows Explorer (Native), Firefox (C++?), and Eclipse (Java)) I notice that they all have this sam...

How can I run Octave under Emacs on Windows (Vista)?

Hello, I installed Emacs 23.1.1 and Octave 3.2.3 on my computer running Vista. To make Emacs find Octave, and to make Octave's prompt what Emacs expects, I added the following to the end of my .emacs file: (setq inferior-octave-program "C:/Octave/3.2.3_gcc-4.4.0/bin/octave-3.2.3.exe") (setq inferior-octave-startup-args (list "--eval...

MTU mismatch between GetIfEntry and netsh

I'm working on pseudo-transport layer software that runs over UDP, providing reliable connection-oriented transmission, as an alternative to TCP. In order to maximize network efficiency, we query the MTU of the "best" network adapter upon initialization. MIB_IFROW row = {0}; row.dwIndex = dwBestIfIndex; dwRes = GetIfEntry(&row); Sear...

GDI+ not clearing my window on repaint for vista

on WM_PAINT i do the following: //RectF mNameRect; //WCHAR* mName; //HWND mWin; // this is the window handle { PAINTSTRUCT ps; HDC hdc = BeginPaint(mWin, &ps); Graphics g(hdc); g.Clear(Color::White); StringFormat stringForm; stringForm.SetLineAlignment(StringAlignmentCenter); stringForm.SetAlignment(StringAlignmentCenter); // set the...

MoveWindow API doesn't work well on Vista

Hello! I have an application on Vista which loops through all processes and finds associated main windows in order to move and resize them. The problem is that some windows get moved and resized and some don't. Also it even seems that moved and resized windows aren't moved and resized according to the MoveWindow function call because t...

How do I determine which C/C++ compiler to use?

Greetings, I am trying to figure out which C/C++ compiler to use. I found this list of C/C++ compilers at Wikipedia: http://en.wikipedia.org/wiki/List_of_compilers#C.2FC.2B.2B_compilers I am fairly certain that I want to go with an open source compiler. I feel that if it is open source then it will be a more complete compiler since ma...

Where is a safe place to store log files that is compatable with XP, Vista, and Windows 7?

I have a winforms app that needs to write out logs. The app also needs to run without UAC warnings and using a non-admin account. Where can I write my logs without running afoul of the default security settings? In addition, this has to work on Windows XP, Vista, and 7. Extra points if all users can write to the same set of log files. ...

Clicking mouse by sending messages

I'm trying to send mouse clicks to a program. As I don't want the mouse to move, I don't want to use SendInput or mouse_event, and because the window that should receive the clicks doesn't really use Buttons or other GUI events, I can't send messages to these buttons. I'm trying to get this working using SendMessage, but for some reason...

Negative zero using Crystal Report ToText()

Using Crystal Reports 8.5 on Windows Vista or 7, I'm using the ToText function to report a value: totext(Sum ({ap121w7.yrentamt}, {@type1099})*100,"000000000000000000") The result (if yrentamt is 0) is -000000000000000000 The dash (I assume it's a negative sign) is unneccessary and unwanted in my report. Is this a bug, or is there an...

Trouble using files Globally

Recently I ran into trouble when I discovered that vista restricts what can be installed into the system32 directory even though I am the administrator for this computer. It will not allow me to register dll files so I can use programs like wget globally like how programs "nslookup" etc are used. Keeps giving me this error. Regsvr32...

c# how can i make sure that my application will look the same on other systems?

hi .. how do i make sure that the application iam developing will look the same on other windows-systems? iam developing now on a windows7, with .net 3.5 framework .. (VS 2008) as an example, i have a toolbar, that i changed its rendermode to system, it looks ok on my windows7, but when i run the application on windows xp, it is differ...

How do I build SDL_TTF?

Okay, so I'm on Windows Vista, and I want to use SDL_TTF, but the idiots who made it decided you have to build everything from source, so I to build the .lib files and all that other stuff, but I'm on Windows, so how am I suppose to do this? ...

Get sample of sound from stereo mix in Windows

Is there a way in Windows using C# to record a sample of the stereo mix? In other words, record all pings, beeps and music being played via any application? I've had a look at NAudio which will record the microphone as it's source, but I can't figure out how to point it at Windows' stereo mix? Or, if anyone knows, any pointers on how t...

Does Vista prevent changes in Program Files directory?

I have a program developed for Windows XP, but when I try to install it in Windows Vista, I get an error message saying that the SQL database (sqlite3) is read only. Is that due to a feature in Windows Vista? ...

compatibility of oracle 10 g (10.1.3) with window vista and windows 7

Can i use oracle 10 g (10.1.3) on windows vista and windows 7 ...