Search:

Type: Posts; User: bluehairman

Page 1 of 9 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    1
    Views
    511

    VS 2008 Format command - Speed issue

    I want to convert a file to binary code by byte, but it's extremely slow for large files. I found out that the Format command is why it's so slow, is there a substitute?
    For i As Integer = 0...
  2. Replies
    4
    Views
    670

    Re: Array of Strings

    I think I misread your OP, I think you ment you need to have message[]. I wasn't thinking...

    Actually looking back I didn't. Wow. Sorry I don't know whats up lol. Your code looks better than mine...
  3. Replies
    4
    Views
    670

    Re: Array of Strings

    Request post delete. Misread OP :\
  4. Replies
    0
    Views
    623

    GetWindowRect

    How can I use GetWindowRect in c++? I want to get the positions, then display them in console. But my app just crashes when I try:

    tagRECT* rectpos;
    GetWindowRect(windowSB, rectpos);...
  5. Replies
    2
    Views
    619

    Re: Insert String

    Thanks :D
  6. Replies
    2
    Views
    619

    Insert String

    I'm having trouble inserting a string into another string. I need it to find the character "{" then place a set of strings on the next line. I have this (No error, just doesn't work)

    Dim L As...
  7. Replies
    4
    Views
    603

    Re: [2005] Why this error?

    Well, I found out, only after I click on any of the new forms being opened the error actually pops up. But after removing ofd.showdialog from the code the error doesn't pop up.
    Tried that and...
  8. Replies
    28
    Views
    4,981

    Re: Graphics.DrawImage

    Not sure if this is practical for the situation. But lock window update will lock something and keep it how it is until you unlock it, then it changes to whatever happened between lock and unlock....
  9. Re: [2005] Conversion from string "the cell" to type 'Integer'

    Cells are *Probably* labeled by index so where you have "the cell" shouldn't be there, but be the index of the cell. Try to Put a 1 or 2 there instead of "the cell"
  10. Replies
    4
    Views
    603

    Re: [2005] Why this error?

    Alright, so now it only happens when I have the openfiledialog open itself again. Is there any way to get around this? And what could possibly cause this null?
  11. Replies
    4
    Views
    603

    [2005] Why this error?

    I keep getting this error ""Object reference not set to an instance of an object. But it doesn't tell me what the error is. And it only happens after the last Open file dialog. It doesn't highlight...
  12. Replies
    2
    Views
    646

    Undeclared Class??

    Why am I getting this when I try to view my form in design mode?

    One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding...
  13. Re: [2008] How do cases work and how to properly use them?

    Select Case is really for doing something if one variable equals something else.
    I'm not sure how that would be put into your code
  14. Replies
    8
    Views
    818

    Re: [2005] syntax class

    Oh wow. That's weird. I never even remember seeing that, and even when going all the way to the top all windows forms was the first thing :\. Thanks though.
    I got it.
  15. Replies
    8
    Views
    818

    Re: [2005] syntax class

    Yes I did
  16. Re: [2008] How do cases work and how to properly use them?

    intNum is a value that the case has to use.
    You don't have to use integers. You can use strings too.
    And yes.
  17. Re: [2008] How do cases work and how to properly use them?

    An example would be something like...
    Select Case intNum
    Case 1 'like if statement
    'code goes here
    Case 2 '...
  18. Re: [2008] Application Exits Prematurely

    Looks like you close the form before you even load the other one? And closing the main startup form will end your application, use .hide
  19. Replies
    8
    Views
    818

    Re: [2005] syntax class

    Yeah, nothing. I tried dragging it and it looks like it can be dragged (lines show up where my mouse is) but when I drag it nothing appears.
  20. Replies
    14
    Views
    1,154

    Re: ComboBox Question

    Not for that way. There's probably a lot better ways to do this
  21. Replies
    14
    Views
    1,154

    Re: ComboBox Question

    if combo1.Text = "Red" then
    strHolder = "R"
    end if
    like that?
  22. Replies
    8
    Views
    818

    Re: [2005] syntax class

    No, no errors. I want my RTB to be highlight keywords but I'm not sure how to use the code that I have found on the internet.
    I'm not sure how to put it into my project.
  23. Replies
    2
    Views
    579

    Re: Noob question

    Looks to me like you tried to index something that can't be indexed.
  24. Replies
    8
    Views
    818

    [RESOLVED][2005] syntax class

    Hi, I've found code here, but I'm not sure how to actually get this into my code. I've tried a couple different things but with no luck. Any help?

    Edit* Heres the code:
    Public Class SyntaxRTB

    ...
  25. Thread: Drag Drop

    by bluehairman
    Replies
    3
    Views
    693

    Re: Drag Drop

    Got it working with:
    Private Sub MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs)
    MDown = True
    Starter = e.Location
    End Sub

    Private...
  26. Re: [2005] Dialog for Selecting Folders and Files

    the Open button could select the file or folder, and double clicking the folder would bring you to its path?
  27. Replies
    16
    Views
    1,284

    Re: Creating vb .net macros

    Not sure if .NET supports keyboard hooks. But that's how it could be done.
  28. Thread: Drag Drop

    by bluehairman
    Replies
    3
    Views
    693

    Re: Drag Drop

    Ok, I have:

    Private Sub MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs)
    MDown = True
    End Sub

    Private Sub MouseMove(ByVal sender As...
  29. Thread: Drag Drop

    by bluehairman
    Replies
    3
    Views
    693

    Drag Drop

    How can I make it so an object is movable by the user? Example: I click a picture box and drag it from one corner to the other. I've been looking up examples for a while and only find file and text...
  30. Replies
    28
    Views
    2,170

    Re: WithEvents

    I can't test it now, but my assumption is that Inherits System.ComponentModel.BindingList(Of Thing) will not effect the current code I have? I actually removed everything in code I have posted to...
  31. Replies
    28
    Views
    2,170

    Re: WithEvents

    Alright, I know have this:
    Public Class PictureBoxCollection
    Inherits System.Collections.ObjectModel.Collection(Of Picturebox)

    Public Shared Sub AddNew(ByVal Index As Integer, ByVal Item...
  32. Replies
    28
    Views
    2,170

    Re: WithEvents

    Yeah, I figured that out after checking your link (forgot about it).
    But I'm somewhat confused. This is what I have so far, but I don't think it will work. I also don't know how to call the sub.....
  33. Replies
    28
    Views
    2,170

    Re: WithEvents

    Okay. I'm starting to build the class, but the class statement shown on msdn gives me an error.
    Public Class List(Of Picturebox) _
    Implements IList(Of Picturebox), ICollection(Of Picturebox), _...
  34. Replies
    28
    Views
    2,170

    Re: WithEvents

    Alright, thanks both of you. I don't have time to try this tonight, but I will post again tomorrow.
    I think this is the type of collection your talking about?...
  35. Replies
    28
    Views
    2,170

    Re: WithEvents

    Alright I'll look into collections. That's what I tried to ask him just then because he was talking about a list.
    I see what you mean now with an array being limited, now I feel pretty dumb. I guess...
  36. Replies
    28
    Views
    2,170

    Re: WithEvents

    No an SDK, to build applications. Don't say its going to be difficult because I know that, and I'm not actually building the .exe.
    Yes, I had addhandler on the load. But I'm still confused as to...
  37. Replies
    28
    Views
    2,170

    Re: WithEvents

    The main reason is so that the user can add as many images as they want.
    I'm making a SDK so this is very important. I don't want the number of objects the user can input to be limited. I also use...
  38. Replies
    28
    Views
    2,170

    Re: WithEvents

    The user can add as many images as they want to another form. So I need the array (maybe?). Also they can delete items.
  39. Replies
    28
    Views
    2,170

    Re: WithEvents

    So are you saying I should gave up my arrays and just make b bunch of picture boxes? Because if I can't do anything about clicking the arrays I don't have use for them.
  40. Replies
    28
    Views
    2,170

    Re: WithEvents

    Sorry, I got it now. But I get a error at cArray.Click.

    ".Click is not a event of a 1-dimension array picturebox"
Results 1 to 40 of 343
Page 1 of 9 1 2 3 4



Click Here to Expand Forum to Full Width