Question : Dll files required to run a VB.Net Win app.

Hi Experts,

I have written a VB.Net win app. that requires AxInterop.MSChartLib.dll and Interop.MSChartLib.dll to run because of charting controls used in the app. When I copy the app's exe along with the two dlls to another computer it does not run. Do I have to do something with the dlls so that the receiving machine can use them?

Answer : Dll files required to run a VB.Net Win app.

See VBA code.

If you're using from within Access, you'll need to make a reference to the Word library.

Change the first file path to your Word doc.  Second to your TXT name.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
Dim w As New Word.Application
Dim doc As Word.Document

filePath = "c:\..\test.doc"
filePathTxt = "c:\..\test.txt"


Set doc = w.Documents.Open(filePath)

doc.SaveAs FileName:=filePathTxt, FileFormat:=wdFormatText, _
    LockComments:=False, Password:="", AddToRecentFiles:=True, WritePassword _
    :="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts:=False, _
    SaveNativePictureFormat:=False, SaveFormsData:=False, SaveAsAOCELetter:= _
    False, Encoding:=1252, InsertLineBreaks:=False, AllowSubstitutions:=False _
    , LineEnding:=wdCRLF
        
Random Solutions  
 
programming4us programming4us