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 2006 > threads for monday april 17

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

Get table names from MSAccess Datasource
Posted by Steven Smith at 4/17/2006 8:40:35 PM
Hello all, I have a vb6 (not .NET) program using MS Access as the backend. As part of an import form, I need to allow the user to select the table containing the data to be imported. How can I populate a combo with this information? Then, once this value is selected, how can I populate othe...more >>


Store Item Template with Project
Posted by CMM at 4/17/2006 6:51:24 PM
Is there a way to create an "item template" (File | Export Template) where it is only available to the current project? I mean, a lot of the time (most of the time I would say) "item templates" only make sense in the project they were created in... and not have them pollute the generic "Add Ne...more >>

Newbe help with Receive Serial Data Function
Posted by ken at 4/17/2006 3:14:16 PM
Hello everyone, I'm new to visual VB and I am trying to setup communications using the Function ReceiveSerialData() As String example found in the help section of Microsoft Visual Basic 2005 Express Edition. Sample Code: Function ReceiveSerialData() As String ' Receive strings from a ser...more >>

devenv.exe CPU 100%
Posted by Dave at 4/17/2006 3:09:21 PM
How do I disable the syntax compiler or background compiler in VB.NET ? This has got to be the reason why my CPU is always at 100 percent while I'm editing one of my VB.NET projects. It doesn't do it on all of them but this one it does. I basically only want it to compile when I do a build or a...more >>

Detecting ComboBox change in a DataGrid
Posted by nyk52687 NO[at]SPAM gmail.com at 4/17/2006 1:39:48 PM
I have a DataGrid with a ComboBox as one of the columns. When the value is changed, I want to be able to load values based on that from a database into other columns on the DataGrid. How can I go about doing this? Chris ...more >>

stopping current execution
Posted by Selva Chinnasamy at 4/17/2006 12:05:04 PM
I have read large amount of data from Ms-Access database to build BinaryArray. I like to know how can I stop the current execution after it is statrted. Functions build the Binary array is not on a different thread. Any help is greatly appreciated. Selva ...more >>

How to distribute an xml file with a dll
Posted by Dirk at 4/17/2006 11:38:22 AM
I want to distribute an xml file with my dll and to be able to write and read the xml file when any Windows Forms application uses the dll. What is the best approach? Everything I'm reading distributes the xml files with the App (exe). What are the pitfalls? ...more >>

Ubound()
Posted by Mark at 4/17/2006 10:04:06 AM
What is the consensus about using the Ubound function? Should it be avoided altogether? Is there an arry size where Ubound becomes less efficent? Also, is there a better way to increase the size of an array (preserving its current values) besides using Redim Preserve? Thanks, Mark...more >>



reading a file in use
Posted by R. Harris at 4/17/2006 8:38:44 AM
Is there a way to read a text file that is in use by another application ? ...more >>

collection question
Posted by Craig Buchanan at 4/17/2006 8:16:32 AM
i'm sure this question has been asked a number of times, but i can't seem to located the answer... what is the recommend way to build a custom collection in vb 2005, so that i can have have Item property that returns an instance of a class by a key value? for example, Teams("sonics").Wins....more >>

help with converting from VB4.0
Posted by jmarzion NO[at]SPAM yahoo.com at 4/17/2006 8:01:42 AM
I am trying to convert an old VB4.0 application to VB.net and I am pulling my hair out over understanding changes in database connections, etc. I am using a ACCESS database. In the old code, if I wanted to write to the database, I'd simply put something like: myDB = Workspaces(0).OpenDa...more >>

App.comfig file in vb.net
Posted by Coool.Net at 4/17/2006 6:35:04 AM
Hi Frenz how to set the data base name ,server name,user name,Passwd in app.config file..... please mail me ismail.mp@gmail.com ...more >>

Looking for a line graph control.
Posted by Sharon at 4/17/2006 5:43:13 AM
(Frustratingly), after unsuccessfully trying to use a picturebox control to paint a line graph based on serial communications with a remote device, it seems picturebox controls just won't work for this purpose. I have read Bob Powell's helpful articles and he seems to concur that the pictur...more >>

Successfully executing queries
Posted by John at 4/17/2006 3:30:47 AM
Hi I need to run separate insert & update queries. I suppose I can use execute.nonquery to execute the queries. How can I tell if the queries were successful? Thanks Regards ...more >>

Rich text limiting text
Posted by John at 4/17/2006 3:26:16 AM
Hi I am appending text to a rich text box. How can I ensure that the rich text box never overflows by stripping some text from the top when required? Thanks Regards ...more >>

Help for this pls stored procedure
Posted by sebastien1101 at 4/17/2006 2:51:59 AM
In my stored procedure i have : EXECUTE ('select ' + @TotalRecords + ' = count(*) from clients') It doesn't work! and i don't know how i can ? ...more >>

knowing when file has been totally transferred
Posted by chad at 4/17/2006 2:43:01 AM
let's say I'm transferring a large file like 100MB over to a folder. The program detects when the file arrives. However, I can't figure out how to know when the file is totally transferred over. One unsuccessful method is to... dim fi as new fileinfo(newfile) fi.length returns the suppo...more >>

Reusing VB.NET Form dialogs in VC apps
Posted by kun1he2 NO[at]SPAM gmail.com at 4/17/2006 1:57:17 AM
Hmm... reusing VB.NET Form dialogs in other VB.NET projects seems very straight forward. However, I'm now trying to reuse these dialogs within an existing C-based app. The VB.NET project has already been configured for registration for COM interop, so next question is how do I get retrieve/...more >>

urgent: formatting XL cells
Posted by mrid via DotNetMonster.com at 4/17/2006 12:00:00 AM
hi. im exporting data from a vb form to excel. i am able to create a new excel file, save and edit it without any trouble, but the formatting is giving me hell! i need to be able to show certain cells in bold, with underlining etc. i dont understand how, but in the following code, the instructio...more >>

Debug - No output
Posted by Bernard Bourée at 4/17/2006 12:00:00 AM
Debug.Writeline and Trace.Writeline don't produce any output. I found this in the help but I don't have any Configuration Properties tab in the Property Page (VB 2005) To change compile settings from the property pages dialog box 1.. Right-click the project node in Solution Explorer. ...more >>

CapitalExpenditure
Posted by Bernard Bourée at 4/17/2006 12:00:00 AM
I have downloaded the following model from MSDN http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOCapitalExpenditureModel.asp But when opening the solution or the project file I have a message saying that "the project type is not supported" I have...more >>

Generating random string
Posted by John at 4/17/2006 12:00:00 AM
Hi I need to generate a string of six random characters to act as the first password. Is there an example of how to do this somewhere? Thanks Regards ...more >>

Reading application settings
Posted by John at 4/17/2006 12:00:00 AM
Hi I have searched help and web for the answer to this but can't get a clear enough answer. I have defined an application setting as Interval of type long and value 1000. My question is; how do I read this setting in my app programmatically? Thanks Regards ...more >>

Continuous integration tools for VB6?
Posted by Bit byte at 4/17/2006 12:00:00 AM
I have a larg(ish) project consisting of over 40 seperate projects, of which about 30 are C/C++ Dlls and the remainder (will be VB6 GUI applications). I have finally opted for VB6, after spending about a year, evaluating both Java and C# (in that order). The problem though is, are there any...more >>

Examples of ADO Net
Posted by Mike TI at 4/17/2006 12:00:00 AM
April 18, 2006 Hi I am new to VB.Net and am using VB.Net 2005. Can someone point me to a site that gives good working examples of playing around with data using ADO Net. Thanks Mike TI ...more >>


DevelopmentNow Blog