Hi Guys,
I need to monitor a java application remotely via visualvm. I have added the port (value 5555), ssl and authenticate properties (both false)) in the prop file. It works ok when I start the process via cmdline, I can connect via jconsole/visualvm by specifying the hostname:port.
However it does not connect to the same process ...
I have two classes:
MyApplication Library
The Library has already been compiled into Library.class and the source code is no longer available. I am now trying to compile MyApplication from source. MyApplication depends on the Library. The Library has a package name of org.myCompany. I tried setting my classpath to the following:
s...
Hi all,
What is the best way of scheduling simple batch jobs on windows? My current need is to dump some SVN repositories each night and FTP the dumps to our external FTP side and then e-mail one or more people that the backup has completed/failed.
This sounds like the sort of thing I would usually do in a unix script + cron. Is that...
I followed what they said at pyside.org but somehow i can't get it to work.
I downloaded the two files that they are linking from their site (qt libraries and pyside for python 2.6)
When I try one of their examples I get the following message:
Traceback (most recent call last):
File "2dpainting.py", line 28, in <module>
from PySi...
my C# winform application needs put itself in standby mode during time other application runs in true fullscreen mode (not only maximized), like video games, video movies, powerpoint.
I need a method to detect if currently there is other application in fullscreen.
Is there a possibility to register to events which will fire when other ...
I need to change all shares of //foo to //bar in a batch file. Say i have R: //foo/foo and Z: //foo/bar
I need to have a batch script that makes them R: //bar/foo and Z: //bar/bar
Anyone have any idea how to do this? I'm thinking of looping through somehow with net use but that's as far as I've come. Will be researching myself as well ...
I'm using Emacs on Windows.
In my .emacs file, I changed the background and foreground colors.
When I opened Emacs, the color changes occurred.
But when I opened a new frame using C-x 5 2, the color changes did not occur.
Why?
...
I currently have a single solution with a single project and this generates executable A.EXE. The project consists of dozens of C# source files, forms, etc.
I now need to generate executables B.EXE and C.EXE as well. B.EXE will use about 95% of the code base for A.EXE (i.e. a subset of functionality). C.EXE will use about 80% of the cod...
This is kinda a general question, looking for as much info as possible. I have code which generates this error (the define is DB_E_ERRORSOCCURRED), and I'm looking for the best methods to debug it (eg: figure out what the particular errors were). I'm aware that there are some other SO questions related this this error (eg: here, here, he...
I'm wondering if it's possible to draw over an opengl/direct3D surface with GDI? and if so, how might it be done?
The reason I ask is because I'm writing a simple app to draw a few things in games. Such things would all be 2D or text such as framerate info, custom crosshair, clock, etc.
I know the best way is to hook in and use whateve...
Hi,
I'm writing an application in c++/MFC and there's a need to create good-quality charts (bar charts, line graphs, maybe even some custom graphics...). As an additional feature, I need to be able to export my graphs in MS Office Graph/Drawing binary file format (so that people can see them in Excel, bitmaps and metafiles just don't c...
I am starting to do some work with the Windows API. However, I noticed that you can not use functions like printf if you have a windowed application. What is the standard way of printing debug and logging information? Sorry if this is an obvious question.
...
I am writing a piece of software that consists of a kernel mode driver and a user mode Windows service. The kernel driver needs to notify the service of different events and information, which the service will then process.
My question is this: What is the best way to set up this communication? I know it is possible to get a message ...
I am using the com.sun.jndi.fscontext.RefFSContextFactory file based JNDI context factory. It seems to take the drive of the where the java application is started in.
Hashtable properties = new Hashtable(2);
properties.put(Context.PROVIDER_URL,"file:///tmp/jms/mycontext");
properties.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.f...
So here's my problem. I have a python script that takes a zipfile and extracts its contents. Then based on some constraint, I will try to delete the folder whose contents were just extracted. For some reason I get an error, WindowsError: [Error 5] Access is denied: 'Foldername' when i try to delete that folder. The simple code looks like...
I have an executable project called A.EXE which references a C# class library B.DLL.
A.EXE generates events which are handled by a class in B.DLL. The events use a custom EventArgs child called ProjectEventArgs.
Do I need to add a reference for A.EXE to the B.DLL project so that the ProjectEventArgs class is defined? That doesn't seem ...
Hello,
After following all the steps:
Getting started with PHP on Windows Azure Tools for Eclipse
Easy Setup for PHP On Azure Development
When I do "Run in developement fabric" nothing happens (the packaging must be failing).....
Help please
Thanks a lot!
...
I need something that can be scripted on windows 7. This image will be used in banners.
...
While I realize Adobe discourages use of the application directory for reading/writing, I have been able to successfully write data there on OSX, so long as the user selected the file.
However, this same application is giving me trouble in Windows 7. Even a browseForSave() doesn't seem to allow the FileStream to write to the file.
Is t...
Performance tuning: writing data to multiple pipes
Now I'm doing it in a single thread:
for(unsigned int i = 0; i < myvector.size();)
{
tmp_pipe = myvector[i];
fSuccess = WriteFile( tmp_pipe, &Time, sizeof(double), &dwWritten, NULL );
if(!fSuccess)
{
myvector.erase(myvector.begin()+i);
printf("Client pip...