Results 1 to 6 of 6

Thread: VB Code Copier Or Printer!

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2005
    Posts
    11

    VB Code Copier Or Printer!

    Hi,

    I am doing my A Level Coursework and wish to copy my code in the format and style it is in the visual Basic code view. Is there anyway of doing this, as copying and pasting is not that good?

    ~Garth

  2. #2
    Lively Member
    Join Date
    Feb 2005
    Posts
    116

    Re: VB Code Copier Or Printer!

    Yeah, I'm in the same boat; just pasting into Word looks awful.

  3. #3
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: VB Code Copier Or Printer!

    You could try out Pretty Printer, it's not a free product but it has free trials available. Another (free) product you can try out is my very own Source Edit, it has the ability to create HTML output that keeps the syntax highlighting colors intact. You could then print it from your webbrowser.

  4. #4
    Lively Member
    Join Date
    Feb 2005
    Posts
    116

    Re: VB Code Copier Or Printer!

    I've just downloaded SourceEdit, and it looks pretty good. Only problem is, when publishing to HTML, words like 'For' are highlighted in blue despite the fact that they are contained in function names (eg. ValidForm). Is there a way to stop this?

  5. #5
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: VB Code Copier Or Printer!

    Oh, I've never noticed that before. If that's the case it's a bug that I have to fix before the next release. In the mean time I guess you have to edit the generated HTML.

    Just a side note: I have my own forum for Source Edit, this isn't the place to have further discussions about it .

  6. #6
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: VB Code Copier Or Printer!

    Have you tried copy/paste into Wordpad instead? That works well when pasting out of VB.Net. I haven't tried it from VB6 though.
    I don't live here any more.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width