on 10-07-2008 7:53 AM
Hi...
Can I get the Code for loadig a selected Widows Word Document
(file) in SAP B1
Hello,
What do you mean by load word(.Doc) in SAP B1?
Do you mean lauch the word file with MS Word in your addon code?
Try this: Process.Start("c:
temp.doc")
Do you mean your addon file work as MS word to load the doc.
You may search "WordApp" or "CCWordApp" in google for further information. or VBA programming
Kind Regards
-Yatsea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to open .doc file...
Private Sub LoadFile(ByVal sFile As String)
Try
Dim startInfo As New ProcessStartInfo(sFile)
startInfo.WindowStyle = ProcessWindowStyle.Maximized
Process.Start(startInfo)
Catch ex As Exception
' log exception
Finally
System.GC.Collect() 'Release the handle to the table
End Try
End Sub
Regards
Sierdna S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.