User Profile

Collapse

Profile Sidebar

Collapse
Ghaleon
Ghaleon
Last Activity: Oct 25 '13, 06:28 PM
Joined: Aug 29 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Ghaleon
    replied to Invalid Interval of a Word.Range
    I'm using VisualBasic Version 6
    See more | Go to post

    Leave a comment:


  • Ghaleon
    started a topic Invalid Interval of a Word.Range

    Invalid Interval of a Word.Range

    HI Guys, I have this line:

    Code:
    Dim Range   As Word.Range
    Set Range = Word_Doc.Range(Start:=Word_Doc.Bookmarks("StartText").Range.Start, End:=Word_Doc.Bookmarks("Table").Range.End)

    It's working fine on my Virtual Machine with WindowsXP + Office 2007
    Also working on my computer with Windows 8 + Office 2013.

    But When I tried to run this application on a customer's pc with Win...
    See more | Go to post

  • Ghaleon
    started a topic How to insert image to database?

    How to insert image to database?

    I'd like to know a way to Insert Images to MySql Database.

    I tried to follow This tutorial. But didnt get it very well... =\

    Any help ?
    See more | Go to post

  • Ghaleon
    started a topic How to save multiples files into one

    How to save multiples files into one

    I have a lot of archieves .pdf, I'd like to join them into a single archieve.

    I'm trying this code:

    Code:
    MyPath = Replace(strCaminho, "Carta.rtf", "")
    MyName = Dir$(MyPath & "*.pdf")
    Documents.Add
        
    Do While MyName <> ""
      If InStr(MyName, "~") = 0 Then
        selection.InsertFile filename:="""" &
    ...
    See more | Go to post

  • I solve the problem just adding

    Code:
    Word_Doc.Close False
    Set Word_Doc = Nothing
    See more | Go to post

    Leave a comment:


  • Ghaleon
    started a topic Error When Create a Blank Word document

    Error When Create a Blank Word document

    I create a blank document like this:

    Code:
    Private Word_App                    As Word.Application
    Private Word_Doc                    As Word.Document
    Private Word_Rtf_Doc                As Word.Document
    Private Word_Table                  As Word.Table
    Private Word_Range                  As Word.Range
    Private objRow                      As Row
    Private objCell                     As Cell
    ...
    See more | Go to post

  • Ghaleon
    replied to Convert Word Doc to PDF
    It's working now \o/ I had to install an Add-in of MS-Word. But now, the characteres are a little bit strange... It still letters and you're able to read it. But it's a little strange you know ? is there a way to fix it ?
    I'm trying to find a way/command to renderize the font, but didn't find it yet.

    Look:

    ...
    See more | Go to post

    Leave a comment:


  • Thank you! I just ignored the errors...
    See more | Go to post

    Leave a comment:


  • Ghaleon
    replied to Convert Word Doc to PDF
    I'm using the continuation characters... Just deleted by mistake... Guess I'll have to find antoher way to make this conversion ;\
    See more | Go to post

    Leave a comment:


  • Ghaleon
    replied to Convert Word Doc to PDF
    Code:
    '********************** WORD ****************************
    Private Word_App                    As Word.Application
    Private Word_Doc                    As Word.Document
    Private Word_Rtf_Doc                As Word.Document
    Private Word_Table                  As Word.Table
    Private Word_Range                  As Word.Range
    Private objRow                      As Row
    Private objCell                     As Cell
    ...
    See more | Go to post

    Leave a comment:


  • Ghaleon
    replied to Convert Word Doc to PDF
    The Strange thing is that if I try this code:
    Code:
    Word_App.ActiveDocument.SaveAs filename:=strPath & "\doc1.doc"
    It works, it saves the document as a .doc

    but when I try to convert it to PDF it gives me the error =\
    See more | Go to post

    Leave a comment:


  • Ghaleon
    started a topic Convert Word Doc to PDF

    Convert Word Doc to PDF

    I finally finished my word doc. But now I was told to create a PDF instead u.u

    I tried this code:

    Code:
    Dim Word_App As Word.Application
    Set Word_App = New Word.Application
    
    'Create and fill the word document.
    
    'Save the document as PDF
    Word_App.ActiveDocument.ExportAsFixedFormat
    OutputFileName:=Replace(strPath, ".rtf", "") & " - " &
    vtCartas(iMarcaCartasIndividuais).strMatricula
    ...
    See more | Go to post
    Last edited by Rabbit; Sep 12 '13, 03:52 PM. Reason: Fixed code tags

  • Omg man, I'm not that dumb u_U
    The grammar errors are all Names of persons... Not that grammar you're thinking u_U

    May I add these names to dictionary by code?
    See more | Go to post

    Leave a comment:


  • Too Much orthographic errors to show the document

    I'm creating a word document with more than 800 pages.
    But I'm facing two problems:

    1- It's take more than 20minuts to finish;
    2- When it's almost finishing, it shows the message:

    Too Much Ortographic Erros to show the document
    then the whole operation is ended.

    How may I fix these problems?

    The code to create the document and fill it with data, is inside a loop, so...
    See more | Go to post

  • Got ya...
    BUt how do I do that? I'm not used to work with VB ;s
    I used to work with C# '-'
    Could you give me a hand ?
    See more | Go to post

    Leave a comment:


  • Insert into a word document an Image from Database

    Does anybody know how to insert a picture from a database to a bookmark in a Word Document using vb. ?

    I know how to insert image by the path, like
    Code:
    Word_App.Selection.InlineShapes.Add.Picutre FileName:="C:\Images\winter.jpg"
    Also, I Know how to bring the image from the database and store it on a RecordSet.

    All I need to know is how may I insert this image into a word document?
    ...
    See more | Go to post

  • Hmm, thanks !
    So how may I accomplish what I wish ?
    Just make a Ctrl+C & Ctrl+V ?!
    See more | Go to post

    Leave a comment:


  • Ghaleon
    started a topic Copy the content of a word doc to another

    Copy the content of a word doc to another

    Hello everyone !

    I'm trying to copy the content of WordDoc-A and paste it to WordDoc-B...

    I'm trying to work with this:
    Code:
    Word_Doc.Content.Copy
    But I'm failing =\

    How may I do that ?
    See more | Go to post

  • Ghaleon
    started a topic Working with a giant quantity of characters

    Working with a giant quantity of characters

    Hi Guys !!

    I have something like this, inside a loop:

    Code:
    Dim strContentHolder     As String
    Dim strIncomingContent   As String
    strContentHolder = strContentHolder + strIncomingContent
    Let's talk about the problem I'm facing:
    As the title says, the strContentHolde r that is inside a loop, so the code above will happens a lot of times, like 200x or more... So the memory consumed will be too much,...
    See more | Go to post

  • Ghaleon
    replied to Order the objects on the word doc
    Thanks again³.
    Yes, But I don't know how to set the range to the end of the text... I'm trying to understand this Bookmarks, but I'm not going very well ;x

    UPDATE 2
    Its over haha ;D Thanks so much !!!!
    Finally !

    I did as following for those who may be in the same situation as mine:
    Code:
    Word_Doc.Bookmarks.Add("NameOfTheBookmark")
    OK, now you just created a bookmark with the name...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...