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 2006 > threads for wednesday february 8

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

Creating a Custom Data Source that implements IList or IListSource
Posted by Richard Bysouth at 2/8/2006 11:55:27 PM
Hi I am trying to create an object that I can use to bind to a grid in my Win app. All of the examples that I have found on custom data sources have the properties (e.g. FirstNamer, LastName) of the objects making up the columns in a grid. In my situation however there can be any number of ...more >>


Unique String Array in vb.net
Posted by Paulers at 2/8/2006 10:40:17 PM
Hello all, I have a string array with duplicate elements. I need to create a new string array containing only the unique elements. Is there an easy way to do this? I have tried looping through each element but I am having issues using redim to adjust the new array. Any help or example code wo...more >>

mdi and form disposal error
Posted by Matt84121 at 2/8/2006 9:13:49 PM
I have a really stupid question, and cannot find the answer elsewhere. I have a mdi that uses a class. One (main) form has two textboxes which takes input, and the input is calculated by the class and then returned to some labels on the same form. When I open the form from a main menu control it...more >>

How to embed the excel worksheet into my forms?
Posted by zhangyl at 2/8/2006 8:55:13 PM
I want to embed the excel worksheet into my application and use it like datagrid, if somebody can tell a solution, whether visual studio 2005 can do it ? thanks. ...more >>

problem with localization
Posted by Chuck Gantz at 2/8/2006 8:41:29 PM
I saw a reply in this group about localization that pointed to a Microsoft Walk-through. I decided to actually go through the walkthrough and had a problem. The site is http://msdn2.microsoft.com/library/y99d1cd3(en-US,VS.80).aspx. The problem is in the code: ' Declare a Resource Manager i...more >>

How to relate two objects
Posted by J-T at 2/8/2006 8:36:06 PM
Hello All, I have two objects one is Product and the otherone is the Category. Category object is like Food,books,Medicine and etc which has different tax rates . My product object has properties like name ,price , CategoryID. I need to create a collection of my products and in this collecti...more >>

DB Connectivity
Posted by DrinkyBanjo at 2/8/2006 7:59:15 PM
All I need to write a paper in my VB .NET class about the importance of the connectivity of VB to a database. Would you know of any websites to visit that would discuss this in detail? Thanks in advance, Tim ...more >>

Threading
Posted by cj at 2/8/2006 4:52:03 PM
I need more information to read about threading in Visual Basic. Hopefully something linear w/o too many links to get lost in. I've been to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconThreading.asp but it is too confusing. I can't find any references...more >>



Tree list view control for .NET 2.0
Posted by Brian Henry at 2/8/2006 4:16:31 PM
Does anyone know of any good tree list view controls out there that are feature complete? We already looked at the one on code project that is free but don't really like it. any commercial products out there that are good? thanks! ...more >>

Dataview cell value
Posted by Brian Shafer at 2/8/2006 4:11:28 PM
Hello, I am a newbi to this fourm and to vb.net.... moving from vb classic. Testing with a database connection, got my data in the dataview control. But now, I want to be able to double click a row and return a value from a cell. Something like what use to be the textmatrix in MSHFlex gr...more >>

Try/Catch question
Posted by tshad at 2/8/2006 3:55:51 PM
Normally, I surround my Dataset/fill or DBreader execut with a try/Catch. Something like: ****************************************************** Dim dbReader As SqlDataReader Dim ConnectionString as String =System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_STRING_Co...more >>

Accessing embedded resources
Posted by C-Services Holland b.v. at 2/8/2006 3:46:47 PM
Hi all, I've created a custom button which I can stick into my toolbox. This all works well and I see my button in the designer. This button uses customised graphics and I want to stick it in the dll as an embedded resource. In the project tree I added a folder in which I stick the bitmap...more >>

SOAP with Attachments
Posted by Bryan Dickerson at 2/8/2006 3:16:36 PM
Newbie warning: I'm still learning about SOAP, but my boss is convinced that the only way a VB.Net web service can properly interpret (and eventually send) SOAP with Attachments from (to) another product is with a 3rd party product--he wants to buy this product: http://www.alotsoft.com/alot...more >>

Type.GetType with two projects
Posted by Paul at 2/8/2006 3:00:59 PM
I have two projects in one solution. One is called Frontier and holds all my base user controls, classes, etc. that are used over multiple applications. The second is my application project (OCFU) which holds the forms and code that the users run. I need to instantiate a new form only given t...more >>

[Form].OnClosing - e.Cancel = True???
Posted by Phill W. at 2/8/2006 2:58:47 PM
Has any come across a situation where, in a Form-derived .. er .. Form, the Event Arguments passed to OnClosing /already/ have their Cancel argument set to True? Protected Overrides Sub OnClosing( _ ByVal e As System.ComponentModel.CancelEventArgs _ ) Debug.WriteLine("e.Cancel=(" & e.C...more >>

Simple but difficult to find solution for loading HTML into object
Posted by Joe at 2/8/2006 2:50:12 PM
Hi, I have a simple thing I need to do but just doesn't work in VB.NET. I have a string with HTML code and I want to load it into a HTMLDocument object or something similiar to it so I can access the the tags and tags value (<td> <table>, etc) by code. But it just doesn't work in VB.NET...more >>

Ack!! Crystal report doesn't work anymore!
Posted by JackBlack at 2/8/2006 2:33:04 PM
Hi, all! Using VS.Net 2k3... Just did a reinstall of a workstation, and now I'm getting an odd error when trying to run a Crystal Report from my app (vb.net/asp.net): "Unable to find the report in the manifest resources. Please build the project, and try again." Rebuild didn't work. D...more >>

Help referencing a variable in HTML of an aspx page
Posted by simon at 2/8/2006 2:19:03 PM
hello, what i'm looking to do is store the path of the app on a the server for reuse in the site. my thoughts so far are... -make a key in the web.config file -retrieve the value in globals.asax in application startup -store it in a variable that can be reference from all pages -use that var...more >>

Installing a .net windows service
Posted by rockdady at 2/8/2006 2:09:04 PM
I have recently built a .net windows service. This is a very simple service that fires off a web service at a scheduled time. I then created a setup using the following microsoft guidelines. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbwlkwalkthroughcreatingwin...more >>

Upgrading VB2003 to 2005
Posted by John Dann at 2/8/2006 1:58:06 PM
Couple of questions about upgrading an existing installation of VB2003 (Pro) to 2005 (Pro): 1. Not having dabbled in VB2005 yet, I'd feel more comfortable also keeping a working VB2003 environment available to me for program maintenance etc. Is there likely to be any problem in doing this? ...more >>

Backgroundworker to populate a TreeView
Posted by Dave Wurtz at 2/8/2006 12:46:26 PM
All, I have a treeview on my form that has a lot of nodes on it. I would like to populate this treeview on another thread so my form will still paint while it is being populated. I have looked at the Backgroundworker object (and dragged one onto my form) and several other newsgroup threads...more >>

Function parameter function
Posted by Joe at 2/8/2006 12:43:53 PM
Hi, I like to know what do you specify in the function parameter (in the function implementation) if you want the string that you pass in with the function call to be changed while its in the function and then you get it back changed as well? Is it ByRef or just notthing function prc0...more >>

Adding summary to object browser?
Posted by tomb at 2/8/2006 11:33:38 AM
Does anyone know how to add a summary description for a class module to the object browser? I can't find anything on it anywhere! Thanks, Tom...more >>

Strange behavior data-bound combobox
Posted by Crazy Cat at 2/8/2006 10:55:37 AM
I am using a data-bound combobox with dropdownstyle set to dropdownlist. Teh combobox is bound to a bindingsource which is in turn bound to a table in my database. The table has only 4 rows and I am using it to display geographical regions - Northeast, Southeast, West, and Central. In the bindin...more >>

IsNumeric Bug or misunderstanding?
Posted by Nathan Truhan at 2/8/2006 10:55:31 AM
All, I think I may have uncovered a bug in the IsNumeric function, or at least a misunderstanding on functionality. I am writing a Schedule Of Classes Application for our campus and have a section that lists the Times, Buildings and rooms for courses. In this section I have a function cal...more >>

VB Project security violation on new Workstation
Posted by Lawrence Shafer at 2/8/2006 10:52:27 AM
VB.net migrated a large, multi-moduled VB6 application to a networked drive. Original workstation modified it and got it running under VB.Net. User was migrated to a superior workstation with same credentials, id, etc. as before. When VB.net project debugs, security exception in "unknown mo...more >>

how can I create and store graphic symbols so that I can use them again and again
Posted by moumita at 2/8/2006 10:37:57 AM
I want to create a form and display multiple symbols on it.The problem is how do I create and store the symbols so that I can display one single symbol multiple number of times on the form without creating the graphic again and again. ...more >>

what's the difference
Posted by rodchar at 2/8/2006 10:16:27 AM
hey all, what's the difference between starting a new thread and starting a new Process? thanks, rodchar...more >>

sorting inherited BindingList
Posted by guy at 2/8/2006 9:09:28 AM
VB2005 a generic collection that inherits from BindingList, with the code to support sorting added (ApplySortCore, SpportsSortingCore etc.) however when this collection is populated and bound to a DataGridView ApplySortCore is not called when a grid header is clicked. how do i ensure ...more >>

how to do Binding with code
Posted by Marc R. at 2/8/2006 8:44:02 AM
Hi all, The beginner strikes back again (sorry) this is the class I use for Nodes into a treeview, I need to bind each field to a database..... How Can I do that ? What I tried so far is to run a Dataview for operations, then set the DataView rowfilter to "ser_id = " & ctype(nodes, service...more >>

Windows Application Update in VS2005
Posted by Brano at 2/8/2006 6:59:19 AM
Hi all, I am new to VS 2005 I have a windows application in VS2005 and I clicked Publish and it gave me several options one of them is where will this application look for updates. I have specified a server path on a file server where I would like to publish new version when it becomes availa...more >>

Multi-language with visual Basic 2005
Posted by Cédric at 2/8/2006 6:51:30 AM
Hello, wanting to have a multi-lingual windows form application. Does anyone know, how to do, or where articles on that topic could be found. Thanks...more >>

Are people using data binding now?
Posted by Larry Lard at 2/8/2006 6:35:44 AM
In the old days (VB3 era), there was a thing called the Data Control, and you could use it to databind controls on forms to datasources, and so (as the marketing speak goes), 'create database applications without writing a single line of code!!!'. Personally, and I know I wasn't alone in this, I...more >>

[URGENT] Images and Thumbnail : pb with rendering quality
Posted by Cédric at 2/8/2006 5:25:25 AM
Hello, Wanting to create a thumbnail of an image, i'm using the following piece of code : Public Sub Reduction(ByVal Source As String, ByVal Destination As String, ByVal TailleX As String, ByVal TailleY As String, ByVal Resolution As Integer, ByVal Fond As Boolean, ByVal ConserverRatio A...more >>

Generics
Posted by guy at 2/8/2006 3:54:27 AM
i have a generic class Public Class ACollection(Of T) Inherits BindingList(Of T) where BaseDataClass is declared mustinherit i then have some code that loadss the collection With oSQLDR ' a datareader If .HasRows Then Do While .Read = True ...more >>

help to post xml file
Posted by andy at 2/8/2006 2:44:32 AM
Hi all Anyone any snippets to post an xmlfile to a url ? Thanks Andy ...more >>

Performance of VB.NET 2003 with Access / MySQL ....
Posted by RPK at 2/8/2006 2:24:02 AM
I want to know about the compatibility issues of "MySQL" with VB.NET 2003? Does VB.NET 2003 works fine with MySQL or not. Secondly, what is the maximum database size of MS Access after which the performance degrades. I heard that MS Access is not recommended for very large databases....more >>

Problem adding new row in Access Table
Posted by RPK at 2/8/2006 2:15:29 AM
I am using following code to Add New Record in a Table (Temp in this case). I want to save new record with this method i.e., non-SQL. It is not commiting changes. The "Update" statement has errors. 'Initialize Data Adapter and Data Table Objects TempDA.Fill(TempDS, "Temp")...more >>

Setup Project
Posted by Philip Wagenaar at 2/8/2006 2:02:27 AM
I have a Visual Studio Solution with 4 four projects. 1) class library 2) console app 3) windows service 4) setup project The console app en and the windows service both use the dll from the class library. I added two folders to the Application path in the Setup project, Commandline ...more >>

Help Displaying & Stabilizing PictureBox Contents
Posted by The Confessor at 2/8/2006 1:48:48 AM
(ellipses in place of code sections which do not deviate from defaults) Private Sub Form_Main_Load(...) Handles MyBase.Load For A = 0 To 16 For B = 0 To 14 PictureBox_MapEditor_Map.CreateGraphics.DrawImage (System.Drawing.Image.FromFile("C:\The RPG Proj...more >>

datagridtextboxcolumn
Posted by schapopa at 2/8/2006 1:04:54 AM
Hi, I have a datagrid and create class that inherits from datagridtextboxcolumn, for first column in my datagrid. Last thing that I am trying to achieve is to get font in that first column to be bold. Can somebody give me a hint, how to do that. Regards Schapopa *** Sent via Devel...more >>

Strongly Typed Key Value Collections within a For Next loop
Posted by Simon at 2/8/2006 12:00:00 AM
Hi all, I am writing a windows application using vb.net on the 1.1 framework. We have in the application, some strongly typed collections that have been written as classes that do not inherit from collection base, but use an internal collection, to hold the objects and then implement IEnum...more >>

Can I create windows form by using late binding?
Posted by Steven at 2/8/2006 12:00:00 AM
Hi, I have a database table field to store the form name, I want to create the particular windows form by using the value that read from that DB field. For examples, the table field has a value "ThisForm", then I want to create the form with class name "ThisForm" (Suppose I have already def...more >>

storing image in Access table
Posted by anewbie NO[at]SPAM VB.NET via DotNetMonster.com at 2/8/2006 12:00:00 AM
hi. ive been searching for help with storing images in access. after much hunting i found this bit of code that Cor Ligthert put up on another forum. but when i try to update to the dataset, i get this error: system.argument. exception in system.data.dll, cannot change data type of a column o...more >>

Text file printout in dos mode through VB.Net or DOS command from VB.Net
Posted by Hardik Shah at 2/8/2006 12:00:00 AM
Hi, I am generating a text file through vb.net and I want to give facility to my user to take DOS base (fast) printiout of it , or in other words, I want to run DOS command from my application. i.e. TYPE C:\TEST.TXT >PRN , How can I ? Regards, Hardik Shah ...more >>

Web Windows authentication login
Posted by ruca at 2/8/2006 12:00:00 AM
Hi, In my Web Application I have windows authenthication logon. Usually login dialog don't appear, but in one of the computers this dialog appears when it's not supposed. If I logon the Web App works fine, but every time I try to run on same computer, dialog appears. I think the problem ma...more >>

How can I read an XML string directly into a dataset without creating a file?
Posted by Don at 2/8/2006 12:00:00 AM
Howdy Folks, Below is an example of a string I've created in memory. I would like to load it directly into a dataset that can then be displayed in a DataGrid or . . . whatever. Can I load the string into the dataset without first saving it to a file? This doesn't work but, you probably kn...more >>

JAVASCRIPT IN ASP.NET
Posted by Savas Ates at 2/8/2006 12:00:00 AM
How can i add javascript code to my server control object ? I want to add a javascript code when a user OnClick it .. Is there any sample code or reference web site or knowledge to solve it ? <asp:Button id="Button1" style="Z-INDEX: 101; LEFT: 6px; POSITION: absolute; TOP: 6px" runat="...more >>

fail to instal .netframework 2.0
Posted by Agnes at 2/8/2006 12:00:00 AM
I had install .netframe work 2.0 in Window XP, however, I can see the progress bar is movning.but wait over 1 hrs, it still cannot completed the process. Do I need to remove the old verion first ?/ please help ! Thanks . ...more >>


DevelopmentNow Blog