Click here to Skip to main content
15,916,941 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# syntax question? Pin
Grimolfr2-Apr-04 3:41
Grimolfr2-Apr-04 3:41 
AnswerRe: C# syntax question? Pin
Dave Kreskowiak2-Apr-04 4:04
mveDave Kreskowiak2-Apr-04 4:04 
GeneralSerializing a Winform Pin
anand9112-Apr-04 0:48
anand9112-Apr-04 0:48 
GeneralRe: Serializing a Winform Pin
Dave Kreskowiak2-Apr-04 4:36
mveDave Kreskowiak2-Apr-04 4:36 
GeneralRe: Serializing a Winform Pin
Stefan Troschuetz2-Apr-04 5:57
Stefan Troschuetz2-Apr-04 5:57 
GeneralRe: Serializing a Winform Pin
Heath Stewart2-Apr-04 9:53
protectorHeath Stewart2-Apr-04 9:53 
QuestionStatic Arraylist? Pin
SherKar1-Apr-04 21:48
SherKar1-Apr-04 21:48 
AnswerRe: Static Arraylist? Pin
The Catalyst21-Apr-04 21:56
sussThe Catalyst21-Apr-04 21:56 
GeneralRe: Static Arraylist? Pin
SherKar1-Apr-04 23:04
SherKar1-Apr-04 23:04 
GeneralRe: Static Arraylist? Pin
Anonymous1-Apr-04 23:32
Anonymous1-Apr-04 23:32 
AnswerRe: Static Arraylist? Pin
Dave Kreskowiak2-Apr-04 4:38
mveDave Kreskowiak2-Apr-04 4:38 
GeneralRe: Static Arraylist? Pin
SherKar2-Apr-04 6:41
SherKar2-Apr-04 6:41 
AnswerRe: Static Arraylist? Pin
Heath Stewart2-Apr-04 9:55
protectorHeath Stewart2-Apr-04 9:55 
Generaltracing keystrokes using c# Pin
amal_pro831-Apr-04 21:14
amal_pro831-Apr-04 21:14 
GeneralC# Keystroke logger? Pin
Anonymous1-Apr-04 21:58
Anonymous1-Apr-04 21:58 
GeneralRe: tracing keystrokes using c# Pin
Dave Kreskowiak2-Apr-04 4:27
mveDave Kreskowiak2-Apr-04 4:27 
Generalproblem using CommandBarComboBox in Outlook Add Ins Pin
naresh_pandey131-Apr-04 21:00
naresh_pandey131-Apr-04 21:00 
I m so Confused | :confused: and feeling Sleepy | :zzz: bkz i m D'Oh! | :doh:

CommandBarComboBox

i m making Add ins for outlook .I have added a ControlEdit button in
CommandBar collection using the following code...

oEdit = (JOffice.CommandBarComboBox)
oCommandBar.Controls.Add(JOffice.MsoControlType.msoControlEdit,oMissing,oM
issing,oMissing,oMissing);
oEdit.BeginGroup = true;
oEdit.Text = "Search";
oEdit.Tag="URL";
oEdit.Caption="Search Word";


now the problem is when i m fatching the value from edit box ,it is not
returning me the value.I m not able to get the value which i have
written inside the edit box .the code i have written for this is following

private void oButton1_Click(JOffice.CommandBarButton Ctrl, ref bool
Cancel)
{
try
{
CommandBarComboBox tempCom;
tempCom =
(CommandBarComboBox)oCommandBar.FindControl(JOffice.MsoControlType.msoCont
rolEdit, "oEdit", "URL", false, false);
Sval=tempCom.Text;
System.Windows.Forms.MessageBox.Show(Sval); // here no value
Test1.JOutLookLib.SearchURL("http://www.google.co.in/search?q="
+Sval+"+&ie=UTF-8&oe=UTF-8&hl=en&btnG=Google+Search&meta=");
}

->NOTE : JOffice is an Alias for Namespace which I have included in My Code

when i write any value inside the edit box and click the button the new
value is auto clears and again the old value appears .I don't know how i
can solve it .I need the new values and it is returning old values .,...
mean it is not refreshing .

Please solve it it is very .....


Thanks for Help and ur time Poke tongue | ;-P
GeneralSetup Project Pin
DucLinh1-Apr-04 20:29
DucLinh1-Apr-04 20:29 
GeneralRe: Setup Project Pin
Heath Stewart2-Apr-04 10:04
protectorHeath Stewart2-Apr-04 10:04 
GeneralRe: Setup Project Pin
Demian Panello13-Apr-04 4:03
Demian Panello13-Apr-04 4:03 
GeneralDataGrid Pin
DucLinh1-Apr-04 20:12
DucLinh1-Apr-04 20:12 
GeneralRe: DataGrid Pin
benqazou2-Apr-04 5:46
benqazou2-Apr-04 5:46 
Generaldatatype check Pin
Anonymous1-Apr-04 19:01
Anonymous1-Apr-04 19:01 
GeneralRe: datatype check Pin
Andy Wieberneit1-Apr-04 20:19
Andy Wieberneit1-Apr-04 20:19 
GeneralRe: datatype check Pin
Anonymous2-Apr-04 2:21
Anonymous2-Apr-04 2:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.