|
i using this method:
send(s, (char*)&my_struct, sizeof(my_struct), 0);
thanks all for help!
|
|
|
|
|
can anybody tell me which encyption technique is used for encrpting outlook.pst file
|
|
|
|
|
I am afraid that the encryption technique that you are talking about is undisclosed by Microsoft. There are no direct ways to do this. Also the PST file format of 2003 is different from that of 2002. And check this link out.
http://ask-leo.com/what_kind_of_compression_or_encryption_do_i_want_for_outlooks_pst_files.html
Mozilla thunderbird is doing it. Its open source and you may download that source and go through that too, if you are that serious.
It's kind of fun to do the impossible.
|
|
|
|
|
hi all i want to remotely execute the process through the WMI on network,i had searched a lot on the net for that but all examples shows how to make queries but no example to show how to execute a process/exe on another computer.
Tasleem Arif
|
|
|
|
|
tasleem143 wrote: ...but no example to show how to execute a process/exe on another computer.
Are you sure you not looking for RPC? I've never used WMI for remote-type stuff.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
thaks for reply my boss ask me to do so with WMI,i searched a lot n found nothing related to executon of exec on other computer using WMI,now i m searching to do this in the RPC.
Tasleem Arif
|
|
|
|
|
hi,
anybody knows how to change the style of tri-state checkbox to a two-state checkbox and vice versa at runtime?
Thanks
Mohammad
And ever has it been that love knows not its own depth until the hour of separation
|
|
|
|
|
Might try:
ModifyStyle( BS_AUTO3STATE, BS_AUTOCHECKBOX );
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
i want to read my outlook.pst file through coding
can anybody help me in this
|
|
|
|
|
|
i have already seen this code this is simply picking up the folders which are exsisting there in the pst file my problem is that i want to read deleted items to (that r deleted from deleted items to).is there any type of check or flag bit which is placed infront of deleted folder.or its id is deleted
|
|
|
|
|
Can you use Outlook automation?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Can anybody here explain me wht this code is doing.Thanks
<br />
CDaoDatabase database;<br />
CDaoRecordset recordset(&database);<br />
CString lpszFile = "c:\\Database.mdb";<br />
database.Create(lpszFile);<br />
database.Open(lpszFile);<br />
CString SqlCmd = "CREATE TABLE MYTable.mdb (MarketNo VARCHAR(2),MarketName VARCHAR(8),Bid VARCHAR(10),Ask VARCHAR(10),MarketState VARCHAR(2))";<br />
database.Execute(SqlCmd);<br />
recordset.Open(AFX_DAO_USE_DEFAULT_TYPE,"SELECT * FROM MyTable",0);<br />
database.Execute("INSERT INTO MyTable(MarketNo)");<br />
database.Execute("INSERT INTO MyTable(MarketName)");<br />
database.Execute("INSERT INTO MyTable(Bid)");<br />
database.Execute("INSERT INTO MyTable(Ask)");<br />
database.Execute("INSERT INTO MyTable(MarketState)");<br />
recordset.AddNew();<br />
recordset.SetFieldValue("MarketNo","a");<br />
recordset.SetFieldValue("MarketName",Market);<br />
recordset.SetFieldValue("Bid","b");<br />
recordset.SetFieldValue("Ask","c");<br />
recordset.SetFieldValue("MarketState","d");<br />
recordset.Update();<br />
recordset.MoveNext();<br />
recordset.AddNew();<br />
|
|
|
|
|
It seems that it open a access database and create a table with 5 cols and then read all records of MyTable and insert datas to these cols
|
|
|
|
|
i also think so..then why it is not creating database table with 5 col....and inserting data in that...do you have any idea.....
|
|
|
|
|
And when you create your database why use open and also MoveNext you dont have any records except one
|
|
|
|
|
i also think so..then why it is not creating database table with 5 col....and inserting data in that...do you have any idea.....or can you say hoe to c mytable
|
|
|
|
|
CDaoDatabase database;
CDaoRecordset recordset(&database);
CString lpszFile = "c:\\Database2.mdb";
database.Create(lpszFile);
//database.Open(lpszFile);
CString SqlCmd = "CREATE TABLE MYTable (MarketNo VARCHAR(2),MarketName VARCHAR(8),Bid VARCHAR(10),Ask VARCHAR(10),MarketState VARCHAR(2))";
database.Execute(SqlCmd);
recordset.Open(AFX_DAO_USE_DEFAULT_TYPE,"SELECT * FROM MyTable",0);
database.Execute("INSERT INTO MyTable values('a','Market','b','c','d')");
//database.Execute("INSERT INTO MyTable(MarketName)");
//database.Execute("INSERT INTO MyTable(Bid)");
//database.Execute("INSERT INTO MyTable(Ask)");
//database.Execute("INSERT INTO MyTable(MarketState)");
recordset.AddNew();
recordset.SetFieldValue("MarketNo","2a");
recordset.SetFieldValue("MarketName","2Market");
recordset.SetFieldValue("Bid","2b");
recordset.SetFieldValue("Ask","2c");
recordset.SetFieldValue("MarketState","2d");
recordset.Update();
//recordset.MoveNext();
recordset.AddNew();
|
|
|
|
|
abrakadbra wrote: CString SqlCmd = "CREATE TABLE MYTable.mdb (MarketNo VARCHAR(2),MarketName VARCHAR(8),Bid VARCHAR(10),Ask VARCHAR(10),MarketState VARCHAR(2))";
Try removing the .mdb from your create table statement.
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
Not sure exactly what your're trying to do, but your insert into statements don't look right.
To add records, you can either use insert into statements or recordset's addnew/update, but you don't need to do both.
database.Execute( "INSERT INTO MyTable(MarketNo, MarketName, Bid, Ask, MarketState) VALUES('1', 'myname', '123', '150', 'A')" );
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
ok...but i am not able to c mytable..it is not creating the table..why..
|
|
|
|
|
You might have more luck in the Database Forum http://www.codeproject.com/script/comments/forums.asp?forumid=1725[^], but I don't think Access understands the same column types as SQL (i.e. you might need to change the varchar() to Text or something).
Do you have Access installed? Try creating your database in Access, and then maybe you can figure out the correct create table statement.
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
Why not wrap this code in a TRY /CATCH block to see why it is failing?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I seem to remember that you need to register the .mdb (forgot how to do it exactly), but I don't think you are going to have any luck until you register the database with Access. Or have things changed since my last foray into DBs about 5 years ago?
John P.
|
|
|
|
|
where can i get sample programs for serial communication using MFC?
|
|
|
|