Hello,
I've been stuck on this issue for several days - any help is much appreciated.
I have an SQL trigger that's calling a DLL written in C#. In this function, I require the windows login name of the person that originated the SQL command that fired the trigger. It doesn't matter whether I get this info from C# or SQL.
Unfortunately...
I am interested in distributing an application that will need to have an integrated Windows environment included with it. This environment would be something like BartPE.
Basically the application needs to create bootable media with a minimal Windows subsystem included on that media that can be inserted in a system with no operating sys...
I am looking for a way to pass a string containg the "*" character to an executable via the command line.
command.exe 3*2
I want to pass the string 3*2. What Windows does instead is search the current directory for files matching the file mask "3*2", and passes any files it found to command.exe
Putting "3*2" between double quotes d...
Hi all,
I'm using netbeans 6.7.1 on windows. I created a jframe application . When i run the same application in my fedora core OS , the appearance becomes dull , the fonts and the spacing change.. How to avoid this - as the GUI is of prime importance to my application.
Please help..
...
I am using gcc/g++ to compile c/c++ applications - living on OpenSuSe btw.
Is there any way (some option i guess) so that g++ will produce an executable suitable for windows ?
...
(In short: main()'s WaitForSingleObject hangs in the program below).
I'm trying to write a piece of code that dispatches threads and waits for them to finish before it resumes. Instead of creating the threads every time, which is costly, I put them to sleep. The main thread creates X threads in CREATE_SUSPENDED state.
The synch is done...
There is a command I want to call that returns a string, I want to call this command while inside a ruby script, and have access to the result.
...
Hi,
I am running into lots of problems with Unicode at the moment. As I understand it, TCHAR is defined to be either a wchar_t or a char depending on whether _UNICODE is defined somewhere, and there are various other functions to help with this. Apparently _T("x") should evaulate 'x' to either a wchar_t or a char depending on how stuff ...
I am developing on a Windows 2008 R2 Server, 64 bit.
I am developing for SharePoint 2007, 64 bit.
My file structure has these two directories.
I am trying to fix a solution reference in VS2007.
Does it matter where I reference something, are these somewhat duplicate dirs, or how should I consider these two dirs?
...
I am writing an application whose users will use ZoomText and a tablet PC. ZoomText is screen magnification software. However ZoomText has a bug that prevents tablet tracking from working correctly, meaning finger and pen interaction with the screen is incorrect. When you zoom in on a rectangle in the screen and tap on something, you are...
I was to setup an SSH Server to Host my Git Repository to my local area network. I followed this tutorial by TimDavis hoping that I would be able to make a secured Git Repository.
I tested my connection using Putty and it was successful. My only problem was I cannot run "git" command in the console. Then I tried cloning my repository, a...
I have a keyboard without music keys, that for turn up and down the volume, play, stop, etc. of music in my PC. If you don't understand, this is my keyboard and this isn't.
I want to implement, in Windows and in Delphi or C#, a keyboard hook to create the volume feature in my keyboard, but I don't know how to turn up and down it by code...
I would like to monitor the performance of the Memory (RAM) and Physical Disk, what are all the counters in Perfmon that I have to monitor?
...
Hi, I'm looking to upgrade my laptop from Windows Vista to Windows 7. As a .NET developer I'm not interested in developing Windows 7 components at this stage, but was curious which version would suffice to Install Visual Studio/SQL Server and do some web development testing against the local instance of IIS.
I don't care too much about ...
Does anyone know of a tutorial for using TeamCity with github with ssh private keys. I have tried to set up git hub to connect and I either get a authentication error or get access denied. I am running TeamCity on Windows 2003. I am running the build agent as a custom account. I am running the web server under the administrator accou...
I am trying to an execute a program in PHP on Windows with multiple arguments and absolute paths using a method like this:
<?php
$FLACPATH = str_replace(" ","\ ",realpath("../../encoders/flac.exe"));
$LAMEPATH = realpath("../../encoders/lame.exe");
$FILEPATH = realpath("../../encoders/01.flac");
function my_exec($cmd, $input='')
{
...
I am working on a application where-in i have to hit a URL and get the HTTP status code returned from that URL. Currently I am using WININET functions to achieve this. The code to achieve this:
hOpen = InternetOpenA("MYAPP", INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, 0);
hFile = InternetOpenUrlA(hOpen, url.c_str() , NULL, 0,INTERNET_FLAG_RE...
Hi,
We have an application that allows a user to design a form and configure font properties, etc. The fonts presented are from their PC list of available fonts. This application is intended to deploy to a mobile device which will likely not have that font resident. My question involves any licensing issue that arises if we distribut...
As I see it there are two different types of logging:
User-focused logs, like those produced by my anti-virus ("started scan", "no threats found", etc.)
Developer-focused traces, which may be as simple as a log of exceptions or as detailed as a log of every method call
I'm currently planning how to incorporate the second type of logg...
Case in point : I've got a handle to a window (for instance, using the getForegroundWindow() API function). This window's got a textbox (possibly a richtext control). Would it be possible to modify the textbox's text through an Windows API call ? More specifically, I'd like to replace its text with some of my own.
...