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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. agadir

    Super() - Keyword in JAVA

    Yeah, fair comment. If you have parameterized variants of constructors of a parent class and you want to use the default constructor of this class, then you have to define this contructor explicitly.
  2. agadir

    Super() - Keyword in JAVA

    The super()-method is mostly used if you want to call a parameterized version of the constructor of a parent class. e.g.: Class A{ public A(int iAValue){ .... } } Class B extends A{ public B (int iBValue){ super (iBValue); } } If you do not use the super()-method here, the standard...
  3. agadir

    Find the number of all files and subfoders contained by a folder

    Hi, try FindFirstFile-function or CFindFile (MFC). Hope this helps!
  4. agadir

    Cookieaccess via UNC-path

    Hi, I've made some Websites for an Intranet using the following pattern: the site is divided in two frames where the user can set in the headerframe the cookie of the site containing the frameset (via top.document.cookie). The Document in the second (content) frame reads this value (also by...
  5. agadir

    Programpath / Programstart

    Hi Leibnitz, thanks a lot for your answer! Now I can catch the programpath of my MFC-Application. But I still don't know how to start a dialog once at the programstart of a SDI-Application (I want to implement something like a logindialog that is shown once at the programstart). Does anyone know...
  6. agadir

    Programpath / Programstart

    Hi, I've got two questions about MFC-Application: - How can I get the path of a running MFC-Application (something like argv[0] in c)? - How can I start a dialog at the start of a SDI-Application (when I start the Dialog with OnInitialUpdate the dialog is shown without any textinformation)? Any...
  7. agadir

    passing information between two frames

    Hi sjravee, thanks for your answer! Well, that's exactly the problem. The searchengine and the keywords are coded in JavaScript. This searchengine is placed in the first frame where you can enter your searchstring. (The searchengine have to be placed in the first string, because this frame is...
  8. agadir

    passing information between two frames

    Hi, I've got a JavaScriptbased searchengine for an intranetpresentation. The size of this searchengine is expected to grow about 1.5 - 2 MB, so I decided to split the browserwindow in two frames and place the searchengine in one of these frames. This way the searchengine has to be loaded only...
  9. agadir

    problems with "include" / linker error LNK2005

    That's it! I forgot to remove "myXML.cpp" from the project environment. Now it works! Thanks a lot for your aid!
  10. agadir

    problems with "include" / linker error LNK2005

    Hi again, o.k., it's your opinion. But writing a.operator=(b) is equivalent to writing a = b, isn't it ;-). Back to my posted problem: Now I've put the prototypes and class definition in a .h-file (myXML.h) and the function- and memberfunctionbodies in a .cpp-file (myXML.cpp), but I'm still...
  11. agadir

    problems with "include" / linker error LNK2005

    Thanks for your answers! @VincentP: The prototypes have to be insert in a .h-File (e.g. myXML.h). But where do I have to place the functionbodies (myXML.cpp)? @williamu The operator works fine. A return value is not needed because it's a binary operator.
  12. agadir

    problems with "include" / linker error LNK2005

    Hi, actually i'm writing a program that's storing data in a XML-File. Therefor i've written a library that reads and stores data in XML. It looks like these: #include <afx.h> #include <afxtempl.h> #include <fstream.h> #include <string.h> #include <ctype.h> #ifndef myXML_cpp #define...
  13. agadir

    Folder list

    This works great! Thanks!
  14. agadir

    Folder list

    Sorry, i must have been blind on early sunday morning. Of course i can get a list of the subfolders of the current folder by using the FindFirstFile function. Thanks a lot! Agadir
  15. agadir

    Folder list

    Thanks for your answer! I've read the msdn articles about FindFirstFile. This function is great for fileoperations. But i also need a function to get a list of all subfolders of the current folder. The programm i'am currently writing &quot;starts&quot; scanning folders at a root-folder and go on...
  16. agadir

    Folder list

    Hi. I'm pretty new in VC++ and i hope someone can help me. I need a class / function that returns, after beeing called with a pathname as parameter, a list all files and subfolders of the given pathname. I already searched msdn but i could not find something corresponding. Thanks. Agadir
  17. agadir

    Check remote access

    it works! Thanks!
  18. agadir

    Check remote access

    Hi there! Is it possible in JavaScript to check out if a website is called local or from a webserver? If so how can i solve it. I have to implement a online course in html with Real Playlists. Now i have to distinguish if the site is called local on the users machine (the course has been...

Part and Inventory Search

Back
Top