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

    Weird TLB generated by C# solution

    I have the following interface in a .cs file... using System; using System.Runtime.InteropServices; using System.Collections; namespace MyNamespace { [Guid("AFB7038E-2D1B-49c5-86FE-3B28F7765FAE")] interface IWCDocumentVersionList { ArrayList DocumentVersions {get;}...
  2. dcswee

    CFileFind and the order of search results

    Can anyone help, I'd like to be able use the CFileFind class to find C:\dir\*.txt , ordering the results in order of date. Other than searching through the whole list of files and noting which one is the most recent (or subclassing CFileFind), is there a quick and easy way to order the search...
  3. dcswee

    Word symbols

    Can anyone help? I know that in Word, you can insert any symbol using Insert->Symbol... I need to know, is there a pre-defined UNICODE value for every symbol in that set? I am trying to convert word symbols into ISO Entities based on their unicode value. So I need to know are there any...
  4. dcswee

    CFile::Open and paths with spaces

    The file path was "FW RA RECEIVES APPLICATION.txt" The problem Ive now realised is, its passed by a batch file that detects it by doing for %%f in (*.txt) do call preproc "%%f" By the time 'preproc' passes it to my application, the double space has disappeared!!! Here's...
  5. dcswee

    CFile::Open and paths with spaces

    Riddle me this... I have a file thats name has 2 spaces in a row (eg "filename with whitespace". It wont open using the code below. I can access the file from explorer on the machine im testing but cant do it using this code, OR get any meaningful errors back from the exception...
  6. dcswee

    IIS Automation

    Is anybody aware of an IIS API / object model for easily automating IIS tasks, creating sites etc? I know what you're thinking.... 'Dream On!' I need to author a tool that makes the task of setting up a (pre-determined and coded) website in the form of a wizard (or similar). If I could get...
  7. dcswee

    Registering DLLs or ActiveX !!!

    Hi Not sure but I think you are looking for DllRegisterServer and DllUnregisterServer. These are part of olectl.h, you can find documentation on MSDN.microsoft.com
  8. dcswee

    PathIsUNC just isnt enough.....

    I know about the PathIsUNC API call to check that a string forms a UNC path, but is there any API that I can use to actually go and check that the network resource is there ? BOOL isItThere = PathIsUNC((LPCSTR)"\\DAN\C$\Temp"); I need to know that I can actually access \\DAN\C$\Temp...
  9. dcswee

    Sending emails from an NT service

    How can I use MAPI / CDONTS / etc for sending emails from an NT service program? I have old .exe code which does the job using MAPISendMail. Simply running this as a service does not work because of service permissions / mapi profiles. Any info on MAPI profiles would be great Thanks
  10. dcswee

    GetPrivateProfileString and environment variables

    Thanks, that works a treat! Dan
  11. dcswee

    GetPrivateProfileString and environment variables

    Does anybody know of a way to use windows variables such as %logonserver% in API calls such as GetPrivateProfileString? Example: I have a string which points to a .INI file, 'server.ini'. Server.ini is stored on a different server depending on which machine you logged onto, but the path is...
  12. dcswee

    "Yes to all" message box

    Thanks, that saved me time looking a built in type! Now that I have a custom dialog box, I have tried to get it to behave in the same way as AfxMessageBox, eg, pass it a string to display, etc. This is where the hard part comes in, resizing the dialog based on the length of the text. Any ideas??
  13. dcswee

    "Yes to all" message box

    Is there a way of using the "Yes", "No", "Yes to all" dialog that occurs so much in windows? AfxMessageBox does not have any options for this style of dialog.

Part and Inventory Search

Back
Top