|
Hiiiii All
I develop outlook 2003 shared add ins using vb.net 2005. and i compile it. it runs properly then i close the outlook. after exiting the outlook i recompile the outlook (it not showing any error message ) but it not working (outlook starts but not showing add in messages and other).
After this i create other outlook shared add ins. it also not working.
after the run setup of this add in setup run properly but add ins not showed in the outlook addins.
for the solution of this problem i also reinstall the office 2003 and vb.net 2005.
but my problem is not solved. what can i do for this error. please suggest.
Thanx
Mitesh Khatri
Khatrimitesh@hotmail.com
|
|
|
|
|
Hiiiiii
I m developing outlook-2003 Add ins using vb.net 2005. and i want to add the custom task pane in outlook reply window. means when user open a mail and click on Reply button the new mail to windows is displayed. and i want to add custom task pane in this window. Please suggest how i do this.
Thanx
Mitesh Khatri
Khatrimitesh@hotmail.com
|
|
|
|
|
Please don't cross-post, it's considered rude and won't help you get an answer faster. The original message is here[^].
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
public partial class A: Form
{
String str1 = "Some String 1"; // i have assign this string and im going to
// assign a new string in it through class B.
// But the value is not changed.
public A()
{
InitializeComponent();
}
private void A_Load(object sender, EventArgs e)
{
B b = new B(ref str1);
b.ShowDialog(this);
}
}
public partial class B: Form
{
String str2;
public B(ref String str)
{
str2 = str; // if i assign some value here, the string in str1 changes
InitializeComponent();
}
public someFunction()
{
str2 = "Some String 2"; // when i assign some value to this variable,
// the string in the str1 is not changed
}
}
this means that str is the reference of str 1, but str is limited to the constructor only, how can i make str2 the reference of str1 ?
please please help me.
Thanx in advance.
|
|
|
|
|
|
1 - Write a small test.
2 - Write code to fail the test.
3 - Write enough code to pass the test I know these are the basics of TDD. But I am confused about how to write test code before writing the functionality ? Assume I have the following class
class Account
{
public void Deposit(double amount)
{
}
} I am going to write a test class for testing the Deposit() functionality. But if I have not written the above class how can start writing a test class for it ? Compiler won't compile as there won't be a class called Account .
Is it like, create the Account class first with empty Deposit() method and write test case for it, make them fail, come back to Account class and write code for it, again execute test ?
|
|
|
|
|
N a v a n e e t h wrote: Is it like, create the Account class first with empty Deposit() method and write test case for it, make them fail, come back to Account class and write code for it, again execute test ?
With the current editing environments/compilers, that is pretty much what you need to do. You can write the test code first, knowing it won't compile, as that will give you the syntax of how your class will be used. Then write just enough of the class to get everything to compile. From there, your tests should fail and you can start writing the code needed to make them pass.
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
Thanks Scott, your reply is much appreciated. Is this the way you are following ? Are you using TDD ? If yes, are you successful in that ?
|
|
|
|
|
N a v a n e e t h wrote: Is this the way you are following ? Are you using TDD ? If yes, are you successful in that ?
Actually, I don't really follow the ideas of TDD. I think it has it's uses and can be a very valueable tool in the right circumstances. I do still write unit tests for my projects, but I usually write them as I create pieces of functionality or after I get a component completed and I think it is working.
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
Scott Dorman wrote: I get a component completed and I think it is working.
Exactly the same think I am doing. I find writing test first as kinda time consuming.
|
|
|
|
|
N a v a n e e t h wrote: I find writing test first as kinda time consuming.
I'm not sure it's any more time consuming than writing it afterwards. The problem I have with it is that you don't always know up-front how things will be structured or what methods you may need, etc. I'm all for refactoring, but I disagree with those people who think that you should constantly (or very nearly) be refactoring.
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
N a v a n e e t h wrote: how to write test code before writing the functionality ?
The philosophy behind TDD is to write a test before implementing the functionality. So go ahead and build the class to be tested, but don't write the bodies of its methods before writing their tests.
/ravi
|
|
|
|
|
Okay - do you used to do these kind of development ? Thanks for the reply.
|
|
|
|
|
I was introduced to it in 2002 and continue to use it to this day.
/ravi
|
|
|
|
|
Thanks. I have been using that for last few weeks. It looks interesting. But I am facing some problems in areas where external files are used. Suppose I have a XML file and I am creating custom objects according to the XML file values, I felt testing these kind of stuff is kinda tough. The file may change any day and our test will be invalid then. How do you manage such a scenario ? Do you mock such kind objects ?
|
|
|
|
|
N a v a n e e t h wrote: Do you mock such kind objects ?
Bingo!
/ravi
|
|
|
|
|
Means ?
|
|
|
|
|
Bingo! == "Yes, you're absolutely correct!"
/ravi
|
|
|
|
|
Ohhh - I was not knowing. Thanks
|
|
|
|
|
(C# VS 2005)
I need a function to determine
If the OS is windows 2003 or 2008
Yes. CreatiVity withOuT limiTs
|
|
|
|
|
Don't double post, it's rude. Your question has already been answered in c# forum.
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
Dear All,
I need to implement STRPTIME function in the Windows Mobile.I downloaded the wcelibcex-1.0 library as it was posted here.But it couldnot be run on Windows Mobile 5.0.Please help me to find a soution.This stands same for the gmtime() function and ctime.
|
|
|
|
|
Dear sir ,
i have two windows forms one is recordvideoform another is insermadiaform.
bydefault i set the recorder video form at top-center of our window.
once the recorderform pops-up then i can drag it to any place of the window like left corner or right corner or bottom of the window. then the recorderform comes to the respective place.
in the recorderform i have one button "insertmedia" when i click on the button insertmedia-window will popup.( at this stage i have two windowsforms at my system) then i insert some images or videos to my recorderform. they will add to the recorderform.
problem: if i close the insertmwdia-window form then the recorderform goes to the default position i.e at top-center of the window.
expected result: i want my recorderform window to be at the same position where i place it before clcking the :insertmedia" button on the recorderform.( like left corner or bottom or right corner) after clicking close button of the insertmediaform.
|
|
|
|
|
Please don't repost the same issue. If you look really hard at the screen you will see that it's the thread below this one.
|
|
|
|
|
Dear sir ,
i have two windows forms one is recordvideoform another is insermadiaform.
bydefault i set the recorder video form at top-center of our window.
once the recorderform pops-up then i can drag it to any place of the window like left corner or right corner or bottom of the window. then the recorderform comes to the respective place.
in the recorderform i have one button "insertmedia" when i click on the button insertmedia-window will popup.( at this stage i have two windowsforms at my system) then i insert some images or videos to my recorderform. they will add to the recorderform.
problem: if i close the insertmwdia-window form then the recorderform goes to the default position i.e at top-center of the window.
expected result: i want my recorderform window to be at the same position where i place it before clcking the :insertmedia" button on the recorderform.( like left corner or bottom or right corner) after clicking close button of the insertmediaform.
|
|
|
|