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
354
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
666
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
360
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
150
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
434
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
189
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
140
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
396
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
133
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
259
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
147
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
389
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
100
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
287
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
112
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

The End.