Start glassfish at boot in windows
This must be a dumb question, but I don't see any obvious references. How can I get glassfish to start at boot on a windows box? ...
This must be a dumb question, but I don't see any obvious references. How can I get glassfish to start at boot on a windows box? ...
I'm trying to create a key like this _winreg.CreateKey(_winreg.HKEY_LOCAL_MACHINE, 'Software\\Microsoft\\Shared Tools\\MSCONFIG\\startupreg\\test\\') and the key is beeing created here HKLM\Software\Wow6432Node\Microsoft\Shared Tools\MSCONFIG\startupreg\test\ why? Yes, Windows 7 64x here ...
I was looking at the various windows styles flags, and I noticed that a few flags are defined as such: #define WS_TILED WS_OVERLAPPED #define WS_ICONIC WS_MINIMIZE #define WS_SIZEBOX WS_THICKFRAME #define WS_TILEDWINDOW WS_OVERLAPPEDWINDOW What is the purpose of defining new flags that are literally ...
Attempting to implement a poor man's test of whether a process is still running or not (essentially an equivalent of the trivial kill(pid, 0).) Hoped to be able to simply call OpenProcess with some minimal desired access then test for either GetLastError() == ERROR_INVALID_PARAMETER or GetExitCodeProcess(...) != STILL_ACTIVE. Nice try....
I have been using git on windows-msysgit. Whenever I try to remove a repository completely either using explorer or using $ git rm -rf ptp/ fatal: Not a git repository (or any of the parent directories): .git it errors out "The data present in the reparse point buffer is invalid" or the fatal error above. What's wrong with me/git? ...
My goal is to control an application from VB.Net. There is no API, and I do not have the source, only the compiled exe. Is there a way to find the opened application, find a button within the application, click a button and know it was clicked? Is there a way to read the contents of a textbox within the application? ...
I have VB.net windows service and in one of the functions I am using a XML file which is in the same directory of the application. When I install the service though the service starts it is not finding the xml file. How do I include the XML file in the web service? If I copy the file to the same folder as the exe and app.config files, ...
An answer to this question has led me to look into using "Event Tracing for Windows" for our tracing needs. I have come across NTrace, which seems to be a good way to produce ETW events from C# code (using the XP-compatible "classic provider" model). However, I am unable to find an easy way to consume these events - to see them in real-...
Hi, I got below mentioned code for adding my application to Windows Firewall Exception list. I wanted to know if this will also work for other firewalls eg: Antivirus firewalls etc. If not then please suggest a solution. Note: My application is running with Admin rights but my users are not able to understand firewall settings of quick...
My program is trying to create an key on the HKLM\Software\Microsoft\Shared Tools\MSCONFIG\startupreg\test\ but instead the key is created on the HKLM\Wow6432node\Software\Microsoft\Shared Tools\MSCONFIG\startupreg\test\ and don't work properly... Why? How can I solve it? ...
Long story short, I'm developing a theme template for a blog that enables you to view the posts in blocks. The main part of the post is displayed at first, then the secondary content is displayed over that when you hover over the post block. Everything works fine on a Mac Versions of all major browsers, but start browsing on a PC, and a...
I develop the desktop application running under WinXPSP3 that should communicate to the other application, located at the mobile device running under Windows Mobile 2003/2005 and docked to the host with ActiveSync running. I have searched for some mechanism that looks like WCF, but failed to find any. Does BCL contain any classes that ca...
Is it possible for a process to catch an unhandled exception of another process on the system? If possible, under which circumstances is it possible? Is it for instance possible if the second process is not started by the first? I am mainly looking for an answer regarding native c++. ...
I'm a Mac user and a Windows user (and once upon a time I used to be an Amiga user). I much prefer the menu-bar-at-the-top-of-the-screen approach that Mac (and Amiga) take (/took), and I'd like to write something for Windows that can provide this functionality (and work with existing applications). I know this is a little ambitious, esp...
I wonder what the Form.KeyPreview property actually is good for? Why do it exist and what do I "risk" by setting it to true? I guess it must have some negative effect - otherwise it shouldn't exist at all (or at least be true by default)? EDIT: I know perfectly well what it does. I'm asking why. Why do I have to set it to true in order ...
Hi, i am trying to write a program that close explorer then runs another program. i am getting a problem when trying to close explorer using the following code: foreach (Process p in Process.GetProcesses()) if (p.MainModule.ModuleName.Contains("explorer")) p.Kill(); can somebody please let me know...
In Delphi you can create a standalone Windows VCL Forms application. You can also create a Windows service application. Is it possible to combine the two in a single application that can run as a standalone application and can also be installed as a Windows service? ...
I've got a folder under version control; the contents aren't source, but they are binaries that are modified frequently and would generally get committed once a day. Problem is, the consumers of those files can't grasp the concept for source control, they don't realistically have access to the folder in question and 'they can't be bothe...
My Java program needs to delete any temporary internet files that were created by a "Shell.Explorer.1" ActiveX control created by the program. What is the best way to do that? If I go to Tools->Internet Options in Internet Explorer, click on the Browsing history Settings button on the General tab, and then click on the View files butto...
I am doing some initial testing for a Rails app which will be deployed on Windows, but the development server in a VirtualBox is painfully slow. I've never seen anything like this in Linux (but the server platform must be Windows), even in an identical virtual appliance. Is Rails on Windows viable in terms of speed? ...