Home All Groups Group Topic Archive Search About

Visual Basic .NET

microsoft.public.dotnet.languages.vb
Score Odd Validator Problem
Gary Wardell - 10 Apr 2010 5:08 PM - 3 messages
Hi, I seem to have hit an odd problem. I have the need to sometimes validate and sometimes not based on conditions in a database. However, the following page, which simulates the problem, works fine as a stand alone page, but fails at the indicated line when used with a matter ...
Score Loop thru WinForm Controls
johnb - 10 Apr 2010 3:53 PM - 10 messages
Hi All What is the code to loop thru all textbox controls on a form? TIA johnb ...
Score Event of changing the grid-cell value.
Mr. X. - 10 Apr 2010 3:18 PM - 3 messages
Hello. In VB.NET 2008. I have dataGridView. Which event occurs when changing data row value. (Not all the times I am changing the value via the dataGridView directly. There are also values that are changed directly via the datatable object. ...
Score Change state of detached column of dataGridView.
Mr. X. - 10 Apr 2010 1:00 PM - 3 messages
In VB.NET 2008 (VS 2008) I see I can change the state of an unChanged column, but for detached column - I cannot change the state.         Dim objRowV As DataRowView         Dim objRow As DataRow ...
Score Error 30366 in VB behind VS(2005) project
New2Access - 9 Apr 2010 7:06 PM - 2 messages
I'm new to using Visual Studio (2005)  with VB and I've recently taken over a project started by someone else.  The basic process is to retrieve a file from an ftp server, load the data into SQL Server (2005) tables, summarize ...
Score Copy Word Doc Bookmarks from One Document to another (VB.net)
Barry - 9 Apr 2010 8:47 AM - 3 messages
I am try to copy bookmark from one word doc to another, find all the bookmark and select them etc. I can create the bookmark in the second word doc, with the correct name. The problem is set the location of the bookmark ...
Score Owner Drawn form background problems
kpg - 8 Apr 2010 7:49 PM - 6 messages
vs 2005 vb.net windows form app. Doing a simple gradient background on a form:     Protected Overrides Sub OnPaintBackground(ByVal e As System.Windows.Forms.PaintEventArgs)         MyBase.OnPaint(e)         Dim r As Rectangle = ClientRectangle ...
Score Treeview duplicate nodes (VB.NET 2008)
Scott - 8 Apr 2010 3:52 PM - 8 messages
When populating a Treeview in code, I am getting "duplicate" nodes. They appear in the treeview, but don't seem to exist when I iterate through the node collections. This is what I get: [link] ...
Score Gridview order
ArielF - 8 Apr 2010 2:07 PM - 2 messages
I've got a Gridview and a xmldatasource How can I show the gridview rows in reverse order? ...
Score Accessing Sub Menu Items
shoosh - 8 Apr 2010 2:04 AM - 6 messages
In VB.NET, I create a File menu.  One of the File Menu items is "Recent Projects".  Using the following Code, I can add sub-menu items to drop down below "Recent Projects."         mnuRecentProjects.DropDownItems.Add("Test Item 4") ...
Score ASP Tab Control
Martin Wulfe - 8 Apr 2010 12:36 AM - 2 messages
Does anyone know of a customizable tab control for ASP.Net?  I'm not looking for a whole suite of controls, just the one. ...
Score Single v. Double Help
Todd Heiks - 7 Apr 2010 10:55 PM - 2 messages
Why is 'ans1' true if double and false for single? Module Module1     Sub Main()         Dim x As Double / Single         Dim y As Double / Single ...
Score Use a static form of the EventLog class?
Ron Hinds - 7 Apr 2010 10:22 PM - 3 messages
I'm developing a Windows Service in VB.Net. In the Visual Studio Programmer's Guide for the .NET Framework - How to: Log Information About Services, the following statement is made: By default, all Windows Service projects have the ability to interact with ...
Score How to tell if folder item is file or folder?
Saga - 7 Apr 2010 7:43 PM - 9 messages
Hi all. Now I am processing data in folders. I get a listing of folder contents and have to test to determine whether item is folder or file. I have this routine: strPath is previously set with valid data, strType is previously defined. ...
Score null reference exception could result at runtime
mp - 7 Apr 2010 6:50 PM - 6 messages
vbnet 2008 express how to avoid the compiler warning: Variable 'ArrayObjects' is used before it has been assigned a value. A null null reference exception could result at runtime. given Dim ArrayObjects() As AcadEntity ....some code... Try ReDim ArrayObjects(0) ...
Score How to get the list of all SQL Server foreign keys in a database by using Microsoft.SqlServer.Manage
Gilbert Tordeur - 7 Apr 2010 4:02 PM - 5 messages
Hello. I have found many post telling how to create a foreign key with SMO but no one explaining how to list them. Anybody knows ? Thank you, Gilbert ...
Score want to convert string into byte array hw i can do it
jainhemant007 - 7 Apr 2010 7:47 AM - 2 messages
SqlConnection SqlConn = new SqlConnection(Scon);         SqlDataAdapter da = new SqlDataAdapter();         DataSet ds = new DataSet();    SqlDataAdapter ADAP = new SqlDataAdapter("Select * from User1 Where Id = 3", SqlConn); ...
Score datagridview Combobox column
Simon Whale - 6 Apr 2010 8:48 AM - 4 messages
Hi all, [vb2008] I need help with the following, I have a grid that i have put on there 2 textbox's and a combobox column which works ok. When i then add the data by using the following code below, it works, my ...
Score Adding/copying Worksheet to Excel
Nicolas - 6 Apr 2010 4:23 AM - 2 messages
I got 10 worksheets in workbook Master (file master.xls) and I wand to copy them to the workbook B (file b.xls). How can I do this? I need to this for few thousand files. ...
Score Programmatically add Sub Menus to a ContextMenuStrip
JB - 6 Apr 2010 12:10 AM - 3 messages
Hi All, I've always so far designed menus at design time and never had a problem. Today I want to create menus programmatically and add Sub Menus to a ContextMenuStrip. How can I programmatically reproduce what I do at design time by ...
Score HTML report in vb.net
Ryan - 5 Apr 2010 10:03 PM - 2 messages
How do I create an html report in vb.net instead of Crystal or ReportViewer? ...
Score master - detail architecture for dataTable.
Mr. X. - 5 Apr 2010 4:04 PM - 12 messages
Hello. I have two dataTables. h - header. l - lines. just hypothetic situation : The header represents an invoice, and lines represent invoice lines. I link the header to a datatable by BindingSource object, and also the lines. When choosing another row of the header, the lines are new one, that are ...
Score textBox databinding.
Mr. X. - 5 Apr 2010 3:26 PM - 10 messages
Hello. I have connected textbox by databinding to a BindingSource object (to a specific column of a specific table). Everything is fine ... But what if I want to undo the change I have made by the textbox. (It may be a textbox or any other binded control). ...
Score Sorry for reposting - can not figure out...
J Snaith - 5 Apr 2010 12:45 AM - 8 messages
Very sorry for reposting same message.  I cannot figure out this concern issue.... Good day.  I have asp.net page in vb.net that gets set of photos records from a database table (paths to photos).  Loads that data into session ...
Score Reading filenames into listbox
John - 4 Apr 2010 8:28 PM - 5 messages
Hi How can I read into a listbox filenames of all files in a folder? Many Thanks Regards ...
Score Object disposal guidance needed
Gale Green - 4 Apr 2010 4:48 PM - 14 messages
Hi all. I'm a recent migrant from VB6 so I'm used to creating references to objects and then setting them to Nothing when they are no longer needed. Do I understand correctly that setting to Nothing is unnecessary in VB ...
Score Trouble With Timer
J Snaith - 4 Apr 2010 3:54 PM - 2 messages
Good day.  I have asp.net page in vb.net that gets set of photos records from a database table (paths to photos).  Loads that data into session datatable, divide into parts and display each part at timer interval.  For ...
Next » 2 3 4 5 6 7 8 9 10