Search:

Type: Posts; User: Aspnot

Page 1 of 13 1 2 3 4

Search: Search took 0.15 seconds.

  1. Replies
    6
    Views
    3,403

    Re: Custom TextBox BackColor

    OK. I created a small app to play with this. I added a form with my TextBox and set the BackColor = Green. I set a break point on the first line of code under New() and ran the app. When it...
  2. Replies
    6
    Views
    3,403

    Re: Custom TextBox BackColor

    I was hoping that it would be this easy as I had always tried to grab Me.BackColor in the New() method. However, MyBase.BackColor returns White even when I set it to Green at design time.
  3. Replies
    6
    Views
    3,403

    Re: Custom TextBox BackColor

    It sounds like what you are proposing is to Override the BackColor property and set MyBase.BackColor = Value. That is what I attempted to do in the second code box above. It never changed the...
  4. Replies
    6
    Views
    3,403

    [RESOLVED] Custom TextBox BackColor

    I know this should be easy, but I am stumped at this point. I have a custom TextBox that has a property ControlState. ControlState points to an Enum with values like Normal, Warning, Error, etc. ...
  5. VS 2013 Re: Capture Form as Image and Senc it to Client

    I wanted to give my client the ability to do this, too. I created a frmParent that all other forms in my application inherit from. I use the KeyUp for the form to look for Alt-F12 and then call a...
  6. Replies
    3
    Views
    1,039

    Re: WebCam Image Capture

    I had looked at that one. It uses the LGPL license model. I have read over the licensing a number of times and it appears that I can use it if I include a number of things with the software when I...
  7. Replies
    3
    Views
    1,039

    WebCam Image Capture

    I am looking for some guidance... I am trying to setup some code to take a photo from a webcam into an app I am working on. I have seen a number of examples all around the web using various...
  8. Thread: Help please?

    by Aspnot
    Replies
    12
    Views
    1,158

    Re: Help please?

    You could also handle the keypress event to limit what can be input into the box.



    Shared Sub f_KeyPressNumeric(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs)
    ...
  9. Replies
    0
    Views
    2,635

    Crystal Reports vs RDLC vs SSRS

    I have used CR for years and am very proficient in it. The only reason that I am back at the drawing board with reporting is that every time a new VS comes out, I have to wait for the new CR to come...
  10. VS 2008 Re: Program for Folder Redirection in Windows 7

    What exactly are you trying to do? Is the machine on a domain?

    If the machine is on a domain, you could do this with a Group Policy.
  11. Thread: DataGridView

    by Aspnot
    Replies
    6
    Views
    802

    VS 2008 Re: DataGridView

    One of the best sources of information on the DGV control can be found here:

    http://social.msdn.microsoft.com/Forums/en/winformsdatacontrols/thread/5378b9af-d0b6-4041-80ab-e76ac21c1cd4

    Mark...
  12. Replies
    2
    Views
    7,346

    VS 2008 Re: Two decimal places in datagridview

    When I am creating the columns for my DGVs, I use the DataGridViewColumn.DefaultCellStyle.Format property to set it to something like "#,##0.00" or "c".

    This isn't actually rounding, but it should...
  13. VS 2008 Re: Force DataSet to update on DataGridView CellDoubleClick

    I opted to use DataTable.FindByPrimaryKey and set it directly in the DataTable. That wasn't what I wanted to do, but it was the cleanest of the options I could find.
  14. VS 2008 Re: Force DataSet to update on DataGridView CellDoubleClick

    The DataSet is bound to the DGV via the DataView. All of the updating is happening behind the scenes. I'm just not sure where the actual moving of data from the display of the DGV to the DataSet...
  15. VS 2008 Re: Force DataSet to update on DataGridView CellDoubleClick

    Same result.

    I am tempted to use ProcessTabKey(True) and then ProcessTabKey(False). :) However, I will resist that option.
  16. VS 2008 Re: Force DataSet to update on DataGridView CellDoubleClick

    I am reviewing Mark Rideout's DataGridView FAQ right now hoping to find something from the innerworkings of the DGV.
  17. VS 2008 Re: Force DataSet to update on DataGridView CellDoubleClick

    DataSet.DataTable.DefaultView renders a DataView. Therefore, the results are the same. I tested it anyway, and it was the same result.
  18. VS 2008 Force DataSet to update on DataGridView CellDoubleClick

    I have a DataGridView bound to a DataView. The DGV is setup for FullRowSelect and is ReadOnly. The first column contains a CheckBox to show that the Row is ready for processing. The user...
  19. Replies
    2
    Views
    1,166

    VS 2008 Re: DataBind LinkLabel Text Property

    To answer your question, because I had it change text. The LinkLabel allows the user to select the default printer to use (still use dot matrix printers and got tired of having users change Windows...
  20. Replies
    2
    Views
    1,166

    VS 2008 [RESOLVED] DataBind LinkLabel Text Property

    I have a LinkLabel on a form that has its Text property bound to a strongly-typed DataSet. When the user closes the page, I call BindingContext.Item(_ds.UserSettings).EndCurrentEdit() and then...
  21. Replies
    6
    Views
    872

    VS 02/03 Re: Send Email From Tool Using SmtpServer

    You domain controller is a DNS server and if the DNS server doesn't know where to find the mail server, then you are in serious trouble. However, this functionality can be disabled.

    It doesn't...
  22. Replies
    4
    Views
    666

    Re: SQL Server Change Tracking

    Wow. Those are really advanced. SQL Compare looks more like what I am looking for.

    I'll take a look at the trial version.

    Anything else cheaper? This has a ton of features that I will...
  23. Replies
    6
    Views
    872

    VS 02/03 Re: Send Email From Tool Using SmtpServer

    duplicate post removed
  24. Replies
    6
    Views
    872

    VS 02/03 Re: Send Email From Tool Using SmtpServer

    If this is for an internal project, you can typically bounce e-mail off of a domain controller. To determine the name of a domain controller, open a command prompt and type in "echo %logonserver%"...
  25. Replies
    4
    Views
    666

    SQL Server Change Tracking

    I have a Dev and a Production environment. When I make changes to Stored Procedures or create new ones, I keep a list on my desk so that I know what to push out when I release the new version.

    I...
  26. Replies
    2
    Views
    1,079

    Re: Rich Text and DataGridView

    We want to be able to add bold and change font colors, etc.

    Can I display bold and colors in the DGV? If so, what format does the text need to be in?
  27. Replies
    2
    Views
    1,079

    Rich Text and DataGridView

    I have a DataGridView on a form that displays historical notes about an item. I also have a Notes form where a user can add notes about an item. We would like to allow the user to format the note's...
  28. Replies
    2
    Views
    370

    Re: SQL Server 2000 - LastName >= 'Robertson'

    Thanks. I tried it earlier, but must have missed something. I thought it should work, but wasn't certain. I will try a broader WHERE clause and see what happens.

    Thanks again!
  29. Replies
    2
    Views
    370

    SQL Server 2000 - LastName >= 'Robertson'

    I want to be able to search a list of people and return everyone whose LastName >= 'Robertson'. I thought about creating a temp table with an Identity and then inserting the records in alphabetical...
  30. VS 2008 Re: [RESOLVED] ObjectDataSource SQL Timestamp Code-Behind

    I know, but there isn't any other way that I can set a value from the Click event.

    I have an Insert that I do from the Click event and I set the DefaultValue properties from there. If you have a...
  31. VS 2008 Re: [RESOLVED] ObjectDataSource SQL Timestamp Code-Behind

    I knew if I kept beating on this, I would find an answer. Here is what I did:

    Didn't Work:


    Protected Sub cmdSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles...
  32. VS 2008 [RESOLVED] ObjectDataSource SQL Timestamp Code-Behind

    I have a web form with a GridView control on it. It has the DataKeyNames property set to "Contact_ID, TStamp". The way the form works is that the form show ALL Contacts whether they are added to...
  33. Replies
    3
    Views
    5,986

    Re: crystal reports on dot matrix printer

    Printing from Crystal Reports to a dot matrix is going to be slow. From what I have found, there is no way around that if you want to use Crystal Reports.

    If you are using VB6, the post from...
  34. Replies
    3
    Views
    512

    Re: Looking for a nice tool

    I know how I want the tables to be setup. I actually got started building it, but then thought that it should be something that already exists and stopped.

    I did look over the Starter Kits, but...
  35. Replies
    3
    Views
    512

    Looking for a nice tool

    I am working on a web-based system where the end-user needs to be able to define the properties of a Widget (color, width, height, etc.) and then the user needs to be able add/edit/delete Widgets...
  36. Replies
    14
    Views
    1,554

    VS 2008 Re: Problem With CellValidating

    Check and see what the .CurrentCell is. It is really the cell you were looking for?
  37. Replies
    14
    Views
    1,554

    VS 2008 Re: Problem With CellValidating

    I would put a break on the line you highlighted and find out what the format is for the cell and also verify that it isn't DBNULL. My guess is that since it is telling you it is trying to convert...
  38. Replies
    6
    Views
    690

    Re: Counting the length of a string

    Do some searching for Regular Expressions. That would seem to be the easiest way to count special characters. I am by no means a Regular Expression person.
  39. Replies
    6
    Views
    1,225

    Re: Adding Row to DataGridView

    Add Button1 and DataGridView1 to a form and paste in the code below. See if that doesn't get you on your way.



    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As...
  40. Replies
    10
    Views
    898

    VS 2008 Re: DGV Row Select and CheckBox

    I would take a look at the document below. It covers a lot of tricks for the DGV.


    http://www.windowsclient.net/Samples/Go%20To%20Market/DataGridView/DataGridView%20FAQ.doc
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width