dcsimg

Search:

Type: Posts; User: Raeki

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    7,162

    Re: Wildcards in Replace function?

    Lol I already found a workaround, but so the wildcard is ".+"?
  2. Replies
    4
    Views
    7,162

    Wildcards in Replace function?

    Hi, I was wondering if there is an easy way to use wildcards in the .replace function. I've tried str1 = system.text.regularexpressions.regex.replace(str1,"Test.*", "Test") which I found from 1...
  3. Replies
    21
    Views
    1,074

    VS 2008 Re: Seperating text in a textbox?

    For some strange reason, with that code it only loads like 1/6th of the items there are. Btw, I'm testing with datagrids. Is there any way to simply add the listbox items into the datagrid columns? I...
  4. Replies
    21
    Views
    1,074

    VS 2008 Re: Seperating text in a textbox?

    I tried that earlier today and got a ton of extra spaces; although it may have been a mistake so I'll try again :)
  5. Replies
    21
    Views
    1,074

    VS 2008 Re: Seperating text in a textbox?

    Lol, finally made a code, which was like half as long as the others.

    Now I just have one problem; I have inserted them seperatly into listboxes first. Can I bind them after I've inserted them...
  6. Replies
    21
    Views
    1,074

    VS 2008 Re: Seperating text in a textbox?

    Thanks :) The class code worked, and makes sense, but with the listboxing code it seems to split up the name and put it in each listbox, and I don't know what happens to the rest of the info. Trying...
  7. Replies
    21
    Views
    1,074

    VS 2008 Re: Seperating text in a textbox?

    Btw, I've been able to make it into just

    john,1234567890,canada,bc,male,mark,2345678901,usa,washington,male etc.etc.,


    I'll try to get the coding for it but if someone could give an example...
  8. Replies
    21
    Views
    1,074

    VS 2008 Re: Seperating text in a textbox?

    Hmmm I'm having some troubles. Whatever I put in the "get" seems to be whatever populates the listboxes
  9. Replies
    21
    Views
    1,074

    VS 2008 Re: Seperating text in a textbox?

    Still have an error starting a brand new class (not sure how to explain posted in pics)


    Public Property FirstName() As String
    Get

    End Get
    Set(ByVal value As String)...
  10. Replies
    21
    Views
    1,074

    VS 2008 Re: Seperating text in a textbox?

    Oh okay sorry I didn't know. I'm using Visual Basic 2008 but I'll fiddle around with it (i have 2010 too)
  11. Replies
    21
    Views
    1,074

    VS 2008 Re: Seperating text in a textbox?

    Hmmm where do I insert that code? Whether I post the friend class inside or ouside "public class form 1" I get errors (shown in attachement)

    sorry! i really don't know anything lol
  12. Replies
    21
    Views
    1,074

    VS 2008 Re: Seperating text in a textbox?

    Ok I'll try that now - yah was having troubles trying to get a way to link them together. ty again :)
  13. Replies
    21
    Views
    1,074

    VS 2008 Re: Seperating text in a textbox?

    Ok thanks :) I'll try that
  14. Replies
    21
    Views
    1,074

    VS 2008 Seperating text in a textbox?

    Let's say I paste this text in textbox1

    "firstname" : john, "lastname" : smith, "country" : usa, "firstname" : billy, "lastname" : brown, "country" : canada, "firstname" : richard, "lastname" :...
  15. Replies
    3
    Views
    3,457

    Get Microsoft Notepad Source Code?

    Is it possible to see how notepad works in visual basic? Like see all the events and all. My friend said it's possible to open programs in notepad; but I've googled it and I can't seem to find...
  16. Replies
    3
    Views
    591

    Re: Keyboard Event Problems

    K ty, e.surpresskeypress prevents the auto action :)
  17. Replies
    3
    Views
    591

    Keyboard Event Problems

    Hi, I'm making a text editor. I found that control-i automatically adds some sort of space block into the textbox by default; like how control-z undoes even if I don't code. I want to use control-i...
  18. Replies
    3
    Views
    447

    Re: Exact Code Produces Different Results

    I found that control-i seems to put that big block of spaces in... its one big character

    Any way to cancel that? The auto-recognition like control-z is autmatic without me coding anything
  19. Replies
    3
    Views
    447

    Exact Code Produces Different Results

    So, I have this code.

    Case Keys.U
    With Me.TextBox1
    Dim selectionStart As Integer = .SelectionStart
    Dim selectionLength As...
  20. Replies
    4
    Views
    620

    Re: Keyboard Event Doubling Events?

    Urgh, Idk I'll fix it later. I think my vb is buggy
  21. Replies
    4
    Views
    620

    Re: Keyboard Event Doubling Events?

    With that code it still inserts the bold tag twice :S
  22. Replies
    4
    Views
    620

    Keyboard Event Doubling Events?

    Hi, I have the code

    Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
    If e.Modifiers = Keys.Control AndAlso e.KeyCode =...
  23. Re: Opening files when they are "dropped" onto my program

    No not really just by instinct I came back to this thread lol - should I make a new thread for the question? Some forums prefer all questions in one others like seperate threads idk here
  24. Re: Opening files when they are "dropped" onto my program

    ahh ok sorry... I really am noob lol you'll have to bear with me :S

    Anyways... got ANOTHER problem... I removed the buttons to include the tags and put the code inside the keydown event (normally...
  25. Re: Opening files when they are "dropped" onto my program

    Oops... I was searching them seperately... But I did sorta find something else :S

    Anyways, I got another question... So in the code, it tries to open the file path. However, if nothing was...
  26. Re: Opening files when they are "dropped" onto my program

    Hmm... I found using "command" gives me the string of the filepath dropped... it's the same as when I find the file through open dialog, but when I try to open the file at the string how come it...
  27. Re: Opening files when they are "dropped" onto my program

    Hmmm... hate to have to ask again... but I still don't understand any of the examples I found - let alone they didn't sem to relate to wat i wanted :S
  28. Re: Opening files when they are "dropped" onto my program

    kk, will google that - ty :)
  29. Re: Opening files when they are "dropped" onto my program

    Yah, so when I drag this .txt file over my icon, I want it to load the text in the .txt file into textbox2 in form1
  30. Re: Opening files when they are "dropped" onto my program

    Ok... solved that problem like right after spending 30m on it and posting it lol, but now I got a new one (hopefully I can solve this too)

    I have this code inside the Partial Class, how do I get...
  31. Re: Opening files when they are "dropped" onto my program

    Sorry, I still can't get it to work :S I can't find any other events, and all the googled code gives an error... so sorry if i'm doing something real stupid lol
  32. Re: Opening files when they are "dropped" onto my program

    Hmmm what exactly is the startup event? I tried googling and got some code but i got a whole bunch of erros :S

    And how do i use e. For the path of the dropped file? Can you make a quock example?...
  33. Re: Opening files when they are "dropped" onto my program

    It's when I've dragged it over the icon. I don't know much about registries as I've only taken Info Tech 10 and we only touched on the basics - everything I do is just from google and forums and...
  34. Opening files when they are "dropped" onto my program

    So essentially, I have this text editor. How can I make it so when I drop a text file over it, it opens it in textbox2? Or when I doubleclick on the file, it automatically opens it in my program (in...
  35. Replies
    18
    Views
    1,568

    VS 2008 Re: String Functions Not Working?

    No, I tried that and it doesn't keep the exact position.

    I don't know why, but the code tags got split in two (two codes made it 4)

    But essentially, why does the identical code produce...
  36. Replies
    18
    Views
    1,568

    VS 2008 Re: String Functions Not Working?

    Hmm there seems to be one really random and annoying problem.

    I used your code, for bold, underline, and italics (except i changed the
    to
    of course). I also changed If selectionLength > 0...
  37. Replies
    18
    Views
    1,568

    VS 2008 Re: String Functions Not Working?

    Lol tyvm it worked great :)
  38. Replies
    3
    Views
    644

    Key Press Glitch?

    So, I was making shortcuts for a text editor I made. The first 3, that I originally included were control-b control-i and control-u for the bold italics and underline. That worked fine. Recently, I...
  39. Replies
    18
    Views
    1,568

    VS 2008 Re: String Functions Not Working?

    Well here's my problem: I'm making a BBCode editor. So there are buttons to add bold and color and etc. codes around the selected text or wherever the cursor is it. That's fine. However, inserting...
  40. Replies
    18
    Views
    1,568

    VS 2008 Re: String Functions Not Working?

    Lol yah I know - so is there a way to insert the text without replacing everything? Or keep the exact position?
Results 1 to 40 of 78
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width