Search:
Type: Posts; User: HongKongCV
Search:
Search took 0.07 seconds.
-
What I'm trying now is a DataGrid with an expander containing a second DataGrid. I'm in the early stages of building it now, but the POC application seemed to work fine.
-
We did for a while, as well, but moved away from them a few years ago. I'm actually developing to replace an app we developed using Infragistics controls... this is really the only functionality that...
-
I am using Visual Studio 2012, developing C# WPF on Windows 7.
I have a situation where I need to support viewing and modification of data in a DataGrid-style interface, only supporting child...
-
Okay, I've got a canvas sized at 800 x 600, and I want to read in a bitmap and place it on the canvas. This works fine, and I've got the stretch property set to "Uniform"... so the bitmap...
-
Thanks for the input, but for other reasons this project is best done in WPF. I'm a WinForms guy at heart, but one of the few things I prefer about WPF is the ease with which you can build custom...
-
Okay, I'm working it out, bit by bit. The control on the screen is a canvas, and the jpg is set as the background. The drawing elements (lines, ellipses, etc) are stored in a list and drawn on the...
-
Can you show the XAML you use for the datagrid, including the bindings you use?
-
Okay, a friend of mine asked me for this, but as I don't deal daily with graphics, I'm hitting a wall.
The requirements are simple.
1) I need to load multiple jpgs into memory and be able to...
-
Confirmed. This is a solution that might work with DataGridView but not with DataGrid.
-
Hmmm... that looks like it's for a DataGridView control. I'm using a DataGrid control. I do not believe this code will work on a DataGrid, but I'll try it first thing in the morning.
-
Okay, I have a WPF DataGrid which is bound to an Observable Collection of data objects. It's a 2-way binding. I have an "Add" button that adds a data row to the underlying list, scrolls to that item...
-
Okay, some questions.
Where are you recalculating the value of Percentage? I don't see that in your code snippet. You have to recalculate the Percentage each iteration through the loop BEFORE you...
-
Okay, try your Google-fu, here... I searched on "BackgroundWorker ProgressBar VB Example" and found a couple of result pages that tell you what you want to know. For example, this one.
Let's look...
-
Not sure why this is necessary, unless I'm not getting the gist. Unless you're looking for the ability to name specific text boxes (text, title, and buttons) and call them using the name. Then it's a...
-
Like I said, check your memory. If you're using all or most of it, that could be a reason.
-
Make sure the background worker is set to ReportProgress. Inside the DoWork handler, periodically call ReportProgress to raise a ProgressChanged event back in the calling thread, and pass back a...
-
Here is a CodeProject page that deals with this.
http://www.codeproject.com/Articles/437937/Save-and-Retrieve-Image-from-a-SQL-Server-Database
-
Never done it myself, but I believe you need to look at RAW sockets. Here's a link that might help a bit...
http://www.winsocketdotnetworkprogramming.com/clientserversocketnetworkcommunication8n.html
-
I have had Visual Studio do that when I'm coding... sections will suddenly turn black. For me, it turned out to be a memory issue... it only happened when I was running lots of apps and memory was...
-
Personally, I would do something like this:
1) Make certain that I can quickly and easily detect if a user is logged in or not.
2) Get your list of all clients.
3) Loop through the list.
...
-
Here is a CodeProject article that deals with this, acting as a tutorial for using the .NET System.Management WMI (Windows Management Instrumentation) wrappers to enumerate and describe USB disk...
-
This is how it goes some days. I've been looking at this for two hours, and five minutes after I post this question, I tried something that worked like a charm. The key is to declare MeasureSummary...
-
I am using VS2012 and .NET 4.5 on Windows 7.
I have a web service that has been working for quite some time. At issue is a specific data contract that is returned by only two Operation Contracts....
-
What, exactly, is the problem you are having? From what you posted, I can't really tell.
-
Okay, I solved the issue.
I kept what I have with the KeyUp event handler, but then I declared a KeyDown handler and set e.Handled = true and e.SuppressKeyPress = true for each of the specified...
-
I can't speak for everyone, but I often place a call to a method inside my event handlers, and put the actual code to be executed into the called method. I've run into FAR too many situations where...
-
As I understand it, you're getting an "Out Of Range" exception on the following line:
objGroceryItem.lblScanNumber.Text = txtScanNumber.Text = _txtBrandName.Text.Substring(0, 3) & "1019"
If...
-
I have a TrackBar control that is part of a custom control. It functions fine, except I need to disable keyboard control of the TrackBar, i.e. the user should be able to drag the value of the...
-
Okay, so how do I get the currently selected row as a TreeNode?
BTW, the WPF TreeView doesn't seem to have anything to do with TreeNodes. The WPF TreeView control comes from...
-
Okay, using Windows 7 with VS2012 and .NET 4.5 in a WPF application, I have a multi-level treeview that looks like this:
118059
The TreeView is bound to an observable collection of the codes....
-
I have verified that the underlying collection isn't being modified two ways. First, by placing a breakpoint in the AddingNewItem handler, which is never fired. Second, by putting a button on the...
-
You also need settings on the client side. Look at the following two values and make sure they're set large in the app.config for the client app.
maxBufferSize="2147483647" ...
-
Already got that... as I said, it works fine updating existing data, which means the columns are bound properly. It's the adding of new rows that doesn't work as it should...
Here's the XAML for...
-
To start with, I am using VS2012 and .NET 4.5.
I am binding a DataGrid to an ObservableCollection<DataItem> and want to allow in-grid editing. I have CanUserAddRows and CanUserDeleteRows set to...
-
Thanks, Gruff... just got finished doing it your way and it works fine. The extension method I came up with works, mind you, but this is more in line with what I wanted in the first place. Thanks!
-
Techgnome, what he actually said was:
That sounds to me like the application kicks off multiple instances of the form, and is able to access data from either or both of them.
-
Glad it's working for you. Have fun with it!
-
Actually, at any given pass through the for loop, Uncrypt only holds one value, correct? The for loop is what goes through the file paths/names in the listbox, not the Do Until. I don't see a problem...
-
Instead of nesting the if statements, chain them with else if, and then have a catch-all else to handle if none of the textboxes have values.
If txtFirstName.Text <> "" Then
'Proceed using...
-
Okay, here are a couple of sources dealing with how to create, modify, and use application settings. They cover it better than I can here... why re-invent the wheel?...
|
Click Here to Expand Forum to Full Width
|