Search:

Type: Posts; User: hannibal smith

Page 1 of 4 1 2 3 4

Search: Search took 0.05 seconds.

  1. 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.
  2. [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
    ...
  3. [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"...
  4. Re: Shared data and Models Advice

    Thanks.

    Are you referring to MVVM ? Sorry for my low level english.
  5. [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...
  6. 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...
  7. Replies
    0
    Views
    265

    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:...
  8. 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.
  9. Replies
    8
    Views
    487

    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,...
  10. Replies
    8
    Views
    487

    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...
  11. Replies
    8
    Views
    487

    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...
  12. Replies
    8
    Views
    487

    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(
    ...
  13. [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...
  14. Re: Build a SpotLight Control Iusse Unrecognized class

    Yes, thanks. I had solved last night. Thanks.
  15. [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...
  16. 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...
  17. 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...
  18. 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.
  19. 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...
  20. [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...
  21. Replies
    13
    Views
    1,030

    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...
  22. Replies
    13
    Views
    1,030

    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...
  23. Replies
    13
    Views
    1,030

    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..
  24. Replies
    13
    Views
    1,030

    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...
  25. [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...
  26. 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
    ...
  27. [RESOLVED] Custom user control with custom proprety and event

    Hello, I'm trying to build a control: it have 6 mybuttons(they are buttons from a custom theme with a proprety called pressed that change the color of the button when=true).
    I want to use it to get...
  28. Replies
    8
    Views
    827

    Re: XNA Form Resize iusse

    Tested, and works. Thanks!!
  29. Replies
    8
    Views
    827

    Re: XNA Form Resize iusse

    Can you explain me how please?
  30. Replies
    8
    Views
    827

    Re: XNA Form Resize iusse

    yes, I'm using Set2dLine from your tutorial :) for drawing on a PictureBox, but I tryed also on a panel with same result. I anchored the PictureBox on the form, so when the form is maximized or...
  31. Replies
    8
    Views
    827

    Re: XNA Form Resize iusse

    For now xna 4.0, but I'm thinking about to switch to monogame.
  32. Replies
    8
    Views
    827

    [RESOLVED] XNA Form Resize iusse

    Hello,
    I'm using the code from https://www.vbforums.com/showthread.php?737691-Drawing-Primitives-using-XNA-in-VB-Net to draw a lines chart( I simply put a for cycle inside the backgroundworker to...
  33. Replies
    2
    Views
    1,721

    MVVM (Model-View-ViewModel) Example ?

    Hello, As new in WPF I'm trying to understand the MVVM (Model-View-ViewModel). I came from winform. I had looked in microsoft website, but their decription of the model are so theorical that I don't...
  34. Replies
    2
    Views
    2,079

    Winform Control in WPF

    Hello to everyone,
    I'm trying to use a winform control in WPF(I've not found good alternative).
    The control is the be.hexbox from sourceforge:...
  35. Replies
    0
    Views
    243

    pattern reconition advice

    Hello, I'm trying to do an application that found some patterns in binary files; my problem is that this patterns can have variation, some can be shorter other longer, with more or minus amplitude...
  36. Replies
    8
    Views
    5,425

    Re: Using .dbf database in vb.net

    I tryed and reading query work. I tryed also to do an insert but I've some problems, if i want add a row to my table, i need to fill the insert string with all the columns name and value?
  37. Replies
    8
    Views
    5,425

    Re: Using .dbf database in vb.net

    thanks, I'll try and report.
  38. Replies
    8
    Views
    5,425

    Using .dbf database in vb.net

    Hello, I need to connect my application to a .dbf db(foxpro if I correctly understund), and query the tavle in this file. Anyone have any advice or sample? I need also to ad some row to the db, is...
  39. form show and serialport.datareceived

    Hello,
    I've a device(a custom keyboard) that send some string by rs232; I'd like to open form1 when i receive 0x01 form 2 with 0x02 etc..
    So in the event .datareceived of my serialport1 i put this...
  40. Replies
    4
    Views
    1,006

    Re: Search on internet site using vb.net

    Yes.
Results 1 to 40 of 137
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width