Groups | Blog | Home


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 2005 > threads for sunday january 9

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

Keep time updated on form
Posted by jaytm at 1/9/2005 10:50:06 PM
I am trying to figure out how to place the current time on a form and keep it current. Can someone please point me to a tutorial or code on how to do this in vb.net? thanks...more >>

pocket PC programming using home edition visual studio.net 2003
Posted by Neil Wallace at 1/9/2005 9:43:46 PM
Guys, I am hopping mad. I am just a hobby programmer making little .net applications for pretty much no-one else but me to use. One application I have written would, to my mind, work best on a handheld PC. Fortunately I have a Pocket PC - an HP jornada bought 4 years ago. Doing my re...more >>

search in a array
Posted by Jan at 1/9/2005 9:05:31 PM
I've got the following array: FileIn(Counter) How can i search the array for example "window" TIA...more >>

not an mdi child and parent at the same time - why?
Posted by Bernie Yaeger at 1/9/2005 8:54:55 PM
A form may not be both a child window and an mdi parent, but why not? I can think of many instances where such would be valuable. Indeed, the basic structure of menus and submenus is the perfect metaphor for this. Anyone know why this is so and/or if it can be overridden? Thanks for any ...more >>

Date Condition in command text
Posted by Agnes at 1/9/2005 7:13:54 PM
my date format is in yyyy-mm-dd mycommandtext is 'select * from myTable where issuedate >='" & Me.txtStartDate.text & "' and issuedate <= '" & Me.txtEndDate.text & "' " It return zero records, Is that the commandtext got errors ?? Thanks a lot ...more >>

Component Creation
Posted by Roshawn Dawson at 1/9/2005 6:22:19 PM
Hi All, I am creating a component library and I have a function that contains optional parameters. Here's the skeleton code for the function: Public Function SearchBook(ByVal page as String, Optional ByVal keyword As String = Nothing, Optional ByVal categoryID As String = Nothing) As Book...more >>

Listbox list to Array
Posted by John at 1/9/2005 6:11:43 PM
Hi there, I've got a form with a listbox (lstWrkFiles) that populated with a number of files. I'm trying to pass this list of files to an array (so I can use it later). However, I've the code below "Sub FileArray()" is meant to fire when I click on the btnNext1 button, but nothing happens...more >>

Explanation Array / Collection for newbie
Posted by dotNETnews at 1/9/2005 5:52:55 PM
As I know Arrays are collections that can store even objects if the type of Array is Object. Other Colletions are base Collection class, Array List, Sorted list, Queue... But this book I'm reading has two seperate chapters. First is Array and second is Collections. Why is that if Arrays ...more >>



.Net Framework Security Question
Posted by Jm at 1/9/2005 5:17:13 PM
Hi All Is it possible to somehow script security settings for the .Net Framework. So in other words can i include into my setup program some sort of code to alter the runtime security policy by creating a new code group and assigning its settings to it ? Any help is greatly appreciated Than...more >>

how can ik get the index of a listview item
Posted by Jan at 1/9/2005 4:32:43 PM
Hello everybody. Can someone tell me how i can get the index of an listview. I tried it at th e following way: public intIndexListview As ListView.SelectedIndexCollection Private Sub ListView1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListVi...more >>

How can i get the index of a listview
Posted by Jan at 1/9/2005 4:24:40 PM
Hello everybody. Can someone tell me how i can get the index of an listview. I tried it at th e following way: public intIndexListview As ListView.SelectedIndexCollection Private Sub ListView1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListVie...more >>

Click event gets lost when call MSGBOX in leave event
Posted by Tom at 1/9/2005 3:41:07 PM
I have a VB .NET application that has a text box with the following code to handle the leave event. Private Sub txtIDiscountRate_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtIDiscountRate.Leave If txtIDiscountRate.Text.Trim <> "" AndAlso _ ...more >>

VB.Net Std Trial Version
Posted by JM at 1/9/2005 12:54:07 PM
Is there a trial version available for download on the net anywhere? I see on the MS web site that I can get a trial version of VStudio.Net but I am really just interested in VB on it's own. What I really want to know or check in a trial version is that VB.Net Std has a similar capabilities t...more >>

Saving a drawing in a Picture Box
Posted by J. Giudice at 1/9/2005 12:35:18 PM
I have an test app where I am drawing some stuff in a picture box. Now I want to enable the user to be able to save that to a file as an image. I know how to save an image, but how do I get what is drawen on the picture box control to become an image? Or, is there some other way? ...more >>

Creating an object from a DLL
Posted by Geoff Jones at 1/9/2005 12:33:55 PM
Hi I have a DLL which was created using MFC (and set to Automation). In this DLL there a class called MyTestClass. My question is, how do I create an object of this class from within a vb.net application? Thanks in advance Geoff ...more >>

How can i get tiff header information
Posted by Eddie Leung at 1/9/2005 12:14:28 PM
Hi All, As I know that the tiff contain header information, I can use one software called tifftags.exe to get tiff tag information. However, I can't get any reference from vb.net to do such feature. Please advise.. Thanks. Eddie ...more >>

Excel Process not terminating
Posted by lgbjr at 1/9/2005 11:58:26 AM
Hi All, I have a VB.NET app that, among other things, writes data to Excel. I am having trouble getting the Excel process to terminate after I quit Excel. I found an article related to this problem: http://support.microsoft.com/default.aspx?scid=kb;en-us;317109 Below is a sample of code...more >>

preferred syntax for datareader?
Posted by Paul W at 1/9/2005 9:49:27 AM
Hi - what's best: ResourceName = CType(dtr("ResourcePoolName"), String) or ResourceName = dtr("ResourcePoolName").ToString or ResourceName = dtr.GetString(dtr.GetOrdinal("ResourcePoolName")) or ....? I guess my main criteria is runtime performance. I don't want to use dtr.getString(0) in ...more >>

Open two instances of a windows application?
Posted by Nina at 1/9/2005 8:01:02 AM
While user is working on a windows application, at same time he or she launches another instance of the same application. Will this affect the global variables in the first instance of this application? How can I know programmatically if the application is already opened when user tries to o...more >>

Error Type: 0x8004020F
Posted by Chris Rennie at 1/9/2005 5:21:02 AM
I've developed an application that is using the System.Web.Mail namespace and have run into a rather interesting problem. The aforementioned error displays this: The following exception occurred: System.Web.HttpException: Could not access 'CDO.Message' object. ---> System.Reflection.TargetI...more >>

Adobe FDF
Posted by Matthew Speed at 1/9/2005 1:17:13 AM
I would like to interact with PDF fill out forms using VB.Net. Is this something that can be done? Ideally I would like a program to be able to read a list of the fields from the FDF and then be able to write to an FDF/PDF and save the data on the machine. Any advice would be appreciated. ...more >>

array conversions
Posted by Sankar Nemani at 1/9/2005 12:41:53 AM
Why does the following code throw an exception? Dim o1() As Object = New Object() {"Sankar", "Sankar2"} s = DirectCast(o1, String()) Following is a snippet from VB.NET language specification on MSDN. ...more >>


DevelopmentNow Blog