|
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
|
|
|
|
|
How to create this process?
|
|
|
|
|
How can i detect which drive is alloted to USB drive and how can i know USB drive is inserted or not?
|
|
|
|
|
Hello. Here is the code I use for finding the number of drives that are removeable, RAM-drives or drives connected via USB.
The source code isn't UNICODE aware, it doesn't use STL/ATL, it's mainly pure C-code.
Fill in the blanks when it comes to code shortcomings...
However, it does work...
<br />
long GetRemoveableDriveCount()<br />
{<br />
<br />
int i;<br />
char sDrivePath[3];<br />
UINT uDriveType;<br />
DWORD dwDrives;<br />
fRemovableDrives = 0;<br />
int noOfDrives = 0;<br />
<br />
dwDrives = GetLogicalDrives();<br />
<br />
strcpy(sDrivePath+1, ":\\");<br />
<br />
for(i = 0; i < 32; i++) {<br />
if(dwDrives & (1 << i)) {<br />
sDrivePath[0] = (char) ('A' + i);<br />
uDriveType = GetDriveType(sDrivePath);<br />
<br />
if((uDriveType == DRIVE_REMOVABLE || uDriveType== DRIVE_RAMDISK)) {<br />
fRemovableDrives |= (1 << i);<br />
noOfDrives++;<br />
}<br />
else {<br />
if(uDriveType == DRIVE_FIXED) {<br />
char szBuf[10];<br />
HANDLE hDevice;<br />
PSTORAGE_DEVICE_DESCRIPTOR pDevDesc;<br />
<br />
sprintf(szBuf, "\\\\?\\%c:", sDrivePath[0]);<br />
hDevice = CreateFile(szBuf, 0,<br />
FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, NULL, NULL);<br />
<br />
if (hDevice != INVALID_HANDLE_VALUE)<br />
{<br />
pDevDesc = (PSTORAGE_DEVICE_DESCRIPTOR)new BYTE[sizeof(STORAGE_DEVICE_DESCRIPTOR) + 512 - 1];<br />
<br />
pDevDesc->Size = sizeof(STORAGE_DEVICE_DESCRIPTOR) + 512 - 1;<br />
<br />
if(GetDisksProperty(hDevice, pDevDesc))<br />
{<br />
if(pDevDesc->BusType == BusTypeUsb)<br />
{<br />
<br />
fRemovableDrives |= (1 << i);<br />
noOfDrives++;<br />
}<br />
}<br />
<br />
delete pDevDesc;<br />
CloseHandle(hDevice);<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
return noOfDrives;<br />
}<br />
<br />
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
-- modified at 4:47 Monday 25th September, 2006
|
|
|
|
|
|
Can some please tell me where i can
get some information regrading whitebox testing tools in vc++
or some information regrading it / URL ..
Thanks in Advance
|
|
|
|
|
See here[^] maybe it is some helpful to you
|
|
|
|
|
Hi All,
I am getting this error " Can not Open precompiled header file " .
Why is this coming ?
What is this ?
|
|
|
|
|
He he.. Build your program.
<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.
|
|
|
|
|
include "StdAfx.h"
in the first line of ur source code
cheers
|
|
|
|