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 TouchToneTommy 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 ntbutic

  1. ntbutic

    MS Word Automation

    Once I wrote an application than formatted some text using MS word and then exported them to MS access,I just used automation I can send it if you like.It is a complete application and I can not place it here A.Gh(ntbutic) ntbutic@hotmail.com
  2. ntbutic

    Outlook & ASP

    Requesting for ASP pages without the presence of a Web server is meaningless. Just a Web Server like IIS or PSW can recognize an ASP page. The page must be added to a site or virtual directory. So you cannot call ASP pages explicitly. Calling of an ASP page that is not a part of a Web Server...
  3. ntbutic

    How do I start a function in a modal dialog

    The dialog will not be displayed until the process ends i.e. the dialog drawing will be done after the end of the process no matter if you put the function in OnInitDialog, OnCreate,... To achieve your goal you must create a second thread and place your function in it and call the thread in...
  4. ntbutic

    Excel and C++ interaction. How?

    The answer is "Automation".Micro$oft has provided type libraries for its major applications specially Office suite to interact with external applications.The key dll for Excel is msexcel9.dll(For office 2000).Your should first study enough about COM and Automation.Then become familiar...
  5. ntbutic

    Sending an email with an attachment?

    You can use the "AttachFile()" method of "NewMail" object from the CDONTS library: '//sample// Dim myMail Set myMail = CreateObject("CDONTS.NewMail") myMail.To = "ntbutic@kimianet.com" myMail.Subject = "Sample attachment" myMail.Body =...
  6. ntbutic

    WHEN U MAKE A CONTROL WITH THE TOOLBOX, WHERE IS THE CODE FOR IT?

    As Pete said the code is in the "project_name.rc" file.If u open the file (as text but not open it automatically) and browse the resource code;u will find where the code relies in the file.But that is not like c++ codes in a cpp or header file.It is a special type of script that will...
  7. ntbutic

    Microsoft Progress bar component

    I myself When need to show some progress,will create a worker thread and place the progress function in my worker thread,it sends messages periodically to the main application thread(host of the progressbar)to update it and show the progress percent.
  8. ntbutic

    DIalogs

    Well,the Paul's answer is not guaranteed for differet screen areas(640*480,800*600,...).For a more generic way: Open the "OnInitDialog" member function of your dialog box class(add the message hendler if there is no OnInitDialog),add the following code just before returning the...
  9. ntbutic

    jpeg file format

    Well u do not need to download anything.All are in your Windows! 1.By installing IE on your system!!the WebBrowser control will be installed.To add the control to your project try : Project(menu)->Add to Project->Components & controls->Microsoft Web browser control.(a new class CWebbrowser2 will...
  10. ntbutic

    how to invoke the chm file ??

    You can use HTML help activeX control(hhctrl.ocx) to place your contents,index and fulltext search files in a web page.For simplicity use "HTML Help Workshop" available from VStudio CD#1.
  11. ntbutic

    Error Message ODBC Microsoft Access 97 Driver] Too many client tasks.

    I had the same problem using Access database and my Web server was PWS.When requesting for some asp pages there was the same error message but when deploying to IIS everything was OK.I didn't found what the reason was!
  12. ntbutic

    jpeg file format

    I had this situation before.I just used some ActiveX controls.The first time I used WebBrowser control;that was nice.The second time I used Kodak Imaging activex control(install Kodak imaging for Windows to get components) that was simpler.But if you mean working with basic format of JPG files...
  13. ntbutic

    _variant_t help

    _variant_t is just a thin wrapper for VARIANT.The only differnece is simplifiing creation and destruction of encapsualted VARIANT types.So it is nothing but just VARIANT.If you know VARIANT you _variant_t
  14. ntbutic

    Project Settings

    I guess there is a bug.I remeber same problem with a not registered version of VStudio.There where funny problems.I installed VStudio Service pack.I can not remeber the SP version.Try it yourself!
  15. ntbutic

    Working with asp pages without the presence of a Web server!

    Thank u.I know my question is funny but with "Without a web server" I meant PWS too.Well parsing asp is imposible at the first glance maybe terrible at the others! but I want to save the most reusability of the written VBscripts of my pages well maybe WSH can help but I am looking for...

Part and Inventory Search

Back
Top