I have made a TForm derivative that acts like the drop down part of a combo, or a hint window, or a popup menu - a temporary thing. It has no caption - its BorderStyle is set to bsNone. The form is displayed non-modally using Show, having set its position.
To make it stand out, it needs a drop shadow around its border. However, a conseq...
Hi ,
I am using this code to insert some values in MySql table:
<?php
mysql_connect("localhost","root","root");
mysql_select_db("bib");
$id = "12";
$titlu = "Joe";
$query = "INSERT INTO carte SET id='$id', titlu='$titlu'";
$result = mysql_query($query);
// Display an appropriate message
if ($result)
echo "<p>Product successfully in...
I have a C program which loads a file line-by-line into one string and then memcpy's this string into another string pointer using this code:
typedef struct inmod_struct {
Int32 ReturnCode;
Int32 Length;
char Body[ROWSIZE];
} inmdtyp,*inmdptr;
inmdptr inmodptr;
char line[600];
int doit()
{
...
I'm trying to read a public MSMQ from a remote (Server 2008) machine.
I know XP has MSMQ 3.0, and I've found some information that it doesn't support transactional, non-local receiving. Does that include trying to read from a remote queue?
I've tried all sorts of combinations, and the only way I can read a message from the queue is by...
Hi guys
I'm starting with Android development and I have no idea what's wrong on the this command line:
C:\Documents and Settings\Gabriel.Esquivel.android\avd>android create avd -n Ev
o4G -t 9 -c 8000MB -s 480-800
Valid skins: WVGA854, WQVGA400, HVGA (default), WQVGA432, WVGA800, QVGA
Error: '480-800' is not a valid skin name or size ...
Our Windows file server has an archive service installed that "stubs" files that have not been accessed for a defined period of time. When a request for the stubbed file is sent to the server, the archive service replaces the stub with the original document and serves it to the user.
A major complaint about the archive service was that ...
Hi all,
Here is what I want to do - I would like to install a software on every PC in my domain. I would like it fully automated. I am sure this can be done either using a batch file or a vbscript. Here is what I would like to do:
Check if file exists on local machine based on log file (related to step 4)
If not, copy exe from server ...
We are developing an NDIS protocol and miniport driver. When the driver is in-use and the system hibernates we get a bug check (blue screen) with the following error:
LOCKED_PAGES_TRACKER_CORRUPTION (d9)
Arguments:
Arg1: 00000001, The MDL is being inserted twice on the same process list.
Arg2: 875da420, Address of internal lock trackin...
Working on an html5 app for a touchscreen windows xp computer that will be running in a store display. We need a good way of keeping users from exiting the program.
Any ideas on how to accomplish this?
...
ShowDialog() doesn't bring form to top when the owner is minimized. It is shown and visible, but it is not focused and behind the current window. Even using the commented lines, I see the issue.
public void Form1_Click(object sender, EventArgs e)
{
this.WindowState = FormWindowState.Minimized;
// this.Hide();
...
I'm looking for a capability similar to Windows System Resource Manager to allocate minimum percentages of processor time to specific processes, but on constrained non-server Windows platforms such as CE and XP (Vista/7 are not an option here).
For example, I'd like to assign minimum 60% CPU and 25% I/O bandwidth to a foreground full sc...
Hi all,
I'm using Windows XPSP3's dialer.exe app to log all incoming and outgoing phone calls. The default location for the dialer.exe is: %PROGRAM_FILES%\windows nt\dialer.exe. Using this application's default Log Viewer (a txt file), I see records of both incoming and outgoing calls, but it only registers the phone number for the out...
I have a job in Hudson that builds on a Windows XP slave. I know that symlinks are not possible (directly) in Windows XP, and so I am trying to use junctions instead. I wrote a batch script:
@echo off
if "%1" == "" goto ERROR1
if "%2" == "" goto ERROR2
goto create
:create
echo Creating junction for %1 at %2
if exist %2 junction -q -d %...
First of all, when I start the application normally (double-clicking on the exe), it works perfectly: the notify icon is always appearing in the system tray. It also works well when the application is launched at the end of an msi Setup (http://stackoverflow.com/questions/1668274/run-exe-after-msi-installation).
However, when the applic...
I know for dll files you can read an Assembly version, but I was wondering if there's some way to mark or read versions from ANY filetype (jpg for example). I'm making an update program that only updates what's necessary and it'd be better if all files were versioned instead of keeping track of versions in a separate file.
Oh and this i...
When you save an html file "completely"(as opposite to "just html"), the html file and an associated resource folder will be saved. The interesting thing is that when you delete the html file, the folder will be deleted automatically.
The folder must not be some ordinary folder. What is it called and is it possible to do this programmat...
I'm looking to write a batch file I can deploy to 20-30 users that will export all of the enabled versions of Java out to a text file, which I can then pick up, and add to a troubleshooting effort we're working on.
I know that java -version will show the current version, but we're in an environment where we have multiple applications th...
I am sending out kiosks with no control panel access and no keyboard. Problem is, somehow the wireless card needs to be configured to work with routers. So need to specify SSID and encryption settings without actually keying it in on the kiosk. Hoping to be able to put in a USB drive with a wirelessconfig.txt file and have windows XP...
Hello
I have a Visual Studio 2008 Windows Application which typically has menu items,textboxes and some buttons on almost every other forms. It looks great on my development machine which is XP SP3.
I read my AppConfig file to set the font family and font size which is common to all forms.
For ex: I use the Arial 10 font to be used t...
I am using windbg with xp embedded. Attempting to fetch the operating system symbols fails with the message "Symbol file could not be found. Defaulted to export symbols for ntdll.dll". (Is this typical for xp embedded???)
I have no problem locating and loading symbols and source for my own code. However stepping through the code suggest...