Search Results

Showing results 1 to 40 of 71
Search took 0.01 seconds.
Search: Posts Made By: AhmedHan
Forum: C Jun 4th, 2006
Replies: 3
Views: 962
Posted By 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...
Forum: C++ Jun 4th, 2006
Replies: 23
Views: 3,987
Posted By AhmedHan
To use GUI you should first learn Win32 API and/or MFC.
I suggest you learn C++ throughout in the first place.
Forum: HTML and CSS May 7th, 2006
Replies: 1
Views: 964
Posted By AhmedHan
I want to write a very simple browser program, and learn web structure. What should I learn first?
Forum: JavaScript / DHTML / AJAX Apr 24th, 2006
Replies: 2
Views: 2,394
Posted By AhmedHan
<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">...
Forum: PHP Apr 24th, 2006
Replies: 2
Views: 64,617
Posted By AhmedHan
I found the answer in documentation.

strval() --> num 2 str
intval() --> str 2 num
Forum: PHP Apr 23rd, 2006
Replies: 5
Views: 1,801
Posted By AhmedHan
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...
Forum: PHP Apr 23rd, 2006
Replies: 2
Views: 64,617
Posted By 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.
...
Forum: C++ Apr 18th, 2006
Replies: 3
Views: 5,203
Posted By AhmedHan
My code :int _tmain(int argc, _TCHAR* argv[])
{
HINTERNET hInternet;
BOOL bResult;

hInternet = InternetOpen( (LPCTSTR) "NoAgent",
(DWORD) INTERNET_OPEN_TYPE_DIRECT,...
Forum: C++ Apr 18th, 2006
Replies: 8
Views: 11,333
Posted By AhmedHan
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...
Forum: C Mar 10th, 2006
Replies: 0
Views: 1,084
Posted By 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 boundariesglVertex2d(x, y);
glVertex2i(x, y);...
Forum: C Mar 10th, 2006
Replies: 7
Views: 16,791
Posted By AhmedHan
Forum: C++ Mar 5th, 2006
Replies: 5
Views: 4,420
Posted By AhmedHan
And also,#pragma comment(lib, "opengl32.lib");
#pragma comment(lib, "glu32.lib");may be added at the beginning of the program code as an alternative.
Forum: C++ Mar 5th, 2006
Replies: 5
Views: 4,420
Posted By AhmedHan
It is well explained in MSDN :



Thanks everybody!
Forum: C++ Mar 4th, 2006
Replies: 5
Views: 4,420
Posted By 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...
Forum: C++ Mar 4th, 2006
Replies: 5
Views: 1,511
Posted By AhmedHan
Yes, you had better sending your entire code. It's impossible to understand a program with just a piece of it.
Forum: C Mar 1st, 2006
Replies: 5
Views: 3,758
Posted By AhmedHan
But I cannot use WM_KEYDOWN or something else, because I already use WM_INPUT. I recieve the input with WM_INPUT, not with WM_KEYDOWN.

When user hits ALT key, WM_SYSKEYDOWN, WM_KEYUP,...
Forum: C Mar 1st, 2006
Replies: 5
Views: 3,758
Posted By AhmedHan
Windows sends the key twice. First time it sends the key with a WM_KEYDOWN, and then with a WM_KEYUP message. As a special case, it sends WM_SYSKEYDOWN and WM_SYSKEYUP when ALT key is pressed. No...
Forum: C Feb 28th, 2006
Replies: 5
Views: 3,758
Posted By 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...
Forum: C++ Feb 26th, 2006
Replies: 12
Views: 9,352
Posted By AhmedHan
Code :1813
Error :The specified resource type cannot be found in the image file.
Const :ERROR_RESOURCE_TYPE_NOT_FOUND
Forum: Monitors, Displays and Video Cards Feb 26th, 2006
Replies: 2
Views: 1,877
Posted By 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?
Forum: C Feb 26th, 2006
Replies: 17
Views: 3,080
Posted By AhmedHan
winbatch, your avatar is so cool!
Forum: C Feb 26th, 2006
Replies: 17
Views: 3,080
Posted By AhmedHan
Forum: C++ Feb 26th, 2006
Replies: 5
Views: 2,949
Posted By AhmedHan
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.
Forum: C Feb 26th, 2006
Replies: 5
Views: 5,921
Posted By AhmedHan
Thanks for your help.
It OK now!

VOID ErrorTest(LPSTR lpzsErrorText);
VOID ErrorTest(INT nText);
class UserDefinedWindow
{
public:
WNDCLASSEX WindowClass;
Forum: C++ Feb 25th, 2006
Replies: 12
Views: 9,352
Posted By AhmedHan
Forum: C Feb 25th, 2006
Replies: 17
Views: 3,080
Posted By AhmedHan
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++;
}
Forum: C Feb 25th, 2006
Replies: 5
Views: 5,921
Posted By AhmedHan
First, I prepared the class blow :
class UserDefinedWindow
{
public:
WNDCLASSEX WindowClass;

DWORD dwExStyle;
LPCTSTR lpClassName;
LPCTSTR lpWindowName;
DWORD dwStyle;
Forum: Java Feb 18th, 2006
Replies: 6
Code Snippet: Java Mailing
Views: 14,380
Posted By AhmedHan
Yes, it is not explained where to get these jar files.
Forum: C Feb 14th, 2006
Replies: 2
Views: 3,358
Posted By AhmedHan
Yes, thanks.
It works now.
Forum: C Feb 14th, 2006
Replies: 2
Views: 3,358
Posted By 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 :#include "stdafx.h"...
Forum: C++ Jan 30th, 2006
Replies: 5
Views: 2,235
Posted By AhmedHan
John-san,

Instead of using MessageBox(), you must use wide-char version of it, MessageBoxW(). Parametres are same for it, except for the title and text. Title and text must be in the WCHAR type.
...
Forum: C Oct 31st, 2005
Replies: 1
Views: 3,095
Posted By 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?
Forum: C Oct 12th, 2005
Replies: 4
Views: 1,724
Posted By AhmedHan
Thanks.
Type conversion works well.
Forum: C Oct 11th, 2005
Replies: 4
Views: 1,724
Posted By AhmedHan
Isconvenient?

Then we can access to the sub-fields this way :
Forum: C Oct 11th, 2005
Replies: 4
Views: 1,724
Posted By AhmedHan
We have a struct defined as :


Then we are sent a message...


And this is the code which gets the message


lParam contains the address of the struct. Here we want to access to the struct.
Forum: C++ Oct 7th, 2005
Replies: 2
Views: 2,054
Posted By 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...
Forum: HTML and CSS Aug 12th, 2005
Replies: 5
Views: 1,748
Posted By AhmedHan
What is the sollution?
How can I make the address of the page change?
Forum: HTML and CSS Aug 12th, 2005
Replies: 5
Views: 1,748
Posted By AhmedHan
My is problem has nothing concerned with PHP. I have a HTM version of the Website, and that causes the same problem. I think, it is becuse of frame pages.

Please, someone help me!
Forum: HTML and CSS Aug 8th, 2005
Replies: 5
Views: 1,748
Posted By 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...
Forum: PHP Aug 4th, 2005
Replies: 6
Views: 3,622
Posted By AhmedHan
My platform is Apache 2.?, PHP 5, WinXP.

Apache gives an error message on this line :
LoadModule php5_module "C:/Prog/PHP/php5apache2.dll"
in the "httpd.conf" file.

Can any of you attach his...
Showing results 1 to 40 of 71

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC