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 2004 > threads for sunday january 25

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

Run Msi with no administrator account
Posted by Li Pang at 1/25/2004 11:51:05 PM
Hi, I used NT administrator account to run a msi file for installing an application. I'd like to know if there is a way to run msi with any regular accounts as the administrator right? Thanks Li...more >>

Where is datacontrol of vb6 available in vb.net
Posted by Maruthi Seshidhar at 1/25/2004 10:31:06 PM
The datacontrol available in vb6 toolbox is not available in vb.net toolbox. where can I find it....more >>

Mixing .net languages
Posted by Tim at 1/25/2004 10:16:05 PM
Hi I have a program that I had written in Managed C++ that writes messages to the console while running. I wanted to allow the user to enter commands at the console as well, but this became difficult since the console was continuously being updated with messages. I thought to write a VB fron...more >>

CheckedListBox TabStops
Posted by VCIF at 1/25/2004 9:41:04 PM
Hi SendMessage LB_SETTABSTOPS works for ListBox but does not work for CheckedListBox. The CheckedListBox does have UseTabStops=True and does in fact show the tab spacing. The problem is that the tabstops are in awkward places for my data. Any suggestions? Is this "by design" for the CheckedListBo...more >>

replacements for chr() and asc()
Posted by John A Grandy at 1/25/2004 9:34:05 PM
in vb6 it was very common to use the functions chr() and asc() to perform various kinds of string manipulation ... these are still available in .net ... but i would guess that it would be better to switch to "the .net way of doing things" ... any ideas anyone? ...more >>

how to prevent application to run more than one instance ?
Posted by Daylor at 1/25/2004 9:07:36 PM
how to prevent application to run more than one instance ? ...more >>

Clearing A Datagrid
Posted by Ed Bick at 1/25/2004 9:01:19 PM
I am binding a datagrid to SQL Adapter. I am wanting to clear it out and populate with a different data set based on user action. I can not seem to find the equivalent to a VB6 Clear method. Can anyone please help me with this, I'm sure very simple task. Thanks ...more >>

Global application parameters
Posted by Gort at 1/25/2004 9:01:05 PM
Hello I'm starting to do a little application for fun with VB.NET and would like to store some information about the user (name, point already won), loaded from a Xml file after login identification. Is there a way to store those information easily in an object global to the whole application ?......more >>



adding a text box to the fileopen dialog.
Posted by AussieRules at 1/25/2004 8:36:18 PM
Hi, Is it possible to add a text box to capture some extra data in the fileopendialog control. If not, is it is to mock up a copy of it ? ...more >>

NetworkStream
Posted by Kai Thorsrud at 1/25/2004 7:41:04 PM
Hi! How do i check: if "NetworkStream.Null = true then" it says .Null does not supports type Boolean Thanks /Kai ...more >>

Invalid property value window
Posted by Lance at 1/25/2004 7:36:06 PM
Is there any way to have a custom property display the window that appears when an invalid property value is entered in a PropertyGrid control? I'm refering to the window that has the title "Properties Window" and displays the message "Invalid property value." The window also has the "Details" but...more >>

How to Programmatically Move Column in DB Grid ?
Posted by Mat at 1/25/2004 5:52:49 PM
in my program options, users can reorder DB grid columns( in listbox) Then, i want to programmatically simulate col move event and reorder the columns. Help plz ...more >>

How to force reference update?
Posted by John Lafrowda at 1/25/2004 4:48:34 PM
Hi all, I'm trying to handle two projects in one solution (.net 2002, both projects are VB). The first project contains only some public constant definitions (for the moment) and compiles into class libarary. The second one is builds an executable which has a reference to the assembly of the f...more >>

run time environment variable
Posted by Hei at 1/25/2004 4:37:38 PM
how to handle environment variable that difference in design time, such as database server name, even in program and Crystal Report. thx. Hei ...more >>

VB.Net - MDI Application - Can a child borrow from a parent?
Posted by RonInOttawa at 1/25/2004 4:14:37 PM
I have an MDI application that has about a half dozen child forms. 3 or 4 of them create the exact same dataset to retrieve information from a SQL Server database and populate a combo box. I was thinking that if I could simply create the datasets (2 of them) in the parent then I would save a l...more >>

Combobox1.item.clear problem
Posted by feng at 1/25/2004 3:48:50 PM
The Combobox1.item.clear doesn't seem to work for me correctly. I have a Combox with a datasource bind to it. When I try to clear the Combobox with the following code: Combobox1.DataSource = Nothing Combobox1.items.Clear Even though the items in the dropdown list are gone now, I still ...more >>

ComboBox questions
Posted by Mika M at 1/25/2004 3:00:32 PM
Hello! I'm using VB.NET 2003 and application type is Windows Forms. I have created into DataSet a table named as 'Teams' containing columns (fields) ID, Team, and Description. After that ComboBox (cboTeam) is populated using this 'Teams'-table like ... cboTeam.DataSource = ds.Tables("Te...more >>

How to display content of html page in Vb.net Form
Posted by Al at 1/25/2004 1:51:06 PM
Hi Many thanks in advacne, does anyone know how to display contenet of a Html page on a VB form.? can this be display in a RichRextBox? if yet how.. Many thank Al...more >>

Class Attributes Info?
Posted by dasmart at 1/25/2004 1:41:05 PM
I'm new to the .NET world and am in the process of learning about VB.NET classes. I've tried to find information on class attributes (overview, when/why to use them, etc.) but every link from MSDN says "page not found". Can anyone point me to basic information on class attributes or is there some...more >>

Get all directories and files
Posted by ltt19 at 1/25/2004 12:56:06 PM
Hi Does anybody knows hot to Get all directories and files in a HDD. I took a look at System.IO.IsolatedStorage.IsolatedStoregeFile but I could not specify the HDD that i want (for example D: or C: If somebody has any idea... Thanks.......more >>

Thread Abort and SyncLock
Posted by fred at 1/25/2004 12:53:58 PM
I use a Synclock in a secondary thread and also stop the thread using the abort method. If the abort occurs while the thread is in the Synclock will the SyncLock always be released before the thread stops or do I need to add some extra code to avoid Synclock staying on after the thread has been ...more >>

Listbox Question
Posted by Ed Bick at 1/25/2004 10:31:20 AM
I added items to a listbox as follows: Dim datDrivers As New SqlConnection(SQL_CONNECTION_CB) Dim adpDrivers As New SqlDataAdapter(MySelectStatement,datDrivers) adpDrivers.Fill(DriverData, DRIVER_TABLE_NAME) lstDrivers.DataSource = DriverData.Ta...more >>

Accessing another forms controls
Posted by Tim Fitzgerald at 1/25/2004 10:24:29 AM
Hello all, I have no problem accessing another form in my app.. however, when I try to access a ListView on a different form, I come up empty... Basically, Dim pForm As New frmMain Dim iCount As Integer iCount = pForm.lvJobList.Items.Count iCount is zero? Yes, there are items there. :)...more >>

Datagrid Questions
Posted by Ed Bick at 1/25/2004 10:09:54 AM
I know how to do this stuff so easily in VB6......... 3 questions. I have loaded a grid by binding it to a dataset. All is well with that. 1) How do I retrieve the value of a column when a user clicks on a row? I use a Sheriden grid in VB6 and would do something like: MySt...more >>

Coordinates related to form and not screen
Posted by hugage NO[at]SPAM hotmail.com at 1/25/2004 9:13:00 AM
Hi, I have a form which has a panel which has a picturebox inside of that. When a user clicks on the picture, it zooms by x2. The panel has autoscroll set to true, so when the image is larger then the panel, I can scroll to a different part of it. What I'm looking to do is when a user clicks ...more >>

How to clear combobox?
Posted by feng at 1/25/2004 9:04:36 AM
In our VB.Net Windows form application we have a combobox pre-populated with a list of items. What I need is simply clear everything from it's dropdown, when a button is clicked. I tried everything I can think of, such as set data source to nothing, etc., but still not been able to make it...more >>

Odd VB .Net 2003 editor behavior when working with labels
Posted by krumpenj NO[at]SPAM muohio.edu at 1/25/2004 9:03:48 AM
When typing the name of a label, followed by a period: Label1. The dropdown list of properties and methods ALWAYS defaults to highlighting the "TextAlign" property. What's worse, if I type: Label1.Text and press the spacebar, ".Text" is automatically changed to ".TextAlign" I...more >>

Convert String do double "," "."
Posted by wwwmike NO[at]SPAM gmx.ch at 1/25/2004 8:21:11 AM
Hello How can I convert a string to double with a decimal point as seperator? ***CODE**** strNumber ="12.00" dblDouble = Cdbl(strNumber) **** dblDouble holds now the value 1200. But I want it to hold 12.00. I am not very familar with CurrentUIculture,CurrentCulture,Thread.CurrentTh...more >>

I can't print the chinese character to the dotmatrix printer directly
Posted by kmtai at 1/25/2004 7:56:04 AM
vb --- Open "lpt1" For Output As #FileNu Print #FileNum, "abcd and some chinese characters --- Only a-z and 0-9 will be printed ...more >>

Bulk Insert Problem
Posted by SteveH at 1/25/2004 7:41:05 AM
Attempting to use BULK INSERT to transfer data from a csv to a table in a dbo on an instance of sqlServer (MSDE). I’m very new at both sql server & vb.net. I keep getting an error Unexpected End-Of-File (EOF) encountered in data fil The destination table has been created just for this data & I...more >>

Programmatically Creating File Shortcuts
Posted by tomp at 1/25/2004 5:31:05 AM
Does anyone know how to create file shortcuts in a VB program?...more >>

More than one parameter??
Posted by jy836 at 1/25/2004 2:15:31 AM
I am trying to display a bunch of rows from a database in a DataGrid, and I want to sort them by year. I decided to use the "WHERE (yearID BETWEEN ? And ?)" query in the OleDbDataAdapter to get only the rows from the database that were between two different years (which are specified at run-time)...more >>

Array?
Posted by Able at 1/25/2004 1:53:23 AM
Dear friends Help me with an array task, I'm too old for this. I have an two dimensional array myArr(x,y), imagine y is rows. I want to preserve the existing array and add a new row to it. Then I want to move every existing row down one row and make place for new items in myArr(x,0) Regar...more >>

Passing an array between VB.Net and C++ and back
Posted by T at 1/25/2004 1:27:42 AM
I am working on a project that requires VB.Net code in one project in the solution to call C++ code in another project in the same solution. I have already figured out that I have to set up the C++ class like this: Header file- typedef unsigned char u8; typedef unsigned int u32; Cpp file...more >>

Ximple Xpath question
Posted by Ot at 1/25/2004 12:20:55 AM
I have this tiny problem. I have learned that an xpath expression can be bounded by either single or double quotation marks. But sometimes I want to search for a title containing both a single and double quote. Any way to do this? The user enters the title, so now it is in a String variabl...more >>


DevelopmentNow Blog