my problem is this:
Imports System.Runtime.InteropServices
Imports Word
Private Sub btnSelectFile_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSelectFile.Click
Dim word As New Word.Application
Dim doc As Word.Document
'filter which files...
*select word files*
Imports System.Runtime.InteropServices
Imports Word
Private Sub btnSelectFile_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSelectFile.Click
Dim word As New Word.Application
Dim doc As Word.Document
'filter which files...
First, I create a new project within Visual Studio .NET and add a reference to the Microsoft Word type library. I am using Microsoft Word 2003, so the type library is Microsoft Word 11.0 Object Library. Once the reference is added, I can use the Word objects in the code.
Imports...
ok...what i mean is the word is "abab" i would like to short the word for compare 1st "a" to third "a" if this is true then make to one "s" only then second word with compare so on. How to write this program?
e.Graphics.DrawString(txtOriginal.Text, New Font("Courier New", 10, FontStyle.Regular), Brushes.Black, 50, 50)
after i debug it said "too many arguments to pulic sub new"(underline)
then i reduce but still same error.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.