How do I create a new DSN programmatically? I work with Visual C++. thanx
User 359850
Posts
-
Creating a DSN -
User DSNHow do I create a DSN programmatically? thanx
-
CHeaderList messages via CViewListin regard to Matt Weagl's artical "Using Header Control" http://www.codeproject.com/listctrl/headerctrl.asp#Anchor-Handlin-41471 how can i implement the same thing (messages) in CViewList? thanx
-
fread() with excel and powerpoint filesdidn't expect fread to do nothing but reading :rolleyes: my question is how can i analyze the file format so i can draw from it the content of the file. thanx
-
fread() with excel and powerpoint filesIn a non-MFC application I used the fread() function in order to read documents (WORD) EXCEL files and PowerPoint files. The problem is that I get not only the content of those files but also information about the file (like file owner etc.). Is there a way to read only the content of those files?
-
Setting the font in SDIi created an sdi based application but i don't like the default font it uses. how can i change the font htat will be displayed in the editing area of the sdi??? :confused: thanx
-
Retrieving file name and path from Office applicationsIn an add-in I made for office applications I was able to determine whether I'm working with WORD, EXCEL or POWERPOINT by using the GetIDsOfNames function on the application, while rgszNames = "Name". STDMETHOD ( GetIDsOfNames )( REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgdispid ); While working with WORD I was able to retrieve the file name and path by further use of this function: The active document was retrieved by using the function on the application, while while rgszNames = "ActiveDocument". The document name was retrieved by using the function on the active document, while while rgszNames = "Name". The document's file path was retrieved by using the function on the active document, while while rgszNames = "Path". While working with EXCEL I was able to retrieve only the WorkBooks by using the function on the application, while while rgszNames = "WorkBooks". All this was done in the trial and error system. I'd appreciate it very much if someone could refer me to a list of values that can be sent as the rgszNames parameter and/or explain how to retrieve the file path and name while working with EXCEL and POWERPOINT. thanx :rose:
-
Installing WORD AddinI've made an addin for MS WORD (via VC++, with the help of Code Project article "Writing an MS Word addin" http://www.codeproject.com/com/adWordAddin.asp). Instead of creating and using toolbars, as described in the article, I operate the addin functionality via macros (which enables me to work with Normal.dot instead of Addin.dot). I would like that the addin users won't have to "break their heads" with creating macros. How can I install the addin while creating the macros and a WORD toolbar that will contain them as buttons? thanx :rose:
-
x509 structurei would like to analyze an x509 certificate in order to get the public key no use of SSL - the certificate is delivered by e-mail. the certificate is read as a file in the program (i work with visual c++). is there any standard for the certificate structure or any simple way to locate the key in the file? thanx :rose:
-
UNICODE conversionI'm trying to convert unicode (obtained from a file) into something readable. i tried W2A and W2T but with no avail :confused: