all groups > vb.net controls > october 2006
DataGridView navigation
Posted by behold NO[at]SPAM insightbb.com at 10/30/2006 8:03:32 PM
The DataGridView control moves to the next row down in the same column
when the Enter key is pressed. My users would like to navigate to the
next cell in the same row or move to the first cell in the next row if
they are in the last cell. I cannot seem to figure out where I need to
place my co... more >>
Scrollbar event behavior
Posted by Robert Johnson at 10/30/2006 4:44:17 PM
In VB6 there was a Scroll and a Change event. The Scroll event was triggered
continually as the scroll box was moved and the Change event did not trigger
until after the scroll box was released.
In .NET it appears that the change event was dropped and replaced with the
ValueChanged event wh... more >>
DataViewGrid Control with custom collection datasource
Posted by Michael D. Ober at 10/30/2006 12:15:49 AM
Does someone have a link to good examples of using the .NET 2.0 DataViewGrid
control with a custom collectoin for its datasource. I need to be able to
control adding records, deleting records, and editing records. I have the
viewing figured out.
Thanks,
Mike Ober.
... more >>
how to trigger event with HtmlInputButton?
Posted by Britt at 10/29/2006 5:31:54 PM
Hi,
I created a HtmlInputButton in the code-behind of a asp.net application like
this:
Dim bt As HtmlInputButton
bt = New HtmlInputButton
bt.ID = "bt1"
frm.Controls.Add(bt)
But there is no 'click' or 'onclick' or 'onclientclick' property. I see it
but... more >>
Have alignment different in different columns
Posted by Laurence at 10/27/2006 7:27:08 PM
In VB.net (VS.2005) using the Microsoft datagrid,
is there any way to have the alignment of the column headers different for each column?
With SelectionMode = FullRowSelect.
I can get the alignment of the data cells different for each column, by setting the
RowsDefaultCellStyle alignment pro... more >>
the find in a dataview???
Posted by Raul at 10/26/2006 9:01:47 PM
My problem is the following one it is in a datagridview I am showing some
data and I would like to locate me in a certain line.
Ex. Locate me in a line that has the telephone 999 and this orderly one for
name
ID - NAME - TELEPHONE
1 - AAA - 111
2 - BBB - 444
3 - CCC - 555
4 - DDD - 666... more >>
Attributes question
Posted by Esha at 10/25/2006 9:41:25 PM
I'm learning Attribute stuff by reading MSDN topics. I'm creating a new
Property for Custom Control. I'm trying to add an Attribute to the Property
this way:
<Category("Alignment"), Description("Specifies the alignment of text.")> _
Public Property MyProperty() As String
I copied the Attr... more >>
Mouse position on the Listview by Drag&Drop?
Posted by Sim at 10/25/2006 8:34:01 AM
Hello NG,
I try to use drag and drop function between two list views. For this I found
following code:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchimpdragdrop.asp
It works fine, but I have another problem. I want to create functionality
like... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
VB2005 : Use a VBNET dll in VB6 : possible ?
Posted by Screaming Eagles 101 at 10/23/2006 12:00:00 AM
Can ya make a DLL in VBNET and then use it in VB6 ?
--
Filip
http://www.ww2airborne.net/
Official Site of the 101st Airborne - 463rd PFA
skype: airborne463pfa-fiwi
-------------------------------------------------
... more >>
Third Party Controls?
Posted by Laurence at 10/17/2006 12:02:24 PM
Hello Everyone,
We are on VS.2005, using VB.NET,
We are using the ComponentOne Controls,
However, they are very complicated, and difficult to use,
the support is also very poor.
What is everyone else using?
Sometimes the Microsoft controls just don't work right,
or have limited functi... more >>
Adding Web Control
Posted by Duncan Dimech at 10/17/2006 1:40:42 AM
Dear All
I am writing a tool which requires to have controls added to it dynamically.
To make the task more complex, the addition of the control cannot happen
anywhere but it has to be instead of a token
example
<p> this is a test <textbox /> and a text box should be entered </P>
the ... more >>
ComboBox Height
Posted by JJ at 10/13/2006 6:35:59 PM
OK, I'm new to this development environment, but I'm confused about my
combobox height. I'm using datasets, and I drag the dataset field to
my form. Textbox's have a height of 21 and ComboBox's have a height
of 26, and I am using the same Font size of 9. It looks like crap on
my form when a c... more >>
Resursive Folders - Exclude Folders
Posted by Gabe Matteson at 10/12/2006 4:22:39 PM
How would I go about excluding a list of specific directories in a listbox
from being queried using the following code? Any ideas? Thank you.
Private Sub rAllStats(ByVal sDir As String)
Try
Dim objFolder As New System.IO.DirectoryInfo(sDir)
Dim objFile As System.IO.FileInfo() = objFold... more >>
gridview vs. datagrid
Posted by Swoosh at 10/12/2006 2:26:54 AM
Hi there
When I was using DataGrid control, i sometimes needed to use the
following code on databound:
Dim myDataRowView As DataRowView = CType(e.Item.DataItem, DataRowView)
and later on, i was getting one item out of the row like this:
something = myDataRowView.Row.Item("Project_ID")
... more >>
property Grid
Posted by Lespaul36 at 10/10/2006 10:54:00 PM
I have a control that I have made that uses a custom class for storage of
some of the information. I want it to display in the VS.Net 2003 property
grid in the IDE like the Font property does, so a use can expand it and set
the properties. How do I do this? Thanks in advance.
... more >>
ListBox UserDrawn Items ?
Posted by JerryWEC at 10/10/2006 5:26:13 PM
I've created a listbox with userdrawn textboxes for the items in the list.
The textboxes are multiline textboxes with several lines of text in each
one.
I have coded the lstError_DrawItem() event handler and the
lstError_MeasureItem() event handler.
Basically I'm doing a DirectCast from sen... more >>
Animations, Bitmaps and Icons of Visual Studio 2005
Posted by Fla at 10/9/2006 12:27:06 AM
Good morning.
I'd like to know if I can use for free the animations, the bitmaps and
the icons inside the archive VS2005ImageLibrary.zip in the installation
path of VB2005 C:\Program Files\Microsoft Visual Studio
8\Common7\VS2005ImageLibrary, for developing my application, without
any further r... more >>
Printdialog problem
Posted by fasenjof at 10/4/2006 8:13:01 AM
Hi....
Does anybody knows how to quit buttons from the toolbar (like the print
button), when you see a print-preview with the printdialog object?
I got a problem. When I press that button (the print one) in that window, it
prints a second page of a document of just one page, and it's pri... more >>
user control
Posted by Mihai Velicu at 10/3/2006 4:52:39 AM
I tried to set the type of the database in a control that reside in a
control library.
I'm using Factory class.When I run the code in User control test container I
receive the error:
"Object reference not set to an instance of an object"
I don't know what is happening .If i try the same code ... more >>
Treeview AfterSelect Event Problem
Posted by Steve Arndt at 10/2/2006 8:09:04 AM
Situation
1. User selects a node in the treeview causing grid content to be updated.
2. User moves focus to grid and performs activity.
3. User wants to refresh grid contents by clicking on same node in treeview.
4. Treeview1_AfterSelect event doesn't occur. Grid isn't refreshed.
What can ... more >>
|