I have tried multiple ways of grabbing the username of a current logged on user in vb.net/asp.net. I am running it on IIS 6 and understand that it will return NETWORK SERVICE for the username. I need to grab the username of the actual windows box log on.
I have tried the following code: Returns NT AUTHORITY\NETWORK SERVICE
Dim User =...
Hi All
I want to use the DPM 2007 SP1 for our Backups, but I can't select the virtual machines in the DPM Protection Group Menu. It always tells me that the requested Volume is offline.
"One or more volumes are missing for the following applications: Virtual Machine Name (ID: 3054) Ensure that the dependent Volumes for the data source...
Hello,
I have created a shared library(*.so) using the *.o object code files(C source code) using RVDS compiler on windows Host.
I link this shared object with a application(using gcc for arm target on linux host) and obtain a executable, which on running generates segmentation fault.(I know i have to debug it!)
Instead of creating sh...
I was wondering if there's some sort of system event that gets fired every time a user changes the time in Windows. I know there's a way to enable this in Windows' EventLog, but I was looking for a way to respond to this event programatically (like using the Windows API).
...
I am trying to read in from a few files using something like this
IO.foreach("TeamFields.txt") { |line| fieldNames.push(line.chomp) }
It works fine when running the from the command line, but when I package to an .exe with shoes and run it can't find the file. Is there a way to specify a path relative the the .exe or do I have to prov...
ATL CWindow class has a useful virtual method OnFinalMessage which is called after the last window message for the window is processed - at this point it is safe to destroy or deleted any objects associated with the window. Is there any equivalent for windows derived from the MFC CWnd class?
...
I've been reading lots on how to trigger an application from inside a C# program (Process.Start()), but I haven t been able to find any information on how to have this new application run within a panel of my C# program. For example, I'd like a button click to open a notepad.exe WITHIN my application, not externally.
Thanks.
...
What is the proper way to convert an XML URI into a Windows file path?
As a starting point, it's possible to turn:
file:///C:/DirA/DirB/File.txt
into:
C:\DirA\DirB\File.txt
... by first dropping the file:/// substring (having used it to determine we're dealing with a local file) and then placing a backslash wherever a slash appear...
I have documentation in ReSt (UTF8) and I'm using sphinx to generate HTML and latex files.
(No issues with html conversion)
I then want to convert the resulting latex file to PDf. Currently I'm using MiKTeX
2.7's pdflatex.exe command to perfom this conversion. (Converting a source file without Japanese characters produces the expected...
I have content on a portable HDD that is to be shared between 2 or more computers, but none of the computers are connected to a domain (none exists). I want to give permissions to the content in such a way that the permissions remain the same across all my computers, irrespective of which computer I connect the HDD to and irrespective of...
I've been thinking about starting a new graphics project and I want to use Java. Java has wrappers for all of the relevant GL functionality but I wonder how many people, including casual users, actually have decent GL drivers installed. By decent, I mean somewhat stable and fairly new (GL 1.5 support would probably do although the GLSL...
If I've purchased one license for Windows XP, is it legal to run a second copy on the same machine (in a second partition, under Linux) with vmware?
...
I am developing an application in php. I need to display a notification message on windows taskbar. So please help me...How to do it using php.
...
I'm writing a windowed program in C++, but I would like to have the option to pop up a console to output to from inside the program (such as various things that go on behind the scenes of my program, to see that everything is acting correctly). Is there an easy way to do this?
EDIT:
In this particular case I'm using sfml on windows, bu...
Microsoft RPC has a mechanism called asynchronous pipes. The only sample for handling it I've seen so far (in MSDN) involves using APC (asynchronous procedure call) callbacks.
Is there a way to implement client and server side pipe handling without APC - for example, with some wait functions? What are the key steps to doing this?
...
I have now found numerous examples and am none the wiser.
The brief is simple. During install time a form of dialog should pop up and ask the user for DB credentials. These should then be used to create a registry entry. The path of the key is always the same but the key itself is a DB Connection string generated from the user input.
I...
1.How to understand asynchronous io in Windows??
2.If I write/read something to the file using asynchronous io :
WriteFile();
ReadFile();
WriteFile();
How many threads does the OS generate to accomplish these task?
Do the 3 task run simultaneously and in multi-threading way
or run one after another just with different order?
3.Ca...
I've been playing around with Qt Creator 4.5 under Linux. My application builds just fine under Linux, but if I build in Windows, the app always opens a console window at startup.
Can I stop it doing that?
I'm building using the default MinGW setup, perhaps that is related. If need be I can build with Visual Studio, but I'd like to und...
There are two applications.
The first application is remote to the machine in question (and I have NO ACESSS to it) and creates a large file via the network (LAN). I have no control over this process, nor do I know when it occurs. THIS IS WHAT I HAVE TO WORK WITH. I cannot add, change or alter this in any way.
The second application is ...
I followed this very helpful guide on getting this development environment set up. When running the emacs.bat I get the following error in Emacs:
File error: Cannot open load file, clojure-auto
Unfortunitely I am completely new to both Clojure and Emacs, so any help in even figuring out where to begin looking would be helpful.
Als...