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 > january 2007 > threads for tuesday january 2

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

DAO vs ADO
Posted by Alan Welsford at 1/2/2007 11:53:46 PM
ADO Code 66 Seconds Set dcndb = New ADODB.Connection dcndb.Provider = "Microsoft.Jet.OLEDB.4.0" dcndb.ConnectionString = "Data Source=" + dtbs$ dcndb.Open Set rsUsers = New ADODB.Recordset rsUsers.Open Sql$, dcndb, adOpenForwardOnly, adLockReadOnly DAO Code 20 Seconds Set rDb = DBEngin...more >>


Refreshing a DataList
Posted by Nathan Sokalski at 1/2/2007 11:21:29 PM
I have a DataList control that I want users to be able to sort the data in by clicking 1 of 3 buttons. The function I have created to do this is as follows: Private Sub SortPoems(ByVal sortby As String) Dim ratedpoems As New DataTable Dim sqltext As String = "SELECT * FROM poemrat...more >>

Problems with a listview
Posted by Vmrincon at 1/2/2007 10:22:50 PM
Hi everybody! I am working with a controltab that shows several listviews in its respective tabs. The problem is that in this listviews some elements are checked in and some not (I mean rows) and I would like to show only those that are checked in. My idea was to remove the row from ...more >>

Formatting date
Posted by fniles at 1/2/2007 6:09:09 PM
In VB6, when you do Format(Date$, "medium date"), you get something like "25-Aug-06". How can I do that in VB.NET ? Thanks. ...more >>

ValidationExpression that simulates the MaxLength property
Posted by Nathan Sokalski at 1/2/2007 5:59:44 PM
As we probably know, the MaxLength property of the TextBox control only works when the TextMode property is SingleLine or Password. I want to limit the number of characters a user can enter into a MultiLine TextBox to 250. I figured the best way to do this would be with a RegularExpressionVali...more >>

new to vbdotnet -- help
Posted by Jim Madsen at 1/2/2007 3:40:12 PM
Hi all-- Two years ago I bought a copy of vbdotnet2003 and the book "Learn MS VBDotNet 2003 in 21 Days", published by Sams. I started working through the book, but lost interest. This Christmas, I decided I would continue trying to learn this language. I am not a programmer, and am tryin...more >>

Shared functions not accessible
Posted by tshad at 1/2/2007 3:18:29 PM
I have a Dll I created in VS 2000. The namespace is MyFunctions and the Class is CryptoUtil. I have a program that is using the Class but it can't access it directly. I have a class (below) called CryptoUtil. The functions are Shared functions. I have this Dll in the bin folder of my ...more >>

Service Pack for Visual Studio
Posted by Igor at 1/2/2007 3:13:37 PM
My VS2005 is crazy. From time to time I get some unlogical errors. I need ServicePack! Where I can find it? ...more >>



Can't set size of label
Posted by cj at 1/2/2007 3:07:15 PM
As I begin to do more and more with programs built from scratch in 2005 instead of those converted from 2003, I'm finding differences that are confusing. Why can't I set the size of a label in 2005? I put it on the form and try to set it's size to 72,16. It jumps right back to 39,13. In ...more >>

VS2003 Nullable DataSet/DataTable Columns
Posted by Goofy at 1/2/2007 3:07:01 PM
Hi, I have a row in a dataset table which is nullable ( and also on the sql backend ), but how can I set it to a null. if I try Myrow.myDate = nothing when I test the row, I get "#12:00AM" wh ?? IDEAS ?? -- Goofy ...more >>

Using fuction in C#
Posted by Shahil Shah at 1/2/2007 1:24:39 PM
Hello I would like to use the 'using' keyword (available in c#) in visual basic. I have looked at the MSDN library but it does nat have this in vb. Does anybody know of a similar keyword/function in vb? Thanks Shahil ...more >>

MainMenu in 2005?
Posted by cj at 1/2/2007 1:23:27 PM
I don't see the mainmenu item in the toolbox of 2005. I guess I haven't created a project in 2005 using it yet. I know I upgraded some from 2003 to 2005 and they show the control mainmenu on the form1.vb design page. What do I use? Menustrip?...more >>

Simple inheritance question
Posted by RSH at 1/2/2007 12:20:57 PM
I have a simple question regarding inheritance in a web form. I have a DropDownList in an aspx form. It is called DropDownList1 I have a class that will be overriding the render event so I have a snippet of this class: Public Class CustomDDL Inherits DropDownList Protected Overrides ...more >>

Trouble installing SP1
Posted by Lance at 1/2/2007 11:29:15 AM
Hi All, I've been out of the loop for a while and now I see SP1 available VS2005. I'm running VS2005 Team Edition for Software Developers. When I attempt to install VS80sp1-KB926601-X86-ENU.exe on my VS2005 Version 8.0.50727.363 (SP.050727-3600) the installer says: "The upgrade patch c...more >>

Control array in design time
Posted by Igor at 1/2/2007 11:19:51 AM
Can I create control array (like TextBox array) in design mode. In vb6 I drow some control at the form and then I copy/paste controls. After that every control have the same name, but they have propetry index which is position of this control in the array. Can I do this in asp.net or I must ...more >>

Set splash screen time in My Project settings
Posted by will_456 at 1/2/2007 9:50:18 AM
In vb2005 Express: In My Project > Application > Splash Screen I have selected my splash screen form. The form opens on project startup but closes immediately before anyone would have time to read it. I presume it only stays visible while the main form initialises. This is not long eno...more >>

PDF to Excel
Posted by Amritha.Datta NO[at]SPAM gmail.com at 1/2/2007 7:15:57 AM
Is it possible to convert PDF data report to excel thru VB.NET? Currently I am generating PDF report in my application using crystal. The requirement is to also generate the same report in Excel. I know we can do this by creating Excel template and filling the template with required data. But ...more >>

Accessing Controls on Other Forms
Posted by Mani at 1/2/2007 6:47:11 AM
I have a windows form (FORM1) and in that I have a Richtextbox control. I am loading another form (FORM2) from form 1. From FORM2 I would like to access the richtexbox control on FORM1. So I tried doing the following code in form 2. Dim m_Form1 As New Form1 MessageBox.Show(m_Form1.RichTextBox...more >>

Textchange Event
Posted by nil at 1/2/2007 3:18:43 AM
Hi everyone... can anyone tell me how to fire textchange event of textbox that is in datagrid...as on the basis of that i wana fetch data from the database.if you can provide code snippet or any link than i'll be thankful to you... Thanks & Regards, Nil "Problem is just the distance between...more >>

MsgBox won't display
Posted by Ivan Jericevich at 1/2/2007 2:05:35 AM
In my code below at the line 'response' a blip sound is heard and the program exits the sub -- No MsgBox is displayed. What am I doing wrong? If nonNumberEntered = True Then msg = "Enter numbers only" style = MsgBoxStyle.OkOnly title = "ERROR in cast" MsgBox(msg, sty...more >>

my.settings in VB.NET 2003
Posted by Thorgal at 1/2/2007 1:54:29 AM
Dear, I'm trying to save some settings in my.settings in VB.NET 2003, in 2005 this is no problem and I do it on the following way: Public Shared Property KleurKoud() As Color Get Return My.Settings.KleurKoud() End Get Set(ByVal value As Color) ...more >>

Copy ListView Items
Posted by Dragan Ristic at 1/2/2007 12:11:27 AM
How to select all ListView items and then copy that to clipboard (VB 7)? Please help. ...more >>


DevelopmentNow Blog