|
|
Wrap the particular application up in a CCW. (Com Callable Wrapper).
|
|
|
|
|
Could you please tell me a bit in detail? Which application you want me to wrap?
A guidance to some kind of example will be very nice. Thanks for a reply.
Regards,
Pavas
|
|
|
|
|
Hi,
Is there any control in C# , In which we can load rtf wtih header and footer and do margin setting as well.
If you have any idea about this, then please inform me at
khaleek_ahmad@yahoo.com
Thanks in advance
Khaleek ahmad
|
|
|
|
|
You can use richtextbox to load rtf files but I'm not sure whether you will be able to manipulate with margin settings. You could give it a try though. I guess you can achieve what you want using this article: Integrating Microsoft Word in your .NET applications[^]
|
|
|
|
|
I am trying to write code for compiler using Codedom. I am unable to compile code which uses COM references. The code gives file not found exeception while adding COM reference to Compiler parameter object even if it is present in the output folder of the code to compile(No idea why).
The possible solution I can search of is to get the executable path for the code to compile because those dlls are present in the same folder(I may be wrong here).
How can I get the executable path of the code that will be compiled??
or
Am I going with wrong approach?? If yes, then how to solve this issue????
|
|
|
|
|
Did you generate the assembly you are adding with 'tlbimp'. You can't add a direct reference to a COM library.
|
|
|
|
|
I am working on a addin in that one part is to move mails from one folder to other folder
like this i am getting both folder info..
string S_fold = rm.GetString("Source folder");
MAPIFolder oFolder1 = null;
oFolder1 = oExp.Session.GetDefaultFolder(OlDefaultFolders.olFolderInbox).Folders[S_fold];
The above source folder is sub folder of inbox similarly i have destination folder also...
so can anybody tell me now ... how to move mail from one folder to another is thereany existing function is there..
i was trying like copy the mail to destination and then deleting the mail from source but
i am not able to copy mails from one folder to other though i can copy the folder
please help me here...
Thanks in advance...
vikas da
|
|
|
|
|
How can I have a delegate or button continue an ongoing process that was stoped. And how do pause a process at a set interval(see below).
for (int i=1; i<=10000; i++)
{
for (int j=1; j<=10; j++)
{
a = a + 1;
}
//Pause process here everytime
//Continue process with button is pressed
}
Thanks in advance
Michael
|
|
|
|
|
Are you not able to implement with timers or Thrading ?
/***********************/
Parwej Ahamad
g.parwez@gmail.com
/***********************/
|
|
|
|
|
MessageBox.Show is going to stop the process and it will restart when you close the box.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
try
Thread.Sleep(<MILISECS>);
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
I already considered sleep, but this won't work I have a timer that needs to start the process at set intervals using a delegate.
Michael
|
|
|
|
|
so then you should use MessageBox as Christian Graus said
or use timer_tick event intead of for loop
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
How does that help ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
ah, i thought the pause is time bound
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Given:
a textBox1 with a key event
typing in a string and a unicode(i.e letter "a with circumflex") to be inserted whenever a letter "a" is pressed
problem:
after it inserting the letter, it added an extra "a" at the front
and the cursor does not stay at inserted-position. It start at the front
instead.
Expect to be:
get rid of the extra letter and move the keep the cursor at where it perform the inserting process.
I used the remove() but didn't work
my code is as follow. Please help me.
private void keyDown(object sender, System.Windows.Forms.KeyEventArgs e)
{
int curPos = textBox1.SelectionStart;
if(e.KeyValue.ToString()=="65")
{ char[] unicode = {'\u00E2'};
textBox1.Text = textBox1.Text.Insert(cur,new string(unicode));
}
}
VyT
|
|
|
|
|
Well, perhaps you need to read the docs. The a has been pressed, and you're not removing it, you're just inserting an extra character. Try the Replace method instead perhaps ?
And, store the cursor pos before and reset it after.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I was wondering if it is possible to embed a string that you could change in an application.
For example:
You have a password you enter to go to the next form. Now you can change this password. Now the original password is stored as a string in the program. When you build the application and someone wants to change the password, can you have the string changed instead of storing the password in a database or a file?
|
|
|
|
|
No, you can't, AFAIK. It sure would be messy.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
what does AFAIK mean?
Ok I was just wondering, I couldn't find anything on it, and thats probably because no one does it lol.
|
|
|
|
|
as far as i know
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Maybe you can user CodeDom to generate a dll containing the password dynamically, not very sure though, and can be messy.
Why not use SQLCE instead?
|
|
|
|
|
Do not know much about SQLCE... I know other ways of doing it like encrypting a file and what-not, I was just wondering if what I was talking about was possible
|
|
|
|
|
Not possible if you mean "Self Modifying Code" in the era of DOS, where the exe can make modification to itself.
But I think it is possible if you talk about the exe generate a dll, then the exe load the dll and access the password.
Another way is to encrypt and put it in the Settings of the application.
|
|
|
|