all groups > vb.net controls > june 2006
Filter by week: 1 2 3 4 5
TextObject multiline
Posted by Josep Blanch at 6/30/2006 12:00:00 AM
Hi,
I'm making a report with Crystal Reports and I use a TextObjet witch I
assign a string, but I need to show the text in multiline. How I could do
it?
Thanks!
... more >>
Creating a dynamic menustrip
Posted by Adria Grau Rovira at 6/29/2006 9:48:01 AM
Hello,
I'm trying to create a dynamic menustrip, the toolstripitems are in the
DataBase SQLSERVER, and I have this code:
For Each dtrow In ds.Tables("Vis_Menu").Rows
'MsgBox(dtrow("id_Menu"))
str = dtrow("fldOrden")
If str.Contains(".") Then '... more >>
Icons for controls
Posted by OpticTygre at 6/28/2006 6:41:14 PM
I have a control I built, for which I would like to add a tool bar icon, but
for some reason, it's not working correctly.
There is no default namespace (I removed it from the properies page of the
project), and the icon file has been included in the project and it's build
option is set to "... more >>
Listbox Selected Item?
Posted by Joe at 6/27/2006 1:22:24 PM
Hi all,
I am using VB2005 and have an application with two list boxes on it.
My question is how does one check to see if an item in a listbox is selected
or not?
In VB6 I could write something like If listbox.Item(3).Selected = True then
......
What happened to the Selected property for ... more >>
CHM file with .NET
Posted by Fla at 6/27/2006 7:05:52 AM
Hy!
I've got the following question in VB.NET.
How can I access to a particular topic of a CHM file generated by HTML
Help Workshop?
Some newsgroups/sites on web suggest to use CHM file for help-on-line
and the HTML files for accessing a particular topic; but I want to use
only the CHM file al... more >>
Datagrid Super/Sub script
Posted by Dave at 6/26/2006 6:53:49 AM
Hi all,
I have a datagrid control in VB.Net populated from a datatable.
However one of the cells will have to contain both superscript and
subscript data within it. Does anyone have any idea of how to actually
do this?
Thanks in advance
Dave.
... more >>
Why won't this work??
Posted by Tony Van at 6/25/2006 2:25:49 PM
Can someone help on this. Why does this work:
(cat4 is a true/false database field)
IF DataTable.Rows(CurrRecord)("cat4") = True Then
CkBox5.Checked = True
Else
CkBox5.Checked = False
End IF
...... And this doesn't
IIF (dataTable.Rows(CurrRecord) ("cat4") = True, ... more >>
How to iterate thru combobox ?
Posted by Tony Girgenti at 6/23/2006 8:18:01 AM
Hello.
Using VS.NET 2003(VB), .NET Framework 1.1.4322, ASP.NET 1.1.4322, WSE2.0 on
a WinXP Pro Sp2 computer.
How do i loop thru a combobox to extract each SelectedItem in the combobox
from selecteditem 1 thru to the end of the combobox ?
I want to ignore selecteditem 0 (Zero). I know i... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Menu button
Posted by SoccerManic at 6/21/2006 12:00:00 AM
Hi,
How can I change the position of a menu button dynamically?
Thanks in advance.
... more >>
reportviewer page size problem
Posted by russlunn at 6/20/2006 11:17:32 PM
Hi,
when i create a report using the reportviewer component
for local display in vb2005, the print preview always defaults to "letter"
paper
how do i set these sizes to A4 and set my margins
i have set the report locale to united kingdom,
i have set the report page sizes and margins in th... more >>
ContextMenu in Treeview control
Posted by Fred Brandli at 6/20/2006 6:36:34 PM
Using VB.Net 2005
I can display a contextmenu when I right-click on a node and even get the
nodelevel of the node right clcked on.
But, what I can't seem to do is make the contextmenu do anything once click.
I just can't seem to find any reference to the correct event to use.
Any hints, h... more >>
collections?
Posted by HockeyFan at 6/20/2006 9:22:01 AM
I've never created a class using collection, but would like to.
I have a class called Contact. I'd like to create a ContactCol class that
is a collection of Contact instances.
In VB.Net, how do I do this?
... more >>
Using VB.Net User control in vb6
Posted by Duncan at 6/20/2006 12:00:00 AM
Dear All
I would like to use a user control built in vb.net 2005 in vb6 sp 6. Is
this possible ? if yes can you please show how it is done?
Duncan Dimech
... more >>
ContextMenuStrip
Posted by James Wong at 6/20/2006 12:00:00 AM
Hi,
I want to write a dynamic program to find ContextMenuStrip in the form,
but I cannot find this control see the code below.
How can I solve it?
------------------------------------------------
For i = 0 To Me.Controls.Count - 1
MessageBox.Show(CStr(Me.Controls(i).Name))
Next
-----... more >>
ReadOnly Combobox
Posted by MATT at 6/19/2006 9:06:01 PM
Does anyone know of a good way to lock a ComboBox, or make it readOnly with
out setting Enable=False?
Thanks
MATT... more >>
FW: Look at this critical update from Microsoft Corporation
Posted by zip NO[at]SPAM micso.net at 6/19/2006 8:24:36 AM
MS User
this is the latest version of security update, the
"June 2006, Cumulative Patch" update which fixes
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three new vulnerabilities.
Install now to protect your computer
from th... more >>
vb.net 2003 (1.1) Web Browser Control
Posted by Giles Papworth at 6/19/2006 7:06:02 AM
I apreciate that this is probably a question that has been asked hundreds of
times but i can't find a definitive answer.
I would like to add a web browser control to a windows form. Now i know i
can add one as a COM object but i also know i can add an 'interop' version.
How do i go about cr... more >>
datagridview programmatic row navigation
Posted by My News at 6/18/2006 3:00:49 PM
How do I update my datagridview with a record that, once added, is sorted
into the datagridview, and then programmatically go to and give focus to the
new item in the dgv?
Basically, I just need to be able to Select a row, inside my code, that
moves to the specific row I need and give that ... more >>
ComboBox Text Return
Posted by DJ at 6/16/2006 7:32:44 PM
I am new to this so bear with me.
I have a set of combo boxes. Lets call them ComboBox1 and ComboBox2.
ComboBox1 items are pulled from a table. When a user selects a certain item
I want to disable ComboBox2. i can make this work in Visual Web Developer,
but have been unsuccessful in Visual B... more >>
Wizard for UserControl
Posted by Meelis Lilbok at 6/16/2006 12:00:00 AM
Hi
How to create "Wizard" for user control?
For example i have usercontrol with properties.
To make easier for seting those properties i wan't to create a wizrd, that
helps user complete and set/change those properties at design time.
Best regards;
Meelis
... more >>
ListView show selected Item/s after lost focus
Posted by Doug Bell at 6/14/2006 12:00:00 AM
Hi I have a ListView.
I am programatically selecting Items in the ListView and then setting the
focus to a TextBox.
I need to continue to show which Items have been Selected even after the
focus moves to the TextBox.
Can someone point me in the right direction to achieve this?
Thanks
... more >>
To create MAC style for ComboBox and ListBox?
Posted by Henry Jan at 6/13/2006 12:00:00 AM
Hi All,=20
=20
I want to create ComboBox and ListBox control with MAC style as this one =
on .NET: =20
http://www.econtechvn.com/en/macuisuite_detail.htm=20
=20
However, it's really difficult with the scrollbar. =20
I don't know how to replace the scrollbar of the system with MAC style =
scr... more >>
Expose Form Controls
Posted by Dimsion at 6/12/2006 10:51:20 AM
Hi,
How do i expose all my forms and it controls to other form in the project?
I want to be able to add a form and some control on it, this then be
available to all other forms.
form1 click event:
'this allow me to change the textbox on form2 from form1
Form2.text=""
'this al... more >>
Grid control
Posted by Bob at 6/9/2006 12:04:42 PM
Hello everyone:
I am a VB 6.0 programmer, and I am slowly trying to convert to VB.NET. In
VB 6, I was using quite a bit the MSHflexgrid control. This grid control
was not attached to any database or anything. I simply used it to display
information to the user, and get information from the ... more >>
ComboBox binding - strange behavior with user-derived Arraylist
Posted by Tom Luetz at 6/9/2006 8:04:02 AM
I am seeing a strange behavior when a ComboBox on a Windows Form is bound to
a class that inherits from ArrayList. This class (ColumnEntryList) has only
one property; when this property is defined to take a single parameter, the
CB shows nameSpace.listItemType for each item in the list. When t... more >>
BackgroundWorker Problem
Posted by Tony HInkle at 6/8/2006 7:51:02 PM
I am using a BackgroundWorker and the thread it is creating is still freezing
the UI if the thread is waiting on something. The sub it is running uses a
COM component to collect information from an application on a remote server,
and it sometimes takes several seconds for the data to be retur... more >>
Textbox scrollbar
Posted by J Y at 6/8/2006 10:56:44 AM
I'm building a window form with VB.net. The purpose of this app is to show
some legal terms in a text box and users will accept or deny the terms.
Similar to the one when installing software. There is a feature I want to
implement but still out of luck after a day of researching and testing.
... more >>
AllowDrop on NotifyIcon
Posted by scottp at 6/8/2006 5:00:36 AM
Hi,
Does anyone know of a way to have AllowDrop on a NotifyIcon so that I
can drop 'things' onto the notifyicon for my application and have then
actioned upon?
Thanks
... more >>
server event never/always executed
Posted by phil at 6/6/2006 12:00:00 AM
Hi,
When the button is clicked, the server event in the code-behind must be
executed if the user clicked on "OK" of the Confirm and not executed if
clicked on "Cancel".
I tried two ways: the first here below NEVER executes the server event and
the second way ALWAYS execute the server event!!
... more >>
problem with onclick/onserverclick with hjtmlbutton
Posted by phil at 6/5/2006 4:38:52 PM
Hi,
I defined a Html button but added the option 'runat="server" ' like this:
<form id="form1" runat="server">
<input id="Button1" type="button" value="button" runat="server"
onclick="hfd()" />
</form>
<script language="javascript" type="text/javascript">
function hfd()
{alert("ok")}
</s... more >>
Why are properties of controls not responding ?
Posted by Ger Eielts at 6/4/2006 4:25:49 AM
Hi,
When I use the IDE of vs2003 and drag (eg.) a label on a windowsform, then I
set the (eg.) the property of the backcolor to blue. Then I run the app and
see that the backcolor of the label is blue indeed.
But when I modify in the IDE this property to (eg.) red and I run the app
again... more >>
DateTimePicker .NET 2
Posted by Denis Correard at 6/2/2006 12:00:00 AM
On the normal textbox control we have the [Readonly] property. when set to
TRUE it automaticaly color the back colour and set the control to readonly.
In the DateTimePicker the [Readonly] and the control.backcolour property
does not exists. Is there a way to reproduce the same behaviour than th... more >>
How do I: modify the backcolor of the tabs in a system.windows.forms.tabcontrol ?
Posted by Ger Eielts at 6/2/2006 12:00:00 AM
Hi,
when using a tabcontrol and (eg.) modify the backcolor with this statement:
TabControl1.BackColor = Color.Blue
the tabbody is blue indeed, but the tab-header and the background of the
headers are still grey ? How can I modify this background and this tabheader
into blue?
So ... more >>
port vb6 to vb.net 2005 TextBox Control BadImageFormatException
Posted by Thomas Wegener at 6/1/2006 7:00:53 PM
I ported a VB6 program to vb.net (VS2005)
I have a TextBox control.
I assign:
textBoxCtrl.Text = "%DS_%PSNA%MU%PG"
I get an exception
System.BadImageFormatException
"Field token out of range."
Nevertheless the string are assigned. I put the assignment in a try ...
catch end block ... more >>
DataGrid in Tab
Posted by Doug Bell at 6/1/2006 11:49:26 AM
Hi,
I have a form with a Tab Control.
Two of the Tabs have DataGrids in them and I have some code to populate the
DataGrids (reading in some XML into a DataSet, creating a DataView and
GridStyle).
I have a problem in that neither DataGrid will populate unless the other Tab
has been clicked.
... more >>
Temperature Control
Posted by Dave at 6/1/2006 12:36:12 AM
Hi all,
Just a quick question. I was wondering if there are any free for
commercial use temperature controls? All I want is a control that
looks like a thermometer that I can pass a max and min to it and then
set the temperature on the control so the image updates with the
temperature. The... more >>
|