Type: Posts; User: c0ldshadow
Search took 0.01 seconds.
September 3rd, 2009, 08:52 AM
Hi, I am trying to make a MySQL query that returns the date of the next friday for each line... right now I only have it so it prints the date of the friday after the LAST date value returned in the...
April 11th, 2008, 12:58 PM
so basically i could just manually add the network printers to the workstation my program runs on, and then somehow tell my application to print to that printer?
what functions/etc to i need to...
April 11th, 2008, 12:45 PM
I would like to be able to print a file to a network printer in C#
i have researched this thoroughly on google but I haven't found a working solution with example code.
my program will...
April 8th, 2008, 07:52 PM
Hey fellow gurus, I was wondering how I can go about intercepting data to be printed & pausing the printing.
For example, if a user tries to print something, I would like be able to pause the...
Thanks for your help, MikeAThon
So if only one thread is going to be accessing the variable for the IP address, it is safe to use the global variable?
sorry i wasn't more specific.
gethostbyaddr is returning zero, i tried adding a message box in there.
my sendingThread function is the IP address passed to it via CreateThread. I think the...
Below I have two functions, sendingThread() and listenThread()
These two functions are used in a program that allows a user to either receive files or send files. Two people can use...
March 23rd, 2007, 12:12 AM
i have a global variable:
static SOCKET mysock;
My program calls CreateThread() and launches a thread ThreadProc() that causes my application to listen for a connection on a TCP port.
March 18th, 2007, 12:29 AM
thanks. that was just what i was looking for
March 17th, 2007, 11:44 PM
A common problem with windows programs that I see today is that when a user clicks a button to perform a complex task, and the code is not executed in a new thread, the program stops responding when...
March 17th, 2007, 11:35 PM
I am writing a program in C++ and want add a button that when clicked opens a dialog box to allow a user to browse for a file
I am using raw C++ and the Win32 API
What functions do I need to...
February 2nd, 2007, 09:18 PM
I am working on a program to send and receive files with TCP. The program can either listen for a connection, or try attempting to another computer to send a file.
Does anyone see a problem with...
January 30th, 2007, 07:31 AM
Everything appears to be working ok. I know there are lots of more experienced coders than me though, all I'm asking is for tips or potential problems with the functionallity of my regshred function.
January 28th, 2007, 02:12 PM
Secure means overwriting data on the disk. This is to make it harder to recover data. This involves the registry, because the data in the registry is stored on hard drive just like any other data....
January 27th, 2007, 10:47 PM
I have been working on a static link library with a function to securely remove data from the registry. I was wondering if anyone sees any problems with my code. I am aware that the overwriting...
January 23rd, 2007, 12:00 PM
Is this correct now?
January 23rd, 2007, 10:07 AM
for each BYTE should i just do
Thanks for the help as usual, wildfrog.
January 23rd, 2007, 09:43 AM
What is the simplest way to generate a random DWORD between 0 and 0xffffffff using rand() and srand()? I am constrained by RAND_MAX otherwise I would just do rand()%(0xffffffff)+1
My guess is that...
January 10th, 2007, 10:19 AM
January 10th, 2007, 10:08 AM
Is it possible to use auto radio buttons for 2 different areas in the same interface?
I want to be able to have an area like:
option1 option2 option3 (user can check an option here)
December 15th, 2006, 09:36 AM
I'm working on a DLL that has a dcmp32() function to decompress all compressed NTFS files on a drive. My code seems to be working well, but I was wondering if anyone sees any problems. The main thing...
December 11th, 2006, 08:35 AM
Calculator, I was going to implement another function to return the contents of megabuffer.
I think I found part of the problem... the program crashes when realloc returns NULL.
December 10th, 2006, 10:05 AM
My code is actually not working properly at all; I don't know what the problem is. I've been looking at what I have for hours but have been unable to stop the crash. When I call the function from the...
December 10th, 2006, 01:40 AM
thanks for the responses.
calculator, i was wondering what would happen though if tbe same process calls the dcmp32 function twice. could this cause problems?
December 9th, 2006, 09:54 AM
the code is actual not working properly at all. it crashes quickly after only searching a few files out. it only started generating error reports when i added a few messageboxes to the code...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.