|
Does anyone know if it's possible to open and read the contents of Outlook PST files via some API?
|
|
|
|
|
I am not aware of anyway to directly access Outlook pst files, however, the Outlook Object Model would provide an indirect way to not only examine the contents of this file but also to manipulate it.
|
|
|
|
|
I was trying to display a jpeg picture in a window so i tried the Ole approach, but in all functions they use a constant HIMETRIC_INCH, which is apparently not declared in my header files.. which I think is very odd seeings i never saw anyone else complain about it in the comments.. I have Visual Studio 6.0 and I also have an up-to-date SDK installation. What's going on?
Kuniva
--------------------------------------------
|
|
|
|
|
"Search Results for HIMETRIC_INCH - 0 topics found" - Are you sure this constant does exist as normal windows constant?
Don't try it, just do it!
|
|
|
|
|
Well i got the functions from http://www.codeproject.com/bitmap/render.asp[^]. But i've also seen it used in various other articles that use the Ole way to load pictures. So yea.. it probably exists.. but seeings it's just a constant, maybe someone could just supply me with the value?
Kuniva
--------------------------------------------
|
|
|
|
|
HIMETRIC = 1/100th of a millimeter
25.4mm per inch
#define HIMETRIC_INCH 2540
Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!
|
|
|
|
|
Jack Rabbit is correct!
I recommend you get a copy of 'Agent Ransack' and use it to search "C:\Program Files\Microsoft Visual Studio\VC98\", when ever you cann't find something you believe is there. Sometimes you need to do that just to find the correct header files, when MSDN fails to specify them.
I did that just incase it was and found:
#define HIMETRIC_INCH 2540 // HIMETRIC units per inch
defined internaly in the file "WINGDIX.CPP".
INTP
"The more help VB provides VB programmers, the more miserable your life as a C++ programmer becomes."
Andrew W. Troelsen
|
|
|
|
|
How odd I don't have a file WinGDIX.h... neither in my vc6 include directory, nor my ms sdk include directory.. weird.. guess it's update time. But thank you both for the replies
Kuniva
--------------------------------------------
|
|
|
|
|
Who said anything about WinGDIX.h? I said it was internaly define in WinGDIX.cpp, which is a supplemental file supplied with VC6.
"\VC98\MFC\SRC\WINGDIX.CPP"
It is not something you can include in your projects, but it did give the correct value for HIMETRIC_INCH.
The simple search also showed that it was not defined in a header file, and therefor must be defined by the programmer.
INTP
"The more help VB provides VB programmers, the more miserable your life as a C++ programmer becomes."
Andrew W. Troelsen
|
|
|
|
|
Oh.. Sorry about that.. mm odd, I did a search using the windows find utility, guess that doesn't work right.. Thx for the program.
Kuniva
--------------------------------------------
|
|
|
|
|
Hi,
i'm writing an email client with visual studio .net,
including 'windns.h' to perform dns query.
Passing DNS_TYPE_A value to DnsQuery_A function, program seem to work well, but using DNS_TYPE_MX, application do not work ;(.
I report below the code of my routine, hoping that
somebody can help me:
WSADATA wsaData2;
WSAStartup(MAKEWORD(2, 0), &wsaData2);
char *DestDomain="domain.com";
_DnsRecord *pResult = 0;
DNS_STATUS status = DnsQuery(DestDomain, DNS_TYPE_MX, DNS_QUERY_STANDARD, 0, &pResult, 0);
if (status == NO_ERROR) {
char DestHost[128];
lstrcpy(DestHost, pResult[0].Data.MX.pNameExchange);
MessageBox(NULL,DestHost,"Record MX:",16);
}
thx in advice,
Luca
|
|
|
|
|
I need some help I have a flight simulator program to write on one days activity at an airport using the following as input data. No. of available runways, average time runway is in use for arrivals and departure, average no. of arrivals and departure for a particular airline and average arrivals and departure for all other airlines. I would be gratfull for any help.
jo
|
|
|
|
|
Better don't choose the easy way and do your homework alone. This page is for helping other people, not for doing their planning!
Don't try it, just do it!
|
|
|
|
|
so, where exactly is your problem ? problem definition ? code/compilation problem ?
what have you done yet ? did you start coding it ?
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
hi all expert out here
i'm working on a project, where create an ActiveX plug in for MSIE, which gv IE the ability to resizing image without needs for another stand-alone software. can i get some links for any tutorials which touch step by step development of this ActiveX control? i myself hv found some thru search engine, how ever still vy confuse and blur about it, especially about how do i get the event readimage from the browser.
beside it, i would like to make use of some image processing library to make my life easier, and implement some resamplign algorithms provided. Any suggestion? Intel OpenCV is a good one?
thx in advance for my replies i might get
|
|
|
|
|
Hello,
Hello,
I have a application where I have integrated an ActiveX ShockwaveFlash ! Since then, I cannot receive any longer my windows user(registered) messages ...
Please help,
alain
There is no way to happiness, happiness is the way !
|
|
|
|
|
I would like to send the Ctrl Alt Delete sequence to another computer similarily as the VNCViewer application does. How can this be done? IMsRdpClientNonScriptable::SendKeys is only for XP.
|
|
|
|
|
Hi all
I am using visual studio 6.0.
Whenever I add a new member function using the wizard (Add Member Function) I also want to the appropriate ( Predifined by me) comments to appear just before the function definition in the class implementation file.
How could I do that. ?
Thanks in advance.
I suppose am clear in definition my problem, please comment if am not.
Regards
The Best Relligion is Science.
Once you understand it, you will know God.
|
|
|
|
|
I encounter the following problem within my program. When the user is prompted to input a number the following happens to the calculations. When $2000 is input the calculation comes out fine i.e., 4% +$80.00. The problem comes if the user enters $2,000 the 4% shows up as o.o8. The comma is causing a problem. Can someone help me overcome this problem. Other than that the program works fine. I have tried cin.ignore() to no avail. Since I am just beginning C++ I am lost.
|
|
|
|
|
Hi
I am developing a VC++ application with Web Browser Control placed inside a dialog box. when the dialog get maximized i am not able to resize the web browser control's size.
can anybody help me to resolve this situation.
Thanks & Regards
Sarathy
|
|
|
|
|
dialogs children are not resized automatically.
you need to handle WM_SIZE and resize and reposition you web browser control.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
I used a WebBrowser2 Class provided by VC++.net framework to handle the webbrowser control. But I dont know exactly what are the methods to be used from that class to reposition my Web Browser Control.
Can u help me by giving the methods to resize and reposition the Control.
Thnx
|
|
|
|
|
Hi. Does anybody here in this forum can help me for generating Gaussian, Uniform and Salt & Pepper Noise on a *.PGM image?
Thank you.
|
|
|
|
|
Hi,
I have created an ATL dll which has a modeless dialog box containing a WebBrowser control. My problem is that whenever I'm pressing TAB key over the WebBrowser control, the focus is not shifting to other controls or links within the web page which is getting displayed within the control.
I have implemented a hook to trap WH_GETMESSAGE message, after that I'm able to get response from the 4 arrow keys and TAB key, but that too within the dialog box.
I have to make the TAB key acting normal within the WebBrowser control that is within that dialog box.
Can anyone of you help me out? Thanks in advance.
Regards,
Ashish
|
|
|
|
|
i fail to envoke shutdown function.
i m trying to write the data recd in the socket buffer to a fiel.
though i manage it but it happens only i stop the application and not before.
i tried many alternatives but feel i m still short of something.
Seeing the given code can i be suggested why????
// THe following is a client thread
<br />
UINT ClientThread(LPVOID pParam) <br />
{<br />
char *buff;<br />
CString cmd;<br />
CString params;<br />
int n;<br />
int flag=0;<br />
BOOL auth=false;<br />
buff=(char *)malloc(1);<br />
SOCKET client=(SOCKET)pParam;<br />
recv(server,buff,sizeof(buff),0);<br />
while(true) <br />
{ftxt=fopen("d:\\amit\\COMMAND.txt","a+t");<br />
while(n=recv(client,buff,sizeof(char),0))<br />
{<br />
flag=1;<br />
<br />
<br />
fwrite(buff,sizeof(char),1,ftxt);<br />
<br />
if(n==SOCKET_ERROR ) <br />
break;<br />
buff[n]=0;<br />
cout<<buff;<br />
}<br />
shutdown(server,2); <br />
<br />
fclose(ftxt);<br />
<br />
}<br />
<br />
flag=0;<br />
closesocket(client);<br />
return 0;<br />
}<br />
amit mishra
|
|
|
|