In addition to its fifth question and one, I did not get any answers from experts ....
Hope That this time I will find helpful.
I want to mail via VBNt in OpenOffice and I am totally new with OpenOffice. I did some searching on the net for help, how can I use OpenOffice with VBN but I get half the information ... so can you please help me and give me vb.net for the OFFICE Can provide code for mail merge in
Select the list of workers to do them and click on a button and it will automate mail-mail using DB using the area of data of those workers. My Code is shown below
in ByVal StrFilter) dim OSM Public Sub OpenOfficeMail (string '' VB oDoc 'as the root object, object to reach retarded Odesk to OpenOffice 'Object Object Ape Dim Arg (-1)' Object '' for the moment, ignore it! 'Instaianet Ooo: O Oo line with VBB to the API is essential Osm = object ( "com.sun.star.ServiceManager")' 'first and foremost service Odisk = Osmkkretesteshn ( "Com. Frame.Desktop ")" Make a new Doctor ODO oDesk.loadComponentFromURL ("Private: Factory / Spritter", "_blank", 0, arg) "Close Doctor Odoco" Close (True) Odok = no 'open Note the syntax for an existing document (the first argument) oDoc = oDesk.loadComponentFromURL ( "file: /// C: \ Users \ Savannah \ Documents \ 1.odt" , "_blank", 0, arg) type as dim t_OOo t_OOo = Type.GetTypeFromProgID ( "com.sun.star.ServiceManager") new object objServiceManager = System.Activator.CreateInstance (t_OOo) as dim objServiceManager new as the object Ommel Major OMEL Merz = t_OOo.InvokeMember ( "createInstance", Reflection.BindingFlags. Invok meth Nothing, _ Objes Services Manager, NY Received [object] () { "com.sun.star.text.MailMerge"}) 'com.sun.star.text.MailMerge "}) OMailMerge.DocumentURL =" file: /// C: \ Users \ Savan \ Documents \ 1.odt "oMailMerge.DataSourceName = CreateSource (StrFilter)" function that will return the datasource name that will be the path of the text file omegle merge.Command type = 0 oMailMerge.Command = "file: /// C: \ Mail.txt "oMailMerge.OutputType = 2 oMailMerge.execute (new [object] () {}) ** ---- & gt; I'm getting an error here ** end sub
Comments
Post a Comment