Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
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
November 2007
December 2007
January 2008
February 2008


all groups > vb.net > october 2007 > threads for friday october 5

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Invalid attempt to Read when reader is closed
Posted by Chris at 10/5/2007 11:28:22 PM
Hi, i wrote this code for fetching data from a table using a stored procedure. The connection definition and opening are put in a class. The actual read of data occurs in code-behind. My problem with this code: Invalid attempt to Read when reader is closed at line: While dtreader.Read() ...more >>

Report formatting
Posted by William LaMartin at 10/5/2007 10:31:12 PM
I am having trouble creating a report (not Crystal) where the data is displayed in three columns--think of mailing labels. I have done this with Microsoft Access Reports, Crystal Reports, but accomplishing this in the ..Net 2.0 Reports is a problem. There is a property of the Report Body name...more >>

What do I need to get started?
Posted by Gilles Ganault at 10/5/2007 9:11:10 PM
Hello I'd like to try writing desktop, ie. winforms, apps in VB.Net, and need to check what to do: 1. Install .Net framework 2.0 (or can I use 3.5?) 2. Install SDK 3. Install VisualStudio 2005 Pro Is this correct? Thanks....more >>

Parameterless String constructor
Posted by dippykdog NO[at]SPAM gmail.com at 10/5/2007 8:29:55 PM
Does anyone know why there isn't a parameterless constructor for the String type? Given that you can... Dim s as New String("Hello") ' inefficient, don't do this I guess I would have expected... Dim x as New String() to give me x pointing the an empty string. For what it's wor...more >>

question about datareader in function
Posted by Chris at 10/5/2007 7:04:04 PM
Hi, i use this to recover data via a stored procedure from a database. Imports System.Data Imports System.Data.SqlClient Public Class chat Public Shared Function myfunction() As DataSet Dim dsdata As DataSet = New DataSet() ..... end function end class Now i wondered whether it wou...more >>

Catch changes made by user
Posted by vovan at 10/5/2007 4:57:27 PM
I have set of controls (Textboxes, checkboxes etc) along with the Grid on Windows Form. I use BindingSource to populate both Grid and the set of Controls. User selects the record in the grid and all controls are populated with data from the selected row. The grid is going to be read only. Te...more >>

Temperature sensor with VB.Net
Posted by Freddy Coal at 10/5/2007 3:26:39 PM
Hi, I would like get the current value of the processor temperature, fan speed and other data if possible. How I can get that with vb.net? I'm reading about WMI, but I don't understand how use that, this is my code: Dim query As New SelectQuery("CIM_TemperatureSensor") Dim search As New Man...more >>

How to know if a form is already open ??
Posted by LB at 10/5/2007 1:00:06 PM
How may i do to know if a form is already open ?? In vb6, i use Forms but i don't know how to do this in vbnet. Thank you!!! ...more >>



Web service hosting options
Posted by Bob Altman at 10/5/2007 11:56:20 AM
This is a follow-on to my previous post. It occurs to me that I asked the wrong question. Here's what I'm really trying to accomplish: My application is a real-time airplane and avionics simulation. My application includes a .Net singleton, exposed via remoting, that allows clients to do...more >>

Escaping apostrophe when inserting into sql database
Posted by mister-Ed at 10/5/2007 11:31:33 AM
I have a datagrid, and when initializing my field variables, I need to double up apostrophes so they are accepted into SQL dbase. In the line below, i'm trying to do this with the Replace function, but i still get an error when entering an apostrophe: Dim sCompany As String = CType(e.Item.Find...more >>

Need to write web service
Posted by cj at 10/5/2007 10:26:31 AM
I have used web services before WSDL files and such but never written one. I need some basic starting info. 1. Can I write a web service in a windows app? or are all web services asp web apps? In other words what type of program do I create? 2. Anyone point me to a tutorial that is ve...more >>

Capture Unbound Form Control's Value
Posted by Donald Fisher at 10/5/2007 9:36:09 AM
Hello. I'm trying to capture a controls value: a dropdown box with two selections (either "Red" or "Blue") keeps returning the value "Red" even if "Blue" is selected?...more >>

IO Permission Error, Form Won't Load
Posted by ge0193387 NO[at]SPAM otc.edu at 10/5/2007 7:34:39 AM
I have an object on my form the does reading from a file and another that writes to a file. Simple operation just Readline()/Writeline(). I had a problem previously where my form would throw up an error on run (not build). An error occurred creating the form. See Exception.InnerException for ...more >>

Basic progress bar timing question
Posted by kimiraikkonen at 10/5/2007 2:06:37 AM
Hello, I want to ask this: How can i equalise my progress bar with the external process until it finishes? For example i have external process and the processing time differs computer by computer. What should be the code to equalise progress bar movement with the process? Thanks. ...more >>

Hiding Tabcontrol horizontal scroll buttons
Posted by Steve at 10/5/2007 12:00:00 AM
Hi All I want to prevent the Windows Tabcontrol from showing the horizontal scroll bar when the Number of Tabs exceeds the width of the control I use code in 2 buttons to control the scrolling, as the default scroll buttons are too hard to target on a Touch Screen How do I do this? ...more >>

Try to hack my web site!
Posted by Ivo at 10/5/2007 12:00:00 AM
I am programming forum. Tech is ASP.NET, C# and SQL Server 2005. I want to see is my site safe, have I made some security problems. Can you try to hack my site untill 10-september-2007.: http://www.search4affiliate.com/Forum.aspx Thanx ...more >>

Tabcontrol tabs visible
Posted by Steve at 10/5/2007 12:00:00 AM
Hi All How can I tell how many Windows forms Tabcontrol tabpage headers are visible at any time within a Tabcontrol? I want to display some buttons which offer horizontal scrolling of the tabpages, but only if the number of tabpages exceeds the width of the Tabcontrol There is no Visi...more >>


DevelopmentNow Blog