Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Rhaegar

  1. Rhaegar

    help me (c++ calculator)

    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...
  2. Rhaegar

    help me (c++ calculator)

    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...
  3. Rhaegar

    help me (c++ calculator)

    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...
  4. Rhaegar

    help me (c++ calculator)

    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...
  5. Rhaegar

    Opening a pdf file to an exact page

    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...
  6. Rhaegar

    Detecting Servers...

    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...
  7. Rhaegar

    Detecting Servers...

    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...
  8. Rhaegar

    API Print Problems...

    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...
  9. Rhaegar

    dll to lib

    Hi, I'm using Visual Studio 6.0 and would like to import a lib from a dll file. Is there any way to do this with VS? Thanks.
  10. Rhaegar

    Converting Version 8 to Version 6

    Is there anyway to convert a Version 8 Crystal Report so that it can be opened in Crystal Report version 6? Thanks
  11. Rhaegar

    Problem exporting to Excel

    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...
  12. Rhaegar

    Conditional Averages.

    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...
  13. Rhaegar

    More charting problems - legend

    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.
  14. Rhaegar

    More charting problems - legend

    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...

Part and Inventory Search

Back
Top