Hi all,
I have a small Perl script which uses Mail::POP3Client to periodically check an email account. It works great except for forwarding. Basically I want it to forward certain messages to a different address if found. Right now, it does this OK except for the fact that it loses the original...
Hi all,
I'm using InternetReadFile() to successfully send form data via the 'GET' method to a url, eg:
http://example.com/myscript.php?a=something&b=somethingelse
And it works great... that is, except when the url length exceeds 2048 characters!
Ideally, I need to be able to send such...
Hi all,
I'm totally new to Java (coming from C/C++) - so please excuse this if it's a stupid question. :-S
Basically, I want to create a java applet that displays a list control much like the common Windows list control with columns, etc.
I'd like to do this directly in the applet itself...
Hi all,
What is the best way to have a PHP script access another URL on a remote server. For example, let's say I have a PHP script on my server but I want to get the text returned by "http://someotherserver.com/somescript.php"
Thanks,
Nick
Hi all,
Having some troubles with MySQL and efficiency using Apache. Here's the set up:
We have about 12 MySQL DB's running on a Linux server. We have approx 100 users accessing the DB via PHP scripts. However, the server load is way up to like 20-30 and everything is running at a crawl.
We...
Hi, does anyone know any easy way for me to check a users country (via IP address) in a script? For example, if I detect the user's IP address is 123.123.123.123 I then need to determine if that user is in China or Australia.
Thanks!
Hi, does anyone know any easy way for me to check a users country (via IP address) in a CGI script? For example, if I detect the user's IP address is 123.123.123.123 I then need to determine if that user is in China or Australia.
Thanks!
Well there is the "Additional library path" field under "Input" category but I've never used it. The other option is to just make copies of the libs and stick them in your project directory - they're going to be getting statically linked in anyway and it may be best to keep externals under one...
yes, drawing a bitmap image direct to the device context is really easy - here's a function that you can use:
void DrawBitmap(HDC pDC,int x,int y,HBITMAP bmpBG)
{
auto HBITMAP oldBmp=(HBITMAP)::GetCurrentObject(pDC,OBJ_BITMAP);
auto BITMAP bm...
why don't you just draw the bitmaps to the dialog's HDC in the OnPaint() function instead of making the first bitmap an actual control?
If you need to handle clicks or something in the first bitmap, you can still do it by overriding the OnLButtonDown() etc. and examining if PtInRect() and so on.
// define your function
BOOL CALLBACK MyEnumFunction(HWND wnd,LPARAM lParam)
{
auto char buf[1024]="";
// examine this HWND - see if it's the one we want!
::GetWindowText(wnd,buf,1023);
if (strstr(buf,"My Program's Main Window"))
{
// we found our window on...
Hi, I have an interesting problem. I want to be able to add [at will] child windows to another window from another running executable.
So, let's say there is a program ("program A") running on the PC which displays a main window ("window A"). My program ("program B") wants to create a child...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.