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 > january 2005 > threads for wednesday january 5

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 31

WebBrowser control problem
Posted by Vibor Cipan at 1/5/2005 11:08:02 PM
Hi I have two webbrowser controls on my form web1 and web2. I load some HTML in web1, and that HTML file contains links. How to make following thing - when i click on link in web1 control, to load content (loacal file) associated with that link in web2 kontrol. second question... how can...more >>

addhandler question
Posted by EMW at 1/5/2005 10:37:02 PM
I use the following code in the POPUP event of a contextmenu: mnuItem = New MenuItem mnuItem.Text = "Shelter" cmThs.MenuItems.Add(mnuItem) AddHandler mnuItem.Click, AddressOf MenuItemClicked mnuItem = New MenuItem mnuItem.Text = "Building" cmThs.MenuItems.Add(mnuItem) AddHa...more >>

Datagrid Formatting
Posted by Wizard at 1/5/2005 8:55:57 PM
Hi All, I have the following code (See below) why when I run my app dosn`t it format the Datagrid as below, instead it just loads up the default Column styles Many Thanks Wizard Private Sub frmSystemUsers_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loa...more >>

ArrayList Sort Error - IComparer did not return zero
Posted by RJN at 1/5/2005 8:51:50 PM
Hi I have a user defined data type which implements IComparable interface and has an implementation for the CompareTo method. Public Class MyDataType Implements IComparable --Private members --Public properties Public Function CompareTo(ByVal obj As Object) As Integer Implements ICom...more >>

addhandler question
Posted by EMW at 1/5/2005 8:10:54 PM
I use the following code in the POPUP event of a contextmenu: mnuItem = New MenuItem mnuItem.Text = "Shelter" cmThs.MenuItems.Add(mnuItem) AddHandler mnuItem.Click, AddressOf MenuItemClicked mnuItem = New MenuItem mnuItem.Text = "Building" cmThs.MenuItems.Add(mnuItem) AddHandler mnuItem.Cl...more >>

Newbie Question - Database Connection
Posted by Wizard at 1/5/2005 7:24:24 PM
Hi, Hope your all well? I have the following Connection String in my app: Con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=J:\Excellence.Net\Passwords.mdb;Jet OLEDB:Database Password=280181;" This works Fine, However when i try to create a data adapter in the desig...more >>

doevent
Posted by Lal - Luxor at 1/5/2005 6:41:53 PM
what is the alternate command of DoEvent in vb.net lal ...more >>

vs .net 2005, .net framework 2.0 - when?
Posted by Bernie Yaeger at 1/5/2005 6:36:45 PM
Anyone have any inside info on when vs .net will be available? How about ..net framework 2.0? ...more >>



XmlNodeReader
Posted by David at 1/5/2005 5:43:03 PM
All I have an XML document as illustrated in the extract below. I am trying to use the XmlNodeReader to extract information from the document. What I am having trouble with is when I read the line of the document I am unable to read the value of the element. Below is an extract of the s...more >>

Video aquisition in .NET
Posted by Newcomsas at 1/5/2005 5:39:10 PM
The firm I work for is considering devoloping a .NET application that should include a video TV streaming in its user interface. We would like to include this 'TV area' (the video source would be a satellite receiver) in a simple Visual Studio Form. I guess we'd just need a video aquisition card...more >>

Including a class as a member of another class
Posted by Jeff Cobelli at 1/5/2005 5:13:52 PM
I am trying to include two classes as members of another class in a webservice. The definitions look basically like this: Public Class clsLender Public ID As String Public Name As String End Class -------------------------------------------------------------------------------------...more >>

new cursor
Posted by Dzemo at 1/5/2005 4:55:08 PM
how to make new cursor in vb.net 2003 cursor would be something like animated gif with custom size or something like that thx ...more >>

How to pass multiple datasets as return value from Web Service
Posted by moondaddy at 1/5/2005 4:27:15 PM
I have a vb.net 1.1 winforms app and need to retrieve multiple datasets in a single pass from a web service. I know I can hve multiple tables in a dataset and these do, but in some cases I still need multiple datasets. is there a way to serialize them into into one big string and then parse ...more >>

System.io Question
Posted by pmclinn at 1/5/2005 4:16:13 PM
Is there a way to hide a file from windows explorer using system.io classes? Is there another way of doing this? -Peter ...more >>

How to get the Instaledl Location of a MSI application?
Posted by yxq at 1/5/2005 3:36:37 PM
Hello, When i installed a MSI setup appliction, how to get the installation path using vb.net. I known the productID of this application. Thank you ...more >>

Strange Form behavior
Posted by Matt at 1/5/2005 3:34:45 PM
Hi all.. Something strange with something that should be simple. Have a form with a button that calls another form (showdialog) -- 10 Dim f As New frmTrainRecMaint(frmTrainRecMaint.enmFormAction.AddNew) 20 f.ShowDialog() 30 If f.dialogResult = DialogResult.OK Then 40 SetupDG() 50 End If ...more >>

looking for a RegEx pattern to do this...
Posted by Jéjé at 1/5/2005 2:57:21 PM
Hi, I have a file which contain 1 pair of values by line like: Name1=Value1 [Name2=CFODEV]=[Value2=CFO66] I nned to store these pair of values in a sortedlist. So the result expected for the 2 samples lines is: Key Value Name1 Value1 Name2=...more >>

Web Service - How to get ip address of remote client?
Posted by runningdog at 1/5/2005 2:56:08 PM
Hi I have a web service written in vb .net and I would like to be able to record the ip address of clients using the service. Any thoughts would be appreciated. TIA Steve ...more >>

Work around ListView.Cursor bug - SetCursor fixes content but not header
Posted by Samuel R. Neff at 1/5/2005 2:46:43 PM
I'm using this class to work around the ListView.Cursor bug in .NET 1.0/1.1. It fixes the bug as long as the user mouses around the client area of the listview but if the listview is in detail view and the user mouses over the header, the default cursor is displayed regardless of the Cursor p...more >>

Database sort of query
Posted by Wizard at 1/5/2005 2:41:57 PM
Hi, I have a database with controls on a form: Student >> Class >> Date >> Grade at Present >>> Predicted >>> DOB The Grade and the Predict often change, how do i get it so the I could add a button on my form called "History" and within there have a form with the dates on the table had ...more >>

program to search newsgroups
Posted by hcs at 1/5/2005 2:20:36 PM
Hello, could someone point me in the right direction on how to program a vb.net based application that can search newsgroup? Cheers ...more >>

Get installed application info using WindowsInstaller
Posted by yxq at 1/5/2005 1:56:44 PM
Hello, I want to get some installed application info(i.e. InstallLocation) using WindowsInstaller.Installer, can anyone provide some examples? thank you! ...more >>

populate a listbox with a hashtable
Posted by Dave at 1/5/2005 1:42:09 PM
Hi all, Is it possible to populate a listbox from a hashtable (complexbind) where the ValueMember of the listbox maps to the "key" member of the hashtable AND the DisplayMember of the listbox maps to the "value" member of the hashtable? I found that it is impossible to use a hashtable as a list...more >>

Menu bar in MDI Application
Posted by Ellis Yu at 1/5/2005 1:13:17 PM
Dear all, Anyone knows how to put the child form's menu items before mdi form's menu item? In my case, I've a mdi form with menu items "windows" and "system". In child forms, I've menu items "Action". I'm using the merge option "Add" now. As the result, I found the menu items order bec...more >>

tablet PC and the pen
Posted by B.J. Raiford at 1/5/2005 1:11:32 PM
I have an application that it to be run on a tablet PC/Slate with the only interface being the pen. The problem I am running into is that there is a difference between using the pen and using a mouse. When a mouse is plugged in and I click around on a datagrid all of the appropriate events are ...more >>

message stats
Posted by Brett at 1/5/2005 1:01:46 PM
http://64.106.155.121/admin/messagestatreport.cfm ...more >>

Impersonation (change the user) in Windows Application
Posted by T. Beneke at 1/5/2005 12:23:29 PM
I need in a Windowsapplication the access to a file that is on a Fileserver. Only the administrator has access to the directory of the file. My App needs to open this file. In ASP.net I can Impersonate the user, but it doesn't work in a Windows App. I tried to change the Principal of the threa...more >>

New usercontrol not appearing in toolbox?
Posted by Noozer at 1/5/2005 11:39:57 AM
This is a stupid question, I know, but I can't figure it out... Someone please embarass me. I have a solution that has a number of usercontrols included. When I add a usercontrol project to the solution the control does not automatically appear in the "My User Controls" toobox. I'm going to ...more >>

using dll from word
Posted by Han Sen at 1/5/2005 11:24:03 AM
I'm creating a dll that I want to use from word. The setup copies dll to program folder and registers the dll in the GAC. This all seems to work fine (file gets copied and registered in GAC). In word I register the dll in my vba project (tick it in the register dialog for my dll - which no...more >>

Usercontrol indexed property, how to show in the IDE?
Posted by Noozer at 1/5/2005 10:38:34 AM
I have a usercontrol. One of the properties is a group of four images. If I add the control to a form and look at it's properties I don't see any way to access this property. Can someone point to to the help file or webpage to explain how I can get this property to appear in the IDE? (...al...more >>

Hot to do that.... ?
Posted by Doug Zody at 1/5/2005 10:08:31 AM
I have wave files being recorded for interactive voice enabled application. Currently I have more than 1000 wave files implemented in the application. Since I have recorded using regular desktop PC the quality of the sound is not good. Also the volume levels in each of the wave files are differ...more >>

Overwrite file in use
Posted by Gene Vangampelaere at 1/5/2005 9:59:46 AM
Hi, I need to write a function that can replace some (.dll) files. That's easy to do but what if there are some files in use ? How can I replace those files ? is there a method to 'force' an overwrite ? ...more >>

Can't rename file
Posted by John Howard at 1/5/2005 9:28:30 AM
I am attempting to rename a file in VB.net using the MSDN rename function example at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vafctrename.asp My code looks like this: Imports System.IO .. .. .. Dim OldName As String = "C:\PDB\Development\Datab...more >>

Reporting Solutions
Posted by Mitchell Vincent at 1/5/2005 9:10:04 AM
I run a small development shop that develops some financial software and other utilities and I'm looking for a reporting solution. Crystal Reports looks excellent but is way too expensive. I'd like to keep the cost under $1000 and would like to have some tool available to end users so that they ...more >>

How to block comment?
Posted by Brett at 1/5/2005 9:03:54 AM
Is there a way to comment blocks of code? Similar to SQL's /* */ Thanks, Brett ...more >>

Shdocvw, multithreading - COMException
Posted by shonend NO[at]SPAM yahoo.com at 1/5/2005 8:13:44 AM
**** sorry about the length of the message. If you can't read the whole thing and still willing to help, read the last 2 paragraphs where the main problem is described. The introduction story is mentioned to, as much clear as possible, give a picture in what environment the problems rise**** ...more >>

compund conditional statements
Posted by cs_hart NO[at]SPAM yahoo.com at 1/5/2005 7:55:19 AM
Can anyone tell me why the following causes an exception at eof? inStr = essayRdr.ReadLine While (Not inStr Is Nothing) And (inStr.Trim.Length = 0) in c++, the first test will fail and the second will not be checked, but it appears that VB is checking the second even after the first has faile...more >>

Edit text file?
Posted by Nina at 1/5/2005 6:59:06 AM
I have a text file which stores user input. Later if user edited the input data from a input form. How can I update the input text file? If update the text file too often, would it cause problem? Thanks in advance for any help. ...more >>

Extended multiselect in .net listview
Posted by jon.ely NO[at]SPAM bankofamerica.com at 1/5/2005 5:53:59 AM
Hi all & Happy New year What I want to do is be able to multiselect rows in a Listview just by clicking & dragging the mouse over them (not using the shift key). So has I move the mouse over each row it highlight & stays higlighted. I can do it in vb6 (see code below), but not in .net Thi...more >>

Change charaterset of textbox winforms
Posted by Richard Bond at 1/5/2005 3:43:03 AM
Hi Is there anyway to change the characterset/codepage of a specific textbox on a winform. I have read in a "chinese traditional big5" file into memory using a streamreader with the appropriate codepage SR = New StreamReader(TBLFilename, System.Text.Encoding.GetEncoding(Cube.CodePage)) ...more >>

Database Deployment problem ?
Posted by Mark at 1/5/2005 1:26:46 AM
How to avoid the connection string problem when i try to deploy my application on an another computer I'm using an Access 2003 db an get an error when i try to use my prog. The programs can't find the db. and try to reach the db with the wrong path E:\database\yyyy.mdb who doesn't exist on the...more >>

Stupid windows timers
Posted by davesauny NO[at]SPAM gmail.com at 1/5/2005 1:14:04 AM
Heres the scenario, I have an external device on a com port. I communicate with it using serial commands. on my form i have a windows.forms.timer which reads information off of it every 0.5 seconds. whilst any commands are being sent or received from the external device, no other method can...more >>


DevelopmentNow Blog