Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

stream file on startup

$
0
0

i want  to open files with file double click i also applied this code 

 

01.IfSystem.Environment.GetCommandLineArgs().Length > 1 Then
02.   Dimi AsInteger
03.   Fori = 1 ToSystem.Environment.GetCommandLineArgs().Length - 1
04. 
05.   Dimfilename = Environment.GetCommandLineArgs(i)
06.   Dimdocument AsRadDocument = Nothing
07.   Dimprovider AsIDocumentFormatProvider = NewDocxFormatProvider()
08.   Dimstream AsStream = NewStream(filename)
09. 
10.   document = provider.Import(stream)
11. 
12. 
13.   MessageBox.Show(stream)
14.  Next
15.  Else
16.  EndIf

Viewing all articles
Browse latest Browse all 78072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>