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 > march 2006 > threads for monday march 27

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

adding items to a listbox that are null problem
Posted by mrmagoo at 3/27/2006 11:45:34 PM
I'm trying to add an object to a listbox. I'm using a DataReader from a resultset from a stored procedure. It works except when there are NULL in any of the rows. Then I get an error: An unhandled exception of type 'System.InvalidCastException' occurred in microsoft.visualbasic.dll Addition...more >>


Derived TextBox
Posted by Rob at 3/27/2006 6:58:41 PM
Question : I want to create a read only TextBox that does not respond to any input from the keyboard, therefore I came up with the following derived class : Option Strict On Imports System.Windows.Forms.TextBox Public Class DerivedTextBox Inherits TextBox Protected Overridable...more >>

Instance of derived class does not show public methods or properties that are not in the inherited class
Posted by D Witherspoon at 3/27/2006 4:34:33 PM
What is happening is that I have a class (ClassA) that inherits a class (ClassB) which inherits System.Net.Mail.MailMessage Project 1 references Project 2, Project 2 references Project 3. When I declare an instance of "ClassA" in a thrid project I get all of the public methods/properties ...more >>

Shell to DOS
Posted by ngr at 3/27/2006 4:33:24 PM
I want to be able to shell to DOS to pipe the contents of something to a file which can then be read in by VB. Example Shell to DOS and then run ROUTE PRINT > FRED.TXT return to VB and then open fred.txt to do sometning with that. My attempts have so far failed as no piped file has bee...more >>

VB.NET, Access and Transactions
Posted by Stephen Roberts at 3/27/2006 3:30:08 PM
Hi, We've got a multi-user system written in VB.net. It has an Access back end. We've written it using Business objects, and it writes changes to the database using saved queries eg PARAMETERS P1 Integer, P2 Integer, pId Integer; UPDATE Table1 Set Value1 = P1, Value 2 = P2 WHERE ID = pID;...more >>

Abstract/Base Class Best Practices - Help
Posted by D Witherspoon at 3/27/2006 2:53:36 PM
Coming up with a scenario here. For example there is the standard .NET MailMessage class. I am creating a project (let's call it CommonBase) that has the following 2 classes EmailMessage_Base ([Public MustInherit] inherits System.Net.Mail.MailMessage and provides additional methods and ...more >>

Financial.Rate Cannot calculate rate using the arguments provided
Posted by Programador at 3/27/2006 2:11:01 PM
I'm getting this error when running this program: Cannot calculate rate using the arguments provided Module Module1 Sub Main() Rate(360, -694.44444444444446, 244274.69178082192) End Sub End Module This is a vb console application, has anybody seen this before? how ca...more >>

How to get date correponding to 2nd wednesday of each month.
Posted by amit.gaind NO[at]SPAM gmail.com at 3/27/2006 1:37:40 PM
Please suggest how to get date correponding to 2nd wednesday of each month ? ...more >>



Problem with - Edit Item of Collections.Generic.List(Of SearchAreaListItem)
Posted by snesbit at 3/27/2006 1:28:14 PM
I have a structure called SearchAreaListItem. The structure has some properties. The application implements this as a collection.generic.list(of = SearchAreaListItem) I load the collection up item at a time stuffing values into the item = then adding the item to the=20 collection. ...more >>

SqlDataAdapter Parameterized Query - Apostrophe Issue
Posted by herlihyboy at 3/27/2006 12:47:55 PM
I have searched and can't find any articles pertaining to this issue... I am filling a dataset using a SqlDataAdapter that was instantiated with a SqlCommand object. When the Fill method is called, I get the "incorrect syntax near..." error message that you typically see when a query is const...more >>

Using VB 2005
Posted by Mavrik at 3/27/2006 11:08:25 AM
Hi all, I run a exe of VBNET on computer A, it run OK. But there is an error (missing DLL - ag8614x_32.dll) when I run the same program in computer B. I search dll on computer A and found at i386, Window\system and Window\system32. I copied the dll from computer A to the same location on comput...more >>

Application.StartupPath not working in VS2005 (worked in VS2003)
Posted by hayworth NO[at]SPAM hotmail.com at 3/27/2006 10:32:11 AM
I had some code to build the name of a file: ' Build the name of the XML config file. g_strFiles.strConfig = My.Computer.FileSystem.CombinePath(Application.StartupPath, "\Settings\Config main.xml") This worked fine in Visual Studio 2003. But now that I updated to VS200...more >>

layout on screen keeps changing.. Arg
Posted by Stacey at 3/27/2006 10:26:01 AM
I have an application that has been designed for 600x800. The app is non sizeable, yet when I run it on certain machines, the layout is changed. For instance. I have a picture box that in design mode and when I run it on my machine has a height of 175 and width of 190. When it runs on my clie...more >>

Catch if File not Found
Posted by ILCSP NO[at]SPAM NETZERO.NET at 3/27/2006 9:54:30 AM
Hello, I'm writing a Visual Basic.net (vb.net 03) program and I'm checking if file(s) exist in a particular directory. If the program finds such files, I will write the total and names in my log and keep going. Otherwise, If I find none, I need to write that in my log and exit the program. M...more >>

Convert Excel Julian to VB.NET Date
Posted by simchajoy2000 NO[at]SPAM yahoo.com at 3/27/2006 9:44:51 AM
Hi, I am reading some dates from an Excel worksheet in my VB.NET code and even though in Excel these dates appear in this format 3/18/04, it is read into my code as a number like this: 36903. I have been told this is a Julian date but the calculations I have found on the internet to handle ...more >>

Help VS 2005 Dead in Water for VB project
Posted by genojoe at 3/27/2006 7:58:03 AM
VS2005 running smooth for several months. While working on project today, I got some type of error message. Without closely studying, I clicked OK expecting to restart successfully or repeat the message. Now whenever I open VS2005 and load an existing project or create a new project, I ca...more >>

regex pattern - ignore whitespace (CRLF and spaces)?
Posted by Craig Buchanan at 3/27/2006 7:35:58 AM
I have a HTML fragment that looks like this: <tr> <td valign="top" nowrap><span class="textBold">Property ID: </span></td> <td valign="top" nowrap colspan="4" bgcolor="#F0F0F0"><b>&nbsp;01-068-24-64-1024</b></td> </tr> I am trying to extract the '' part of it. This p...more >>

which is better
Posted by rodchar at 3/27/2006 6:11:01 AM
hey all, is there a difference when saying: myString= Split(_dr.TCADR1, " ")(0) & " " & Split(_dr.TCADR1, " ")(1) -or myArrary = Split(_dr.TCADR1, " ") myString = myArray(0) & " " & myArray(1) thanks, rodchar...more >>

Advanced Events
Posted by frank at 3/27/2006 5:25:46 AM
Good Morning All, I am working on a CAD application. At the time of this writing I am currently working on the GraphicsEngine. The structure is as follows: GraphicsObject (Base Class, Must Inherit) ShapeObject (Must Inherit) Derived Classes() TestObject (Must Inherite) Derived C...more >>

How to read S.M.A.R.T. attributes in vb ?
Posted by NO[at]SPAM rpus at 3/27/2006 5:16:02 AM
Ive been browsing the WINAPI descriptions, but can't seem to find where the S.M.A.R.T attributes can be read. I'm trying to read the current Temperature from a S.M.A.R.T. enabled HDD, and i would like to do this in VB.NET. ...more >>

E Book
Posted by Garg at 3/27/2006 1:48:20 AM
Hi All, I am new to Dot Net Tech.. If you are having any E Book or URL from where i can download the Book. Please send that to me. Tarun Garg ...more >>

Dot Net Deployment Issue in Win98
Posted by Solution Seeker at 3/27/2006 1:42:01 AM
Hi, I have a quick question on VB.net deployment on win 98 platform.It would be of great help if you could help. I am trying run a deployable exe built from VB.net 2003. The target machine where it is deployed is a win 98 machine.As soon as I invoke the application, I get a 'JIT' erro...more >>

Problem deleting rows from dataset (VS2003, VB)
Posted by marshallarts at 3/27/2006 1:41:30 AM
Hello, I have a datagrid (grdShots) on a form, and a button to allow the user to delete records from the dataset underlying the grid. My code appears to work, because the row disappears from the datagrid. But the delete is not being updated back to the data source, because if I exit the app...more >>

Deployment without Framework?
Posted by Stoll at 3/27/2006 12:00:00 AM
I am thinking of buying a copy of VB, and wanted to make sure I could make use of it before I spend the money. Is there any way to create an application that would work without needing the .NET framework? Or an app that could run without itself being installed? I would like to offer some small (...more >>


DevelopmentNow Blog