Search:
Type: Posts; User: Aspnot
Search:
Search took 0.15 seconds.
-
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...
-
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.
-
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...
-
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. ...
-
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...
-
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...
-
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...
-
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)
...
-
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...
-
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.
-
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...
-
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...
-
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.
-
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...
-
Same result.
I am tempted to use ProcessTabKey(True) and then ProcessTabKey(False). :) However, I will resist that option.
-
I am reviewing Mark Rideout's DataGridView FAQ right now hoping to find something from the innerworkings of the DGV.
-
DataSet.DataTable.DefaultView renders a DataView. Therefore, the results are the same. I tested it anyway, and it was the same result.
-
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...
-
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...
-
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...
-
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...
-
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...
-
-
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%"...
-
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...
-
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?
-
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...
-
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!
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
Check and see what the .CurrentCell is. It is really the cell you were looking for?
-
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...
-
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.
-
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...
-
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
|
Click Here to Expand Forum to Full Width
|