Quantcast
Channel: VBForums - WPF, WCF, WF
Browsing all 256 articles
Browse latest View live
↧

Ado.net drag'n'drop (Northwind database) - combobox selection and datagrid...

Hello, :wave: I'm doing an exercise, and I'd like to ask for your advice. I added an ADO.NET Entity Data Model starting from the Northwind database, selecting the Customers and Orders tables. I also...

View Article


variable value set in MVVM in WPF

I have a Dto File in which I get the value. Now I need it in another file in the variable that I access from the get-set but the value is 0. The original value does not come. My code is as...

View Article


Image may be NSFW.
Clik here to view.

Aborting a thread running an infinite loop

Good morning all, I've come to a problem on a vb.net wpf code that i didn't developed and that I'm not very comfortable with the language. Basically, i have a PLC-PC communication and i want to update...

View Article

WPF: Finding text box element before the password field

Code: conditions = new AndCondition(                                 new PropertyCondition(AutomationElement.ControlTypeProperty,                                                 controlType),...

View Article

[RESOLVED] How to install a WCF service using install shield?

Hi All I've developed a WCF service using the WCF service library template in VS 2019 (followed the step here). I'm now trying to build an installer to install that on a clients machine using Install...

View Article


binding to datagrid

Hello, I've this class to manage the final result of a competition: Code: Public Class Player               Private _name As String     Public Property Name As String             Get...

View Article

The Cost of a Brush

Painting in WPF is done with brushes. There appears to be two ways to do this, and I'm wondering what the cost is. The way that is generally described is the naïve approach: Code:...

View Article

How Stable is VS 2022 and WPF?

I'm working on my first WPF application. In general, I'm rather liking WPF. Layout is easier than in Forms, though binding seems to be neither better nor worse, just different. However, I've also...

View Article


MultiBinding to multiple properties on the ViewModel with converters

Hi All I think this is probably quite easy but I can't get the syntax right. I have a button and it's enabled property depends on two states in the ViewModel. 1. That an Algorithm has been loaded and...

View Article


[RESOLVED] MultiBinding to multiple properties on the ViewModel with converters

Hi All I think this is probably quite easy but I can't get the syntax right. I have a button and it's enabled property depends on two states in the ViewModel. 1. That an Algorithm has been loaded and...

View Article

[RESOLVED] Resizing WPF Form Error

I have a form with a series of buttons in two columns down the left side, with a listbox to the right of that. Below the buttons are some labels, and at the bottom of the form is a single button for...

View Article

Too Many Items

I have a form that should have a combobox on it. The problem is that the combobox is bound to a dataview that has somewhere in excess of 32K rows. Clearly, showing or even populating that number is...

View Article

Sizing Columns in a DataGrid

I have this XAML: Code: <DataGrid x:Name="gdStreamGrid" Width="500" HorizontalContentAlignment="Stretch" Height="150" ItemsSource="{Binding StreamGridView}" AutoGenerateColumns="False"...

View Article


Autosize and font problem in elementary WPF

Since the Steve R. Jones is moderator here, I suppose things are strictly tough here. This is my first thread here on WPF. I'm new to it (I mean that kind of new which didn't know how to comment in...

View Article

[RESOLVED] WPF Binding Issue

I have a form that has a case where DataContext is set to some object in the constructor: Code: private mFoo as Bar private mBarList as New List(of Bar) Public sub New() mBarList(mFoo) mBarList(New...

View Article


Write a value to a textbox depending on variable

Hello, I have a WPF form and created a stackpanel with 5 textboxes. (TXT1, TXT2, TXT3 ....) I want to fill these textboxes with a name out of a Global var named "NamePerson" and the textbox depending...

View Article
Browsing all 256 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>