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;}...
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...
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...
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...
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...
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...
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
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...
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
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...
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??
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.
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.