Search:

Type: Posts; User: .paul.

Page 1 of 13 1 2 3 4

Search: Search took 2.85 seconds.

  1. Re: Getting the selected item in a ListView control

    I'd use Details View. If you just want one column, don't add SubItems...
  2. Replies
    12
    Views
    205

    Re: Editing a text file

    You can read from My.Resources at runtime, but you can't write to it. For filesystem files, i'd use IO.File.ReadAllLines and IO.File.WriteAllLines
  3. Re: Get Pixel from window and click if that pixel (or in range of that pixels) exists

    As Shaggy Hiker told you... It's unlikely you'll find a block of rgb(55, 80, 120) colored pixels. Actual colors are vague.
  4. Re: Get Pixel from window and click if that pixel (or in range of that pixels) exists

    So what's the problem???
  5. Re: Making 'cut' menu items for specific places in a text box - Windows Form Applicat

    All 3 of the Button_Click handlers i posted there, just use the 4 character spaces " "
    How do you mean by asking how many characters across? If, for example, you have "123456" do you mean a...
  6. Re: How do I code pointers in Visual Basic? (Relating to Cheat Engine) I'm so confuse

    Write up a tutorial article in the codebank...
    probably be interesting to a lot of people, but the vbgeneral forum isnít the place for it.
  7. Re: Making 'cut' menu items for specific places in a text box - Windows Form Applicat

    Try this...

    181301


    Public Class Form1

    Private leftParts As New List(Of String)
    Private middleParts As New List(Of String)
    Private rightParts As New List(Of String)
  8. Replies
    8
    Views
    206

    VS 2012 Re: Best way to multi page report on VB?

    I canít see your attachment. Thereís an known error on the site. Iím not the best person to ask with the way youíre set up with stored procedures and design time data components. When I use ADO.Net,...
  9. Replies
    8
    Views
    206

    VS 2012 Re: Best way to multi page report on VB?

    Your report viewer has a datasource... you just need to ensure you provide the right table. How are you getting your initial table?
  10. Replies
    8
    Views
    206

    VS 2012 Re: Best way to multi page report on VB?

    You could use your original DataTable, along with a combobox for filtering. So you'd just need the one DGV. You can hide any columns you don't want in your reports...
  11. VS 2013 Re: Detect keyboard keydown event anywhere on screen, inside or outside project

    Look into Hooking inputs
  12. Replies
    5
    Views
    178

    VS 2019 Re: display label relative to textbox

    You should note, when setting label locations you can use...

    TxtSearch.Left
    TxtSearch.Right
    TxtSearch.Top
    TxtSearch.Bottom
  13. Replies
    5
    Views
    178

    VS 2019 Re: display label relative to textbox

    It was just an example. 😁
  14. Replies
    9
    Views
    366

    VS 2019 Re: Apply text to PictureBoxes

    https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/types/casting-and-type-conversions
  15. Replies
    9
    Views
    366

    VS 2019 Re: Apply text to PictureBoxes

    As PBox Is already a PictureBox, there is no need for the DirectCast in the AddHandler line. You can just use...

    PBox.Paint, as you did PBox.Click for the click Addhandler line
  16. Replies
    5
    Views
    178

    VS 2019 Re: display label relative to textbox

    Label1.Location = New Point(TextBox1.Right - 10, TextBox1.Bittom + 6)

    Use the code in the Form_Resize event handler
  17. Replies
    9
    Views
    366

    VS 2019 Re: Apply text to PictureBoxes

    It's drawing on the form - behind the controls
  18. Replies
    9
    Views
    366

    VS 2019 Re: Apply text to PictureBoxes

    Handles Me.Paint ???


    For Each Control As Control In Me.Controls 'Loop through all controls in Form1
    If TypeOf Control Is GroupBox Then 'If control is GroupBox
    For Each ChildControl...
  19. Replies
    12
    Views
    622

    VS 2017 Re: Details shown always first

    As far as Iíve seen, Shaggy has answered your question.., your SQL query was wrong. Those if statements do nothing. Both contain the same code...
  20. Replies
    9
    Views
    366

    VS 2019 Re: Apply text to PictureBoxes

    You need to write the text using e.graphics in the pictureboxí paint event, if you really are drawing text on a PictureBox. Looks to me that youíre using textboxes above pictureboxes
  21. VS 2019 Re: Original DataTable columns after LINQ query

    Here's a custom extension to create a datatable from an anonymous query. I added sort order...


    Dim query2 = From r As DataRow In dtLessons.AsEnumerable
    Group By id = r.Field(Of...
  22. Replies
    7
    Views
    278

    Re: Print Dialog box remove copies.

    I don't know how you can disable the copies textbox, but i do know you could make it work as your user expects it to work. That's what i'd do...
  23. Replies
    5
    Views
    243

    Re: Fill a Data Table

    Have a look at the LINQ .Skip and .Take methods, to see how you can take a subset of 10 values from your array
  24. Replies
    7
    Views
    278

    Re: Print Dialog box remove copies.

    Changing the copies textbox doesn't change anything about your print run. It won't print multiple pages. It's a setting for you to make use of yourself...
  25. Replies
    10
    Views
    379

    Re: Why is mouse up ignored ?

    Using beep, is a poor choice for debugging. Use your immediate window - Debug.Print(ďa unique useful identifying messageĒ)
  26. Re: How to remove internet marks on a project item

    This is like, so, the VB.Net forum... There's a specialized forum for c# :D
  27. Re: Arrays- Sorting and initialization

    No need for redimensioning with Lists. You declare a new List, then itís ready to use. Note the ĎNewí list
  28. Replies
    24
    Views
    552

    VS 2013 Re: Issue with registry editing

    Well there is one way... But that way is worth $$$ :D
  29. Re: Making 'cut' menu items for specific places in a text box - Windows Form Applicat

    Ok, so you want to take, for example, the left part of all lines. What do you plan to do with those parts? Then, do you want to take the middle parts, or right parts, at different times? So for...
  30. Replies
    24
    Views
    552

    VS 2013 Re: Issue with registry editing

    :D:D:D:thumb:
  31. Replies
    24
    Views
    552

    VS 2013 Re: Issue with registry editing

    It asks for permission for the process, as i told you in post #14. You have to agree to admin privileges one way or the other at some stage.
  32. Replies
    27
    Views
    742

    Re: Annoying entries in 'Errors' list.

    Shows what i know :D But, i tend to initialise variables...
  33. Re: Making 'cut' menu items for specific places in a text box - Windows Form Applicat

    You need to make your own contextmenustrip. When you say 'cut left' are you meaning the left part of the current line or the left part of all lines.
    Also have a look at the clipboard object, which...
  34. Replies
    11
    Views
    461

    Re: Add something to default Right Click Menu

    Iíve managed to assign default notepad and bitmap icons, and by changing the icon in one of my apps used in a right click menu, I could also set an icon for that. Itís not the DefaultIcon directory
  35. Replies
    11
    Views
    461

    Re: Add something to default Right Click Menu

    Have a look at this page... I was able to add icons to two of my menuitems

    https://www.winhelponline.com/blog/add-icon-to-right-click-menu-windows-7/
  36. Replies
    11
    Views
    461

    Re: Add something to default Right Click Menu

    :thumb:
  37. Replies
    27
    Views
    742

    Re: Annoying entries in 'Errors' list.

    Not all datatypes have a default value.

    Integer default = 0
    String default = ""
    Point default = Nothing not the Point.Empty you'd expect

    It's good practice to initialise variables...
  38. Replies
    24
    Views
    552

    VS 2013 Re: Issue with registry editing

    Put your reg values in a .reg file (google that)
    Then using process start, with verb = "runas", you can run the .reg file, and give the process admin privileges without giving the app admin...
  39. Replies
    11
    Views
    461

    Re: Add something to default Right Click Menu

    Iím not sure how to add an icon. Have you tried your new contextmenuitem with a file in Program Files, or any folder with a space in the name? You might find it doesnít work. The file names become...
  40. Re: Why am I not getting commas in my text ?

    What is your exact expected output? I donít see anywhere commas would be added...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width