|
See Using the List Control ^
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
I am facing one problem in vc 6.0. i am unable to add files in project.When i right click to "Add files in project" an error message occur "Microsoft (R) Development Studio has encounter a problem and needs to close." I reinstall vc 6.0 but same error appear.
One solution i found is to edit in dsp file but it is not the right way.
What can i do to solve the problem ??
Thanks in advance
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
did you try adding files from menu ??
|
|
|
|
|
Yes same error occur
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
Did you installed any 3ed party visual studio addons? Just try disabling or removing it.
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
No i dont use any third party visual studio addons and i work simultaneously in different environment of visual studio and its an licenenced version provided by microsoft .
Is it possible that if different version of visual studio is used than this problem occur ????
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
Did you get this problem with all projects ot with this project?
|
|
|
|
|
All Projects
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
Hi all!
I was Trying to Open a Presentation Of PowerPoint. For That I have Used "Open" Method on a Pointer Of Presentations. But it Gives result as Exception Occured unles and untill an Instance Of PowerPoint is Not Running.
So in this case I have To manually run an instance Of PowerPoint Before Opening any Presentation.
Thank You In Advace.
|
|
|
|
|
Yes you need to create instance before you open any presentation.
|
|
|
|
|
|
|
Thanks For Your Reply
I have Solved The Problem. Actually I was Needed To Set The Optional Parameter WithWindow Of "Open" Method as "msoFalse".
Thanks
|
|
|
|
|
|
How to add rows dynamically in MSFlexgrid control?
|
|
|
|
|
There is some member functon
Dotn remember the name
|
|
|
|
|
The member function is "SetRows(nNewValue)".
nNewValue is the new number of rows.
|
|
|
|
|
|
What is the difference between CPaintDC and CClientDC??
|
|
|
|
|
1)[^]
2 )[^]
Please use google search.
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
|
I have to move from VC6 to VC2005.
here is some error code:
//--------------------------- i_Random is int
i_Random%=10;
CString cs24;
cs24.Format("%d",i_Random);
//---------------------------
VC 2005 compiler says that last line above has error:
error C2664: 'void ATL::CStringT<BaseType,StringTraits>::Format(const wchar_t *,...)' : cannot convert parameter 1 from 'const char [3]' to 'const wchar_t *'
with
[
BaseType=wchar_t,
StringTraits=StrTraitMFC_DLL<wchar_t>
Do you know what the stupid VC2005 want to do?
|
|
|
|
|
Your VS2005 defaults to unicode. "%d" is of type char but CString.Format needs a unicode format string. you can modify your code as following :
cs24.format(L"%d",i_Random);
or
cs24.format(TEXT("%d"),i_Random);
however please pay attention that this may not be the only place in your code you have to check against unicode (wchar_t) compatibility.
cheers.
Mohammad
|
|
|
|
|
Remove _UNICODE from project settings.
|
|
|
|
|
To complete the previous answers: here[^] is a complete article about the subject. I suggest you take a look at it, you will learn a lot of usefull things.
|
|
|
|