Search:

Type: Posts; User: iamanoob

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    16
    Views
    12,490

    Re: ColorCode.dll Help

    ):
    I will contact them.
    on their main page it says:

    "Language Support
    ColorCode supports the following languages:

    XML
    Java
    JavaScript
  2. Replies
    16
    Views
    12,490

    Re: ColorCode.dll Help

    eh, why would it turn to HTML?! :ehh:
    any ideas on how to fix it? :confused:
  3. Replies
    16
    Views
    12,490

    Re: ColorCode.dll Help

    at run-time,
    http://www.etrinity.x10.mx/cod.png

    and when trying:

    Dim colorizedSourceCode As String = coloredCode.Colorize(sourceCode, ColorCode.Languages.VbDotNet)
    RichTextBox1.Text =...
  4. Replies
    16
    Views
    12,490

    Re: ColorCode.dll Help

    ok, i see, but it's all Dim statements, when do you actually use any of the defined statements to effect the text in the RichTextBox?

    I tried:

    RichTextBox1.Text = colorizedSourceCode
    Which was...
  5. Replies
    16
    Views
    12,490

    Re: ColorCode.dll Help

    I have tried this:

    Private Sub RichTextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RichTextBox1.TextChanged
    Dim sourceCode As String =...
  6. Replies
    16
    Views
    12,490

    Re: ColorCode.dll Help

    ok, thanks for your help, but at run-time i get this message:
    "File format is not valid."
    and it highlights this line:

    richtextbox1.rtf = new CodeColorizer().Colorize(richtextbox1.text,...
  7. Replies
    16
    Views
    12,490

    Re: ColorCode.dll Help

    I have tried that code, but i don't know how i'm supposed to use it? thoes are Dim statements..?
  8. Replies
    16
    Views
    12,490

    ColorCode.dll Help

    Hi, I've been trying to get syntax hilighting for a RichTextBox.
    I am struggling trying to code it myself, so I looked around a bit, and found a cool .dll file called ColorCode.
    ...
  9. Replies
    3
    Views
    4,466

    Re: [HELP] Code Hilighting In RichTextBox

    I found the post by "Icyculyr", and it seems deathly complicated. He hasn't posted a reply since 2008 saying he ever got it working or not. /:
    What is "regex"?
  10. Replies
    3
    Views
    4,466

    [HELP] Code Hilighting In RichTextBox

    Hi, i want to have syntax highlighting for Java in RichTextBox1.

    When the user entres "//" (without quotes), i want the "//" to turn green, while the rest of the text stays black.

    i've started...
  11. Replies
    1
    Views
    436

    Launch an application form resources

    I want to launch an .exe file from my resources.?
  12. Thread: Moving a file

    by iamanoob
    Replies
    1
    Views
    624

    Moving a file

    Hi, so I want to move CH1.bat to C:\Windows. I don't want to specify the path of CH1.bat, so I used this code:


    System.IO.File.Move(Application.StartupPath & "\CH1.bat", "C:\Windows\CH1")
    But...
  13. Replies
    2
    Views
    695

    Re: Move item at a certain time

    uummm, that's not quite what i was looking for. I'm not too good with timers. :(
  14. Replies
    2
    Views
    695

    Move item at a certain time

    Hi, i'm trying to make it so that when a timer reaches a certain number, that PictureBox3 has a new location. But I don't know how to make it so that at a certain "time" makes picturebox3 move. i...
  15. Replies
    3
    Views
    2,823

    Re: Play a video as a splash screen.

    Ok, I have a media player on my Form. I can't find anything about what to do with it though. I want it to play as soon as the form loads so...


    Private Sub Form1_Load(ByVal sender As...
  16. Replies
    3
    Views
    2,823

    Play a video as a splash screen.

    Hi, I have a splash screen set as Form9. When Form9 loads, I want it to play a video automatically. I have the video in MPEG format. I'm just not sure what tool to use, and what code would go with...
  17. Replies
    7
    Views
    945

    Re: If a process is stopped...

    ok, thank you, ProcessExitedEvent is not declaired though... Ok, and the .exe file that will be produced will be in the same directory as Start.bat.


    Private Sub Form1_Load(ByVal sender As...
  18. Replies
    7
    Views
    945

    Re: If a process is stopped...

    Please, I'm new, I got confused looking through all the different meanings, is there a simple, specific answer for my problem? That post doesn't look like anything i'm trying to do. Thanks for your...
  19. Replies
    7
    Views
    945

    Re: If a process is stopped...

    i've browsed through your recent posts, but could not find any with my question. Could you point out the thread name please?
  20. Replies
    7
    Views
    945

    If a process is stopped...

    Hi, I want to make a program that, when a certain batch file is closed, that it immediatly re-opens it. I'm trying to use the If statement like,


    Dim Process As New Process
    If...
  21. Replies
    4
    Views
    1,027

    Re: Change cursor when button clicked

    Ok, thank you, I couldn't find a clear answer with any google results. :)
  22. Replies
    4
    Views
    1,027

    Change cursor when button clicked

    Hi, when Button1 is clicked I want the cursor to change to the Hourglass cursor.
  23. Replies
    1
    Views
    749

    PictureBox viewer

    Hi, I want to create a form that shows different pictureboxes, showing different images, when the "Next" or "Previous" button is clicked.
    Like...


    Private Sub Button1_Click(ByVal sender As...
  24. Replies
    2
    Views
    602

    New line of text

    Hi, i want to some text to appear in a RichTextBox, but after a certain point I want to create a new line of text separate from the original text... Here's what I have:


    Private Sub...
  25. Replies
    19
    Views
    4,756

    Re: Embeding fonts into .NET application

    1 problem. This method does not seem to work with group boxes. I edited your example code a bit so that when it loads, the font just appears without clicking the button. But I added a groupbox, and...
  26. Replies
    19
    Views
    4,756

    Re: Embeding fonts into .NET application

    Ok, thanks for your help and patience!!!
  27. Replies
    19
    Views
    4,756

    Re: Embeding fonts into .NET application

    Here it is. It includes the font in the folder.
  28. Replies
    19
    Views
    4,756

    Re: Embeding fonts into .NET application

    sorry, for the TRIPLE post, but i've managed to fix it. I've started a new test form, and made a label. I made it the font I wanted it to appear as on other computers. Added a new module, with the...
  29. Replies
    19
    Views
    4,756

    Re: Embeding fonts into .NET application

    I tried deleting the resource, then adding it back in. Now I have an error...

    Warning 1 The designer cannot process the code at line 554: Me.TextBox1.Text =...
  30. Replies
    19
    Views
    4,756

    Re: Embeding fonts into .NET application

    no, I didn't do that. Where is that option???
  31. Replies
    19
    Views
    4,756

    Re: Embeding fonts into .NET application

    hhhmmmm... I did everything you said, and it runs, but it does not work.... I uninstalled the font from my system, so in the designer it was back to the ugly old font, and when I ran it, it stayed as...
  32. Replies
    19
    Views
    4,756

    Re: Embeding fonts into .NET application

    Ok, thanks, here's what i have...


    Imports System.Drawing.Text
    Imports System.Runtime.InteropServices
    Module CustomFont
    'PRIVATE FONT COLLECTION TO HOLD THE DYNAMIC FONT
    Private _pfc...
  33. Replies
    19
    Views
    4,756

    Re: Embeding fonts into .NET application

    aahhh, yes, I made a new module and pasted it there. Thanks for your patience. :) But now I have an error that says 'DIGITALDREAMNARROW' is not a member of 'Resources'. How do I modify the code so...
  34. Replies
    12
    Views
    1,223

    Re: Make fonts "stick" to .exe.

    Ok, how can I change the arrays to variables then? And what do the _ in the code do? Should a filename go there??? In the meantime I'll read the rest of that link u gave me. It seems helpful. Thanks.
  35. Replies
    12
    Views
    1,223

    Re: Make fonts "stick" to .exe.

    Ok, how do I pass the appropriate data when calling the method. This is totally foreign with ne. I don't understand much about arrays.
  36. Replies
    12
    Views
    1,223

    Re: Make fonts "stick" to .exe.

    Ok, what can I do to fix that?
  37. Replies
    12
    Views
    1,223

    Re: Make fonts "stick" to .exe.

    Yes, I dragged the font into the resource library, and made it embedded.
  38. Replies
    19
    Views
    4,756

    Re: Embeding fonts into .NET application

    Ok, how do I use this? I have pasted this

    Module CustomFont
    'PRIVATE FONT COLLECTION TO HOLD THE DYNAMIC FONT
    Private _pfc As PrivateFontCollection = Nothing
    Public...
  39. Replies
    19
    Views
    4,756

    Embeding fonts into .NET application

    I followed instructions (on http://www.tek-tips.com/faqs.cfm?fid=4747) and tried their sample code but it doesn't work. No errors or anytning, but it just DOESN'T work???? This code is totally...
  40. Replies
    12
    Views
    1,223

    Re: Make fonts "stick" to .exe.

    I followed their instructions but it doesn't work. No errors or anytning, but it just DOESN'T work???? This code is totally foreign to me, where do I put the name of my font (imagine_font.ttf)???:(
    ...
Results 1 to 40 of 62
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width