dcsimg

Search:

Type: Posts; User: HongKongCV

Page 1 of 7 1 2 3 4

Search: Search took 0.10 seconds.

  1. Re: How to accomplish multi-column, hierarchical data entry

    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.
  2. Re: How to accomplish multi-column, hierarchical data entry

    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...
  3. How to accomplish multi-column, hierarchical data entry

    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...
  4. How to find the size of a Bitmap on a canvas?

    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...
  5. Re: Not sure how to do this, sort of a doodling app

    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...
  6. Re: Not sure how to do this, sort of a doodling app

    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...
  7. Replies
    2
    Views
    3,489

    Re: WPF Datagrid cannot refresh timely

    Can you show the XAML you use for the datagrid, including the bindings you use?
  8. [RESOLVED] Not sure how to do this, sort of a doodling app

    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...
  9. VS 2012 Re: On WPF DataGrid, how to programmatically put a cell into edit mode?

    Confirmed. This is a solution that might work with DataGridView but not with DataGrid.
  10. VS 2012 Re: On WPF DataGrid, how to programmatically put a cell into edit mode?

    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.
  11. VS 2012 On WPF DataGrid, how to programmatically put a cell into edit mode?

    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...
  12. Re: I need a Progress Bar for my Download/Upload manager

    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...
  13. Re: I need a Progress Bar for my Download/Upload manager

    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...
  14. Replies
    5
    Views
    2,797

    Re: Classes -- Project message boxes

    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...
  15. Replies
    7
    Views
    1,181

    VS 2013 Re: My Application turns white

    Like I said, check your memory. If you're using all or most of it, that could be a reason.
  16. Re: I need a Progress Bar for my Download/Upload manager

    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...
  17. VS 2013 Re: Picturebox Image to SQL Server(Workbench)

    Here is a CodeProject page that deals with this.
    http://www.codeproject.com/Articles/437937/Save-and-Retrieve-Image-from-a-SQL-Server-Database
  18. Replies
    1
    Views
    667

    VS 2012 Re: Packet Filtering

    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
  19. Replies
    7
    Views
    1,181

    VS 2013 Re: My Application turns white

    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...
  20. Re: Server / Client - handling realtime connections with regards to communications

    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.
    ...
  21. Replies
    4
    Views
    1,211

    Re: find letter of usb drive address

    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...
  22. Re: Is there a way to force inclusion of a data contract?

    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...
  23. [RESOLVED] Is there a way to force inclusion of a data contract?

    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....
  24. Re: Help with Graphics And timer game! THANKS

    What, exactly, is the problem you are having? From what you posted, I can't really tell.
  25. VS 2012 Re: Disabling Home.End keys on TrackBar control

    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...
  26. Re: How can i pas an extra argument on a button's click event ?

    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...
  27. VS 2012 Re: System Argument Exceptions (Out of Range & System Exception)

    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...
  28. VS 2012 [RESOLVED] Disabling Home.End keys on TrackBar control

    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...
  29. Re: How to find parent of selected item in TreeView?

    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...
  30. How to find parent of selected item in TreeView?

    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....
  31. Replies
    5
    Views
    6,909

    Re: Problems adding rows to a DataGrid

    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...
  32. Re: The remote server returned an error: (413) Request Entity Too Large.

    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" ...
  33. Replies
    5
    Views
    6,909

    Re: Problems adding rows to a DataGrid

    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...
  34. Replies
    5
    Views
    6,909

    Problems adding rows to a DataGrid

    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...
  35. VS 2010 Re: Question on implementing/using control extensions

    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!
  36. VS 2008 Re: new form instance - problems: Save my.settings and refer to control in new instan

    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.
  37. Replies
    9
    Views
    970

    Re: [RESOLVED] File constantly in use

    Glad it's working for you. Have fun with it!
  38. Replies
    9
    Views
    970

    Re: File constantly in use

    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...
  39. Re: Checking multiple textboxes before searching a database

    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...
  40. VS 2008 Re: new form instance - problems: Save my.settings and refer to control in new instan

    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?...
Results 1 to 40 of 258
Page 1 of 7 1 2 3 4



Featured


Click Here to Expand Forum to Full Width