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 monday january 24

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

Regular Expressions
Posted by norton at 1/24/2005 10:15:33 PM
Hi All, I am defining a simple regular expressuions to capture some data from specific content I expected i can got 5 matches cases. However, i can only got 1 match and the result is not as same as mine. Can anyone tell me what's wrong with my regular exprssions pattern? Thx in advance ...more >>


Reuse io.stream object
Posted by Marc Thompson at 1/24/2005 9:09:13 PM
Hi there, I have the following: Dim objResponse As WebResponse = objReq.GetResponse Dim objStream As IO.Stream objStream = objResponse.GetResponseStream Then, I read some Bytes from this stream and it works. I then go do some other things, still withing the scope of objStream, then...more >>

Property Generator?
Posted by slonocode at 1/24/2005 8:22:17 PM
Is there any utility that will generate generic property statements for a selection of private fields? private _mystring as string WOULD GET CONVERTED TO public readonly property mystring(byval value as string) as string get return _mystring set _mystring = value property It...more >>

LBound and UBound question
Posted by Starbuck at 1/24/2005 8:13:25 PM
Hi All In one of my converted (VB6 to VB.Net) apps I have managed to remove all = instances of - Imports Microsoft.VisualBasic - except for one form which raises errors = in regard to LBound and UBound, the code in queston is below. Private Sub ReadUsedIDs() cboIndex.Items.Clear() ...more >>

Desktop shortcut
Posted by Mark at 1/24/2005 5:44:46 PM
I have a shortcut on the desktop in my application that I want a user to drop a file on and then have the application run. The shortcut that installs with the application does not look like you can drop a file on it and it does not change when. The shortcut shows a circle with a line thro...more >>

What's the correct way to do this?
Posted by vbMark at 1/24/2005 4:22:41 PM
Here is what I have that is not working. For x = 1 To m_intNumberOfFields If m_oLabel(x).ParentOfComboBox = True Then Dim ctrl As clsComboBox Else Dim ctrl As clsTextBox End If If ctrl(x).Text = "" Then .. .. .. etc... Do you see what I am trying to do? What is the co...more >>

adding a custom control to print preview dialog
Posted by mark at 1/24/2005 4:17:02 PM
Any ideas on how to do this. It comes with print, zoom, close etc. But I want to add a button for font change/redisplay. Just knowing how to get the button on there is all I need. -- mark...more >>

String Function.
Posted by Bala at 1/24/2005 4:07:04 PM
Hi all, whats the equalient string function in vb.net? VB: MyString = String(10, "ABC") ' Returns "AAAAAAAAAA". Thanks Bala ...more >>



events with array variable?
Posted by ThunderMusic at 1/24/2005 4:01:29 PM
Hi, I have a class let's say class1 that raises an event, let's say OnEvent. In another class, let's say class2, I have an array of Class1. I want to be able to trap the events fired by class1 within class2 and know (if possible) the index of the class1 that fired the event. Is there a way? ...more >>

Viewing HTML Text String in Webbrowser Control without saving to a
Posted by shadowboxer at 1/24/2005 3:39:01 PM
I am attempting to view an HTML string in a hosted browser window (vb.net 03 + ie6sp2) I have something like this dim strHTML as String = "<HTML>TEST</HTML>" What I want to do is show that text in the control without having to save it to a temp file first. What I would like to do is...more >>

Saving user preferences between sessions.
Posted by Chris Braun at 1/24/2005 3:37:04 PM
I vaguely remember a discussion/example at a MSDN presentation about VB.Net allowing you to save 'data' to some kind of storage that would be available to the user the next time the application was run. Without saving it to the registry, ini file or database. Is this at all possible? Th...more >>

SQLDMO Unhandled Exception
Posted by Juan at 1/24/2005 2:27:30 PM
Helo, I'me developing a proyect wich gets connected to SQL Server. I wished to show a list of SQL Servers on my networks if the configuration file couldn't be found... I can do this using SQLDMO, but it will raise an unhandled exception on any machine that lacks of a SQL Server... My goal i...more >>

Convert CSV file to XML
Posted by Ish2000 at 1/24/2005 2:05:06 PM
Hello, I've a simple windows application and i want to be able to convert a csv file to xml. So far, i can browse for the csv file from the file structure and display in a textbox. I want to convert the displayed csv file in the textbox to Xml and use the first line of the csv file as tag...more >>

Unmanaged Dll's.
Posted by Mythran at 1/24/2005 1:18:40 PM
How can I go about viewing all public members/methods of an unmanaged library? If something in .Net already exists to view unmanaged libraries (such as cards.dll) or a way to programmatically create a program which can view them, that would be helpful :) Thanks in advance, Mythran ...more >>

Multi-indexed collection
Posted by Samuel R. Neff at 1/24/2005 1:05:09 PM
What's the best way to create a collection where a value can be looked up by multiple keys? Say I have a custom object, Class Whatever Public A As String Public B As String Public C As String End Class What is the best way to add this object to a collection such that I can lo...more >>

VB.Net Windows Service Startup
Posted by SQLScott at 1/24/2005 12:11:11 PM
My esteemed VB.Net gurus, I posted this question a week or so ago and recieved 1 response that helped me somewhat but really did not solve the problem (but I do appreciate the response). I have spent countless hours searching everything I can think of but I cannot solve this problem, so ...more >>

SQL Server
Posted by VJ at 1/24/2005 11:46:23 AM
can I stop and start a SQL Sever from VB code? i will have the Administrative account to do so... VJ ...more >>

best way for avoiding multiple selects
Posted by Peter Proost at 1/24/2005 11:43:46 AM
Hi group, has anyone got any suggestions fot the best way to handle this problem, I've got 3 tables for example table A, B, and C table A looks like name, value table B looks like name, value table C looks like variablename, value, value an example would be Table A: peter 20 Table B:...more >>

Trouble Working with Excel Versions
Posted by Michael Kellogg at 1/24/2005 11:42:51 AM
My application works with Excel to put together spreadsheets for reporting purposes. It runs just fine on my box, but when I put it on another one, it bombs. Here is the relevant code: Public Function ImportSis(ByVal strSisFile As String) As Boolean If m_Excel Is Nothing Then...more >>

API Return codes
Posted by Nikolay Petrov at 1/24/2005 10:56:57 AM
Does anyone know where I can find the Windows API's return codes? I know they are in platform SDK, but I wonder isn't there other place where I can find them, because I don't wish to download the SDK. ...more >>

VB.net Barcode Component
Posted by pmclinn at 1/24/2005 10:22:05 AM
Has another created or worked with barcode automation in vb.net? I'm looking for some code or a component that will scan bar codes and convert them into numeric numbers. -Peter ...more >>

Automation need help
Posted by HS1 at 1/24/2005 10:14:03 AM
Hello all In my window application, I have a button that can open a Word template (letter). After add some details, I click "Save as" in this Word document. I can insert a name for this file, then when I close this word file, I want to print this file name (and its path). Could you pleas...more >>

Corresponding Printer Object of Vb6 in VB.Net
Posted by Sanjoy GuhaRoy via DotNetMonster.com at 1/24/2005 9:59:00 AM
I want to know what is the corresponding printer object of VB6 in VB.Net In VB 6 printer object was default and we could use it and call all its methods like 1.Printer.PaperSize 2.Printer.DrawWidth 3.Printer.Line How to use them in VB.Net if some can let me with some examples -- Message ...more >>

SQL Server 5 client connection limit for a web ap.
Posted by Brian Cryer at 1/24/2005 9:47:24 AM
I'm developing using VB.Net and on our test server I have MSDE installed. My project manager is keen for us to install SQL Server with 5 client licenses for our live server (instead of MSDE). My biggest concern is that with SQL Server presumably I will start getting connection errors if we have m...more >>

File.copy as another user
Posted by Steve Bostedor at 1/24/2005 9:43:34 AM
Does anyone have an example of how to file.copy as another user? Do I create a new thread as another user? How is that done? Thanks! ...more >>

how to prepare a patch
Posted by gaffar at 1/24/2005 9:32:14 AM
Sir, In a form i have kept 2 textboxes(a,b) and a button(add). which supports only of integer values i have written. after entering the values in the textboxes and after clicking the add button result is displayed on a message box. (this functionality supports only for ineteger values...more >>

installation woe(s)
Posted by steve at 1/24/2005 9:09:52 AM
my app installs itself then msde with the securitymode=sql...the app installs for "everyone" and not "just me". we've been installing while logged into an admin account. most of the end devices (laptops) have only a local configuration (not domain) and use wifi to consume web services that s...more >>

Debug DLL, 2nd time try request
Posted by y1799 NO[at]SPAM yahoo.com at 1/24/2005 8:38:09 AM
Hi, I think that my question about setting(s) for the project. I need to debug DLL project. I used 2 recommendation from VC.Net: - set external program as a start program of my dll (at properties) - add second project (exe type, not dll) to the solution and set it as startup project, addin...more >>

contextmenustrip (SourceControl) owner control
Posted by Wael_Bakr at 1/24/2005 8:13:07 AM
Hi I used to use one contextmenu for many controls when popup I had to get sourcecontrol property of sender to know owner control using 2005 beta contextmenustrip I don't find a similar property can any body help thanks in advance ...more >>

System.InvalidCastException: Cast from string " ERROR
Posted by raines NO[at]SPAM fauske.com at 1/24/2005 7:19:33 AM
Hi: I have a VB.Net application that results in the error above on a Win2000 PC. I do not see the error on WinXP PCs. Here are the lines of code that has the problems: Dim filename2 As String filename2 = "C:\Documents and Settings\merklw\Desktop\New Folder\01110511.HUP" FileOpen(2...more >>

WindowsForm Resources
Posted by Zorpiedoman at 1/24/2005 7:15:01 AM
Could someone please comment on the validity the following statement: 1. A Windowsform is created at runtime, and the user interacts with it. 2. The window is closed either by user action or the .Close method being called. 3. The instance of the myForm class is stored as on object variable...more >>

Combo box not displaying a collection of items
Posted by secun NO[at]SPAM yahoo.com at 1/24/2005 6:43:12 AM
I have a project that I created about a year ago with Vb.net 2002. At the time, I added items to a collection for the combo boxes so they would display data when the user clicked the combo. When I run the program now, the combo box drops down, but has no data. If I look at the component proper...more >>

Path of Solution
Posted by vbdotnetmania at 1/24/2005 6:29:03 AM
Hi, Is there a property to find the path of the solution, I've found a few properties that give you the executable path i.e. Application.StartupPath etc. and I know i could just parse this to remove the binand get what i am looking for but I thought there might have been some property to ...more >>

Compiling from command line...
Posted by Daniele at 1/24/2005 6:19:05 AM
How is it possible to compile a project from the command line and the .vbproj? Thanks, Daniele...more >>

>115200 serial communication
Posted by dast at 1/24/2005 5:43:05 AM
Hi, I'm successfully using Richard Grier's NETCommOCX software (www.hardandsoftware.com) to communicate with a device over the USB-port (with a USB-serial-converter) at 115200 bps. Now the device is beeing upgraded and the amount of information that has to be sent will increase so that 1...more >>

Populating an Array
Posted by Wayne Wengert at 1/24/2005 5:24:14 AM
I have a class that defines an array (JudgeTableEntity) which contains sets of data (Judge) - see class below. I want to put several sets of test data in the array but cannot find the syntax to do so? Can someone point me to information or an example of how to do this? Thanks Wayne =====...more >>

P2P to auto discover data for my application
Posted by BobAchgill at 1/24/2005 3:34:56 AM
Is there a simple yet powerful class (Free or purchase) that would let me say in my VB . Net program "Go get me this filename.xxx" and the P2P method would go find the fastest available copy of the file from a peer on my own P2P network? I don't need a user interface. In fact I would ...more >>

How to Create an User Defined Property for a Combo Box User Contro
Posted by Prabhudhas Peter at 1/24/2005 1:45:05 AM
How to Create an User Defined Property, which stores value for each index of the Combo Box User Control.(each value is related to the item stored in the ComboBox) -- Peter......more >>

xpburncd - I swear it did work!
Posted by Bernie Yaeger at 1/24/2005 12:20:24 AM
I'm trying to use the xpburn component. It worked - the first time. Now I get Exception from HRESULT: 0x80040225 No matter what I do. I removed it and reinstalled; I rebooted; nothing helps. Any ideas? Bernie Yaeger ...more >>


DevelopmentNow Blog