windows

How can I load a mysqldump .sql file to a MySQL database in Windows Vista

I'm trying to move a MySQL database from a Linux machine to one running Windows Vista. (I know, that seems the wrong direction, never mind why I want to do this.) Using mysqldump, I've obtained an .sql file, which I have moved to the Windows machine. What next? If I were moving to another Linux machine, one could do this sort of thin...

Possible to detect the decibel level on the sound card?

My main goal is to change the volume on one sound card based on the decibel level of the audio on another sound card (both on the same computer). Is it possible to detect the DB level? PS: I am writing this in C# ...

Generate SQL server scripts from command line?

In Microsoft SQL Server Management Studio 2008 there is a "Generate scripts..." option under the Tasks menu. I'm just wondering if this tool is available from the command line somehow? It looks similar to the sqlpubwiz.exe command line tool that was available for SQL Server 2005, but I can't find this executable anywhere in the SQL 20...

what is powerfull way to force a form to bring front ?

what is powerfull way to force a form to bring front of all the other applications using windows c# application ?? ...

FAX PDF using windows fax server 2008

We have windows server 2008. Whenever we try to fax a PDF document using windows fax and scan console, adobe reader instance is getting opened automatically. How to avoid this? In another forum the following details have been given. I don't understand that. Can anyone please help me? acrobat 5 and above doesn't automatically terminate ...

Block all urls on windows desktop using win32 API

Hello, I am trying to develop one application which can block all urls using win32 api on windows desktop application. So is there any api or any procedure doing programmatically so that i can block all urls? ...

Set Fan Speed on Windows in C++

I have this copied code from Example: Calling a Provider Method, it modified it now should it change CPU fan speed: #define _WIN32_DCOM #include <iostream> using namespace std; #include <comdef.h> #include <Wbemidl.h> # pragma comment(lib, "wbemuuid.lib") int main(int iArgCnt, char ** argv) { if(IsDebuggerPresent())cout<<"Debugee...

Previewing RestructuredText with firefox while editing in vim on ms-windows

Hi I want to use VIM to edit reStuctured text documents in a number of operating systems. I found this posting http://www.zopyx.com/blog/editing-restructuredtext-with-vim Can you help me come up with the line to achieve the same effect when run on a MS-Windows operating system? Would it also be possible to to use an environment varia...

Are there any invalid linux filenames?

If I wanted to create a string which is guaranteed not to represent a filename, I could put one of the following characters in it on Windows: \ / : * ? | < > e.g. this-is-a-filename.png ?this-is-not.png Is there any way to identify a string as 'not possibly a file' on Linux? ...

console app. Vs windows app.

Hi All, I developed an .net application in console application which job is to submit the files to windows fax server. It is running fine. But when I run the same application in windows service mode, It gives the wait operation timed out error message when it submit the PDF file to fax server. But as per the requirement, I have to giv...

Best way to improve performance (and include somehow failover)

Hi, We have an application running where IIS and SQL are on the same machine. It's a windows2003standard server, with 4gigs of RAM running on a VM. Now the numbers of users are rising constantly. There are some huge statistics also, which can be run by the users but has very much impact of the performance for other users. So we need t...

Identify if a file(dll/exe) is locked or not by a process or library

I'am planning to write a sample program which identifies a file (a dll file) locked by / used by some process. How can we achieve this programmatically using WIN API (a C/C++ function)? Actually, when we are performing some software upgrade process some other process might be using the library which will interim fail the upgrade operati...

Improving UDP message handling

I've got a PC program receiving data from 20 custom hardware boxes via UDP. Each of these boxes continually sends UDP messages to a single UDP socket on the PC. The messages all contain 10 - 150 bytes of data, and each unit sends about 20 messages in 12 seconds. Testing shows that some messages are being missed by the PC. Fewer boxes on...

Where to tweak an Eclipse to change the default settings used when creating a new Workspace?

We use Eclipse with projects in CVS. It has proven to be the simplest to create a new workspace when having to deal with another branch or application, and then use Team -> Import project set to get all the needed projects from CVS. Unfortunately, I then have to do the following each and every time: Change text font to Consolas 11 pt...

Starting a new Windows app: Should I use _TCHAR or wchar_t for text?

Hi all, I'm coding up a new (personal hobby) app for Windows in c++. In previous low-level Windows stuff I've used _TCHAR (or just TCHAR) arrays/basic_strings for string manipulation. Is there any advantage to using _TCHAR over straight up Unicode with wchar_t, if I don't care about Windows platforms pre Win2k? edit: after submitti...

Does windows have performance counters to measure statistics of a dialup connection?

Hi, Does windows have performance counters to measure statistics of a dialup connection? Opening up Perfmon I can see that it has a performance counter called "Network Interfaces" which can be used to collect stats on a chosen network interface (mostly LAN cards) but I cannot see my dial up connection in the list here. How do I go about...

Printing source code on Windows

What is the best Windows program to print out source code (more generally, text files)? I'd like the following features: Includes line numbers Option of printing 2 or 4 pages on a single sheet of paper. Header includes filename and timestamp. ...

Consistent dev path on windows

I have several partitions on this laptop (XP, vista, 7rc1, and a clean partition for testing and installing foreign softwafe). I code on XP and windows 7. 4 partitions are already used so i have no spare partitions for my dev files. What can i do to create a consistent dev path? I tried sharing my C drive and map T to /home/c however th...

How to Develop Windows Applications

2 parts of the question I want to Develop Software for Windows (especially 7) What Language and knowledge Do i Need to know ? What Software should i use to develop them ? Please answer the question w.r.t both stand alone binaries and perhaps the .NET arena too. Does one need to code really deep or are there softwares that enable me ...

Is there a single software for multiple browser testing?

Hi, I was interested to know if there in single software which have multiple browser testing facility? If there is something like that please suggest. I have already heard about browser cam websites which provides screen shots of different browsers. But we need to wait for the screen shot and also it cannot be tested frequently while ...