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 > february 2006 > threads for tuesday february 21

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

CLS-complaint
Posted by Agnes at 2/21/2006 11:17:09 PM
What is it ?? my frmInvoice is heritied from Master Form, Master Form will got a method _Print my frmInvoice will overrides it , however, in vb.net 2005 .It got a warning (not CLS-complaint). I don't know what's wrong it is ???? Public Overrides Sub _Print(ByVal _preview As Boolean, ByVal _...more >>


First chance exception
Posted by philip at 2/21/2006 11:15:04 PM
Is it an option somewhere in Visual Studio 2005 to avoid thart the program continues after a "first chance exception" ? Thanks for response. ...more >>

Network.IsAvailable
Posted by gene kelley at 2/21/2006 9:30:01 PM
Regarding this snippet: Dim isAvailable As Boolean isAvailable = My.Computer.Network.IsAvailable I have an app in which I need to know if the user is "Connected", "Connected" meaning the user has a LAN of some sort or the user has a dialup modem that is online. I recall ...more >>

VB2005 - Databound MaskedTextBox controls lose mask in MdiChild Forms.
Posted by Matt at 2/21/2006 7:48:34 PM
I recently came across what I believe to be a peculiar bug with Mdi Children, and wanted to see if anyone else had experienced this before sending it in. The issue is as follows: I have a number of forms set up as children of a single "Shell" MdiParent. In these, I have a number of databoun...more >>

Printing Problem
Posted by Samuel Shulman at 2/21/2006 6:44:35 PM
Hi I have a new computer without any printer installed and I can't do any more printing in my program (I can't use the document printer) Any explanation? Samuel ...more >>

Convert Words in Strings to Caps
Posted by Dennis at 2/21/2006 5:44:02 PM
I know this is probably a very overworked issue but thought I'd share the code below to convert words in a text string to capitalize the first letter of the word using an array of word delimiters. Hope it not too simplistic for posting on thie newsgroup: Private Overloads Function CapWord...more >>

Remote DNS Zone Creation with WMI and VB.NET
Posted by vbnetdev at 2/21/2006 5:18:49 PM
Hello All: This is crossposted to 2 WMI groups as they subject matter is relevant to their focus. I apologize in advance if it offends anyone. This code is giving access denied errors ("Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))") when attempted to be done from...more >>

Talk to me about debugging
Posted by cj at 2/21/2006 4:51:57 PM
I run my programs with F5. I can use F11 to step through them. But, if it moves to another class or something suddenly it just runs w/o asking or telling me. I want it to continue making me press F11. Any advice? Also at the bottom of the IDE are Index Results, Command Window, and Outpu...more >>



Settings.Settings
Posted by NickP at 2/21/2006 3:49:35 PM
Hi there, Anyone else got a clue how the settings.settings are supposed to work? I add loads, then get errors and they wont appear any more until I remove them from the settings.settings file manually. Nick. ...more >>

Q: Dataview and a grid
Posted by G .Net at 2/21/2006 2:19:35 PM
Hi Can anybody help with the following? I have a datagrid which has a dataview of a datatable in a dataset as a view. I can add new rows to the grid, however I'm puzzled as to how to pass these changes to the database i.e. if I simple use Update on the table, the rows I've added to the g...more >>

Microsoft Visual basic, Errors during load, Refer to ...
Posted by jz at 2/21/2006 2:15:05 PM
Hi All, I have an ActiveX control project, in the main form, I have an image control and load a JPG image from by setting Picture property of Image; I build it and everything is good, I checked in my file to Subversion server; and I checked out from another machine. when I tried to open my...more >>

Clear a RTB
Posted by Jason at 2/21/2006 2:06:08 PM
Hello I've a RTB on a form with a few buttons, and each button will display particular item when a person clicks them. I was wondering is a quick way to clear a RTB before I start writing to it? Thanks ...more >>

axWebBrowswer Context Menu (VB 2003)
Posted by SteMc at 2/21/2006 10:05:45 AM
I've got the axWebBrowser in my program and I wish to add a context menu. When the program runs there is a default context menu, but I don't want this. I either want to change the existing context menu or create my own, but I don't know how. I've looked in the properties for the broswer, but t...more >>

bitblt Function in VB 2005
Posted by fripper at 2/21/2006 10:04:18 AM
Is there a way to use the windows bitblt function in a VB 2005 app? bitblt requires device context parameters for the source and destination controls but those are not used in VB 2005. Is there some way around this? I have a program that uses a timer ... when it fires I want to copy a small...more >>

Is it better to use Try or to use Resume Next?
Posted by academic at 2/21/2006 10:03:13 AM
Sometime I have a situation where if an exception occurs I just want to ignore and continue. Is it better to use Try or to use Resume Next? Or something else? Thanks Private Sub MenuItemPrevNode_Click(ByVal .snip.. Try ...A statement here Catch End Try End Sub ...more >>

How to change color line by line in a rich textbox?
Posted by GY2 at 2/21/2006 8:26:22 AM
I want to step through the rows returned by my DataView, extract some values from some of its columns and append them as separate lines to the text of various rich textbox controls while possibly changing the color of each new line. It seems as though I should use the Lines property but can'...more >>

Text Files: Number of Lines
Posted by TheGanjaMan at 2/21/2006 6:46:42 AM
Hi people, I'm stuck on a problem and I was wondering if there was a way around: I'm trying to find the number of lines in a comma delimited text file. I have a progress bar that should display the progress of a text file that is being read into a DataGridView. I would like the progressbar...more >>

Multilanguage support?
Posted by kovac at 2/21/2006 5:58:56 AM
I create first a form and set the labels and buttons with Russian language. Then I put following properties on the form: Language = English Localizable = True Now I put the labels and buttons in English. In this moment, I have two resource files: one for Russian (MyForm.resx) and one fo...more >>

Memory Leaking in VB.NET
Posted by Brano at 2/21/2006 5:30:19 AM
Hi all, I have a VB.NET Dll that is invoked via BizTalk 2002 AIC over Http protocol. the Dll is making a connection using a 3rd party connector to a Unidata database (old legacy stuff) All I am doing is creating an instance of the class and then using its two methods (Connect CloseConnecti...more >>

Items property
Posted by guy at 2/21/2006 4:32:26 AM
why is it that some collection classes, eg BindingList, but others as well do not expose their Items property? It is there as a Protected property so why not make it public? I can work around this but there must be a design reason for this, what is it? --guy--...more >>

switch form sqlserver to access at runtime
Posted by Tim at 2/21/2006 4:20:13 AM
Hi, I hope this is an easy question for you guys... I have an application that I need to be able to switch from sqlserver to access at runtime. I can change from one sqlserver installation to another using this code... Dim nS = "Data Source=" & Server & ";Initial Catalog=" & DatabaseName ...more >>

Pressing enter key in a text box somtimes presses the last button!
Posted by Jon Bev at 2/21/2006 3:18:37 AM
I have written a program in VB.net that sometimes has a problem with pressing the enter key in a multiline textbox. Sometimes it will press the button that you last clicked on the form instead of adding a new line. Can anyone help? Bev ...more >>

Address parameter in WebClient.UploadFile?
Posted by linn at 2/21/2006 2:01:14 AM
The 'Address' parameter in the WebClient.UploadFile usually comes in the form of ie. http://server/Upload_File.aspx Hence my question, what is exactly the content of this Upload_File.aspx? Am i supposed to create this file with some specific codes? Can't seems to get this method working for...more >>

HttpWebRequest with cookies
Posted by SP at 2/21/2006 1:55:02 AM
I need to make an httpwebrequest in a winform. The first call is ok, and it is in GET. The second must use the cookie of the first call and then POST data to a uri. The are some sample code for manage cookies? ...more >>

Unable to open file remotely
Posted by Seok Bee at 2/21/2006 1:36:28 AM
Dear Experts, In my web application, I am having a button to open a file located in the server. When I click on the button to view the file, I received the following error message: ---------------------------------------------------------- Exception from HRESULT: 0xC004800A Description: A...more >>

Which Database type to use?
Posted by Devlei at 2/21/2006 1:03:28 AM
A have a simple one table database that I want users to access, use and update from desktop and/or mobile device. Which database type is best suited for the job? SQL, MS-Jet/Access, or simply XML? ...more >>

Program flow control
Posted by Eric A. Johnson at 2/21/2006 12:00:00 AM
I'm trying to create an invisible form to start my program with. It will be the startup object; I have it set at 0% opacity, since there is no Visible property to set for forms (at least, not that I can see... correct me if I am wrong). What I want it to do is to create an instance of the sp...more >>

VB 2005
Posted by Good at 2/21/2006 12:00:00 AM
Hi All In VB 2003, the code generated for data binding could be viewed under coding panel. But for 2005, Is there any chance to view these code behind? Cheers Good ...more >>

Countdown Timer
Posted by Sheep Shagger at 2/21/2006 12:00:00 AM
Hello all This is driving me crazy. I am trying to write a small program that when started counts down from 16:30 heres what I mean:- say I launch the programme at 10:00 then i've like to show how long left before 16:30 in a lable controll. in this case is 6.5 hours start programme tim...more >>

InstallUtil problem
Posted by NickP at 2/21/2006 12:00:00 AM
Hi there, I have a custom installer component which is declared like so... <RunInstaller(True)> _ Public Class LicenseInstaller Inherits System.Configuration.Install.Installer Never had any problems with it in the past but now InstallUtil.exe is saying that there are "no public ...more >>

Combo help!
Posted by Damon at 2/21/2006 12:00:00 AM
Hi, I am using VB.Net 2003 for the first time; originally a VB6 developer. I have been unable to find a datacombo so managed to find code to do it with a normal combobox instead (not sure if this is how it's done in .Net now?). Anyway I was wondering if there was an equivalent to the Match...more >>


DevelopmentNow Blog