Search:

Type: Posts; User: .paul.

Page 1 of 13 1 2 3 4

Search: Search took 2.02 seconds.

  1. VS 2019 Re: Need help with DrawEllipse() and Me.Refresh() and Label1.text

    You should make a note of what I said about the Form Paint event. Itíll draw a new image every time it runs. Try minimising and restoring your Form
  2. VS 2019 Re: Need help with DrawEllipse() and Me.Refresh() and Label1.text

    First, the way youíve been told to do your drawing is the correct way, but the Paint event doesnít just draw once. Itíll draw a 1000 new random ellipses every time it runs.

    To update the label,...
  3. Replies
    6
    Views
    210

    Re: DataGridViewCell Cursor and Border

    Try the MouseEnter and the MouseLeave events of the editingcontrol exposed by the cell
  4. VS 2019 Re: get treenode image under cursor during dragging from Treeview to panel

    Have a look at this. It's C#, but easily converted to VB

    https://help.syncfusion.com/windowsforms/treeview/drag-and-drop
  5. Re: Converting string to Phonetic Alphabet (Alpha, Beta, Charlie)

    Just use a Dictionary(Of String, String)


    Dim alphabet As New Dictionary(Of String, String)
    Ď load dictionary keys and values
    MsgBox(String.Concat(Array.ConvertAll(inputString, Function(c)...
  6. Replies
    11
    Views
    270

    Re: Need help converting a c# to VB.NET

    It says: Too many arguments to 'Public Shared Function MulawToLinear(ulaw As Integer) As Integer

    My guess is that's an overloaded function, and the compiler is confused by inaccurate argument...
  7. Replies
    11
    Views
    270

    Re: Need help converting a c# to VB.NET

    If you doubleclick on the Error BC30311 Value of type 'Byte()' cannot be converted to 'Integer'. TCPStreamer error, what does the code look like on the line it takes you to?
  8. Thread: Platform x64

    by .paul.
    Replies
    6
    Views
    252

    VS 2010 Re: Platform x64

    Is your PC Windows version 64 bit?
  9. Replies
    12
    Views
    297

    VS 2017 Re: Creating new project

    Every version I mentioned are all more or less this...

    179891
  10. Replies
    12
    Views
    297

    VS 2017 Re: Creating new project

    I just checked every version of VB i have installed. Other than VB2005 and VB2010 and VB2013 which i don't have installed, all versions offered you to choose the solution and location - on creation....
  11. Replies
    12
    Views
    297

    VS 2017 Re: Creating new project

    Youíre attempting to create a winforms app? If yes, try clicking Windows Desktop in the list on the left. See what options that gives you
  12. VS 2010 Re: Windows 7 - Windows 10 conversion - Slow running

    Yeah that was my point...
  13. VS 2010 Re: Windows 7 - Windows 10 conversion - Slow running

    I have a paid for version of VS2010, which i never use. On my win10 workstation, i have VS2008, VS2012, VS2015, VS2017, VS2019, all of which run ok. But VS2008 loads fastest
  14. VS 2010 Re: Windows 7 - Windows 10 conversion - Slow running

    I always found VS2010 to be sluggish in performance. You could download the free version of VS2019
  15. Replies
    4
    Views
    203

    Re: Images as checkboxes

    I've updated that code including mouse entering, but i don't think you're looking for a single control. More like 5 of them working as a star rating control. I've written one in java, and also, this...
  16. Replies
    4
    Views
    203

    Re: Images as checkboxes

    Iíd use an extended checkbox...


    Public Class CheckBoxEx
    Inherits CheckBox

    Dim redBlob As Bitmap
    Dim blueBlob As Bitmap

    Protected Overrides Sub OnCreateControl()
  17. Re: I'm typing in a textbox linked to a database and it stops everything from working

    In what way is it linked? We need to see the code you're using for that...
  18. Replies
    10
    Views
    315

    Re: Bizarre string concatenation issue

    It works as expected for me...


    Function BaseString() As String
    Dim myHTML As String = ""
    myHTML = myHTML & "<iframe" & vbCr
    myHTML = myHTML & " width=" & WBrowser.Width.ToString...
  19. Replies
    10
    Views
    315

    Re: Bizarre string concatenation issue

    You're not closing your iframe element... " ></iframe>"
  20. Re: How do I Automatically update a text box, using a NumbericUpDown Box

    I saw what you did. The other thread was a slightly different question
  21. Replies
    20
    Views
    507

    VS 2010 Re: A Generic Error Occurred In GDI+

    I told you. Something in your application has opened your file and it remains open, thereby locking the file..
  22. Replies
    20
    Views
    507

    VS 2010 Re: A Generic Error Occurred In GDI+

    You don't need the line numbers. Your code (in your VS editor) does have indentation
  23. Replies
    20
    Views
    507

    VS 2010 Re: A Generic Error Occurred In GDI+

    Try loading the image with PictureBox.Load

    https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.picturebox.load?view=net-5.0
  24. Replies
    20
    Views
    507

    VS 2010 Re: A Generic Error Occurred In GDI+

    Look at the difference between your code and everyone elseís code in this thread. Indented code is what you see here and also in your VS editor
  25. Replies
    20
    Views
    507

    VS 2010 Re: A Generic Error Occurred In GDI+

    Private Sub PictureBox3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox3.Click
    If OpenFileDialog1.ShowDialog() = DialogResult.OK Then
    BitmapO = New...
  26. Replies
    20
    Views
    507

    VS 2010 Re: A Generic Error Occurred In GDI+

    You need to edit your code and format it with proper indentation. You can do that by selecting your code block in the editor, and clicking the # button above the text editor.
    With regards to your...
  27. Re: How do I Automatically update a text box, using a NumbericUpDown Box

    You can combine that with what i told you in your other thread, about multiple event handlers
  28. Re: How do you work out the difference between two dates.

    Use a multiple event handler, like this...


    Private Sub doTotals(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged, _
    ...
  29. Re: How do you work out the difference between two dates.

    If you look at DepartureDate and ArrivalDate, what do you expect the subtraction to be? also, where you calculate your totals is a good place for your code to be, whether that is a Button.Click or a...
  30. Re: How do you work out the difference between two dates.

    Does this give you the result that you're expecting?


    TotalPrice.Text = ("£" & 9 * People.Value * Math.Abs((DepartureDate.Value - ArrivalDate.Value).Days))
  31. Re: How do you work out the difference between two dates.

    So what is the problem? You need to explain. It's not working doesn't give anyone a clue
  32. Re: How do you work out the difference between two dates.

    Your attachment is not working. What type of control is People?
  33. Re: How do you work out the difference between two dates.

    Are DepartureDate and ArrivalDate DateTimePickers?


    TotalPrice.Text = ("£" & 9 * People.Value * (DepartureDate.Value - ArrivalDate.Value).Days)
  34. Re: How do you work out the difference between two dates.

    TotalPrice.Text = ("£" & 9 * People.Value * (DepartureDate - ArrivalDate).Days)
  35. Replies
    14
    Views
    461

    VS 2019 Re: Byte Array to String Problem

    It's poetry :D We know that the question was to either learn to do something illegal for oneself, or to sell to others to do something illegal...

    Edit: Bad spaghetti poetry :D
  36. Replies
    14
    Views
    461

    VS 2019 Re: Byte Array to String Problem

    You canít crack a database that way...
  37. Re: [RESOLVED] Prevent Main Form from Continuing

    These are interesting topics. I've never really ventured into that aspect of the VB architecture, having never really needing to in my apps. I'm up to my neck in Javascript, JQuery, and Ajax at the...
  38. Re: Prevent Main Form from Continuing

    It still exists in VB2019... It's been a while since VB6 upgrades were a serious issue
  39. Re: Prevent Main Form from Continuing

    If it wasn't considered worthy, it just wouldn't be part of the language...
  40. Re: Prevent Main Form from Continuing

    You obviously analysed the code and the program flow better than i did. If i'd read it more thoroughly, maybe i wouldn't have recommended End
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width