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 2006 > threads for monday january 30

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

XML Comments and ComponentModel.Description attribute
Posted by CMM at 1/30/2006 10:49:17 PM
In VS2005 / VB.NET, do you still have to spell out the ComponentModel.Description attribute when you want properties of a custom control to have description text in the Property Editor?... or can you use XML Comments take the place of this? If you still need to specify both, why can't the XM...more >>


Button Click Question
Posted by Drew Leon at 1/30/2006 9:02:21 PM
I have a Tab Control on a form. Each one of the tabs have two populated List Boxes on them. I have a Button on the form which I would like to use to calculate the various math problems in the Tabs. I would rather not have to a button on each tab to calculate the math problems. Any assistance w...more >>

On Maximize button press
Posted by BobAchgill at 1/30/2006 8:39:10 PM
Hi! I would like to know when the Maximize button gets pressed so that I can use it to trigger a process. Any ideas?? Thanks! Bob...more >>

problem saving image to database
Posted by Martin Horn at 1/30/2006 8:31:06 PM
Hi all, I'm trying to save a picturebox image to a database. This is part of the code I'm using:- <snip> Private drv As DataRowView Private dr As MainDataSet.OrdersRow If PictureBox.Image IsNot Nothing Then dr.Pic = CreateByteImage() End If <snip> Private Function CreateByte...more >>

Printing at bottom of page
Posted by Tom McL. at 1/30/2006 7:40:59 PM
I have a program that produces a calendar which I would like to print at the bottom of a page so I can place a picture at the top. I use the following code to print the calendar: CaptureScreen() printDocument1.Print() It works well, but prints the Calendar at the top...more >>

Unable to cast object of type 'System.Data.DataSet' to Typed DataSet
Posted by Optimus at 1/30/2006 5:43:37 PM
Hi everyone, I currently develop an application in vs.net 2005 with vb.net. I was trying to use typed dataset and I've got in trouble for converting untyped dataset into Typed DataSet. I don't know why I cannot perform this casting operation properly. First off, I've got my Typed DataSet n...more >>

How to.. Print vb.net..
Posted by Pete Smith at 1/30/2006 5:29:36 PM
How to calculate how much space (in pixels) is consumed for a given # of characters while printing? I have allotted a square area for printing some text and not sure whether it fits in one line or not. Thank you, vb.net and Net Framework 1.1. Pete ...more >>

Treeview vs databinding
Posted by Marc R. at 1/30/2006 4:56:22 PM
Hi all, I need help (again). (sorry for my english, it is not my first language) I was successfull by my own to create the treeview nodes from data into a table by using a dataview and rowfilters, and a recursive function call, now my treeview is all correctly loaded, (position wise an...more >>



Sending a message to another computer -how?
Posted by Bob at 1/30/2006 4:40:50 PM
Vb.net 2005. I need to send a message to a computer named Comp1 on my LAN. I need window to pop up, much like when a network admin sends a message to some users that the network will shut down for maintenance. But I need to do it for one particular computer whose name I know and I need to do i...more >>

Better way to go from ArrayList to Object()
Posted by Chris at 1/30/2006 3:37:17 PM
I have the following code where I want to return a type Hotel() Function GetHotel as Hotel() '... Init Code here Dim arrH As New ArrayList Do While Reader.Read Dim H As New Hotel(Reader.GetString(1), Reader.GetInt32(0)) arrH.Add(H) L...more >>

File Info Question
Posted by Denis Correard at 1/30/2006 2:49:41 PM
I'm writing an application that would move a file from 1 place to another and print it, but I'm having errors if the file is in use by another process when I'm trying to move it. Is there a way to check that before I try to move the file? I'm using .Net 1.1, VB and VS 2003 Any ideas are ...more >>

Query Builder
Posted by Daz Talbot at 1/30/2006 2:39:24 PM
Hi there Does anyone know if it is possible to invoke the SQL Server Query Builder from within a VB.NET program. I'd like to have query building functionality within my application. Thanks Daz ...more >>

Voip Learning and Translating Tutorial
Posted by kimi at 1/30/2006 2:26:58 PM
Voip Learning and Translating Tutorial Voice Over IP is a new communication means that let you telephone with Internet at almost null cost. How this is possible, what systems are used, what is the standard, all that is covered by this Howto. http://www.freewebs.com/voipformula/VoIP-HOWTO.ht...more >>

Assigning ListBox Current Selection to TextBox
Posted by sajones NO[at]SPAM netta.us at 1/30/2006 2:21:47 PM
Hello, I'm a novice user having troubles retrieving data from a listbox in VB Express 2005. My listbox is populated by a table from an Access database. I'm trying to assign the current listbox selection to a textbox using: "Me.txtSelection.Text = CStr(lstUsers.Items(Me.lstUsers.SelectedIn...more >>

Dataset requery
Posted by Peter Van Wilrijk at 1/30/2006 2:01:04 PM
Hi, In VB6 I used a method requery to repopulate a recordset. I don't find an equivalent for the .NET dataset. I don't update my datasets at all, but I use them to navigate through subsets of my tables, saying my dataset contains primary keys, ordered in a specific way. When I go the n...more >>

Application.Exit or End
Posted by Pete Smith at 1/30/2006 1:41:18 PM
Which is the appropriate one to use in the above choice? VB.Net. .Net Framework 1.1 Thank you, Pete ...more >>

Cancel a thread - please help
Posted by JJ at 1/30/2006 1:40:02 PM
Is there any way to allow the user to cancel a thread which carries out a single long task. My form app's thread submits data to a web form via a webclient instance. There is some considerable delay whilst the data is retrieved. I am trying to avoid using thread.abort - is this possilbe? M...more >>

VB2005 pro Graphics
Posted by Galen Somerville at 1/30/2006 1:34:09 PM
Going from VB6 (RAD) to VB2005 (SAD) The documentation always shows graphics drawing in a paint event like Private Sub Pictcolor_Paint(ByVal sender As Object, ByVal e _ As System.Windows.Forms.PaintEventArgs) Handles PictColor.Paint End Sub But my VB6 program draws to the pi...more >>

multiple tcp connections
Posted by VITAS at 1/30/2006 1:14:34 PM
Hi Im trying to program a irc client and got stuck in trying to establish multiple server connections. The core problem is, that i dont know how many connections i will be using so i tried a array with the type tcpclient, but it doesnt work. my code: Public Class IRCtest Private con...more >>

Convert from C# to VB.Net
Posted by Husam at 1/30/2006 11:29:32 AM
Hi EveryBody: I have the follwoing Decleration from C# and I want to convert it to VB.Net : public const int DISPID_HTMLELEMENTEVENTS_ONDBLCLICK = unchecked((int)0xFFFFFDA7), [Flags] public enum BSCFlags { BSCF_FIRSTDATANOTIFICATION = 0x00000001, ...more >>

Get distinct values from a column in a datatable
Posted by jvb at 1/30/2006 11:27:29 AM
I am trying to find a way, other than iterating through every row or requerring the database, to get the distinct values from a column in a datatable. Any help would be appreciated. Thanks. ...more >>

GridView not applying DataFormatString?
Posted by Cesar Ronchese at 1/30/2006 10:56:49 AM
Hello again! :) I'm trying apply a money format in a column in my gridview, but it = doesn't work. See the sample: 'create a datatable Dim dtb As New Data.DataTable Dim dtr As Data.DataRow dtb.Columns.Add("col1", GetType(Double)) 'add rows to the datatable dtr =3D dtb.NewRow dtr.Item("c...more >>

Tell to ASP.Net don't watch some web folders
Posted by Cesar Ronchese at 1/30/2006 9:47:09 AM
Hello All. I made a website using VB.Net 2005, and that website have a folder named "SessionFolders", where I add a temporary folder for each session started, to write some files. For sample: .\SessionFolders\11t1jl45aydbhn55o0cl5fnq\file1.jpg .\SessionFolders\cdoh4d55naelvrm11wgl...more >>

Getting AD Username
Posted by Jim in Arizona at 1/30/2006 9:31:35 AM
I'm more used to making webforms using ASPNET than I am doing windows forms programming. I was trying to figure out how I could get the current users logon name so that I can manipulate code based on who they are. I tried this: Dim username As System.Net.NetworkCredential Label1...more >>

IsDate("ISomeTimesHateProgrammingMarch2005") = True
Posted by MDC at 1/30/2006 9:18:28 AM
Why does this return true: IsDate("ISometimesHateProgrammingMarch2005") Is there another way to verify that this is not a date?? Thanks in advance! MDC ...more >>

extracting part of a graphic in a PictureBox to the clipboard
Posted by ray well at 1/30/2006 8:53:39 AM
hi, i need to give the user the ability to extract a rectangular area of their choice from a graphic displayed in a picture box to the clipboard, so they can use it elsewhere. say the graphic has an image of a house with a door in it and the user is interested in the door. the rectangle is ...more >>

miplementing cut/copy/paste
Posted by guy at 1/30/2006 8:49:35 AM
VB2005 i need to implement cut/copy/paste as menu options using th clipboard is ok, that works however how do i find the active control and assuming it is a text box the portion of text selected? I can not use Form.ActiveControl as that may be a user control which contains the active Text...more >>

Simple (I hope) SteamReader DirectoryInfo question
Posted by eric.goforth NO[at]SPAM gmail.com at 1/30/2006 8:25:04 AM
Hello, When I step through the following code snippet: Dim di As DirectoryInfo = New DirectoryInfo(strMyPath) Dim sr As StreamReader If di.Exists Then Dim fi As FileInfo For Each fi In di.GetFiles("*.txt") ...more >>

Permutation listing
Posted by Eric A. Johnson at 1/30/2006 8:24:58 AM
I'm trying to create a program to list all of the possible permutations of a string of characters. This obviously is equal to x!, where x is the number of characters to permutate. I have created a function to alphabetize the string (I lowercase it before this), and another that swaps any two...more >>

FileSystemObject filter?
Posted by eric.goforth NO[at]SPAM gmail.com at 1/30/2006 7:20:39 AM
Hello, I'm using the Filesystemobject in VB.NET 1.1. Is there anyway to filter on the files based on an extension? Something like: Dim fso As New FileSystemObject Dim objFolder As Folder Dim objFile As File 'Work with the root first objFolder = ...more >>


DevelopmentNow Blog