|
i don t understand please whitesky help me with my code !
give me an example please!!! (my code -> loop)
Bravoone
|
|
|
|
|
There is nobody how can help me PLEASE !!!!!!!!!!!!!!!!????????
Bravoone
|
|
|
|
|
Its not hard you can see an example WM_TIMER or a thread in codeproject after if you have error if i can i answer to you
|
|
|
|
|
Flaviu_2006 wrote: if( sName == sFirstColumnText & sCity == sSecondColumnText)
This is incorrect.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Your while loop should be:
int x = 0;
while (! pDataBase22->IsEOF())
{
int nItem = m_list.InsertItem(x, pDataBase22->m_name);
m_list.SetItemText(nItem, 1, pDataBase22->m_city);
pDataBase22->MoveNext();
x++;
}
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
this is not speed ! is the same thing is slow and take 5 - 10 min. to load my data !
You have any ideea on how can i done this ?????????
Please someone help me !!!!!!!!!!!!!!!!
Bravoone
|
|
|
|
|
Flaviu_2006 wrote: this is not speed ! is the same thing is slow and take 5 - 10 min. to load my data !
Speed issues aside, your code was plainly wrong. That's what I was correcting. You can surely handle the speed issues.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi All,
I have implemented an 'auto version' into my resource file, the only problem is the .rc files needs to be recompiled for each build. As it is, VC6 has a "minimal rebuild" (/Gm and /GX flags) which will build partial and build clean, but a build clean takes too much time. Is there any way to force VC6 to compile and build a single file without building all of them?
|
|
|
|
|
right click on the file in the file view and select compile
nave
|
|
|
|
|
Thanks,
but I already know that. I am asking if there is a way of automating this since it is a little cumbersome having to click it and compile it before I build. I noticed there is a "Custom Build" feature in the options, though I'm not sure how to use it.
|
|
|
|
|
if what u only need to compile the rc file, in the custom build tab put the following commands
rc.exe /l 0x409 /d "NDEBUG" /d "_AFXDLL" Sample.rc
and in the outputs column put
$(IntDir)\Sample.res
n.b the "Sample.rc" should be replaced with the ur applications rc name.
One question..?
How did u implemented auto version?can u plz tell me?
nave
|
|
|
|
|
Thanks for the advice but it didn't work. I tried various combinations and settings but none of them produced the results I wanted.
I ended up creating a macro. A little crude, but the macro adds a forward-slash to the .rc file thus forcing VS to rebuild it.
I implemented the versioning using a VS add-in from here[^]. It works (increases the build for each full/partial build) but to view the final results a full rebuiled is required.
|
|
|
|
|
Visual C++ builds only those files that have changed since the final file was last built - to do this, it uses the modification timestamps of the files and any dependencies of the files. It should automatically pick up any files #include d in the .rc file as dependencies.
I would implement 'auto version' by generating a header file with just the version numbers in, and #including that in the .rc file.
|
|
|
|
|
Hi all,
How do i merge all the cells in a column to make a single cell in MSFlexgrid control?
Can anyone plz help in this regards?
Thanks in advance.
Regards,
Ram
|
|
|
|
|
I have some C++ source code for which I need to create a DLL in VS2005. It builds OK but in the Debug folder, there is no DLL created, just some OBJ files and Manifest files. What am I doing wrong?
Regards
alias47
|
|
|
|
|
Do you get error? and see here[^] maybe it is some helpful to you
|
|
|
|
|
The code compiled ok. I found the DLL. The output directory was not obvious.
|
|
|
|
|
I have DirectX.Capture.dll from Brian Low . It is c#.net and i know vb.net can use its but i don't know
how can i use function in dll with c++.net .
|
|
|
|
|
Ask in the C++/CLI forum.
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
Its c++.net or not if not see here[^]
|
|
|
|
|
if sb will be read /write my file , my program had the power that can gave a messagebox show message: do you allow some program read/write the file ?Then we control the file whether can be read/write .
thanks.
|
|
|
|
|
You want to watch a file, and block other programs from reading from or writing to it ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
hallo everybady :
i am a bigginer in C++ und MFC.ich am using Visual C++ Compeler. can you help me with following problem? :
ich want to show a table by clicking an undermenu, that was inserted in a menu of mainmenu. for exsample :
action is a Menu in mainmenu. under that there is a menu named Add_Table.
my problem is ,that where can ich edit this table ? in Visual c++ or anywhere else ? also it lookslike for me imposible to show it under the Resourses Window , with ActivX Elements. doesnt it ? do you have a Sugesstion to me ?
thank you much more.
Burkut
|
|
|
|
|
First of all, I thought I was reading something from D Ali G, but that's Borat. Had to laugh, sorry. I took German in high school, so could translate the ich and unds.
Anyway, I was unclear about what you are trying to do. Are you trying to pull up a view that shows a grid control so you can edit a database table?
I think we need A LOT more information before anyone can answer your question.
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
well, Steve , yes i am seeing my mistake too. it is really to laugh. what can i do, my english is poor enough. i know it. i make sometimes like this mistakes. ha hahahah ... but i will try to interpret my problem more specificly ...
otherway way you have understand this problem somewhat. i am trying to pull
up a view that shows a grid control so you can edit a database table, this table should be zoomed in or zommed out at any time. for example: the grid distance is 100 Mikrometer. i want the grid distance smalleror bigger by zooming. in a wort , ich don't want to make a statische grid , but a dynamische grid.
the zooming of the grid should be controlled by buttons ZoomIn/ZoomOut for example.
my question was that how can i get this grid? should i impliment a funktion that paint the grid or , is there an vordefined funktions or classes? if not, i want an Idea, how do i get the grid?
thank you for your time and your understandings of my problem.
burkut
|
|
|
|