Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~16.7K People Reached
Favorite Tags

40 Posted Topics

Member Avatar for AhmedHan

I heard a rumour that there is a program named "PHP Tripod" that does the same thing as PHP, MySQL and Apache. Like "three in one". The reason I am looking for this program is having troubles with Apache. Do you know how can I get this program? I searched …

Member Avatar for cwarn23
0
355
Member Avatar for apcxpc

[QUOTE]Return Value If the function succeeds, the return value is the handle to the dialog box. If the function fails, the return value is NULL. To get extended error information, call GetLastError. [/QUOTE] Try using GetLastError() function.

Member Avatar for Jens_2
0
667
Member Avatar for axiss

The best way is to create your own classes in such situations. It is not difficult to find sample code on the net. Even if you find it, it won't be handy, because your own code can't take the place of someone else's. I think it is a waste of …

Member Avatar for ynikitenko
0
280
Member Avatar for ckid
Member Avatar for AhmedHan

Here is my code : #include <iostream.h> int main (int argc, char * argv[]) { struct { short Signture; long FileSize; short Reserved1; short Reserved2; long ImgDataStartOff; long InfoHeaderSize; long Width; long Height; short Planes; short NumbOfPix; long Compression; long SizeOfImgData; long HRes; long VRes; long NumOfCol; long NumOfImpCol; } …

Member Avatar for bala2nd
0
362
Member Avatar for cheenu78
Member Avatar for balagangadharm
0
174
Member Avatar for AhmedHan

First, I prepared the class blow : [CODE]class UserDefinedWindow { public: WNDCLASSEX WindowClass; DWORD dwExStyle; LPCTSTR lpClassName; LPCTSTR lpWindowName; DWORD dwStyle; int x; int y; int nWidth; int nHeight; HWND hWndParent; HMENU hMenu; HINSTANCE hProgInst; LPVOID lpParam; char ClassName[MAX_LOADSTRING]; char Caption[MAX_LOADSTRING]; HWND hWnd; UserDefinedWindow() { dwExStyle = 0; //These are …

Member Avatar for EZO
1
371
Member Avatar for AhmedHan

You know better, if you let a CRT monitor keep an image on its screen for a long time it makes tracks on it. Is it same for the LCD monitors? Is it a must to use screen saver for LCD monitors too?

Member Avatar for jbennet
0
73
Member Avatar for AhmedHan

Recently I installed Visual Studio 2005 .NET on my computer. I wrote a Win32 program. But my program doesn't run on PCs that doesn't have Framework 2 installed on. Is there any settings for VS 2005 .NET to make my code run on all PCs? Or what DLL file should …

Member Avatar for WolfPack
0
151
Member Avatar for LieAfterLie

[QUOTE=LieAfterLie]So how can i write a GUI in C++ without the console window?[/QUOTE] To use GUI you should first learn Win32 API and/or MFC. I suggest you learn C++ throughout in the first place.

Member Avatar for AhmedHan
0
438
Member Avatar for AhmedHan

I want to write a very simple browser program, and learn web structure. What should I learn first?

Member Avatar for iamthwee
0
106
Member Avatar for muthumari

Of course. Apache is full compatible with PHP. Install them in this order : Apache, PHP (do the settings), MySQL. Later on, you may have problems while combining Apache and PHP. If so, have a look at the documentation supported with PHP. Good luck!

Member Avatar for JD.ua
0
191
Member Avatar for AhmedHan

[CODE]<html> <head> <meta http-equiv="Content-Type"content="text/html; charset=windows-1254"> <title>JavaScript</title> </head> <body bgcolor="#000000" text="#ffffff" vlink="#99FF33" link="#FF99FF"> <script language="javascript"> function ShowValue() { document.TextBox.value = "You clicked the button."; //Error on this line } </script> <input type="text" name="TextBox" width="128"><br> <input type="button" name="Show" value="Show" onClick="ShowValue();"> </body> </html>[/CODE] Text control doesn't show the text. Why doesn't it?

Member Avatar for tgreer
0
101
Member Avatar for AhmedHan

I have an HTML which posts a form to a PHP page. The PHP page encodes the password from the form using md5() function. And then I tried to save this MD5 code into a file using fwrite() function. Here the error occures. fwrite() only accepts string parameter, but the …

Member Avatar for AhmedHan
0
136
Member Avatar for AhmedHan

My code :[CODE]int _tmain(int argc, _TCHAR* argv[]) { HINTERNET hInternet; BOOL bResult; hInternet = InternetOpen( (LPCTSTR) "NoAgent", (DWORD) INTERNET_OPEN_TYPE_DIRECT, (LPCTSTR) NULL, (LPCTSTR) NULL, (DWORD) INTERNET_FLAG_ASYNC); if (hInternet == NULL) { DebugTest("hInternet == NULL"); } DebugTest("Internet handle created!"); bResult = InternetCloseHandle((HINTERNET) hInternet); if (bResult == NULL) { DebugTest("InternetCloseHandle((HINTERNET) hInternet) == NULL"); …

Member Avatar for Salem
0
141
Member Avatar for bofarull
Member Avatar for AhmedHan

You know glVertex2f(), glVertex3f() and glVertex4f() functions have upper and lower boundaries of -1.0f and +1.0f. And, can you tell me what boundaries[INDENT]glVertex2d(x, y); glVertex2i(x, y); glVertex2s(x, y);[/INDENT]x and y parameters have for the functions above? And one more thing... What is the 4th parameter of glVertex4?() is for?

0
94
Member Avatar for AhmedHan

I had been studying OpenGL in DevCPP all the time. Using DevCPP you link OpenGL library files libopengl32.a and libglu32.a adjusting project options. But I dont know how to do this in VC++. Can you help me what files to link and how to link in Visual Studio 2005 for …

Member Avatar for jwenting
0
254
Member Avatar for stupidenator

Yes, you had better sending your entire code. It's impossible to understand a program with just a piece of it.

Member Avatar for stupidenator
0
170
Member Avatar for AhmedHan

Hello guys. I'm capturing the keyboard input using the class below. And I have no problem doing that. What I wanna ask is how to understand if a key is pressed, released or being pressed. Let me explain more... When ever any key is pressed the member function GetData() returns …

Member Avatar for WolfPack
0
398
Member Avatar for vicky_dev

[CODE]double dNum = 4.33; int iNum; int DecPnt = 0; for(int i=1; true; i*=10) { dNum*=i; iNum=(int) dNum; if (iNum==dNum) break; DecPnt++; }[/CODE]

Member Avatar for vicky_dev
0
135
Member Avatar for kryptolite

May be you can use a random word buffer. Store 100 random words to a buffer in one time. After user finishes 100 words (i now no such a person!), read another 100 words.

Member Avatar for AhmedHan
0
203
Member Avatar for peachy

The function "Information" must have a Begin/End; block, and so the case statement must be encapsulated with a Begin/End; block. Just put a Begin/End; block there.

Member Avatar for rcwally
0
260
Member Avatar for AhmedHan

I wrote down a program code that recognizes the keyboard as an HID device and gets input (the key pressed) from it. Then displays it on an edit control. Here is the code :[CODE]#include "stdafx.h" #define _WIN32_WINNT 0x0502 #include <windows.h> #include "HID Input.h" #define MAX_LOADSTRING 100 RAWINPUTDEVICE Rid; USHORT usVKey; …

Member Avatar for AhmedHan
0
149
Member Avatar for johnroach1985

[QUOTE=johnroach1985]Hi.I have been trying to write a simple program that teaches how to read and write Japanese.Unfortunately not every windows does not support Jpanese characters.So like when my program starts I have a pop up which has to give a japanese chared message altough I write the code as such …

Member Avatar for AhmedHan
0
390
Member Avatar for AhmedHan

I have an URL of a file on the Web stored in a string. I want to start the download dialog box of Internet Explorer in order to download the file. Do you know any APIs?

Member Avatar for WolfPack
0
101
Member Avatar for AhmedHan

We have a struct defined as : typedef struct tagWINDOWPOS { /* wp */ HWND hwnd; HWND hwndInsertAfter; int x; int y; int cx; int cy; UINT flags; } WINDOWPOS; Then we are sent a message... WM_WINDOWPOSCHANGING WPARAM wParam LPARAM lParam; Parameters wParam This parameter is not used. lParam Pointer …

Member Avatar for AhmedHan
0
289
Member Avatar for AhmedHan

I am trying to write down a Win32 program that recovers corrupted files on CDs and DVDs. I used ReadFile() function to read the corrupted file. ReadFile() is supposed to return ERROR_READ_FAULT value whenever any read error occurs. Unfortunately, the program stucks at the ReadFile() function when there exist a …

Member Avatar for Ancient Dragon
0
170
Member Avatar for AhmedHan

I have frames page. In ("index.php"="main.php"+"button.php"+"banner.php") format. Using Apache 2.0. The problem is, when I open a link in the home page, it opens in the main fram, as I want, but the address in the address-bar does not change, remains "http://localhost/site/index.php". Always stays as is. What can be the …

Member Avatar for tgreer
0
113
Member Avatar for AhmedHan

I am using BloodshedDev-CPP GNU. Assembly codes are written in this format : int Variable=45; /*a random value*/ __asm(mov %ax,_Degisken); The crap compiler uses 'AT&T Assembly Syntax'. The problem is I don't know that AT&T stuff and I want to call some interrupts in my program. In the [I]normal[/I] assambly …

Member Avatar for fluidDelusions
0
1K
Member Avatar for AhmedHan

May please one of you explain me what the hell are these sucking error messages and how can they be fixed that the sucking DevCPP compiler generates out for no reason which I have been trying to solve for two entire days? [Linker error] undefined reference to `wglCreateContext@4' [Linker error] …

Member Avatar for AhmedHan
0
96
Member Avatar for Narue

C and C++ are certainly diffrent languages; nobody can deny it. Whenever, I take some C code, without paying attention if it was C or C++, from this site it doesn't work properly on C++ compiler. So I want C and C++ to be separeted.

Member Avatar for Electrohead
0
609
Member Avatar for AhmedHan

Here is code for sending e-mail which I wrote down: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Send Mail</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <h1>SENDING MAIL</h1> <form action="Mail.php" method="post"> <table width="200" border="0"> <tr> <td>To Whom :</td> <td><input type="text" name="Target" size="50" value="Someone@somenet.com"></td> </tr> <tr> <td>Topic :</td> <td><input …

Member Avatar for AhmedHan
0
250
Member Avatar for AhmedHan
Member Avatar for AhmedHan

I'm using GNU Pascal. For my homework (due to next Friday) I have to learn how to set up the cursor position, and how to change text and background colour. And how can I learn more about such commands?

Member Avatar for AhmedHan
0
195
Member Avatar for AhmedHan

Can anybody tell me, what should I learn in order to make Windows mode graphics through APIs and DLLs? OpenGL? DirectX? Or anything else? Please help this lost sheep!

Member Avatar for vegaseat
0
271
Member Avatar for AhmedHan

I want to change cursor position in my C++ program. As you know, C++ does not have any command to do this. By I think, one of the h files can be used for this purpose. My Bloodshed compiler has lots of "*.h" files. But I don't know how to …

Member Avatar for Dave Sinkula
0
4K
Member Avatar for techied
Member Avatar for AhmedHan
0
152
Member Avatar for ikanku15

What does it mean that a string is greater than the other? What a kind of comparision do we do?

Member Avatar for Narue
0
226
Member Avatar for divminds
Member Avatar for AhmedHan
0
86

The End.