windows

iPhone simulator for Windows

I would like an iPhone simulator for Windows. Something similar to this one here: http://css-tricks.com/video-screencasts/38-basics-tips-on-designing-for-the-iphone/ Note, this is NOT to test iPhone Apps... but rather, to test websites. I know I could just use a browser, but I was hoping for something with a bit more functionality ( sp...

"start /affinity" equivalent in .NET

The start Windows shell command (in cmd.exe) appears to be able to start a process with a chosen processor affinity, rather than starting the process then setting the chosen processor affinity some (small) period of time after it has started. start /affinity 2 something.exe Is there a way to do the same from within a .NET application ...

Where to start with web service development?

I am currently working on a project that is very new to me, and I feel a bit over my head as far as knowledge base is concerned. My request is for references and information to help me expand my knowledge base, as well as recommendations for technologies and methods. I have experience primarily with Java, so all this Windows service stuf...

can't call .bat file from within another - "not recognized as an internal or external command" error

hi guys, i tried looking at the other questions regarding this, but no go. i've tried a straight call to the other bat file ("otherBat.bat," for instance), a "call" command, and even a "start" command. all of these are failing though, and i'm at a loss as to why. both .bat files are within the same folder, and i'm not changing directori...

How can I tell what windows theme I'm using?

Hi all. I'm trying to make my application force a theme - this is straightforward as shown here: http://arbel.net/blog/archive/2006/11/03/Forcing-WPF-to-use-a-specific-Windows-theme.aspx However, I don't know what theme I'm using now. I'm using the Windows XP default theme, whatever that may be. That article says It's important ...

.bat file - cd to a directory with a space in its name and also using a variable?

ive written a quick .bat file that reads in the name of a directory typed in by the user, i store that variable in a variable, and then i want to actually cd to that directory. i've tested it out with simple directories like "C:," for instance, and that works. however, when i'm dealing with the user entering in something like "C:\Docume...

C++/CLI: Public ref struct generates C2011: 'class' type redefinition

Greetings! I have a header file in a managed DLL project like so: Enums.h: #pragma once ... public ref struct ManagedStruct { Bitmap^ image; } ... This header is referenced both from another class in the DLL and from a separate executable. The managed struct alone is generating error C2011: 'ManagedStruct' : 'class' type redefi...

how to insert the correct activex object in a MFC dialog

More exactly, the web browser control. In a WM6 dialog based MFC project. This is driving me nuts. Mr Google does not know a thing on this matter. I have tried embedding the "Microsoft Webbrowser Control" in my dialog box but at runtime I get some class not register error. I have heard that this happens because "Microsoft Webbrowser Cont...

How to replicate wwwroot over multiple IIS web servers with NLB without NAS?

We're adding a second server with Windows NLB for a bit of redundancy (ie the power goes on one of the servers - I know its not the best solution). How can we keep the data identical between the servers? Dont want to use a SAN or NAS as thats just something else to go wrong. Customers can upload images with the web app so changes could ...

Can't get "IIS 6 Metabase and IIS 6 Configuration Compatibility" installed on Windows 7

I'm trying to get Visual Studio setup to be able to use my local IIS server for hosting projects-- it tells me I need to install "IIS 6 Metabase and IIS 6 Configuration Compatibility". So I have tried to do so via Add/Remove Windows Components. The installation process gets to the end and then states that an error has occurred and not al...

Directory file size calculation - how to make it faster?

Using C#, I am finding the total size of a directory. The logic is this way : Get the files inside the folder. Sum up the total size. Find if there are sub directories. Then do a recursive search. I tried one another way to do this too : Using FSO (obj.GetFolder(path).Size). There's not much of difference in time in both these approache...

Text Fade Effect in .NET Compact Framework

Hi all, I am creating a windows mobile application where i would like to do a fade In / Fade out of text which is getting displayed on a form. I am using C# for this purpose. Anyone can provide idea on this part? Thanks in Advance Regards Biju ...

How to test if a string has a certain unicode char?

Supose you have a command line executable that receives arguments. This executalbe is widechar ready and you want to test if one of this arguments starts with an HYPHEN case in which its an option: command -o foo how you could test it inside your code if you don't know the charset been used by the host? Should be not possible to a give...

webkit-sharp for windows package

I wanted to try WebKit by following this tutorial, but gmcs compiler was't able to find "webkit-sharp-1.0" package. Where can i get it and how to install it? ...

With client diffusion on windows platform how to prevent spyware risk in term of privacy violation?

Often we think that an antivirus or similar is more than sufficient, but many clients could accomplish so many processes that it would be more safe having a real sandbox environment like unix like OS. Better virtual machine like VMWare, VirtualBox and similar sandabox, or there are better ways to keep safe our privacy? ...

Build GTK with Windows SDK

Hello, how can I compile gtk (itself) with Windows SDK ? ...

How to get the Drive letter and Mount Path - MSDN

Hello all, I get the devices list from the system using SetupDiGetClassDevs Function - MSDN. Also i can able to get the vendor id and product id from the devices. But i cant able to get the drive letter and the mount path For Example if i plug the usb drive means , i have to get the drive letter like "G:/" Please help me to get the ...

How to get only USB devices not all the devices in the system

Grretings to all, I get devices list from the system. but i am not sure that if i want to get only the usb devices currently in the system means , What class i must specify in the below code ( DWORD Flags ) hDevInfo = SetupDiGetClassDevs(&GUID_DEVINTERFACE_USB_DEVICE, 0, // Enumerator ...

is there a way to make squid transparent proxy in windows ? (python)

i know there's a way using "SoftPerfect Bandwidth Manager" but what i want is to use python to do that, maybe using pypcap or something like that thanks ...

Red5 Unable to Start Distribution.

I have installed subclipse, Ant, IvyDE, Red5 Plugin for eclipse, I added JAVA_HOME and JAVA_VERSION to environmental variables, I also added Java, and Ant to the windows path. I am attempting to create a Red5 Distribution by using eclipse, opening Build.xml right clicking dist [default] in the outline window and running as and selecting...