I'm writing a small program that has a openfiledialog window that allows users to select a file. The issue I'm having is that when selecting a file in the dialog box, it will automatically "get latest" if it a vault file. This happens regardless of the tab I'm on.
This does not happen in anywhere else. For example, if I open up MS Word or Solidworks and say Open file; while on the version tab it will not get the files.
The code is simple... Create a new Windows form Application project. add a Openfiledialog and a button to the form, Then double click on the button. Set the following code.
private void button1_Click(object sender, EventArgs e)
{
DialogResult res = openFileDialog1.ShowDialog();
}
now build/execute and browse files... see?? How do I stop this?
Using EPDM 2012 sp4.0
Microsoft Visual C# 2010
SolidworksApi macros