Archived Months
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007


all groups > vb.net controls > august 2006

Wich control can I to use instead of Picturebox control?
Posted by Carlos Villaseñor M. at 8/31/2006 11:35:47 PM
Hi everyboy I'm new to VB. NET, and I need to know what instruction can use instead "pictre box" control, I need to regenerate the picture in a window after that another window was superimposed or activate another application, or if the window was hidden, this feature in VB 6.0 was performed w...more >>

Virtual desktop makes .NET modal dialog panels disappear
Posted by jbrock NO[at]SPAM panix.com at 8/28/2006 6:22:54 PM
At work we are using a virtual desktop manager called AltDesk (http://www.astonshell.com/), and it is causing a weird and extremely annoying problem with the VB.NET application I am developing. If I start my app, open a test form using ShowDialog() (this is a menu choice on the main app), and ...more >>

Timer driving me nuts
Posted by John at 8/28/2006 4:32:53 PM
Hi I have a timer on my form. The problem is no matter how large an interval I set, the timer_tick event always gets called very fast. What am I doing wrong? Thanks Regards ...more >>

Listbox assigning default
Posted by John at 8/24/2006 12:00:00 AM
Hi How can I highlight (select) via code an item in a list box that has the value "Current"? Thanks Regards ...more >>

Checkbox list questions
Posted by John at 8/23/2006 5:59:59 PM
Hi I am new to vs2005 and have two questions re: chekbox list. 1. How can I check in code what item was clicked? 2. How can I access an item's value in code? Thanks Regards ...more >>

Component Registering
Posted by Lou at 8/22/2006 2:35:24 PM
Is there a function in my VB ocx that gets called when someone tries to register it? Lou ...more >>

which expert can finally solve this?
Posted by Cas at 8/21/2006 1:50:07 PM
Hi, I tried to solve this for a while, but there is always somewhere a problem. Here my story: The table contains two fields (field1, field2). I use a gridview for editing the table: field1 can be updated manually, but field2 must be updated with the selectedvalue of a dropdownlist. So I c...more >>

how to add a controlparameter programmatically?
Posted by Cas at 8/20/2006 11:53:09 PM
Hi, How to add a controlparameter in the code-behind that is the equivalent in the aspx file of: <UpdateParameters> <asp:ControlParameter ControlID="myID" Name="myname" PropertyName="SelectedValue" Type="String" /> </UpdateParameters> Thanks Cas ...more >>



why does the ShowEditButton not become visible with this code?
Posted by Ben at 8/20/2006 2:54:59 PM
Hi, I have a gridview with ShowSelectButton="True" and ShowEditButton="False". When clicking on the 'Select' button (SelectedIndexChanged event), i want to make it invisible and make the ShowEditButton visible. I tried this but it doesn't work (Select is still visible and Edit is still invisi...more >>

Checklist box code help needed
Posted by John at 8/20/2006 12:00:00 AM
Hi I have a check list box.When user selects a specific value '(All)' I want to uncheck all other check boxes in the list. How can I achieve this in code? Thanks Regards ...more >>

how to pass variable from one event to the other?
Posted by Ben at 8/19/2006 11:11:00 PM
Hi, I need to use the value of a variable generated in the 'SelectedIndexChanged' event of a gridview in the 'RowUpdating' event. I tried this below, but the variable generated in the 'SelectedIndexChanged' event loses its value when starting the RowUpdating' event. I think it has something...more >>

DataFormatString Question #2 Forcing Currency Format
Posted by Phillip Vong at 8/15/2006 4:30:35 PM
VS2005 and SQL2000 Have a column with Data Type "Float". Example, the value in the row could be 80025.36958 or 123.5 etc. Using a Gridview, I want to force this column to return as currency. 1) I've tried {0:c} This does absolutely nothing. Returns all the number as is. 2) I forced ...more >>

Problem with TabControl not sizing in accordance with anchor settings.
Posted by Simon Verona at 8/14/2006 3:21:16 PM
I have a few hundred forms in my application. All are based on a custom base form class. I decided that I wanted to globally change the look and feel of many of the controls in my application - including the tab control. I did this by writing a component that I attached to the form. The ...more >>

Simple way to supress print notification or system hooks???
Posted by Milan Todorovic at 8/10/2006 8:39:37 AM
Hello, I need help with something that should be pretty trivial, but I can't seem to find an easy way to do it. I have a printing routine set up in a windows vb.net 2005 app. The routine has all the printing settings defined, so no PrintDialog is needed. However, when printing starts, th...more >>

How to prevent the mouse to capture text in a RichTextBox
Posted by Philipp Foeckeler at 8/10/2006 12:00:00 AM
Hi there, i have a richtext box in VB 2005 where i want to install a custom text selection scheme. Therefor i dont want the mouse to select/capture the text in this box when u move the mouse with the button pressed. I just want to have my own MouseDown, MouseMove and MouseUp events without ...more >>

How can i change a control 's properties from another form???
Posted by Daniel Vargas at 8/9/2006 9:01:02 AM
Hi i have 2 forms form 1 and form2 in form 1 i have a button1 hide, the i pass to the form2, in this ia have another button2, if is pressed i want to close form2 and show the form1 with the button1 visible, how can i do???...more >>

Rule
Posted by Laserson at 8/9/2006 3:26:50 AM
How to create a horizontal rule in windows form, like in IE using 'hr' tag. I saw many forms with those rules but i can't guess how to do that...more >>

problem with combobox default display text
Posted by yalanue NO[at]SPAM gmail.com at 8/7/2006 5:36:40 PM
I want to create a combobox with its displaymember populated from a datatable. But once I get it run, the default display member in the combobox is always the first row of the displaymember list. even if I abitrarily set the combobox text to empty string, the value retrieved from the combobox t...more >>

Toolbox Icon Code
Posted by J French at 8/2/2006 1:20:43 PM
Can someone please provide the code for adding an icon to the toolbox for a user-generated control? Thanks for your help John -- jffrenchjr@earthlink.net ...more >>

Windows Positioning
Posted by Nathaniel at 8/1/2006 11:03:33 PM
I am seeking to write code that will allow me to position OTHER forms besides my own. Is there any way of somehow writing: THATAPPLICATION.Location = New point(x, y) Currently I use a 3rd party program called Windows Manager. http://www.download.com/Windows-Manager/3000-2094_4-10493884.h...more >>

Response object
Posted by krallabandi NO[at]SPAM gmail.com at 8/1/2006 10:19:34 AM
Hi, I am using Response object in vb.net to download an excel sheet with data. It worked well and I could download excel file with data. But suddenly It started downloading only blank excel sheet. even though the data exists. Do I need to do any refreshing? or do I need to re-start IIS? ...more >>

user controls constructors
Posted by Alejandro González at 8/1/2006 9:18:28 AM
Hi. I have this problem. I create a user control with a constructor with several parameters. I also add the default constructor so I can add this control in desing time to a form. Why this isn't working? (default constructor was called in InitializeComponent()) private void Form1_Load(objec...more >>

combobox datasource visual basic .net 2005
Posted by ayaari at 8/1/2006 3:29:02 AM
Hi I am initialize combobox with data source,with 3 options (1,2,3 for example). i am doing it using this code: Combofromver.DataSource = ds2.Tables(0) Combofromver.DisplayMember = "customer_ver" then am using a select statment that bring me back 1 row from other table. the using the same cod...more >>


DevelopmentNow Blog