|
Congratulation,
Finally you write sort.
|
|
|
|
|
Hi Whitesky,
I have posted the code in the previous reply. In that, the data is getting sorted. But am storing it in an another table. Because i didnt know to replace the contents in the "Pin_List" table, since it is linked to the record object.
With Regards,
Sangeetha.
|
|
|
|
|
Yes I saw you used of Create Table if your problem is for writting to excel file on the Codeproject you can see examples of it. (but I think you can use of another ways search on www.codeproject.com or www.codeguru.com or www.codersource.net In these sites you can see Database Folder that they have examples of excel)
|
|
|
|
|
Hi Whitesky,
I searched.. There are no such examples.. Please excuse me to say this.. Am looking for to coloring specified rows as well as to see the change in the same table instead of creating the second table.
With Regards,
Sangeetha.
|
|
|
|
|
how can we perform a task at specific time suppose 11pm.
i have to make a application which should execute another application at specific time.
if anyone have idea about this please share with me.
thanks & regards
bankey.
|
|
|
|
|
Banks K wrote: how can we perform a task at specific time suppose 11pm.
You can create a windows service to check for the time. If the time in the system clock is what you need and it matches with what the user has scheduled, you can execute another application as you say.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Could use Task Scheduler or...
If your app is always running, you could create a timer and check for a specific time in the OnTimer event, then use ShellExecute to run the other application.
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
thanks for quick reply,
u are right i have to use task scheduler but i have no idea about task scheduler,
please suggest me how can i use task scheduler.
|
|
|
|
|
Is ITaskScheduler helpfuls?
|
|
|
|
|
Hello everyone,
I am using C/C++ on Windows. I am wondering how to get the function call stack from my application.
For example,
if function foo call function goo, then function goo call function zoo, in function goo, I want to output the function call stack (foo --> goo --> zoo), and in goo, output the function call stack (foo --> goo).
Are there any samples of how to implement that? Does Windows runtime support this feature?
thanks in advance,
George
|
|
|
|
|
Can somebody help me in the case that i want that the path of the selected item in the treecrtl should get updated or what we say get selected inthe combobox box ..
How to achieve that....
Thanks in Advance
Saniaaa
|
|
|
|
|
saniaa wrote: what we say get selected inthe combobox box ..
CComboBox::GetCurSel();
or if you want to Search for a string in the list box of a combo box and, if the string is found, select the string in the list box and copy the string to the edit control you can use,
CComboBox::SelectString();
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Thanks for ur reply ...
The Datlist of the combobox does not contain the item which is get selected in the treectrl . The way u have given is for that situation.
Here combobox just contain C:\,D:\ like this dataitems in it. and when the selection in the treectrl gets changed i want the changed or selected item path should get updated in the combobox .
Is there any way to achieve this..
Thanks
Shikha
|
|
|
|
|
Here it is.
CString csTreeItem = m_ObjTree.GetItemText(m_ObjTree.GetSelectedItem());
CString csComboItem;
for( int nInd =0; nInd < m_ObjCombo.GetCount(); nInd++ )
{
ObjCombo.GetLBText(nInd, csComboItem);
if( 0 == csComboItem.compare(csTreeItem ))
{
ObjCombo.SetCurSel(nInd );
break;
}
}
|
|
|
|
|
Thanks for ur reply..
Acccording to ur way as per my understanding my combobox should have the selected item from the treectrl in its datalist ,and then comparing it with the one selected , it is updating in comboboox.
But if i have the simple combbox datalist which just have the datlist items like C:\ ,D:\ not the whole contents of the drives ... in such sitution do we manage it ???
Thanks
Saniaa
|
|
|
|
|
Sorry. I don't get ur need clearly.
if the selected tree control item not in ur combo box,
You want to add it in the combo and select that one?? or map to any other item??
|
|
|
|
|
Hi,
I'm not sure ... you've got a combobox only with drive letters and on treectrl full path, and when you select some path on tree, in combobox should appear full path ?
If yes:
- HTREEITEM GetSelectedItem() - you'll get selected item handle
- CString GetItemText( HTREEITEM hItem ) - you'll get item text
- HTREEITEM GetParentItem( HTREEITEM hItem ) - you'll get parents' item handle
- CString GetItemText( HTREEITEM hItem ) - you'll get item text
...
unless your parents' item handle will equal with root
- HTREEITEM GetRootItem( )
when you'll get all path, you can send all text to combobox
- int InsertString( int nIndex, LPCTSTR lpszString )
and select
- int SetCurSel( int nSelect );
-----------
Mila
|
|
|
|
|
Do you select an item on treectrl and you want to compare it with item on combobox
|
|
|
|
|
Combobox is not having the item which got selected in the treectrl .so my requiremant is that, as the treectrl item get selected or get changed the combobox should show the current path of the item(which got selected on the treectrl) in its editbox.Is it possible..?and How ?
God hepls those who hepls themselves ....
Thanks in advance
Saniaa
|
|
|
|
|
You select an item on treectrl and now you want to display this item on ComboBox(edit),Right?
|
|
|
|
|
Hi,
Can we send the pixel coordinates into MS Paint and display the pixel in MS Paint through VC++.
Kiruba
|
|
|
|
|
Hello
You can not modify the behavior of MS paint . Microsoft is the owner !!!!!!
If possible try to get the source code of MS paint
redindian
|
|
|
|
|
Link error:
Linking...
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char="">,class
std::allocator<char> >::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> >(class
std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > const &)"
(??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z) already defined in rts_scene_area.obj
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char="">,class
I ignore msvcprt.lib,the error still exist.
Runtime libaray is Multi-threaded (/MT),Boost library is included to identify point.
-- modified at 0:50 Friday 3rd November, 2006
|
|
|
|
|
silly question, but mabey you only have it ignored for debug mode but not release mode. Are you ignoring it in release mode as well?
|
|
|
|
|