Search:

Type: Posts; User: hannibal smith

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds; generated 43 minute(s) ago.

  1. Replies
    3
    Views
    4,040

    Re: Prepurchase question about VB.Net

    It is not clair if you are talking about VS (the IDE used to program), the applications, or the framwork.
    If you talk about application or framework you can deploy them from server, run them on...
  2. Replies
    0
    Views
    1,947

    binding to datagrid

    Hello, I've this class to manage the final result of a competition:

    Public Class Player

    Private _name As String
    Public Property Name As String
    Get
    ...
  3. Replies
    1
    Views
    390

    Printing

    Hello,
    I'm looking for advice for printing. I need to print 2 things by pressing 2 different button:
    1- a datagrid as a table, with a title and a logo
    2- Starting from a list of Person, an empty...
  4. Re: Order a list of T by multiple properties

    Thanks. I managed to make it work starting of your post #2. I need to test a little more the logic that I implemented for the comparision, but it should work fine.
    Thanks.
  5. Re: Order a list of T by multiple properties

    ok, what about this point:

    if they still have same score need to check the single point from the last stage, the fist that have a miss get the baddest placement.


    Should I declare theme as...
  6. Order a list of T by multiple properties

    Hello,
    I need to calculate the final result of a complex multiplayer game. Here the rules:


    Every stage, every player need to hit a baloon, if he get it he earn 1 point if not 0. (the PX...
  7. Re: Dinamically fill datatable rows

    I get it It work. What about rows header, I didn't found much on microsoft documentation to set them as customm value.
  8. Re: Dinamically fill datatable rows

    I'm sorry, I'm not sure that I have understand in the right way.
    this loop is executed for each columns 1 time to fill a row, so I have to put it into another loop to add nC rows, right?...
  9. Re: Dinamically fill datatable rows

    Ok, thank you.
    I'm missing one thing:
    since the number of column will change( nc is a variable), how can I set up the rows at runtime?
    I mean this line:


    newRow(bpc(I).ToString) = whatever
  10. [RESOLVED] Dinamically fill datatable rows

    Hello,
    I have an array numbers that contanis some data that need to display on datagrid so I'm buildind a datatable. It also contains the headers, and the numbers of rows and columns.
    Of course...
  11. Replies
    9
    Views
    1,018

    Re: Calculate angle between points

    Here an example of data from array and angles that I'am expecting:
    Data:
    &H4800,&H01C3,&H0000,&H0000,&H4800,&H0306,&H0000,&H0000
    angles in degrees : 89,89,0,167,89,89,0 (without decimals that...
  12. Replies
    9
    Views
    1,018

    Re: Calculate angle between points

    I understand that, but the measurement are taken every 1 sec so I would take the step as 1. I undestand that it may result in very steep angles, but I'm looking for that "spikes" because they are...
  13. Replies
    9
    Views
    1,018

    Re: Calculate angle between points

    Yep, it's my mistake in copy and past the code form visualstudio.


    They are value from a log that take a measure every second. As I write in first post the X should be always 1, because the...
  14. Replies
    9
    Views
    1,018

    Calculate angle between points

    I've an array with values, I need to calculate the angle between them, like in picture, assuming the increment of x is always 1
    183297
    So i tryed:

    Const Rad2Deg As Double = 180.0 / Math.PI
    ...
  15. Re: Object of type 'System.Windows.Data.Binding' cannot be converted to type

    I solved: the problem was that in WPF to use databinding with usercontrol/custom control properties must implement dependency property.
  16. [RESOLVED] Object of type 'System.Windows.Data.Binding' cannot be converted to type

    Hello,
    I've this usercontrol here: https://www.vbforums.com/showthread.php?892294-RESOLVED-Custom-user-control-with-custom-proprety-and-event&highlight=
    that have the property SelectedEndianess
    ...
  17. [RESOLVED] update collection from datagrid

    I've ha datagrid dgArt


    <DataGrid Grid.Row="4" Grid.RowSpan="3" Grid.Column="1" Grid.ColumnSpan="9" x:Name="dgArt" AutoGenerateColumns="False" DataContext="MainWindow"...
  18. Re: Shared data and Models Advice

    Thanks.

    Are you referring to MVVM ? Sorry for my low level english.
  19. [RESOLVED] Shared data and Models Advice

    I'm working on a big project(big for me:D), where I've one main window that host 3 usercontrols using a library like avalondock to have an IDE-like apparance like visualstudio.
    The app should work...
  20. The calling thread must be in STA mode, because this is the mandatory mode for many U

    Hello,
    I'm working on a "paint-like" app in WPF (not MVVM) with .NET Core(5.0).
    I'm drawing using DrawingVisual like showed in this link of msdn...
  21. Replies
    0
    Views
    2,727

    Mouse Events missing fire

    I'm new in wpf, I need to recreate the behavior of an old winform drawing app.
    In the winform app I used this event
    MouseMove
    MouseClick
    MouseDown
    MouseUp
    Basically there are 2 main behavior:...
  22. Re: helix toolkit on .net core reference iusse

    I solved! It was a VGA driver problem(I was running in a VMWare VM taht use vmware graphics driver, changing drivers, or running outside the VM it work fine.
  23. Replies
    8
    Views
    1,094

    Re: translation from c#

    yes it is. here https://www.syncfusion.com/downloads/support/forum/168765/ze/DockingManagerMVVMCaliburnDemo1928055235, I also tryed this one that not use composition,...
  24. Replies
    8
    Views
    1,094

    Re: translation from c#

    I'm trying to port in VB.net Core a c# .Net Framework MVVM example of the Syncfusion DockingManager WPF Control, and it seem a bit old...
  25. Replies
    8
    Views
    1,094

    Re: translation from c#

    I was targeting the .NET Core 3.1 so I changed to 5.0, nuget packages for System.Composition.Hosting and System.Composition.Runtime are installed. I also tryed to add the reference manually from...
  26. Replies
    8
    Views
    1,094

    translation from c#

    I'm transalting a demo MVVM app from c# to vb.net, but I've an iusse at this line:
    c#

    container = CompositionHost.Initialize(
    new AggregateCatalog(
    ...
  27. [RESOLVED] helix toolkit on .net core reference iusse

    I'm trying to port a .net framework app to .net core (3.1), so I get the packages from nuget helixtoolkit, helixtoolkit.core.wpf and helixtoolkit.core.sharpdx. But the regefence in xaml, that I...
  28. Re: Build a SpotLight Control Iusse Unrecognized class

    Yes, thanks. I had solved last night. Thanks.
  29. [RESOLVED] Build a SpotLight Control Iusse Unrecognized class

    Hello,
    I'm new to WPF(coming from winform), and I'm trying to build a "spotlight control". When I try to compile I get BC30002 SpotLight:LedControl is not defined, but it actually exist.
    This is...
  30. Using boyer moore to look for angles sequences, bad idea?

    I'm working with some binary files (like 10MB each one), with contains some patterns; I've a collection of theme but it not complete( and never be..);
    So I'm thinking to adapt the boyer moor...
  31. Conversion XNA.Framework.Color - System.Drawing.Color and viceversa

    I need to convert colors from Xna.framework.color to System.Drawing.color and viceversa.
    So I tryed to code this 2 function(note that vs obmit the "Xna.framework."

    Public Function...
  32. Re: Trying to make a "ExpanderPanel" control

    I added the Inherits Panel into the usercontrol designer file; I don't know if it's the right way to do, but it work.
  33. Re: Trying to make a "ExpanderPanel" control

    I've tryed to inherit Panel adding
    Public Class ExpanderControl : Inherits Panel to my class, but I get " Base class Panel Specified to ExpanderControl cannot be different from the base class...
  34. [RESOLVED] Trying to make a "ExpanderPanel" control

    Hello, I'm trying to make my own control, so first I tested the idea in winform application: I placed a panel(pnlExp) and inside it a button(btnGroup).
    Then in the click event of the button I added...
  35. Replies
    13
    Views
    1,836

    Re: Mouse move event too slow

    This is bad, I can't require the user to click on all the points they want to include, for 2 reasons: point are so many and it would take too many time to the user and this mouse functionality is a...
  36. Replies
    13
    Views
    1,836

    Re: Mouse move event too slow

    My app draw a lines chart and the user can modify it with mouse in different way, for example moving it with left button pressed inc the chart by an offset K, so actually I read only the X...
  37. Replies
    13
    Views
    1,836

    Re: Mouse move event too slow

    do you known any alternative, that can have more resolution? Using MouseMove, If mouse is moved fast I lost too many point..
  38. Replies
    13
    Views
    1,836

    Mouse move event too slow

    I need to get all the coordinates of the mouse path when the left button is clicked, so I create a boolean that is changed in the mousedown/up event, and I check it in the mousemove to read the...
  39. [RESOLVED] how to distict if is it a file or a directory (like explorer listview)

    Hello,
    I'm using the followin code to trying to navigate folders and file; now I need to load the file if selected( so if it's a directory I explore it else, I load the file into stream), but I...
  40. Re: Custom user control with custom proprety and event

    Thanks, I'm studying event on your blog.
    I've tryed, but I'm still missing something.(sorry for my bad english)

    Public Class mybtnBit
    Enum EnEndianessState
    e8bitSigned
    ...
Results 1 to 40 of 151
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width