|
If I were you, I'd just request a new password from the mail provider.
There's little chance that the password is encrypted in a way that you can easily revert it to the original from what is stored, even if you knew the algorithm they use.
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
gecool wrote:
I was wondering what is the algorithm used by outlook express to encrypt the password for the stored accounts.
Outlook express doesn't encrypt the password when it store it, i myself retrieve it some time before but I forget how to do that!, I believe the Search should start from registry!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
thankz, first... i figured out the key where the password is stored, but since i don't know the algorithm used i don't know how to decript it. It possible to do it since out there on www are available a bunch of appz destined to recover the outlook password. I just want to find out the encryption algorithm used to store
the password in the registry
|
|
|
|
|
gecool wrote:
I just want to find out the encryption algorithm used to store
the password in the registry
This Link Will Help
Accounts Password[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Did not ... but they (Micro$oft) weren't suppose to reveal their own secret, were they ?
|
|
|
|
|
gecool wrote:
they (Micro$oft) weren't suppose to reveal their own secret, were they ?
May Be
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Hi Friend,
I am using the socket client in my application and performing the operation based on input from server.Now if server send the disconnect cmd to client my application hang. Can anyone please let me know the reason of this and how to resolve it?
Thanks
|
|
|
|
|
itkid wrote:
Can anyone please let me know the reason of this and how to resolve it?
Try posting more details... What does "my application hang" mean exactly? Entered an infinite loop? Crashed with an exception? Where? In what part of the code? etc.
Otherwise, if you ask vague questions you'll obtain little more than vague responses, as in the following:
Q: My application has a problem. What's the reason?
A: The reason for 'a problem' is 'there is something wrong'.
Q: How can I resolve it?
A: The way to resolve it is just fixing whatever is wrong.
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
|
|
i have edited my toolbar icons in my project. i inserted a new image. when i run the program, it is disabled...so i changed the ID to an appropriate name then made function in Mainframe...it became enabled but still doesnt work...
how can i insert a command for that icon so that it will be enabled and perform a specific function.
thank u..
|
|
|
|
|
htv22 wrote:
how can i insert a command for that icon so that it will be enabled and perform a specific function.
just double click on it or enter the classWizards and select ur toolbarbutton(look for the id)
and edit the code...
/\|-||\/|/\|)
|
|
|
|
|
Use the ON_COMMAND message map to perform the specific operation on the toolbar button.
|
|
|
|
|
I have created a Explorer type application in which i have problems in viewing the large icons.When i update the List view to display the files and folders in a particular path i am getting only the text display not the image.
Any suggestion or article of this kind will be helpful
Thanks
|
|
|
|
|
If i understand u correctly u want to add an icon for ur tree component.
U can choose between the two function i worked on before.
the first function is for getting the icon from ur computer(The one specified in the folder option FileTypes Tab)
HICON CMyTreeCtrl::GetIcon(CString pathFileName)
{
// Call SHGetFileInfo to get the icon. Call with dummy filename and
// SHGFI_USEFILEATTRIBUTES flag, so file doesn't actually have to
// exist.
SHFILEINFO shfi;
memset(&shfi,0,sizeof(shfi));
SHGetFileInfo(pathFileName,
FILE_ATTRIBUTE_NORMAL,
&shfi,
sizeof(shfi),
SHGFI_ICON|
SHGFI_USEFILEATTRIBUTES|
SHGFI_SHELLICONSIZE |
SHGFI_SMALLICON);
return shfi.hIcon;
}
And the second one if u want to customizeur own images:
First create the icons then Create an imagelist and do the following
m_imageList.Create(16,16,0,3,2);
m_imageList.SetBkColor(RGB(255,255,255));
HICON hIcon;
hIcon = AfxGetApp()->LoadIcon(IDI_ICON2); //Folder eg
m_imageList.Add(hIcon);
hIcon = AfxGetApp()->LoadIcon(IDI_ICON3); //File eg
m_imageList.Add(hIcon);
m_T.SetImageList(&m_imageList,TVSIL_NORMAL);
I hope this helps
/\|-||\/|/\|)
|
|
|
|
|
Thanks for your reply.
What exactly my problem is when i clicked the LARGE ICON Button on the applications tool bar or select it from the View menu the Icons are not getting displayed in the List view. I am able to see the icons in other views namely Details,Small Icons ,Lists. There's absolutely no problem with the tree view.
|
|
|
|
|
I think you probably didn't load/set icons for large view, did you?
- NS -
|
|
|
|
|
How to arrange message sending and getting for example in MDI windows forms app I need to send a custom message WM_USER+1 or something from child to parent and to get it in parent. Something like in VC++ ON_MESSAGE(...) macro is it possible in windows forms, please give a snippet of code
9ine
|
|
|
|
|
9ine wrote:
. Something like in VC++ ON_MESSAGE(...) macro is it possible in windows forms, please give a snippet of code
you will get Quicker response if you post your question here Managed Forms[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Not sure if this applys to win forms but this works for VC6, Check this link out.
http://flounder.com/messages.htm[^]
-------------------------------
DEBUGGING : Removing the needles from the haystack.
|
|
|
|
|
hey...
for my graph application i want to read a text file which contains integers(coordinates) looking somewhat like this....
123 67
45 23
76 100
.....file has 1000 such pairs
it works well if start from the beginning.
since i have to access the file randomly depending on the value of a variable 'x'....x is basically the pair from where u want to start plotting till the end.... and using fseek()
fseek(fp,x,SEEK_SET)
but since fseek() positions by calculating the no. of bytes from origin i am having trouble positioning the pointer at the appropriate place..
need help and plz also clear the concept 'no. of bytes from origin '
thanks
|
|
|
|
|
no. of bytes from origin: the number of single character objects from the start of the file. Note on text files under windows, this sometimes includes CRLF combos of two characters to mark an end of line.
well, depending on how you want to do this. Read through each pair with fgets() storing the starting point of each pair with ftell() before each read, in an array of 1000 long integers. This provides an index to the text file that you can seek to.
Alternately, you can rewrite the file to binary, takes up less space and each integer has a known size (1,2,4,8 byte integers depending on what you want to use), or pad the text file with spaces to a known size.
If it were my software, I wouldn't randomly seek through a file that small, load the whole file in memory. But I figure that means this is probably a homework assignment. which is why my message ends here. good luck.
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
Raza5680 wrote:
123 67
45 23
76 100
It's hard to compute the correct offset for a given pair, because the numbers aren't padded (or at least don't seem to be in your post) and thus each pair may have a different length. If you control the creation of the file too, you might convert it to something like
123 067
045 023
076 100
With that format, the byte length of each pair can be computed as
int PairLength()
{
return = 3
+ 1
+ 3
+ 2;
}
Then, the byte offset for pair x (assuming it's a zero-based index) would be
int PairOffset(int x)
{
return (x-1)*PairLength();
}
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
How do i programmatically create a system restore point and then later restore from that point on ?
i found the example code in msdn implement by vbscript,using WMI
could you tell me how to implement it in VC?
thanks
I love programming
|
|
|
|
|
Hi, Hope below function elps U.
========================================================
HRESULT CreateRestorePoint(void)
{
RESTOREPOINTINFO RestPtInfo;
STATEMGRSTATUS SMgrStatus;
// Initialize the RESTOREPOINTINFO structure
RestPtInfo.dwEventType = BEGIN_SYSTEM_CHANGE;
// Notify the system that
// An application is to be installed.
RestPtInfo.dwRestorePtType = APPLICATION_INSTALL;
// Set RestPtInfo.llSequenceNumber.
RestPtInfo.llSequenceNumber = 0;
// String to be displayed by System Restore
strcpy(RestPtInfo.szDescription, "New Restore Point");
// Notify the system that changes are to be made and that
// the beginning of the restore point should be marked.
if(!SRSetRestorePoint(&RestPtInfo, &SMgrStatus))
{
cout<<"Couldn't set the restore point as it is disabled !\n";
return(HRESULT_FROM_WIN32(SMgrStatus.nStatus));
}
// When the call succeeds, the SmgrStatus, llSequenceNumber
//wil have the sequence number for the restore point.
// The application should perform some installation
// operations here.
// Re-initialize the RESTOREPOINTINFO structure to notify the
// system that the operation is finished.
RestPtInfo.dwEventType = END_SYSTEM_CHANGE;
// End the system change by returning the sequence number
// received from the first call to SRSetRestorePoint()
RestPtInfo.llSequenceNumber = SMgrStatus.llSequenceNumber;
// Notify the system that the operation is done and that this
// is the end of the restore point.
if(!SRSetRestorePoint(&RestPtInfo, &SMgrStatus))
{
cout << "Couldn't set the end of the restore point."<
|
|
|
|