|
toxcct wrote: what the hell for ?!
For me?
My head hurts trying to decipher matching curly brackets
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
oh, so you did try
|
|
|
|
|
yeah
wait, does that say "Sucker" or "Stupid" on my forehead?
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
lol, no no, just "you're too good", or maybe "you need sleep"
|
|
|
|
|
|
Mark Salsbery wrote: LOL! No, really, I shouldn't have looked
I spare my 5 voting for another post from you
|
|
|
|
|
C_Zealot wrote: Any help is appreciated.
What problem are you having specifically?
|
|
|
|
|
Hello,
I am accessing Excel through Automation and want to find how many rows are there in excel that is no of records in excel
Which function should I use
Prithaa
|
|
|
|
|
prithaa wrote: Which function should I use
You should use the sheet's GetUsedRange() method. From there, you can use the range's GetRows() and GetColumns() methods.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi there, is there an explanation for the different possible variants of a control?
So far I am mostly guessing from the names in the file TmSchema.h or use a viewer like xpvisualstyle_demo. However, in the case of a tab control (pTheme->OpenThemeData(hWnd, L"TAB") ) I don't know what's the difference between TABP_TABITEM and TABP_TABITEMBOTHEDGE (there is no visual difference in the default XP theme). Thanks for feedback.
PS: It is NOT urgent
|
|
|
|
|
Guys,
I am trying to make a call to retrieve the bitmap information from a drawing context. When calling GetDIBits, it returns NULL and when I call GetLastError() it gives me ERROR_FILE_NOT_FOUND. Could anybody shed some light on what exactly it is that Windows is trying to tell me?
|
|
|
|
|
According to MSDN [^] this could also mean that your call was successful and "the return value is the number of scan lines copied from the bitmap". Perhaps you can post a code snippet?
|
|
|
|
|
To add to Moaks reply...
You're passing NULL for "LPVOID lpvBits" parameter, correct?
If so, have you initialized the struct pointed to by the "LPBITMAPINFO lpbi" parameter properly?
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
hello!!
in my application i'm splitting files "by size" using
(Class)Utility::SplitFile(char* Filename,long Size )
its working ......but now i want to split file by play length
i am not able to get the solution
thanks!!
|
|
|
|
|
Repost!
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
Its simple you can calculate length of file and split file
|
|
|
|
|
anu jaggi wrote: ...but now i want to split file by play length
So does the Utility class provide such a method?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
hello!!
in my application i'm splitting files "by size" using
(Class)Utility::SplitFile(char* Filename,long Size )
its working ......but now i want to split file by play length
i am not able to get the solution
thanks!!
|
|
|
|
|
Same post for get new answers!
|
|
|
|
|
Repost one more time.;P
GV
|
|
|
|
|
I have a window inherited from CView, used for showing pictures.
When moving dialog over it, there are sometimes black lines left on the window. It seems like calling InvalidateRect with a little small rectangle area as parameter. I don't know how it comes out. Please help me solve it!
I set this window's map mode to MM_ISOTROPIC and the logical extent is smaller than device extent.
Does it have something to do with the problem?
Thanks in advance!
|
|
|
|
|
Are the lines just on the pictures or in the entire view window?
Regardless, you are responsible for repainting any invalid areas of the window.
The MM_ISOTROPIC mode only comes into play when you are doing this painting...
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Call the function again in OnDraw() function to draw whatever you are drawing in the view window.
Anurag Gandhi.
|
|
|
|
|
i want to convert a Cstring let's say
CString s="1E";
unsigned char k;
i want to convert it to be this way
printf("k=%x",k);
i want the result to be :
k=1E
how is this possible please i'm running out of time
emma
|
|
|
|
|