As far as I know, there is no way to stop using a particular namespace once you start using it with the "using namespace" statement. Also, when you use multiple "using namespace" statements, you will be using all the namespaces simultaneously. Maybe an example will help...
hi, I've never worked with MFC before so I don't know the specifics of using CString. Still, I don't see why there would be a problem unless some of the declarations in the std namespace were identical to those in the CString header (the whole point of using a namespace). Its possible that the...
Nothing to it. Suppose you wanted to create a namespace called "MyNamespace", this is all you would have to do:
//In some header file, maybe "MyNamespace.h"
namespace MyNamespace
{
//Declarations go here
}
And when one of your .cpp files needs to see the declarations in...
hi, Great effort for just 1 week of study :) There are a few things you can do to improve your code though. First, to get it to compile, you'll need to place opening and closing parenthesis around the code in your if statement. This is necessary whenever you have more than one line of code to...
hey, Have you downloaded the Adobe Acrobat SDK? With it, you can write a plugin that will do that. All the tuts and reference information on how to do it is contained in the download. You can find it here:
http://partners.adobe.com/asn/tech/pdf/acrobatsdks.jsp
Hope thats what you were...
Thanks for the speedy reply :) Sounds like a good approach, I will definately give it some consideration. Might know of another way but I don't know if it would even be feasible and how to go about implementing it. I was thinking that maybe the client could go through an enumeration process...
Hello,
I'm writing a client using winsock that needs to be able to detect or locate a server (writing this one too) running on the same LAN. The client will not know in advance what the server's IP is and does not prompt the user for this information. Does anybody know how I can go about...
Hi, I'm having a problem with the following code. What I would like it to do is to print out two lines of text. I use the characters' height (obtained from a call to GetTextMetrics) to place the second line of text below the first line. For some reason though, when it prints, the second line...
All of a sudden all my reports and any new reports that I create don't export to excel correctly if they contain a time field. When I export to excel and the report contains a time field the cell in excel just appears as ############################ for ever regardless of the format of the time...
In my report I group by day and in each day the agents working a phone system are listed with information like logged in time, calls answered etc. At the end of each group I work out the average for that day (i.e. average logged in time). However, I only want to find the average of agents...
I guess I could manually create a legend using the drawing and text tools but that would be a major inconvenience. Also my chart is not based on a fixed period but rather a random number of days so it wouldn't work.
I think I'm going to have to export to excel.
I must say that the charting tools in crystal reports are very poor indeed. Excel is far superior. For one time doesn't seem to work properly in my charts (see my other post) and you can't do a range of times either. 8:00, 8:01 and 9:00 appear the same distance apart when they should be...
Ok so I set up the formula to be the number of seconds of talk time / 86400 to get a decimal figure representing a fraction of 24 hours (for example 0.2). However no matter what format I select for the chart it directly converts it to time. For example 2.0 becomes 0:00:02 while 0.2 becomes...
I have some data that is stored as a number of seconds that an agent spends on the telephone (stupid I know but I didn't create the database... it would be better as a timestamp). I created a formula that would convert these value into a time variable (eg 2:23:42). I now want to chart this...
Good idea... but unfortunately no luck.
In the meantime I have tried some other things. I have opened a report that does work in crystal, modified it slightly and then saved it as a different filename as a CR8 report. For some reason this works fine. It must be something within the report...
I use crystal reports 8 to design reports based on the symposium call centre server. The reports are then loaded in the Symposium system and run from there. Old reports created several months ago work fine and display properly. Now however any new reports that are created do not display when...
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.