Print values dynamically on a form I have a form that needs to display values from an array on the form; how do I achieve the following? If item count in array is < 20 then print Val1 Val2 Val3 Val4 Val5 Val6 and so on If items in array is > 20 then print Val1 Val2 Val3 Val4 Val5 Val6 Val7 Val8 Val9 a... 24 Feb 2010 20:00
Modify app.config file Thanks a lot for this..... Peter Forman I've been lookin for this code from long time.... thanks for your valuable help....!! Peter Forman wrote: Re: Modify app.config in VB.NET 07-Mar-08 On Mar 5, 3:21 pm, "Bill Yanaire" <B...(a)yaniaire.com> wrote: something along these lines.... Public Shared Sub C... 24 Feb 2010 15:26
How do I process text file? Hello all. I am using VB 2008 and need to process text fies. Looking at MSDN Lib I see that two methods are used to read a text file: Using StreamReader Dim fileReader As System.IO.StreamReader Using ReadAlltext Dim fileReader As String fileReader = My.Computer.FileSystem.ReadAllText("C:\test.txt") Is ... 24 Feb 2010 16:35
If you had to move from VB6... "Paul Clement" <UseAdddressAtEndofMessage(a)swspectrum.com> wrote in message news:ns78o5l6gpsuq559b4n2su6vcihgk4tieo(a)4ax.com... Look, Clement, just stop being an idiot and take all this dotnet stuff somewhere else! You're just trolling now. What you are doing is designed purely to annoy the people who are using ... 24 Feb 2010 09:45
VB code help Hi all, I am creating an application on Visual Basic 2008 to convert any image into icon. I have written code (see below) which works fine. It converts any image to icon in specified size. But the problem is that when I try to use that icon I get error message saying "invalid image property" or "invalid image"... 25 Feb 2010 04:46
VB Express 2008 Hi, I just re-installed VB Express 2008, in the hope that it will finally be working properly with Vista 64 and SQL Express2008. But now the only thing that work is the main interface, but I can not to anything with it since the damn thing does not work with SQL Express 2008 , and it does not let me do a t... 25 Feb 2010 11:26
A list of all interfaces in .net 3.5SP1 I want to make some wise choices when making my objects. I want to add features to them, but don't feel like writing my own interfaces if they already exist. Since I don't totally know what's out there in .net 3.5sp1 as far as interfaces go, is there a simple easy way to find a list of them somewhere? I would n... 26 Feb 2010 11:56
Use one routine for several events I'd like to set a flag called "bEditing" (Dim as Boolean) whenever the user has entered (called the Enter event) on any of the edit boxes on my form. Similarly I'd like to set "bEditing" to False when the Leave event is called on any edit box. Currently I'm having to set a separate sub-routine for each event f... 23 Feb 2010 17:05
Type Mismatch I have a type *Address* and a type *ResidentialAddress* which inherits Address. When I try to execute SOMECLASS.ResAddr = OTHERCLASS.Addr I get the inevitable type mis-match error "unable to cast type ObjectModel.Address to Type ObjectModel.ResidentialAddress" I was thinking that since ResidentialAddress inhe... 23 Feb 2010 13:36
GetTickCount() confusion in VB I know how to privately declare a function exported from kernel32.dll as follows: Private Declare Function GetTickCount Lib "kernel32 as Long and then to use code like this: Dim lElapsed as Long lElapsed = (GetTickCount() - lPreviousTimeValue) ' etc but I'm curious. Why is the type Long? The VB.NET (2003.NE... 24 Feb 2010 14:18 |