Search:
Type: Posts; User: gfzhang
Search:
Search took 0.04 seconds.
-
March 28th, 2010, 11:57 PM
Hi, All.
I set up a test website by WinXP+IIS5+ASP.NET3.5+VB.NET
Now, I want to set my website to be accessed only by https://192.168.11.20/... in local intranet, not http://...
So, I create a...
-
August 26th, 2009, 04:29 AM
I put a DataGridViewButtonCell in the cell of DataGridView.
Sometimes, I want the DataGridViewButtonCell can not be clicked and become gray,
How I can do?
Just like a button in Form, when I set...
-
April 24th, 2009, 12:20 AM
Hi, all
I want to write an excel file in my VC program developed by VS2003.
Now I import the excel in the header file like this:
#import "C:\Program Files\Common Files\Microsoft...
-
December 8th, 2008, 12:27 AM
It is "recommend", but not necessary.
A good manner of coding, I think.
Open it before using it, close it after using it.
Otherwise, sometime in a big program, if another function want to access...
-
December 7th, 2008, 11:46 PM
fouttrans.close();
foutmaster.close();
is enough.
However, recommends you to use ofstream like this:
ofstream foutmaster;
foutmaster.open("master.data", ... );
-
December 7th, 2008, 10:38 PM
What is your problem?
It didn't work?
-
December 7th, 2008, 09:53 PM
The "master" which you defined is an array of struct record.
So, if you want to print the every element of master, I think you must do it like this:
fourmaster << master[i].name <<...
-
December 2nd, 2008, 07:52 PM
-
December 2nd, 2008, 09:47 AM
>It sounds like you are trying to build a recorder that records everything that the user does.
Almost it is, for example, like QTP.
But in my application, I just want to output the actions(...
-
December 2nd, 2008, 04:36 AM
Yes, any image format is OK.
I just want to develop an application, it executes another target GUI application, and record the
operations(like keyboard input, layout and so on) of the target...
-
December 2nd, 2008, 02:26 AM
Hi, All
I want to create a xml file in VC dialog application, and write something to it.
For example, the main dialog of my application.
How can I write the image of main dialog to the...
-
April 16th, 2008, 11:54 PM
Thanks to Carlos:
I agree with you.
In my code, the key of the hash_map is K*, and the argument of hash_map::find(..) is const key_type&.
Replace the key_type with K*,
that is const (K*) &,...
-
April 15th, 2008, 04:27 AM
Thanks to reply.
stdext::hash_map::find is derived form stdext::_Hash<_Traits>::find
Its definition is like this:
//+++++++++++++++++++++++++++++++++++++++++++++++++++
iterator find(const...
-
April 14th, 2008, 07:47 PM
Hello all. I got a problem when using hash_map::find().
My self-defined code is like this:
//+++++++++++++++++++++++++++++++++++++++++
#include <functional>
#include <hash_map>
template...
-
August 31st, 2006, 11:36 PM
I modified the code like this:
strcpy( szCommand, "cmd.exe /c gzip -acd D:\gzip\sig.txt.gz > D:\gzip\sig.txt" );
bRes = CreateProcess( NULL,
...
-
August 30th, 2006, 10:30 PM
Yes, I have recoglized it after I submit the reply:)
But I have also try like that, It still can not decompress the file!
The return value of createprocess is 1.
By the way, it seems that the...
-
August 30th, 2006, 09:54 PM
To Eli,
I have made a try follow your advice:
The code I modified:
strcpy( szCommand, "gzip -acd D:\\gzip\\sig.txt.gz > D:\\gzip\\sig.txt" );
BOOL bRes = CreateProcess( "D:\\Program...
-
August 30th, 2006, 08:37 AM
Yes, I have add the path of the gunzip.exe to the environment PATH.
The return value of createprocess() is 1.
By the way, if the szCommand is :
"gunzip -a D:\\test.txt.gz"
the process works...
-
August 30th, 2006, 08:25 AM
The code:
strcpy( szCommand, "gunzip -ac D:\\test.txt.gz > D:\\test.txt" );
BOOL bRes = CreateProcess( NULL, szCommand,
NULL,
NULL,
TRUE,
//DETACHED_PROCESS, ...
-
June 15th, 2006, 01:29 AM
Then, if I use the code directly, instead of making them into a DLL, the problem will not existed.
-
June 15th, 2006, 01:17 AM
Hi all,
I have created a DLL in which I defined a class whose name is ClassAA, ClassAA is derived from ClassBB which is derived from CObject.
In the definition of ClassBB, I use...
|
Click Here to Expand Forum to Full Width
|