|
I haven't got time to read and understand the code I found but all I know is that it's a big hack and that it does not work very well.
I'm interested in making my product available for OE but I don't count on it to be as performant as in Outlook...
I'll let you know when I find my source back ( I lost it!!! )
Luc
---------------
Tired of Spam? Introducing InboxShield® for Microsoft® Outlook®
http://www.edovia.com
|
|
|
|
|
Hi Luc,
Naw! I'm not doing any major hacking. Just using a few undocumented MS interfaces regarding Outlook Express.
If you think the effort will be worthwhile, maybe we can talk more about the tech side of things?
'My capacity for happiness', he added, 'you could fit into a matchbox without taking out the matches first'.
- Marvin, the robot.
Amit Dey
sonork: 100:18407
msn: visualcdev
|
|
|
|
|
Wonderful! Keep working!!!
-BHKien
|
|
|
|
|
An article about that messy bug with the .NET Form designer, deleting either code or even controls from the code without notice.
From my experiments, it's due to a tiny namespace resolution bug. This makes the form designer believe a given control or methods are not used anymore.
A nice tutorial to avoid this bug would be welcome.
And of course, if Everett does not fix this bug, would be welcome twice!
How low can you go ? (MS rant)
|
|
|
|
|
I think Microsoft fixed this bug. You can get the patch from the URL below.
http://msdn.microsoft.com/vstudio/downloads/updates/datalossifx.asp
|
|
|
|
|
Actually, on closer inspection, I see that this only applies to Webforms, so if the bug you're talking about isn't in the Webforms designer, then never mind, and a workaround would definitely be appreciated.
|
|
|
|
|
I am going to check this out.
How low can you go ? (MS rant)
|
|
|
|
|
Ability to Debug a .NET RCW : this would end the DllImport type mapping knightmare. Nuff said, everybody who has been there already knows what I am talking about...
How low can you go ? (MS rant)
|
|
|
|
|
Would be nice as an extension since the VS.NET IDE is more programmable, and as one can hardly say attributes are intuitive to use.
How low can you go ? (MS rant)
|
|
|
|
|
I am currently working on a papaer which takes self-contained applications and identifying directions and issues with deploying externalized DLL's, creating reference, and distributing component code. Is this an article that would could be published here? I did not see one written on this subject.
---------------------------------------------
Once I thought I was wrong but I was happy to discover that was a mistake.
Condor
|
|
|
|
|
theRealCondor wrote:
Is this an article that would could be published here?
I for one would be very interested to read it
Dylan Kenneally
London, UK
|
|
|
|
|
Yes Sir! It is my intent to publish it here. I posted this to see if this was the type of topic that the site would publish. After writing all of it up (it is done and in draft form...soon to go through an editting) I will submit it for publication here.
_____________________________________________
I have a tendancy to where my mind on my sleeve I have a habit of losing my shirt...
|
|
|
|
|
Does it use COM?
'My capacity for happiness', he added, 'you could fit into a matchbox without taking out the matches first'.
- Marvin, the robot.
Amit Dey
sonork: 100:18407
msn: visualcdev
|
|
|
|
|
Amit Dey wrote:
Does it use COM?
OUCH! That is one area that I have had trouble getting good answers (or any answer for that matter). When you get into .NET DLL's managed on an MTS box, is it a COM object to a .NET consumer??? I hope to put together the resources to begin evaluating and test this whole thing. Maybe for article II -- .NET objects in COM
_____________________________________________
I have a tendancy to where my mind on my sleeve I have a habit of losing my shirt...
|
|
|
|
|
How I create ram file ( to hear music by winamp ) ?
|
|
|
|
|
A .ram file is a RealVideo file. Download the RealProducer encoding tool from RealNetworks. From what I remember, the basic encoder is free.
How low can you go ? (MS rant)
|
|
|
|
|
Almost forgot, but that was obvious in my mind, you just need to download the Real Encoder SDK to get samples to do just that.
How low can you go ? (MS rant)
|
|
|
|
|
Hi everyone,
My name is Sidney and I need some advise regarding a search and retrieve problem. I am currenly studying and still learning C++. My problem is this, I am doing a search on a large flat file, this flat file is like my database with the following format
(Note this is a Fixed Length Flat File)
OriginalText L35
Punctuated L35
Code L5
===================
Total Length 75 (Each Record)
This is what my flat file looks like:
A A.
A A. 0
AB A.B. 0
AB AB 1
ACAD Acad. 4
ACR Acr. 4
ADJ Adj. 0
ADM Adm. 0
AGCY Agcy. 4
AK AK 1
AL AL 1
ALC Alc. 0
ALD Ald. 0
ALTA AB 1
AM A.M. 0
AMB Amb. 0
AND And
ANX Anx. 4
APT Apt. 4
APTS Apts. 4
AR AR 1
ARC Arc. 4
ARPT Arpt. 4
ASSISTANT Assistant 5
The main function of my program is to accept a parameter(text) search it in the the flat file (OriginalText Field in particular) if its found I will return the Punctuated Text on the calling program.
If i where to ask you what will you recommend to be the fastest way to make my search and return the value in the calling program? Here's my current program's code... and it runs very slow that's why i am seeking some advise from a guru like you to make my program run faster. This code is messy i'm telling you
int pos,Length;
FILE *stream;
//FILE *pFile;
int LastPos,ssfpos,sslpos,i,wordnum,storageIndx,sympos,TempOutPos;
unsigned int nbytes = 999999;
char p;
char *tblCode;
char tblCodeChar[] = "XX";
char test1[2];
char FoundGlobal;
int result,len;
//pFile = fopen ("Output.txt","at");
if( (stream = fopen( "prspunct32.ctb", "r" )) == NULL ){ /*Open my Flat File for input
strcpy(lpAlpha2, "The file 'data' was not opened\n" );
return(TRUE);
}
else{
fread( buffer, sizeof( char ), 999999 , stream );
}
if((int)*lpNumeric == 0 || (int)*lpNumeric == 1 || (int)*lpNumeric == 4){ /* Get the Text to be search
tblCode = _itoa((int)*lpNumeric,tblCodeChar,10);
}
Length = (int)*(lpNumeric+1);
_itoa((int)Length,test1,10);
memcpy(Storage1,lpAlpha1,Length);
Storage1[Length] = ' ';
Storage1[Length+1] = '\0';
string OutStr;
string TempOut;
string GlobalFoundStr;
string str1 = buffer;
string ss;
string sstblCode;
string firstchar;
string ssTempStr;
vector<string> storage;
string str2 = Storage1;
sslpos = 0;
wordnum = 0;
while(true){
ssfpos = str2.find(" ",sslpos);
if (ssfpos < 0){
break;
}
ss = str2.substr(sslpos,ssfpos - sslpos);
storage.push_back(ss);
sslpos = ssfpos + 1;
wordnum = wordnum + 1;
while(true){
ssTempStr = str2.substr(sslpos,1);
if (ssTempStr == " "){
sslpos = sslpos + 1;
}
else{
break;
}
}
}
//sort(storage.begin(),storage.end()); //For Sorting
//string::size_type len;
storageIndx = 0;
while (true){
if (storageIndx == wordnum){
break;
}
ss = storage[storageIndx];
sympos = ss.find_first_of(".");
if (sympos >= 0){
ss[sympos] = ' ';
}
storageIndx = storageIndx + 1;
len = ss.length();
LastPos = 0;
while (true){
pos = str1.find (ss,LastPos);
if (pos >= 0){
if (pos == 0){
string lastchar = str1.substr(pos + len,1);
if (lastchar == " "){
//string found = str1.substr(pos,35);
//std::cout << found << "\n";
TempOut = str1.substr(pos + 36,35);
TempOutPos = TempOut.find(" ",0);
TempOut = TempOut.substr(0,TempOutPos);
OutStr = OutStr + TempOut + " ";
LastPos = pos + 1;
break;
}
}
else{
firstchar = str1.substr(pos - 1,1);
}
if (firstchar != "\n"){ //Miss Match
//cout << "hindi ito" << "\n";
LastPos = pos + 1;
}
else{
string lastchar = str1.substr(pos + len,1);
if (lastchar == " "){
//if ((isspace(tblCodeChar[0])) == 0){
if (tblCodeChar[0] != 'X'){ //Table Codes with Value
sstblCode = str1.substr(pos + 75,1);
if (sstblCode == tblCodeChar){
//string found = str1.substr(pos,35);
//std::cout << found << "\n";
TempOut = str1.substr(pos + 36,35);
TempOutPos = TempOut.find(" ",0);
TempOut = TempOut.substr(0,TempOutPos);
OutStr = OutStr + TempOut + " ";
LastPos = pos + 1;
FoundGlobal = 'N';
break;
}
else{ // tble Codes does not Match data
FoundGlobal = 'Y';
GlobalFoundStr = str1.substr(pos + 36,35);
TempOutPos = GlobalFoundStr.find(" ",0);
GlobalFoundStr = GlobalFoundStr.substr(0,TempOutPos);
LastPos = pos + 1;
}
}
else{
if (tblCodeChar[0] == 'X'){ //Table Coodes for Global (space)
sstblCode = str1.substr(pos + 75,1);
if (sstblCode == " "){
//string found = str1.substr(pos,35);
//std::cout << found << "\n";
TempOut = str1.substr(pos + 36,35);
TempOutPos = TempOut.find(" ",0);
TempOut = TempOut.substr(0,TempOutPos);
OutStr = OutStr + TempOut + " ";
LastPos = pos + 1;
break;
}
else{ // tble Codes does not Match data
LastPos = pos + 1;
}
}
}
}
else{ //Miss Match
//cout << "hindi ito" << "\n";
LastPos = pos + 1;
}
}
}
else{ //Not Found
//cout << "WALA" << endl;
if (FoundGlobal == 'Y'){
OutStr = OutStr + GlobalFoundStr + " ";
FoundGlobal = 'N';
}
else{
for(i=0;i<len;i++){
if(i!="0){
" p="ss[i];
" result="isalpha(p);
" if="" (result=""> 0){
ss[i] = (char)tolower(p);
}
}
}
OutStr = OutStr + ss + " ";
}
break;
}
}
}
len = OutStr.length();
lpNumeric[1] = char(len);
OutStr.copy(lpAlpha2,len);
fclose(stream);
//fclose(pFile);
return(TRUE);
Thanks/Regards
Sidney
|
|
|
|
|
Oppss sorry about the Format of my data.. it did not came out right, here's the correct format of my flat file:
A A.
A A. 0
AB A.B. 0
AB AB 1
ACAD Acad. 4
ACR Acr. 4
ADJ Adj. 0
ADM Adm. 0
AGCY Agcy. 4
AK AK 1
AL AL 1
ALC Alc. 0
ALD Ald. 0
ALTA AB 1
AM A.M. 0
AMB Amb. 0
AND And
ANX Anx. 4
APT Apt. 4
APTS Apts. 4
AR AR 1
ARC Arc. 4
ARPT Arpt. 4
ASSISTANT Assistant 5
Thanks/Regards
Sidney
|
|
|
|
|
Dear everyone,
This is my first question in this message board.I am not sure
whether the title is suitable for my question or not but by reading
my message, I guess that you can understand my problems.
I have created a simple program which retrives data written in
an .ini file(actually any text file will do).The data retrieved from the file
will be displayed at the combo box.I have created this part.
The problem here is that I want to hide the information written in the .ini
file from the users(Sometimes, there are information which we don't want the users to know).The user can update the application by downloading a new .ini file from a web side.In short,the update of the software only deals with the .ini file.
I think that most people will encrypt the .ini file and decrypt it
before loading the data into the combo box.I would like to do it in this
way but I don't have enough knowledge.I want to decrypt the encrypted .ini file into a buffer because if I decrypt the encrypted .ini into a file,
the user might see it.
Is there any other ways to do this?I just want to
1)Hide the .ini file content from the user and at the same time, I need to retrieve data from the file and display it at the combo box.
2)I want to update the .ini file.
Helps are needed.
Thanks alot.
From Joji.
|
|
|
|
|
|
I am writing a small tool to export registry sections in Xml to make it much easier whenever it comes to do a registry diff.
If anybody is willing to see a feature along with that, just let me know.;)
How low can you go ? (MS rant)
|
|
|
|
|
hello sir
i need help on c# API for converting XSL-FO to PDF and other formats.
can u help me out
Asim
|
|
|
|
|
Hi all. I've been reading code project for a long time, but I've never posted anything here (well, not yet!) I'm currently working on a big C++ application and as part of that I decided it would be fun to write something to add shadows to all the popup windows in my app. Anyway, I came up with a library I'm calling Z'Ha'Dum, would anybody be interested in an article on that or has it already been done (I searched but couldn't find anything)?
You can get Z'Ha'Dum here:
http://homepage.ntlworld.com/mark.lord/zhadum/
It's under a zlib-like license (i.e., use freely just don't pretend you wrote it and credit would be nice).
|
|
|
|
|
Only article I know of thats even close is AlphaBlend() for flicker free window fad in and fade out effects....or something to that extent...
Go for it!!!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|