Hi,
I am trying to display list of papers on general tab of ps printer drivers. I tried IPrintOemUI::devicecapabilities but somehow it doesnt work. All the time i see only "Letter" displayed in Available paper window.
Can you give me some idea ?
Hi ,
I have an ini file which i read using GetPrivateProfileString. It takes CRLF as string termination. Is there any way through which i can get multi strings ?
thanks & regards
~ Rudresh
I am not able to gather. Do you want to create some list columns in one tab and take some action in other tabs depending on that ?
Pl. write in detail , possibly with some sode sbippet.
thanks & regards,
~ Rudresh
Hi ,
There seems to be something wrong with the way CFileDialog is definaed itself. try on different machine or reinstall visual studio.If it works then there is wrong with the defination.
thanks & regards,
~ Rudresh
It doesnt fail actually. StartService returns successfully.
After that if i check the status of service it is SERVICE_START_PENDING. But when the application is closed, spooler is still stopped.
Hi,
In one application , when i debug the application it is able to restart the spooler. But when i use cmd line ( basically just run the application) it just fails.
can anybody give me some idea about the sureshot way of restarting the spooler ?
hi ,
I checked both the above options. i.e. PeekMessage and msvcirt.dll. No luck.
msvcirt.dll has version 7.1.0. ( tried putting 6.1.8637.0 )
same effect.
Replaced GetMessage with PeekMessage : same behaviour.
:-(
Hi ,
I have an application which traps WM_TIMER messages in a window. Command line version of it receives in the same hidden window. This command line version works fine with all the os but wipn XP . In windows Xp also it works fine for English Keyboard layot. The moment i try to add another...
Another thing which is missing : curly braces :
for(int i = 0; i < sizeof species / sizeof *species; i++)
{
cout << "Please enter the casualty amount for <<
species[i].name << ".";
cin >> species[i].casualty;
}
EnumProcesses
It is one of the SDK apis
Requires Windows NT 4.0 or later.
Header: Declared in Psapi.h.
Library: Use Psapi.lib.
You can find how to use it in MSDN.
best luck
It is calling the default handler first.
One easy way is to edit the menu and assign those menu items , new IDS like ID_FILE_MYSAVE and ID_FILE_MYSAVEAS
and then map the handlers for it through classwizard.
Hi IonFilipski,
Thanks for your suggestion. i could delete that shortcut treating as a file. Now the question is what makes it different from normal files?.
Question came because there can be scenario when user renames it and still we will have to delete it. Is there any way to find out that...
Hi ,
One of the proj. requirement need is to delete the shortcuts from desktop. Has anybody got any idea how to do it programatically ??
Thanks in advance.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.