how can i open data in the associated application?
I've made an application and associated a filetype to it using the registry. When I double click the data file, it opens the application but doesn't load the data from the file, how do I fix this?
I've made an application and associated a filetype to it using the registry. When I double click the data file, it opens the application but doesn't load the data from the file, how do I fix this?
thank you.
Please post some code here.
For example
I am trying to open up a specific workbook labeled below: I can get the application to open but not the specific workbook/spreadsheet. Please help what am I missing?
Private Sub Command2_Click( )
Dim ExcelApp As Object
Dim ExcelBook As Object
Dim ExcelSheet As Object
Set ExcelApp = CreateObject("E xcel.Applicatio n")
Set objExcel = New Excel.Applicati on
objExcel.Visibl e = True
objExcel.Book.O pen "c:\name of file.xls", , , True
Comment