Hi, I'm trying to debug and test my application with a Dell Windows Mobile device using Visual Studio 2008. I can connect to the device and deploy it on to the device using ActiveSync. The problem I'm having now is that when debugging, after the project is deployed on to the device, the breakpoints are never hit and the application just ...
When working on console applications in Visual Studio, I will run the application by pressing F5 to bring it into debug mode. Occasionally (and I'm not sure how this happens), I'll get back into "edit mode" in Visual Studio and the debugged console window will still be open.
It will remain open but entirely unresponsive. I can't clo...
Hi,
I'm currently working on some R&D for improving the process and practice that we approach development.
As a first iteration something I'd like to do is develop an easy way to set up a project e.g. Run an ant script that will, when provided with a project name etc,
Copy a template in svn
Create a database (if needed)
Automaticall...
I'm currently writing a Java application that needs to look at how "heavily loaded" the machine it's running on is. On *nix, load average divided by number of processors fits the bill perfectly, and we retrieve load average with ManagementFactory.getOperatingSystemMXBean().getSystemLoadAverage(). Unfortunately, this returns -1 on Windows...
Hello, all. I would like to know if there is a good way to read out values in a compiled resource (*.res) file. I am familiar with reading resources from an executable, and I'm wondering if there is a similar way to read out resources from a resource file. Thanks in advance!
...
In my app.config I put
<appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="%programdata%/log-file.txt"/>
but it didn't work. Any ideas?
...
I have two cgi scripts from a product I can't alter. One needs a specific Environment Variable to be set. The other should be left alone.
Is there a way, in IIS, to do the same thing as apache's SetEnv command just for one of the CGI scripts?
Ciao!
...
Hello,
I am considering creating a windows service that would run periodically and query networked databases and store the information on the local machine (please don’t ask why!).
I would like this service to run when there is no one logged on to the computer locally. What account should the service run under Localservice, Localsystem...
In the latest version of VirtualBox with a Windows 7 64-bit host and a Windows 7 64-bit guest, is it possible to set the guest as a proxy for the host? Specifically, I want to initiate a VPN connection over HTTPS with the guest--which is a copy of a machine on an NT domain--and use that connection from the host (which is not part of the...
Does this code win32api.GetUserName() works fine on all win system from win 2000 to win 7 ?
What about if user is not local user but domain user, does it still work ?
When i use this function shell.SHGetFolderPath(0, shellcon.CSIDL_someDirectory, 0, 0), do I get wanted folder for currently logged user ?
Any help appreciated.
...
I'm running a recursive make on windows using targets for each directory using forward slashes to separate path components. If someone runs
> make foo/bar
it will run fine. But if someone runs
> make foo\bar
it won't find the target to build:
make: Nothing to be done for `foo\bar'.
I would love it if I could add something like t...
Hi, I currently am passing a string from the command line into my server installer class which I then access using this.Context.Parameters["whatever"]. Is there any way I can then pass this string on into my actual service class to be used by it at runtime or do I need to save it to the drive in an ini or add it to the registry and then ...
Hey everyone,
I am having an issue in my recv() loop for winsock. I am trying to terminate the loop when iResult==0, however, the loop only ends when the socket closes. It appears to be hanging at the very last recv() where iResult would equal 0. So any ideas on how to terminate the loop effectively? My ultimate goal (whether iResult ==...
Hi all,
I want to launch a application using win32 ...
Plase let me know your ideas to achive the same
...
The host has ultimate control over the
bus and may inhibit communication at
any time by pulling the Clock line
low.
How to pull the Clock line low in assembly and release in windows?
...
hi
i have small problem. I set generic path in crystal reports after that i deploy the application. deploy application runs corretly but crystal reports not loaded and an exception was occured.
please give me issue
...
well with some help from this site and dream in code i fixed my error, but am now the code just plain doesn't seem to be working. Here is the code:
using (RegistryKey Key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run\"))
if (Key != null)
{
string val = (string)Key.GetValue("COMODO Internet Securi...
javac is not internal or external command error is coming. I have set the path. then also it is giving the same error.
...
Hi,
I have been investigating the windows Prefetching system hoping to find a way to speed up the load time of an application I am working on. I found the following link where a developer describes modifications to the prefetcher registry values:
http://dotnet.dzone.com/news/improving-cold-startup
I have made similar modifications lo...
I am writing a small powershell script using windows forms which generates an HTML signature.
The user can edit size, color etc and the script generates the html as a from their choices, and updates (theoretically) my WebBrowser preview when they press a preview button.
My WebBrowser Control:
$Preview = new-object System.Windows.Forms...