How do I set, temporarily, the PYTHONPATH environment variable just before executing a Python script?
In *nix, I can do this:
$ PYTHONPATH='.' python scripts/doit.py
In Windows, this syntax does not work, of course. What is the equivalent, though?
I'm trying to localize a Windows 8 Metro style app as described in a guide on MSDN. This worked very well so far, but now I'm trying to localize a string containing a non-breaking space which appears in a XAML file (originally as hexadecimal xml-escaped string:  ).
Just putting the above string into the Resources.resw file does not work, it appears just as  .
What do I have to do to get a non-breaking space in my localizations?
Hi everyone, i'm developing bluetooth app on VisualStudio2008 windows mobile 6 sdk.I searched that i will be needing
using microsoft.windowsmobile.sharedsource.bluetooth; for C#
I don't know what .dll files i need. Could any1 give me a dl link ? if possible some example codes on C# on how to discover other bluetooth devices would be appreciated :)
I am trying to deploy a windows mobile application built with c# .net which uses a native dll, and i get the following error:
Deployment and/or registration failed with error: 0x8973190e. Error writing file '%CSIDL_PROGRAM_FILES%\MyNativeCode.dll'. Error 0x80070070: There is not enough space on the disk.
Please suggest any solutions.
Thanks in advance.
I'm going to have my website hosted soon on a VPS or dedicated server (with Windows 2008), so I'm trying to plan ahead. I wonder whether the built-in SMTP server that comes with IIS7 is reliable enough for a production server or should I look for an alternative? I heard good things about hmailserver and best of all it's free, do you have any experience with using the bulit-in SMTP on a high traffic website.
Thanks a lot for any suggestions
I have ubuntu 10.04 installed on my machine. I want to execute commands on remote windows xp machine ( I have username and password of admin account of remote machine ) so as to launch application like Internet Explorer, Notepad or some bat script. Is there any command line utility to do this via ubuntu? I tried rdesktop, winexe, ssh, telnet but they are not much of use. Can you please suggest some other way?
Hello folks,
I have reinstalled in my Windows XP machine. After it is re-isntalled the audio in my machine has failed.
I have installed all the device drivers in my mother board.
The Realtek Sound driver is also installed.
Note:
Sound is working when I test the surround settings test in my RealTek program, but unable to play any audio, tried playing both in my local machine and from the internet.
Hi,
I have an application in C# (2.0 running in XP embedded) that is using a watchdog that is implemented as a Windows Service. When the device boots, this service typically takes some time to start. I'd like to check, from my code, if the service is running. How can I accomplish this?
I am developing using the Symbol/Motorola MC70. I use the emulator that comes with Visual Studio and the SDK for much of my development.
The standard skin for that is a simple windows mobile device.
Is there a way to get the skin for the MC70 for the emulator?
Hi,
was anyone able to build Qt on windows 7 (64-bit) with visual studio 2010? I've tried different compilers and -no-webkit option for configure, every time nmake fails with error code U1077. Would be very greatful for suggestions. Thanks in advance,
Daryna
I want to run a console application (eg app.exe) from a windows form load event.
I'v tried System.Diagnostics.Process.Start(), But after it opens app.exe, it closes it immidiately.
Is there any way that I can run app.exe and leave it open?
I need to run the following command from the command line in Windows 7:
SumatraPDF.exe -inverse-search "\"C:\Program Files\eclipse\inverse_search.bat\" \"%f\" %l"
However I need to modify it a little, since my installation of Eclipse is located in here:
C:\Program Files (x86)\Eclipse (C++)
How do I escape this line correctly? Do I need to escape parenthesis and pluses too? Or is it just enough to escape double quotes?
Hi,
I try populate combobox in windows mobile 5.0 pocket pc but i have this error:
Value does not fall within the expected range.
the datatable return from dataset on the webservice:
the method is:
Value does not fall within the expected range
public void loadComboBox(ref ComboBox ComboBoxGen, string DisplayText, string Value,DataTable dt)
{
ComboBoxGen.DataSource = dt;
ComboBoxGen.DisplayMember = DisplayText;
ComboBoxGen.ValueMember = Value;
}
I just want to know if it is possible to install windows azure on your own hardware, or the only possibility to use it is to use the Microsoft's hosting ?
Sometime back I used a windows tool to see what a process is doing. This tool allowed me to inspect functions exported from DLL. It also allowed me to change the values passed to a function on the fly.
I cannot recollect the name(not sure if that was free or commercial one). Could any one point to me solution that can do this?
(Tools like ProcessExplorer, ProcessMonitor helps a bit.. this was better)
Cheers,
Jayan
I'm running Visual Studio 2008 on Windows 7. When I try to attach to a process, VS tells me to restart under different credentials (with elevated permissions).
So I have to restart VS and run it as Administrator. Is there a way to set it up so VS always starts with Admin privileges?
Other than MongoDB and Memcached, what key-value stores run on Windows? Most of the ones I've seen seem to only run on Linux (Hypertable, Redis, Lightcloud).
Related links:
http://stackoverflow.com/questions/639545/is-there-a-business-proven-cloud-store-keyvalue-database-open-source
http://www.metabrew.com/article/anti-rdbms-a-list-of-distributed-key-value-stores/
Hi guys, I found an old Windows XP SP2 in my -trash- cd can and tryed it on a 30 gb FAT32 partition.
Installation went fine till the copying operation was completed and XP asked for reboot. After that either it starts over again or throws invalid disk.
Starting over is an infinite loop the only way I see is to choose the "Repair console" but i'm not used to a dos box.
Can anyone help me through this harmful instalation?
Cheers, Daniel
What's the best way to do some lengthy initialization when a Windows service starts up (or resumes from being paused) without blocking the Service Control Manager?
I am porting an application which runs as a background service in windows at startup, we are porting the application to linux(SUSE Enterprise server), I'am completely new to linux. Can somebody help me on how to proceed with this. Like
Should I build the linux executable
After builiding the binary, what changes should I make to linux startup files to run this executable
How my service can register call back function to modify or change or send commands to my service while it is running
I have a shared disk that I would like to clean up once per week using a scheduled task of some sort. I would like to use a batch script so that the system admins can easily modify it or reuse it on other directories when needed.
The directory has files with multiple file extensions but the ones that need to be deleted end in .bkf and must be over 2 weeks old.
Does anyone have a batch script solution for this windows server (not sure which version)?