Click here to Skip to main content
15,898,010 members

Comments by Mohideenmeera (Top 9 by date)

Mohideenmeera 9-Nov-17 7:12am View    
Hi,
Can you please share your code as i am also trying to do the same but no luck.
Hope your code could help me...
Mohideenmeera 30-Jun-17 10:54am View    
You may use SendKeys if you have the focus on the Excel which needs to be printed.

This URL could help you if you are going with SendKeys
http://www.contextures.com/excelvbasendkeys.html
Mohideenmeera 14-Jun-17 6:49am View    
Hi Rick,
Found an another solution which worked for my case. Please find the below code
Converted the exe application to DLL and in Form1 [EXE] added this code

public string variable1 { get { return OutList.Items[0].ToString(); } }

In Form2 used the below code to access the variable variable1:

TestNameSpace.TestClass ss= new TestNameSpace.TestClass();
ss.ShowDialog();

MessageBox.Show(ss.variable1.ToString());

Worked as expected.....
Thanks for your time and explanation....
Mohideenmeera 13-Jun-17 12:00pm View    
Thanks for your time and response will check by using the same and would keep you posted for the result...
Mohideenmeera 12-Jun-17 7:20am View    
Hi Rick,

Thanks for the info.
Do i need to add / modify any code in the exe which is been called from the Other.
If yes, then pls explain the same....