I'm kind of in a hurry. I need to know for tomorrow how can I open a file and get the file name.
I was using the Common Dialog and with ".Filename" I could be able to get the name. It was easy and it worked!!
The point is that when I'm trying to open this program (executable version) in another program with no Visual Basic installed, it doesn't work; I have the "ActiveX component can't create object" error. One friend told me the problem is with the Common Dialog option, because apparently, this works just with Visual Basic already installed. So, he suggested me to use "Shell ("explorer.exe C:\")" With this I'm able to open a window but I don't know how to get the file name. I need something like before ".Filename".
Does anyone know how to get the file name for this case, withouth the Common Dialog option???