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 > april 2007 > threads for monday april 23

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

FormClosing and FormClosed ?
Posted by Pascal at 4/23/2007 9:55:47 PM
bonjour does somebody explains to me the difference beetween frm_roman_FormClosing and frm_roman_FormClosed ? Where do i have to call the sub fermer() to be sure nothing remains in memory? When i quit this form with the red cross on the form and reopen it after, there is always some str...more >>

parameterized query from code
Posted by Ken at 4/23/2007 9:01:15 PM
Can anybody see where this is failing? Private Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click da.SelectCommand.Parameters.Add("@CustomerID", SqlDbType.VarChar, 40) Dim ds As New DataSet da.SelectCommand.Parameters("@Cust...more >>

problem with postback
Posted by Harry at 4/23/2007 7:04:49 PM
Hi, This aspx page (let's call it thispage.aspx) fetches data from a sqldatasource, then performs several things (in code-behind) and, to simplify, passes data from code-behind via a hiddenfield to a javascript in the aspx file. This javascript performs things and finally send data via a ...more >>

strings and input files
Posted by Marco Trapanese at 4/23/2007 6:00:46 PM
Hello, I have to define a structure for a plain-text input file. It should have some general text fields and a long table of values. These values are grouped by rows and can be integers, floats, strings. Here an example: Title Description Others... val11, val12, val13 val21, val22, ...more >>

short circuit a recursive function
Posted by Rick at 4/23/2007 5:25:39 PM
I have the recursive function below which I use to find a datagridview with a certain bindingsource. When the grid is parented by a control with only one child (the dgv) the function works ok, but when there are multiple controls the function calls itself and eventually returns "Nothing" if...more >>

VB.NET ClickOnce
Posted by Meelis Lilbok at 4/23/2007 3:50:11 PM
Hi I have made a project with vb.net and publish it(clickonce) On firs laucnh app creates a xml file in startuppath\database\file.xml Now when i update my app and publish it, after dwonloading updates on client machine cliconce "deletes" my directory and file. How to prevent this? M...more >>

microsoft.visualbasic namespace obsolete?
Posted by cj at 4/23/2007 2:14:10 PM
I am under the impression they are obsolete methods included for backward compatibility. For instance is using filedatetime("c:\myfile.txt") still the accepted way of getting the date c:\myfile.txt was last modified? I see filedatetime is in the Microsoft.VisualBasic namespace. Is there s...more >>

Throwing ArgumentExceptions in Property Setters
Posted by Mike Hofer at 4/23/2007 11:38:07 AM
Quick question. When you guys throw an ArgumentException (or one of its deriviatives) from a property setter, what do you use as the argument to the exception's constructor? For instance: Throw New ArgumentOutOfRangeException("value") Passing "value" seems less helpful than it should be; ...more >>



Hot Spot Image
Posted by Todd Sparks at 4/23/2007 11:29:34 AM
Is it possible to have an image with Hot Spots in an application (Windows Forms) created using VS 2005? If so, how? Thanks, Todd Sparks ...more >>

How do I trigger the writeline method to write to a text file by keyword and end another key word
Posted by Quentin at 4/23/2007 5:51:23 AM
Any code on how to start write to a new file would be appreciated. In the example below: How would I start the write to a file on the word "Recipe" and then write every line beneath it until "End of Recipe" dfgsdgfsdfgsdgf dgfsdfgdfgsdfsdfgsdfg "Recipe" edsadfasdfasdfasdfasdf sadfasdf5twtg...more >>

How to sort a XML file??
Posted by richardkreidl NO[at]SPAM northwesternmutual.com at 4/23/2007 4:32:29 AM
I heard of importing your xml doc into a dataset, then sort the dataset and re-populate your xml, but I'm not sure how to code this or is there another way of sorting a XML file? I not familiar with Dataset coding and how that would work. Here is my XML file: ?xml version="1.0"?> <Individual...more >>

Problems with SQL server
Posted by Toni at 4/23/2007 12:00:00 AM
I have some program in VB6 (I can make new in .NET if it is necessary). This program is working with SQL Server 2000 database from long distance (computers are in agencies and is connected to DSL and VPN connection). Every few days some of computers can not connect to sql server, but other c...more >>

POS Printer in .NET
Posted by Toni at 4/23/2007 12:00:00 AM
How to use POS Printer in .NET. I am searching by google but every code doesn't wok. I need some code (VB or C#) for printing on POS printer (printer for bills, bus, train or boat tickets snd similar)? Do you have some code (I work in Visual Studio 2005)? ...more >>

singleton
Posted by Nick C at 4/23/2007 12:00:00 AM
Hi I would like to implement a singleton in vb.net. The application only can be run by one user at the time. Does anyone have any articles/samples that can help me with this problem? thanks N ...more >>

DOS/UNIX/MAC files
Posted by CoRrRan at 4/23/2007 12:00:00 AM
I would like to know how I can check, prior to opening a textfile, for DOS/UNIX/MAC formatting of the file. Is there a way to do this, or is it impossible? Thx, CoRrRan...more >>

character encoding
Posted by LiMBi at 4/23/2007 12:00:00 AM
Hi, Is there a way to encode "??????????? ??????????" to "¶ÒÁ¹Ô´¹Ö§¤Ð µÃ§·Õèà»ç¹" and vice versa. Thanks ...more >>


DevelopmentNow Blog