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 > february 2005 > threads for tuesday february 1

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

Matching data from table in VB
Posted by cmwong76 NO[at]SPAM hotmail.com at 2/1/2005 11:50:35 PM
I have a problem using VB which I'll try to explain: In sheet A I have a table with : column 1: dates (e.g. 01-01-2005) over a range of 3 years column 2 till 8: numbers In sheet B I have a row with dates (say row 1) what I want to do is to use the date of row 1 in sheet B, look it up in ...more >>


Process.Start
Posted by genojoe at 2/1/2005 11:09:01 PM
The command below opens a Word document but to use it I need to know the path for Winword.EXE Process.Start(C:\Office2003\OFFICE11\WINWORD.EXE, C:\Data\Print.rtf") Is there a command that I can use to open it without knowing the path by using the Information that Windows has for Registered...more >>

Webform datagrid column width
Posted by PLSH at 2/1/2005 11:07:03 PM
Good day, I hope some one can help. I would like to programmatically set the width of my webform datagrid columns. Preferably to a set width or otherwise to autofit the entire datagrid. Please can some one help me Thanks in advance....more >>

sending mails
Posted by krishna at 2/1/2005 9:47:52 PM
Hi, I have a doubt stating that i have to send the email with some message how to do it in ASP.NET. Regards, Krishna....more >>

How to use Microsoft Office Chart control ?
Posted by Scott H at 2/1/2005 9:41:37 PM
Hello, I'm trying it use the Microsoft Office Chart control 11.0 in VB.net (for a windows forms project) and can't seem to get it to work, I've been playing around with various snippets of code. below is what I've got at the moment, I'm trying to feed in literal numbers. I placed a chart c...more >>

DataAdapter returns 0 results, what am I doing wrong?
Posted by Matt Michael at 2/1/2005 8:50:50 PM
I'm using ADO .NET to connect to a Microsoft Access database, and everything so far has been working in my program except one small problem. I am constructing a query string to search for certain results from a table, and it does not seem to return the correct results. Dim dtResults As Ne...more >>

Dynamic Property Addition to PropertyGrid Ctl (VB.Net)
Posted by otto at 2/1/2005 8:34:47 PM
Hi , I have a requirement in my application where in a list of properties are show in the property grid control. The senario right now is , i use the property control provided in .net to show a set of properties by creating a class with private members and defining their get set meth...more >>

vbnet installation question
Posted by Jim at 2/1/2005 8:05:32 PM
Please don't laugh--I'm serious about this-- I finally got around to installing the copy of VBNet I bought last summer. I didn't see any installation instructions in the box--just a bunch of advertisements, a couple posters and a beginning programming book. So I put the Visual Studio CD i...more >>



Stop a Console App from exiting?
Posted by Terry Olsen at 2/1/2005 7:05:43 PM
I've used the following suggestion from one of the MVP's here: 'Add a reference to 'System.Windows.Forms.dll', import the ''System.Windows.Forms' namespace, and call 'Application.Run' at the end of 'your 'Sub Main'. Then you can call 'Application.ExitThread' to quit the 'application. Is there...more >>

date time picker binding bug
Posted by Johnaton at 2/1/2005 5:30:37 PM
hi, I have this problem with the date time picker, when I bind the control to data table and add new record, it is ok, however, if I delete all records via a button using the me.bindingcontext(datatable).removeat(me.bindingcontext(dataTable).position) statement, it always throw the following...more >>

How do i identify the Value change of a Datagrid column?
Posted by Reny J Joseph Thuthikattu at 2/1/2005 5:08:20 PM
Hi, I want to do some validation on the Value change of a Datagrid column.Can any one tell how do i do it? Regards Reny ...more >>

Upd SQL Srvr table with text file
Posted by Marc Miller at 2/1/2005 4:22:12 PM
I'm trying to update (insert into) an SQL Server table with a dataset that I filled from an Odbc dataadapter. I must be dumber than a rock, but I can't figure it out nor can I find any examples on the web. Could someone pleeeeze point me in the right direction? Tks, M. Miller ...more >>

TreeView double click event
Posted by HS1 at 2/1/2005 4:02:20 PM
Hellow all Could you please tell me how to do if I want to print (using console) any node in a TreeView when I "double" click a node (in a Windows application). I tried to use TreeViewAfterSelect event, However, it is not good as it is single click. Thanks SH1 ...more >>

How to start suspended thread?
Posted by Brett at 2/1/2005 3:26:53 PM
Once a thread is put into suspended mode, how is it restart? Calling Thread.start() will throw an error. Thanks, Brett ...more >>

Need help declaring PathCleanupspec
Posted by Buddy Robbins at 2/1/2005 2:49:07 PM
Hey folks, I'm trying to use the PathCleanupSpec function from the shell library. The function prototype is: int PathCleanupSpec( LPCWSTR pszDir, LPWSTR pszSpec) In the old days of VB6, I would make the parameters Longs, and use the StrPtr function. Begin new to Dot Net, I can't figur...more >>

declaring array of type Dim q As Double(,)
Posted by mark at 2/1/2005 2:11:03 PM
When I declare an array as double(,) then try to use it I get an error: "Object reference not set to an instance of an object." I have found that I can redim the array and all is well. Is my approach proper here or is the a better way for setting the instance of this specific format for an ar...more >>

Crystal Report
Posted by Arsalan at 2/1/2005 1:56:52 PM
Where do I get excellent tutorials of Crystal Report [which is included in VS.NET] ? ...more >>

Minidump
Posted by Fredrik Melin at 2/1/2005 1:11:04 PM
Has anyone here been able to create a _working_ minidump from VB.NET (managed code) for debugging? If so, do you want to share the code how you did it? Regards Fredrik ...more >>

VFP update from another table
Posted by Chris Morton at 2/1/2005 12:47:02 PM
Not sure if this is the right location for this question. I Saw several previous FP questions in this Group and did not see one for VFP.... If this is the wrong group, please direct me appropriately. I have two tables and I would like to update a field in table1 based on data in table2. ...more >>

Unique items
Posted by Geoff Jones at 2/1/2005 12:32:57 PM
Hiya I have a datatable with some columns. I would like to be able to retrieve a list of the items in a column but only once e.g. if the column held A,A,B,C,D,E,D then I'd like to be able to retrieve A,B,C,D,E. Can anybody suggest how this can be done? Thanks in advance Geoff ...more >>

How to change form icon?
Posted by Brett at 2/1/2005 12:11:40 PM
How can I change the icon of a form? This is the icon that appears in the upper left corner. Thanks, Brett ...more >>

Regular Expression
Posted by Richard Wilde at 2/1/2005 12:07:27 PM
How do i match and return true for this string as a regular expression? Gdd_dd Where dd is a single digit Can anyone help me? Thanks Rippo ...more >>

disabling (greying out) tabs on a form
Posted by ian NO[at]SPAM nullvoid.co-dot-uk.no-spam.invalid at 2/1/2005 11:56:08 AM
I have a form with numerous tabs on it but when the user chooses a specific option I want all but one tab to be disabled (greyed out but still visible). Can anyone tell my how I may do this? Thanks *---------------------------------* Posted at: http://www.GroupSrv.com *---------------------...more >>

newbie memory question
Posted by Neil Wallace at 2/1/2005 10:57:23 AM
Hi all, I have a program for race timing which currently stores to a dataset. for a variety of reasons, I want to change this to an array. If I have 500 participants, I will need to store 500 times format "hh:mm:ss.00" and the order in which they cross the timing points. so the array wil...more >>

[IIS] The Tilde
Posted by Mythran at 2/1/2005 10:27:07 AM
In other web servers, more specifically apache and even non-web servers you can use the tilde character to specify the root directory, or home. Before I go reinventing the wheel (by parsing a tilde in the web controls for iis) is there a setting that allows similar functionality in IIS? Th...more >>

Select Format Section menuitem does not display the format section form
Posted by Phillip at 2/1/2005 9:45:30 AM
I can't get it to display. I have been to windows update thinking it might be a dot net version issues but it appears I am up to date. ...more >>

problem hiding columns in a datagrid using vb.net 2003
Posted by Federico Caselli at 2/1/2005 9:45:05 AM
I made a form with a datagrid called MyDG. The datagrid has a typed dataset as datasource (MyDS). I put the following code in the load event of the form to hide the id column: MyDS.MasterTable.IDColumn.ColumnMapping = MappingType.Hidden Strangely, when the datagrid appears for the first t...more >>

Converting Web References
Posted by Michael Turner at 2/1/2005 9:03:22 AM
Hi Guys I have three solutions, one contains the database Schemea and Commands(webservices), the other is full of web references to this file and the other is my main application. I need to be able to make this whole solution run on a machine without IIS or another web server running, do...more >>

HELP: Add A Custom Button To The Caption Bar Of Window Form
Posted by Daniel Friend at 2/1/2005 8:48:41 AM
How do I add a custom button to the caption bar of a form like AOL does for it's favorites. Thanks, Dan ...more >>

Strict on, Array of double, late binding
Posted by mark at 2/1/2005 7:57:08 AM
I know I am being incredibly dunderheaded about this consider the following: STRICT ON Dim a(,) As Double = {{1, 2}, {3, 4}, {5, 6}} Private Sub T1(ByVal a As Array) Dim i, j As Integer For i = 0 To 2 For j = 0 To 2 a(i, j) = 2 * a(i, j) Und...more >>

Field values in word 2002
Posted by Erwin Qazi at 2/1/2005 5:11:03 AM
Hi, First off: I'm totally a noob! I want to program this in word 2002: if the document is a .dot file then DocCode (a field name) is DocCode if the document is a .doc file then DocCode = filename This way the document always has the right name when printed. (a .dot renames it self wh...more >>

Maybe as stupid question
Posted by Nikolay Petrov at 2/1/2005 4:16:26 AM
I have an arraylist. In specific intervals of time I want to get the data from this array list, clear it, and start putting new data in it. But I run into problem. Me code: Dim ar1 as New ArrayList ' Code to add items to ar1 Dim ar2 as New ArrayList ar2 = ar1 ar1.Clear At this point the a...more >>

saving string array to disk
Posted by Nikolay Petrov at 2/1/2005 3:18:37 AM
I have a string array, which I need to save to a file. The array may grow to thousands of elements. My question is what is the fastest way to save it as text file? The StreamWriter accepts String as parameter, but converting the array to a single string takes a lot of time (by using a For loop a...more >>

Multiple forms
Posted by Helen Trim at 2/1/2005 1:27:21 AM
I have an application with three forms that are msde visible and activated when needed. It uses Word to open documents and one of the forms is opened as the Word document is closed in the DocumentBeforeClose event. It works the first time but when it makes the form visible for the second...more >>


DevelopmentNow Blog