|
VC++.net? you mean the Managed one? If so, why not you use the SQl connections and Sql Adaptors?
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[ ]--
[My Current Status]
Link2006 wrote:Let's take it outside of CP
Jeremy : Please don't.I would love to see this.I'm making the popcorn already.
|
|
|
|
|
can u please send any link for help?
|
|
|
|
|
Sure, Please find it here^
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[ ]--
[My Current Status]
Link2006 wrote:Let's take it outside of CP
Jeremy : Please don't.I would love to see this.I'm making the popcorn already.
|
|
|
|
|
|
I have an application with diferrent views.
I named each view as Groupview,grphview.etc,I stored number in to seperate varaible as int Windownumber =1 for groupview and respectively.
In childfrm.cpp class in Precreateview it codes like
BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CMDIChildWnd::PreCreateWindow(cs) )
return FALSE;
if(iWindowNumber == -1) //Splas
{
cs.x = -15;
cs.y = -15;
cs.cx = 7500;
cs.cy = 7500;
cs.style &= ~(WS_BORDER);cs.style &= ~(WS_THICKFRAME);
cs.style &= ~(WS_MAXIMIZEBOX);cs.style &= ~(WS_MINIMIZEBOX);
}
else
{
cs.style &= WS_CHILD | WS_VISIBLE | WS_MAXIMIZE | ~WS_SYSMENU;
}
return CMDIChildWnd::PreCreateWindow(cs);
}
And in OnCreate it code like
else if(iWindowNumber == 6)
{
if (!m_wndWindowTool.Create(this,CBRS_TOP|CBRS_TOOLTIPS|CBRS_FLYBY|WS_VISIBLE |CBRS_FLOAT_MULTI) ||
!m_wndWindowTool.LoadBitmap(IDB_GROUPVW) ||
!m_wndWindowTool.SetButtons(CtrlGrp,
sizeof(CtrlGrp)/sizeof(UINT)))
{
TRACE0("Failed to create toolbar\n");
return -1;
}
m_wndWindowTool.SetWindowText("Graphic");
m_wndWindowTool.SetSizes( butSize,bmpSize );
m_wndWindowTool.SetHeight( 40 );....
.
.
.}
Like this.
I want to resize my view class and my view (GraphView)displayed with out maxi,min box.I want to resize it.
What can i do?My application looks like..I have menus in main window..WHen i click each menu different view will be displayed.But each view can not be resized.I have to resize ..so what can i do?
I include precreatewindow in that particular view class but it gives Assertion error in return statemnet.
So i included WS_OVERLAPPED in precreate as well as in OnCreate in childfrm.cpp,but no use.Nothing look different.
Pls help me
Anu
|
|
|
|
|
How can i access the index for a table from my database in my CRecordet class?
lets say i have the class CRecordset = CDatabase1
in my header file i see only the columns not the indexes for columns for ex : col name : "NAME" in my header file->CString m_name but the index i don t see him his name is "name" .!
please help me how can i access the index ?
Bravoone
|
|
|
|
|
I'm not entirely sure of what you are asking, but have you considered CRecordset::GetStatus() ? It will return the zero-based index of the current record in the recordset, if its known. Is that what you want?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi everyone,
I want to enumerate desktop items and Im using int i; m_Active->GetDesktopItemCount(&I,0);
but always it return 1 but I have many items on my desktop how can I solve this problem?
Thanks
|
|
|
|
|
messages wrote: GetDesktopItemCount
I didn't know that existed, cool thanks.
Did you reference this from the MSDN[^]?
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
I see but its same return 1 Do you know an example of it
Thanks
|
|
|
|
|
messages wrote: GetDesktopItemCount
Its name is some what misleading. But it refers to desktop items, related to IE.
It will enumeratre items in Desktop-->right click-->properties-->Desktop-->Customize desktop-->Web. I'm refering XP BTW.
For more information refer help of IE .
|
|
|
|
|
Hello,
Is it possible to reading desktop items and sorry I dont understand what you said?
Thanks
|
|
|
|
|
messages wrote: Is it possible to reading desktop items
If you are referring to data on the desktop , that resides in \\Documents and Settings\username\Desktop\\ ,
messages wrote: I dont understand what you said?
About your original post, from its description and behavious,
It gives you items, enlisted in web tab of "desktop Items" propertysheet.
|
|
|
|
|
Hi All,
Interested to develope an spell checker. I Need Suggestion algorithm for misspelled words. Any one give me an idea what's the algorithm.
Thanks in Advance....
Have A Nice Day!
Murali.M
|
|
|
|
|
murali_utr wrote: I Need Suggestion algorithm for misspelled words
See Here.[^]
and
Here[^]
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
|
Must say, I noticed you've been attempting new formattings of your message and sig lately. This new sig looks very good, perhaps a little too big though.
|
|
|
|
|
Hi waldermort,
How are you,did you have a good weekends?
Thanks for your comment and I must say yes I think that its big(But If you tring,you see result is differ on IE and Codeproject),well I make a nice sig But it doesnt work why?we have a limit (Maximum 500 chars) and also it seems we cant use of another styles like gradiant On codeproject however they are good on IE (Do you have any idea about it and also what do you think about colors)
|
|
|
|
|
Hi,
WhiteSky thanks for ur reply. I got most valuable informations from the url. In msword for misspelled word, suggestion are more accuracy. but i can't able to give that much accuracy. i get more words for suggestion. you have any idea help me out.
thanks in advance!
Have A Nice Day!
Murali.M
|
|
|
|
|
Im sorry I dont understand what yo said?
but you need to know a thing,first inquiry about databases how to read of database for example if you have 200,000 worlds in your databse how do you read? you need to a good algorithm for read of database
|
|
|
|
|
Hi, I want to develop a s/w for mobile.
e.g. an address book.
Can anybody please tell me how to develop by using c#?
Thanks in advance.
|
|
|
|
|
AnantAwadhut wrote: Can anybody please tell me how to develop by using c#?
Might want to ask in the C#[^] message board. Also make sure to specify which version of .NET your targeting (1.1 or 2.0).
Good luck
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
GDay everyone,
Is there any way to terminate the child process from the parent process in C programming?
Please give me an advice.
Thanks
eric
|
|
|
|
|
eric_tran wrote: terminate the child process from the parent process
TerminateProcess().
Also from MSDN:
If you need to have one process terminate another process, the following steps provide a better solution:
Have both processes call the RegisterWindowMessage function to create a private message.
One process can terminate the other process by broadcasting the private message using the BroadcastSystemMessage function as follows:
BroadcastSystemMessage(
BSF_IGNORECURRENTTASK, // do not send message to this process
BSM_APPLICATIONS, // broadcast only to applications
private message, // message registered in previous step
wParam, // message-specific value
lParam ); // message-specific value
The process receiving the private message calls ExitProcess to terminate its execution.
See if either helps you...
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
if u create a process using the CreateProcess API, u will get the handle of that process. So when u want to kill that process u call TerminateProcess() with that handle.
nave
|
|
|
|