|
Hi, I need help using Crystal Report into a MFC Application.
Can Somebody describe the main step needed to use a CR Viewer,show a Cr report and set a Selection Formula?
I'm able to show a simple report, but i'm not able to set a Selection Formula so I think I use in a wrong way the ActiveX.
P.S. I need extremelly this help.. please!!!
Thanks to everybody.
|
|
|
|
|
|
I have just seen this article, but it isn't helpfuls because it's refer to Visual C++ 6 and steps described don't fit in Visual Studio 2005, for example I haven't CCrystalCtrl and CRowCursor ActiveX.
Who can help implement this in Visual Studio 2005... it's very important
Thanks
|
|
|
|
|
I know it is can seems a basilar known, but I can't spent time to study it fine now...
I need to use it for a DEMO Project and then I study it accuratelly!
|
|
|
|
|
Here[^] is another article but again its VC6 and without explain.search on the internet maybe find your answer
|
|
|
|
|
I found for a lot of time in the internet but I wasn't able to obtain what I need.
I hoped you and your team can explain me which step I must perform to use the ActiveX, view the report and set new Selection_Formula in Visual C++, on Visual Studio 2005.
Thanks a lot for your interesting.
|
|
|
|
|
Search "tutorial Crystal Report c++".
Good luck;)
|
|
|
|
|
I need to get the "MicroSoft Cluster Solutions" Internal IP and External IP.
are there any APIs provided by Microsoft to get the Cluster IP ??
|
|
|
|
|
Hi,
Could anybody tell me what is the differences between GetWindowRect and GetClientRect?
Thank you
Siddharth
|
|
|
|
|
MSDN :
GetWindowRect(): The GetWindowRect function retrieves the dimensions of the bounding rectangle of the specified window. The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen.
GetClientRect(): The GetClientRect function retrieves the coordinates of a window's client area. The client coordinates specify the upper-left and lower-right corners of the client area. Because client coordinates are relative to the upper-left corner of a window's client area, the coordinates of the upper-left corner are (0,0).
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Thanks
So,GetWindowRect is to get the window rectangle and client rectangle is to get the boundary of any control over the window???
Siddharth
|
|
|
|
|
siddharthsan wrote: boundary of any control over the window???
Are you asking that GetCientRect(..) can be used to find the rect position of child control(windows) in the mail window??..
If so its not like that..
Simply you can put it like this....
GetClientRect(..) will give the window position and size with respect to itself (as stated earlier, always left and top values will be zero) and the right and bottom value will be equal as its width and height.
GetWindowRect(..) will give the window position with respect to screen area.
Say for example... your screen resolution 1024x768. You have a window whose upper left corner starts at the center of the screen and its width and height are 100 and 50 resp, then...
GetWindowRect(..) will return this - left = 512, top = 384, right = 612 and bottom = 434.
GetClientRect(..) will return this - left = 0, top = 0, reight = 100 and bottom = 50
Hope this will help...
Do your Duty and Don't expect the Result
|
|
|
|
|
Hi,
I need to Zip and Unzip a Text File. Pls suggest any Compression Algorithm
or any relevant links.
Thanks
Today is a gift, that's why it is called the present.
|
|
|
|
|
Hi
U can give search "huffman" in ur msdn.
VIBIN
"Fool's run away,where angle's fear to tread"
|
|
|
|
|
The main algorithm for ZIP file compression is called 'Deflate' and is documented here[^]. Zlib[^] is a free implementation of the Deflate algorithm.
If you want to use the ZIP archive format as well, the libzip[^] library is often mentioned. I found it not particularly easy to use, so when coding something that needed to unzip a compressed archive, I used the ZIP file specification[^] and a few hints from the libzip source code for how to invoke the Inflate algorithm.
|
|
|
|
|
|
Good One.Very helpful to me.
Thanks
Today is a gift, that's why it is called the present.
|
|
|
|
|
You're welcome
|
|
|
|
|
Hi all ,
I m using Worker thread in my application.
i am passing a char neha[260] value to my thread
and after passing it i again want to convert it from LPVOID to char neha[260]
can anybody tell me how to perform conversion.......
When i m writing
s8_Buf = *(static_cast<char*>(pParam));
Its Giving an error
error C2440: '=' : cannot convert from 'char' to 'char [260]'
can anybody help me in this....
Thanks in advance
|
|
|
|
|
error C2440: '=' : cannot convert from 'char' to 'char [260]':
char *p=static_cast<char*>(pParam); // This should work
How are you declaring s8_Buf in your code?
_AnShUmAn_
|
|
|
|
|
Hi
s8_Buf = *(static_cast(pParam));
char s8_Buf*; //Better Use TCHAR for MFC
s8_Buf = (char*)pParam; //Try to avoid this type of coding
or
s8_Buf = static_cast<char*>(pParam); //This will work fine
//IN the above statement insett less than symbol after static_cast then char* then greater than symbol ,next to that (pParam) follows....
VIBIN
"Fool's run away,where angle's fear to tread"
|
|
|
|
|
hi
I need to have a 2D or 3D array in VC++, I use the following code:
<pre><code>
float** aa;
for(i=0;i<m;i++)
aa=new float* [m];
for(i=0;i<n;i++)
aa[i]=new float [n];
</code></pre>
to create an m*n matrix. But sometimes it throws Access Violation error.
I want to know if there is any better way to do this?
|
|
|
|
|
Modify this to,
float** aa =new float*[m];
for(int i=0;i < m;i++)
{
aa[i]=new float [n];
}
and while accessing it use this loop,
for (int i = 0 ; i < m;i++)
{
for (int j = 0 ; j < n; j++)
aa[i][j] = 0.0;
}
}
|
|
|
|
|
MohammadAmiry wrote: I need to have a 2D or 3D array in VC++, I use the following code:
if you can use STL.. you can use vector of vector for multidimensional array! and it will manage it memory it self
|
|
|
|
|
Thanks a lot for your quick and helpful answers!
|
|
|
|