Page 1 of 2 12 LastLast
Results 1 to 40 of 43

Thread: VBCode? (Almost Solved)

  1. #1

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Unhappy VBCode? (Almost Solved)

    Is it true what I see? What happened to our beloved
    visual basic code:
    tags?


    Last edited by Tec-Nico; Dec 20th, 2004 at 03:36 PM.
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  2. #2
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: VBCode?

    This is best placed in the feedback forum. This is broken temporarily. It will be back.

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  3. #3
    Software Eng. Megatron's Avatar
    Join Date
    Mar 1999
    Location
    Canada
    Posts
    11,286

    Re: VBCode?

    You'd probably get a better response in the Forum Feedback section; Brad will see it faster, there.

    Regular 'code' tags still work though. Same with color-tags. I remember, before we had the 'vbcode' tags, Matt Gates, myself, and a few others made an application to automatically recognize VB keywords and insert < color=blue > tags around them.

  4. #4
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: VBCode?

    The VB code coloring was a hack added to the forum. I didn't want to delay the upgrade to get that hack in place. It will be added back to the forum next week. We will also be changing the "#" button to say "Code" so it is easier to recognize as the standard Code button.

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  5. #5

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Red face Re: VBCode?

    Thank you, Brad and Megatron...

    I was just worried we would lose it forever.
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  6. #6

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: VBCode?

    Just one more thing...

    Now that you will take your time to make it work again... Would you please fix the comment part of it?

    I mean, I love how the tags work, but when you had a comment like:


    'Brad's Code

    It would appear like:

    'Brad
    's Code

    I know it sounds spoiled, but it could be a nice addition to the looks of the forums.

    Thanks again.
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  7. #7
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: VBCode?

    Brad, since, like Tec-Nico stated, that you will be doing new work on the vbcode tags, could we get support for .NET code so its keywords would be colored too?

    Btw: This will not be considered an early x-mas gift to us either
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  8. #8
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: VBCode?

    Quote Originally Posted by brad jones
    The VB code coloring was a hack added to the forum. I didn't want to delay the upgrade to get that hack in place. It will be added back to the forum next week. We will also be changing the "#" button to say "Code" so it is easier to recognize as the standard Code button.

    Brad!
    That must be some interesting hack...

  9. #9
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: VBCode?

    Quote Originally Posted by nemaroller
    That must be some interesting hack...
    It is just a bit of PHP code. Being that I'm more of a Microsoft and C++ languages programmer, "Interesting" is a good word to use. I'll be trying to get the basic code hooked back in Monday/Tuesday. Once that is done, it should be easy to get the new keywords added. The comments issue might be a little more work. We will get there though

    (This is one of the top items to get done.)

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  10. #10

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: VBCode?

    Once again, thanks Brad.

    There is a VB Project that does that as well, I believe. I can upload it if you want... (I know it is not PHP but you could get an idea of the algorithms used there if you want or need to, but I doubt you need to)
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  11. #11
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: VBCode?

    Code:
    On Error Me.Fault = False
    Code tags work. Is that what you mean? I'm still using the update that has options for html that allow code, and quote, etc.

  12. #12

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: VBCode?

    Code:
    On Error Me.Fault = False
    'Brad's Code
    If Something And Something Or Something Then
     For i = 0 To 10
     Next
    Else
      Select Case Hey
      Case 0:
        Do
          Hmmm...
        Loop Until 1
       Case 1:
         Do
           Hmmm...
          Loop While 2
       End Select
    End If
    Why don't I get it then, David? Should I add colors in the code's tag?
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  13. #13
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349

    Re: VBCode?

    Quote Originally Posted by dglienna
    Code:
    On Error Me.Fault = False
    Code tags work. Is that what you mean? I'm still using the update that has options for html that allow code, and quote, etc.
    Haha yea if you quote him you'll see he's added the blue himself . And I was thinking they'd added simple keywords .
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  14. #14

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: VBCode?

    Yeah, I supposed so, Electroman. But I also wanted to show the other people it didn't work...

    Me should be blue as well..

    But it is not just an issue of having my signature colored or not. If you browse through the forums you will find that there are thousands of threads with the same tags which were relying on this hack to work.
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  15. #15
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349

    Re: VBCode?

    As Brads said he's working on it and it should be back to normal Monday or only a day or two after that but is his main priority .
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  16. #16
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: VBCode?

    Quote Originally Posted by Electroman
    Haha yea if you quote him you'll see he's added the blue himself . And I was thinking they'd added simple keywords .
    I noticed it the other night, when I used the right-click option of the download. It must do it automatically. Actually, I don't like the color tags, and have to copy the messsage, and overwrite the old one to edit the posts.

    I forget where I got it, but it was here, this summer. I think it was in a Firefox thread. I've used it in other webpages, as well.

    Not sure what is doing it, but, I guarantee that it is done automatically, with no intervention on my part.

  17. #17
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349

    Re: VBCode?

    Quote Originally Posted by dglienna
    I noticed it the other night, when I used the right-click option of the download. It must do it automatically. Actually, I don't like the color tags, and have to copy the messsage, and overwrite the old one to edit the posts.

    I forget where I got it, but it was here, this summer. I think it was in a Firefox thread. I've used it in other webpages, as well.

    Not sure what is doing it, but, I guarantee that it is done automatically, with no intervention on my part.
    That would be Canders VBF FireFox plugin .
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  18. #18

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: VBCode?

    Cander has a plugin for FireFox to do that? Where can I download it?

    (FireFox rocks)
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  19. #19
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: VBCode?

    Quote Originally Posted by Tec-Nico
    Cander has a plugin for FireFox to do that? Where can I download it?

    (FireFox rocks)

    here you go:
    http://vbforums.com/showthread.php?t...4&highlight=FF

    maybe that one could also have it's own tag. Like [ccode] [/ccode]


    ØØ

  20. #20

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: VBCode?

    Thank you, NoteMe. But... Does it work with version 1.0?
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  21. #21

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: VBCode?

    How is it going? I guess it is harder than expected, right?

    Keep up the good work, Brad.
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  22. #22

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: VBCode?

    Yay! The VBCode Tag is back!!

    Thank you, Brad.

    Now just a little test:

    VB Code:
    1. If Something = True Then
    2.      'My Code:
    3.      Debug.Print "Hello World"
    4.  Else
    5.     'Somebody else's code:
    6.      Debug.Print "Hey, Earth"
    7.  End If

    [Edit:]
    It seems I did something wrong because it appeared broken... I am testing it again
    Last edited by Tec-Nico; Dec 22nd, 2004 at 01:14 PM.
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  23. #23

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: VBCode?

    Apparently it is eating the enters and adding a \ before the comments...
    Let me see what happens without comments:
    VB Code:
    1. If Something = True Then
    2.    Debug.Print "Something"
    3.  Else
    4.    Debug.Print "Something Else"
    5.  End If
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  24. #24
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: VBCode? (Almost Solved)

    There is definately a problem. I put VBCode tags around this in another thread and it wipes out the thread!

    Code:
    Private Sub Form_Load()
    
        ' Create the instance of the database class
        Set gDB = New CDatabase
        
        ' Open the database
        gDB.dbName = App.Path & "\northwind.MDB"
        
       ' Create an object variable for the ColumnHeader object.
       Dim clmX As ColumnHeader
       ' Add ColumnHeaders.
       Set clmX = lvFind.ColumnHeaders.Add(, , "Product", (lvFind.Width - 1066) / 2)
       Set clmX = lvFind.ColumnHeaders.Add(, , "Supplier ID", (lvFind.Width - 1066) / 2)
       Set clmX = lvFind.ColumnHeaders.Add(, , "Category ID", 976)
    
       lvFind.BorderStyle = ccFixedSingle ' Set BorderStyle property.
       lvFind.View = lvwReport ' Set View property to Report.
    
       ' Label OptionButton controls with SortOrder options.
          OptSort(0).Caption = "Sort Ascending"
          OptSort(1).Caption = "Sort Descending"
          lvFind.SortOrder = lvwAscending ' Sort ascending.
          OptSort(0).Value = True
    
    End Sub
    
    Private Sub lvFind_ColumnClick(ByVal ColumnHeader As ColumnHeader)
       ' When a ColumnHeader object is clicked, the ListView control is
       ' sorted by the subitems of that column.
       ' Set the SortKey to the Index of the ColumnHeader - 1
       lvFind.SortKey = ColumnHeader.Index - 1
       ' Set Sorted to True to sort the list.
       lvFind.Sorted = True
    End Sub
    Private Sub Form_Activate()
        
        txtWord.SetFocus
    
    End Sub
    Private Sub Form_Unload(Cancel As Integer)
        
        Set frmFind = Nothing
        
    End Sub
    Private Sub lvFind_DblClick()
    
        cmdFind(findCloseButton) = True
        
    End Sub
    Private Sub cmdFind_Click(Index As Integer)
    
        Dim sSQLProducts As String
        Dim sErr As String
        Dim itmX As ListItem ' Create a variable to add ListItem objects.
        
        Select Case Index
            Case findFindItButton
                On Error Resume Next
                lvFind.ListItems.Clear
                sSQLProducts = "Select * from Products where ProductName like '*" & txtWord & "*' "
                Set mrsProducts = gDB.DB.OpenRecordset(sSQLProducts, dbOpenDynaset)
                If Err.Number <> 0 Then
                    sErr = Err.Description
                    On Error GoTo 0
                    Err.Raise dbOpenRSError, "cmdFind_Click", sErr
                End If
    
                While Not mrsProducts.EOF
                    Set itmX = lvFind.ListItems.Add(, , CStr(mrsProducts!ProductName))
                    itmX.SubItems(1) = CStr(mrsProducts!SupplierID)
                    itmX.SubItems(2) = mrsProducts!CategoryID
                    mrsProducts.MoveNext
                Wend
                mrsProducts.Close
                
            Case findCloseButton
                Unload Me
            Case Else
                ColorListviewRow lvFind, 5, vbRed ' use 16711681 instead of vbBlue
        End Select
    
    End Sub

  25. #25
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: VBCode? (Almost Solved)

    The VBCODE tag is still a work in progress. Heidi is on the job, so it is much closer than it has been . I've pointed MartinLiss' bumm code to Heidi, so hopefully that will help to isoloate the problem (I've also managed to get the blank pages....)

    We are getting close! Once we get it working, I'll be able to maintain the key term list.

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  26. #26
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349

    Re: VBCode? (Almost Solved)

    Quote Originally Posted by brad jones
    The VBCODE tag is still a work in progress. Heidi is on the job, so it is much closer than it has been . I've pointed MartinLiss' bumm code to Heidi, so hopefully that will help to isoloate the problem (I've also managed to get the blank pages....)

    We are getting close! Once we get it working, I'll be able to maintain the key term list.

    Brad!
    If you use the ' coments at all then you get that problem. Using the rem is fine though .

    For example this code would do it if it was VBCode tags:
    Code:
    Hello 'Boo
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  27. #27

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: VBCode? (Almost Solved)

    One doubt... It seems the code is working everywhere in the forum but my examples posted here won't work... Can anyone tell me why?

    It is just something like: (Hope it works)
    VB Code:
    1. 'Somebody else's Code:
    2. If something Then
    3.     Debug.Print "Hello"
    4. Else
    5.     Debug.Print "Hi"
    6. End If
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  28. #28

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: VBCode? (Almost Solved)

    Why is it eating the lines and keeping everything in blue?
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  29. #29
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: VBCode? (Almost Solved)

    I cut and pasted your code in the test forum and it worked file. I'm cutting and pasting here to see what happens:



    One doubt... It seems the code is working everywhere in the forum but my examples posted here won't work... Can anyone tell me why?

    It is just something like: (Hope it works)
    VB Code:
    1. 'Somebody else's Code:
    2. If something Then
    3.     Debug.Print "Hello"
    4. Else
    5.     Debug.Print "Hi"
    6. End If
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  30. #30
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: VBCode? (Almost Solved)

    I just opened your post (edit) and simply saved. Something goofy must have been at the end of the code lines you entered. Saving it seems to have reset whatever was at the end of your lines.

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  31. #31
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: VBCode? (Almost Solved)

    Quote Originally Posted by Tec-Nico
    Why is it eating the lines and keeping everything in blue?
    Good question on the line breaks.
    Because he set the color of the post to blue is the answer to the other. (Just like I set it to Orange for this post)

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  32. #32
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349

    Re: VBCode? (Almost Solved)

    Can I just add I viewed this thread straight after Tec-Nico posted that code and it looked fine, apart from it was all on one line. Now the font is messed up. Or did you edit something Tec-Nico?
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  33. #33
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349

    Re: VBCode? (Almost Solved)

    And now its all fine, I guess you must have changed something.
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  34. #34

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: VBCode? (Almost Solved)

    I didn't edit anything, Electroman. I guess I am the guy that has the luck to get into strange things.

    I will try once again:
    VB Code:
    1. 'Hello's Code:
    VB Code:
    1. [color=#00007f]
    2.  If Something = True [color=#00007f]Then
    3.  [/color] [color=#00007f]Debug[/color].[color=#00007f]Print[/color] "Hello"[color=#00007f]
    4.  Else
    5.  [/color] [color=#00007f]Debug[/color].[color=#00007f]Print[/color] "Hi"
    6.  [color=#00007f]End[/color] If
    P.S. I am using the WYSIWYG Editor.
    [/color]
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  35. #35

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: VBCode? (Almost Solved)

    Hmmm... Strange. Please let me try without using any format (but using the WYSIWYG editor)

    VB Code:
    1. 'Some Code:
    2.  If Something = True Then
    3.   Debug.Print "Hello"
    4.  Else
    5.   Debug.Print "Hi"
    6.  End If
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  36. #36

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: VBCode? (Almost Solved)

    It still eats the breaks...

    I don't understand why, unless it happens to anyone (And I don't think so) who is using the WYSIWYG editor.
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  37. #37

  38. #38
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349
    VB Code:
    1. 'Some Code:
    2.  If Something = True Then
    3.   Debug.Print "Hello"
    4.  Else
    5.   Debug.Print "Hi"
    6.  End If
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  39. #39
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349

    Re: VBCode? (Almost Solved)

    This is the WYSIWYG editor:

    visual basic code:'Some Code: If Something = True Then Debug.Print "Hello" Else Debug.Print "Hi" End If


    Mind copy & pasting the code was a little difficult .

    EDIT: Its seems if you want the new lines to remain you have to type it in cos Copy & Pasting the Code in the
    WYSIWYG editor causes probs.

    I'll be switching back I think, I'm not used to this .

    OMG each time I edit or preview it the display shown in the editor looks right but once submitted it changes, then when I edit it again it chnages without doing anything.
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  40. #40

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: VBCode? (Almost Solved)

    See what I mean?

    Then it is the WYSIWYG editor, right?
    Does that mean I have to change the editor? I was getting used to it...
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

Page 1 of 2 12 LastLast

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