Problem with openFileDialog

mikelcid

New Member
Hi!

I have constructed an openFileDialog for selecting reports to open them in and End-User report designer.

It works fine but when the openFileDialog is opened in the name fill-in, just above type, it puts "openFileDialog1" and I want that fill-in to be empty but I don't say anywhere hot to do it, any idea?

This is my code:
Code:
openFileDialog1:InitialDirectory = "C:\Workspace\Pruebas\Reportes\".
openFileDialog1:Filter = "Archivos de Informes (*.repx)|*.repx".
openFileDialog1:Title = "Selecciona un Informe".
openFileDialog1:Multiselect = FALSE.
WAIT-FOR openFileDialog1:ShowDialog().
sr = NEW System.IO.StreamReader(openFileDialog1:FileName).
sr:Close().

THX!
 
Back
Top