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 > september 2004 > threads for friday september 24

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

listbox frenzy
Posted by rodchar at 9/24/2004 10:53:04 PM
Hey all, I was wondering if you databind to a listbox, can you at the same time have an extra item in there like say, <new> ? thanks, rodchar...more >>


Application.Exit() problem post number #2 I've made the correction suggested.
Posted by Mike Johnson at 9/24/2004 10:30:04 PM
The sub is being called from the Sub New(). If I can't use Application.Exit() in this situation then how do I exit the application? please help. Public Sub Check_For_Dir() Dim MyPath, MyName As String MyPath = FilePath ' Set the path. MyName = Dir(MyPath, FileAttribut...more >>

Any email validation functions?
Posted by VB Programmer at 9/24/2004 10:08:14 PM
Does anyone have any VB.NET functions which validate an email address? Could you post it? I would like it to do as much as the regular expression validator if possible. Thanks in advance! ...more >>

Link a text box to cell in excel 2002
Posted by Paul at 9/24/2004 8:48:15 PM
Hello I have an automated excel 2002 spreadsheet. I would like to draw some of the cell values out of excel into some text boxes. I'm real new at VB.net. I would appreciate any assistance that gets me started. Thanks, Paul ...more >>

Display Problem when Windows Font set to 120 dpi
Posted by Charles Law at 9/24/2004 6:42:48 PM
I have just noticed some strange effects on my laptop, which is set to 120 dpi. It is a Dell widescreen laptop set to 1680 x 1050, and at 96 dpi the text is too small. However, at 120 dpi, my Windows forms application doesn't always create my user controls correctly. Checkboxes are only half-d...more >>

Service Question
Posted by Michael Chong at 9/24/2004 5:24:05 PM
(1) what is the difference between web service and windows service? (2) Can web application use windows service? (3) Does web application support client/server methodology in webform? TQ Michael. ...more >>

drawing Cirles and Lines above a Picture in PictureBox
Posted by DraguVaso at 9/24/2004 4:47:52 PM
Hi, I have a PictureBox in which I have a picture displayed. Now I want to have some lines and circles drawed above the picture. How do I do this? thanks in advance, Pieter ...more >>

Reflection (I think)
Posted by Dennis at 9/24/2004 4:41:01 PM
I have a class that has 150 properties and I would like to, in additon to calling the properties like myclass.property1, I would also like to be able to call the property using an index string. For example; Public Class myClass public property prop1() end property end class Public...more >>



Web reference
Posted by Nikolay Petrov at 9/24/2004 4:16:31 PM
Can I add a Web reference to ASP .NET service at runtime? And if Yes, how to do it? TIA ...more >>

can I manually do this?
Posted by rodchar at 9/24/2004 4:03:02 PM
Hey all, I was wondering if I wanted to run the listbox1_SelectedIndexChanged by calling it in my code(without actually clicking on the screen), how can I do this? thanks, rodchar...more >>

SQL Server problem
Posted by Nikolay Petrov at 9/24/2004 4:02:08 PM
I get errors while I try to connect from ASP .NET Web Service to a SQL server. After an hour of debuging I found that the problem is the authentication between ASP .NET worker process and the SQL server. After I changed the user in web.config file for the ASP .NET service everything went wel...more >>

VS.NET 2005 Beta and VS.NET 2003 on the same computer???
Posted by Lars Netzel at 9/24/2004 3:44:18 PM
I have gotten the VS.NET 2005 Beta version in the MSDN package... It seems like FrameWork 2.0 is also required for that... Is there any problems installning this on the same system as a VS.NET 2003? Best Regards /Lars Netzel ...more >>

problem passing structure to constructor
Posted by Steve at 9/24/2004 3:11:03 PM
Hello, I created a public Structure in a Standard Module and also an array of Structures. Then I load data into the array of structures in a public sub that I call on the Form load event. Next I have a class, and I want to pass a structure member from my array of Structures to the class...more >>

GetThumbnailImage method with ListView
Posted by Cor Ligthert at 9/24/2004 2:49:37 PM
Your clock or region setting is probably wrong ...more >>

Reading an (RTF)Rich Text Format or MS-WORD file in Vb.NET
Posted by Eshban Bahadur at 9/24/2004 2:29:03 PM
Hello, I want to read (RTF) files in my VB.NET programme. How can i do it. I apply the same method of reading text files, but it does not save the formatting of text like (bold, italics, underline) etc. So , how can i make programme which allows me to read (RTF) Rich Text Format files or M...more >>

Newbie: Read/write XML file
Posted by Adriano at 9/24/2004 2:03:12 PM
hello, I have the following XML file (config.xml): ******** <?xml version="1.0" encoding="utf-8" ?> <configuration> <dbSettings> <add key="dbhost" value="SQLSERVER" /> <add key="dbuser" value="user" /> <add key="dbpass" value="pass" /> ...more >>

Beta Readers Wanted - Visual Basic 2005
Posted by Jesse Liberty at 9/24/2004 1:55:27 PM
I am writing a new book on Visual Basic 2005, targeted at VB6 programmers, and to some degree VB.NET 1.x programmers. I'd like to sign up a (limited) number of volunteers to read the book and provide feedback. To participate you would... 1. Sign a non-disclosure agreement 2. Read each chapte...more >>

performancecounter
Posted by JvCoach23 at 9/24/2004 1:54:52 PM
I'm trying to write some that is database driven. What it does it loop through a dataset and populate the categoryName CounterName InstanceName MachineName properties of the performancecounter object (I think I have the speak right there) Anyway, when I run the console app, the value...more >>

how to use theme in winForm
Posted by Brian Hu at 9/24/2004 1:53:09 PM
Hi I am new to vb.net and trying to build a VB.net winform application. I really like the new look of buttons, readio buttons etc. on my WinXP box. But only thing is I cannot make it consistent with my form background color (greyish by default?). My question is, how can I can change my form b...more >>

Combo Box coding on visual Basic.NET
Posted by Robert Repsher via .NET 247 at 9/24/2004 1:14:22 PM
(Type your message here) My professor left the class to learn Combo Box on our own=2E= Building it was not a problem=2E But what event am I supposed to= associate with this object? How do I code so that when the user= picks from the list his/her choice is recognized as a string?= The proced...more >>

Odd GetConfig problem
Posted by J Holsinger at 9/24/2004 11:54:09 AM
In VB.Net solution I have Standard Windows app and a Web app that references a Class library. Both the Win app and the class library use the same technique in the code files for retrieving identical custom config sections in their respective app.config's. The win app runs without error, the cla...more >>

Newbie: Dataset - ComboBox synchronization
Posted by steve at 9/24/2004 11:41:12 AM
Hello, I have two questions involving Datasets and populating ComboBoxes and other controls with them. 1) Two cmbboxes are populated by two different fields of the same table and, of course, synchronized. However the second field is not required in the DB and missing contents sometimes. Ex...more >>

selected item
Posted by Frank at 9/24/2004 11:40:27 AM
Hi, how do I set a line in a listview (detail) to selected programmatically? Thanks in advance Frank ...more >>

VB.NET Datagrid Editable Column Header Names?
Posted by simchajoy2000 NO[at]SPAM yahoo.com at 9/24/2004 10:47:45 AM
Is it possible to allow users to edit datagrid columnheader names during run-time? And it is possible to create "header names" for rows in a datagrid as well? Thanks!! Joy...more >>

Compiling for setup
Posted by Bob Hollness at 9/24/2004 9:58:05 AM
OK, sorry for the silly question but..... I have been writing apps for a while now in VB.Net but I have always just run them from the IDE. This time though I have written an app that I want to install on many computers. So, I went to the program group looking for "Package & Deployment Wiz...more >>

Why is this event firing?
Posted by rodchar at 9/24/2004 9:49:02 AM
Hey all, I've the following code: Dim _postBack As Boolean = False Dim _ds As New DataSet1 Dim _dt As DataSet1.CustomersDataTable Dim _dr As DataSet1.CustomersRow Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loa...more >>

Question Paper
Posted by Rohit Sharma at 9/24/2004 9:43:42 AM
Hi, I'm currently preparing for an interview on VB.Net Development.. could someone please give me an idea as to what type of questions can one ask (it's a practical test) and what sort of things I should be prepared for? It's going to be on VB.Net and connectivity with SQL Server perh...more >>

Passing a Datavie to a Subroutine
Posted by Larry Bird at 9/24/2004 9:15:03 AM
I want to pass a dataview to another subroutine. I've successfully created the datavew as follows: For Each CriteriaDetailRow In AlertData.AlertDS.Tables("EventCriteria").Rows Dim foundRows() As DataRowView = Min_NumView.FindRows(New Object() {CriteriaDetailRow.Item("Mi...more >>

Passing a dataview to a subroutine
Posted by Larry Bird at 9/24/2004 9:01:52 AM
I've successfully created a dataview that I want to passing to another subroutine. See Example below: Creation of dataview: For Each CriteriaDetailRow In AlertData.AlertDS.Tables("EventCriteria").Rows Dim foundRows() As DataRowView = Min_NumView.FindRows(New Object() {Cr...more >>

Single Sign On in Web Application & WinForm Application
Posted by Yavuz Bogazci at 9/24/2004 6:27:04 AM
Hi, i have a question: I have a ASP.Net based WebApplication where Users have to Login to authenticate. I have a Desktop App wich needs the same Auth. information, too. But i have solved it in the way, that the user has to login in both Apps separate. The Users doesn't want such a soluti...more >>

Iterating through a HashTable
Posted by Ken Foster at 9/24/2004 4:13:03 AM
I have a hashtable keyed by some name, holding an instance of an object. Most of the time I use the hashtable in the traditional sense, given a name, I lookup the object, then I run a method on that object. Occaisionally however I need to run a method on every object in the hashtable. I've don...more >>

How to give my windows application a animated and transparent icon?
Posted by Jessie at 9/24/2004 3:47:07 AM
Thanks. ...more >>

How can I obtain the name/i.p. of my dns server ?
Posted by vbsearch at 9/24/2004 2:02:13 AM
When I do something like this For Each ip As System.Net.IPAddress _ In System.Net.Dns.GetHostByName(strDomain).AddressList MessageBox.Show(ip.ToString) Next ip would it be correct to assume that GetHostByName uses my local DNS server to perform the translation. If so, is there ...more >>

duplicate in combobox.....
Posted by Supra at 9/24/2004 12:21:03 AM
does ne 1 know how to prevent duplicated in combobox? i convert from vb6 to vb.net. but in vb6 would work. Private Sub ComboBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles ComboBox1.KeyPress If Asc(e.KeyChar) = Keys.Enter Then ...more >>

Background color when control is disabled
Posted by jramaley NO[at]SPAM iname.com at 9/24/2004 12:15:19 AM
Setting the ReadOnly property of my controls changes the background color. The same happens when I set Enabled = False. Where does .NET get the new background color from? Is it configurable? thanks...more >>

Changing a Label control's text when moving a mouse over a button
Posted by siliconpiNOSPAM NO[at]SPAM hotpop.com at 9/24/2004 12:00:59 AM
I'm looking for the simplest and cleanest way of having 10 buttons on a form, on which if I move my mouse over, a label's text changes as specified. I'm using Visual Basic .NET and I'm not too familiar with its intricacies, so I'm getting a bunch of errors on certain scenarios. The code bel...more >>


DevelopmentNow Blog