ورود

View Full Version : سوال: بازکردن ورد در برنامه



moghadam1372
دوشنبه 30 بهمن 1391, 14:37 عصر
با سلام

چگونه می توان با یک کلیک ورد را باز کردالبته با vb6

mohammadsamadi1377
دوشنبه 30 بهمن 1391, 20:10 عصر
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long

ShellExecute Me.hWnd, vbNullString, "آدرس فايل ورد", vbNullString, "C:\", SW_SHOWNORMAL