locked
Forums Code Addin Alternative to Insert Code Block RRS feed

All replies

  • Thank you William for sharing the Forums Code Addin here!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Wednesday, February 24, 2010 2:28 AM
  • Hi,

    a newer version(1.0.6) of the RTF to HTML Converter Addin is avaible here:

    Skydrive: http://cid-ccbb9dd00275669f.skydrive.live.com/self.aspx/.Public/RTFTOHTML.zip

    Visual Studio Gallery: http://visualstudiogallery.msdn.microsoft.com/en-us/1262da48-acef-4e7a-b56c-a42a84ce6e0e

    VB threads:
    Part 1: http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/bf977a14-d9d4-4e84-9784-bf76b9e23261#2d8fe6c2-8060-4e1f-8659-ed65c58d2f9c

    Part 2: http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/bf977a14-d9d4-4e84-9784-bf76b9e23261#682f63f9-56d1-4532-8277-7b87384cb708

    Part 3: http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/bf977a14-d9d4-4e84-9784-bf76b9e23261#2eb69f0d-ae7e-455c-9133-6db03d9c60c1

    Visual Studio Galery: Setup only
    Skydrive & VB threads: Setup and source code

    Added setting form,
    to select wether the programming language including the version, the target framework and/or the target platform should be insterted as comment.
    to select the fontsize of the html
    to select if you want to use the HasCode feature of the forum. But be aware not to use this feature if you are having html tags inside your source code !

    Hannes

    If you have got questions about this, just ask.
    Mark the thread as answered if the answer helps you. This helps others who have the same problem !
    C# to VB.NET: http://www.developerfusion.com/tools/convert/csharp-to-vb/
    Friday, March 5, 2010 12:35 PM
  • Version 1.0.7 with support for VS 2010 has been updated at the locations above.
    Hannes

    If you have got questions about this, just ask.
    Mark the thread as answered if the answer helps you. This helps others who have the same problem !
    C# to VB.NET: http://www.developerfusion.com/tools/convert/csharp-to-vb/
    Wednesday, April 14, 2010 11:39 AM
  • Hi ALL,

    You may also want to refer to Franks ' video mentioned in this thread.>>

    http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/7f2608df-b91e-4d50-aa5d-cb2a6e3e6974

    Direct link.>>

    http://www.fls-tech.com/VBNet_Forum/Inserting_Code/

     

    Regards,

    John

     


    Please see this thread for Vb.Net learning links.>> http://social.msdn.microsoft.com/Forums/en/vbgeneral/thread/549c8895-6780-42f8-878f-2138214fdeb4
    Wednesday, May 19, 2010 6:52 PM
  • Does this tool do anything more than just slapping a couple of <pre> tags around the codeblock? 

    Why not point to an example of the output?


    .NET: It's About Trust!
    http://vfred.mvps.org

    Wednesday, June 2, 2010 1:48 AM
  • Does this tool do anything more than just slapping a couple of <pre> tags around the codeblock? 


    It's not very complex, but if you prefer single spaced posts as I do, it does the job.

    Here's the result of pasting code from the IDE into a post:

     Imports System.IO.Ports
    Public Class Form1
      
    Private Sub Form1_Load(ByVal sender As ObjectByVal e As EventArgs) Handles MyBase.Load
        TextBox1.Multiline = 
    True
        TextBox1.Dock = DockStyle.Fill
        
    Try
          SerialPort1.Open()
        
    Catch ex As Exception
          MessageBox.Show(ex.ToString)
        
    End Try
      End Sub
      Delegate Sub AddText(ByVal Text As String)
      
    Private Sub SerialPort1_DataReceived(ByVal sender As ObjectByVal e As SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived
        TextBox1.Invoke(
    New AddText(AddressOf TextBox1.AppendText), SerialPort1.ReadLine + Environment.NewLine)
      
    End Sub
    End
     Class

    Monday, August 9, 2010 8:05 PM
  • Does this tool do anything more than just slapping a couple of <pre> tags around the codeblock? 


    It's not very complex, but if you prefer single spaced posts as I do, it does the job.

    Here's the result of pasting code from the IDE into a post:

     Imports System.IO.Ports
    Public Class Form1
      
    Private Sub Form1_Load(ByVal sender As ObjectByVal e As EventArgs) Handles MyBase.Load
        TextBox1.Multiline = 
    True
        TextBox1.Dock = DockStyle.Fill
        
    Try
          SerialPort1.Open()
        
    Catch ex As Exception
          MessageBox.Show(ex.ToString)
        
    End Try
      End Sub
      Delegate Sub AddText(ByVal Text As String)
      
    Private Sub SerialPort1_DataReceived(ByVal sender As ObjectByVal e As SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived
        TextBox1.Invoke(
    New AddText(AddressOf TextBox1.AppendText), SerialPort1.ReadLine + Environment.NewLine)
      
    End Sub
    End
     Class


    And here's the quote of the above post.  Try the same thing with or without the tools of the Forum.  Also try pasting  the quote into the IDE.  I guess what is really needed, since Microsoft seems intent on making use of the Forums more and more difficult, is a Forums browser.  David Morton started one on CodePlex, but it was overly ambitious and was abandoned.  Reverting to the status of the Forums of 2 to 3 years ago would be an improvement.

     

    Monday, August 9, 2010 8:07 PM
  • David Morton started one on CodePlex, but it was overly ambitious and was abandoned.  Reverting to the status of the Forums of 2 to 3 years ago would be an improvement.


    Ya we seem to lose features as time goes on. One dragon slayed only brings out a new one to slay. 

    I am still irked that the code button claims that the code will appear in a monospaced font in the preview, yet once on the post it is not monospaced.

     


    William Wegerson (www.OmegaCoder.Com)
    Monday, August 9, 2010 10:34 PM
  • Here's my offerings.

    Copy As HTML add-in for Visual Studio

    and

    Paste As Visual Studio Code plugin for Windows Live Writer

     

    HTH.

    Thursday, August 12, 2010 8:18 PM
  • John,

    I wasted my time watching this video (having used the direct link), thinking that it was a video of the extension, not just the "manual" way (which I already knew & use a lot).

    So I thought I'd make this post just to point out to people that it's NOT a video of the tool, so they don't waste their time as well.

    Thanks for posting something you thought was helpful, I just wish you'd made it clear what it was.


    Yann - LightSwitch Central

    (plus ça change, plus c'est la même chose!)

    If you found this post helpful, please "Vote as Helpful". If it actually answered your question, remember to "Mark as Answer".

    This will help people find the answers that they're looking for more quickly.

    Wednesday, November 16, 2011 2:14 AM