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 > may 2004 > threads for saturday may 22

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

Finding Character in String
Posted by Mr. B at 5/22/2004 11:36:54 PM
I want to return the name of the drawing file (DWG) from the end of a string. The string will be of varying lengths... as well as the drawing file name itself. I could do it the long way by getting the length of the string, and subtracting one character at a time until I hit the '\' character...more >>


Overloading problem
Posted by Armin Zingler at 5/22/2004 9:18:37 PM
Hi group, why can't I overload these procedures? Private Sub proc(ByVal arg As String()) End Sub Private Sub proc(ByVal ParamArray arg As String()) End Sub IMO, the compiler must be able to distinguish between them because it depends on the *call* which procedure is called...more >>

Database Selection Advice Please
Posted by z at 5/22/2004 8:59:00 PM
I'm developing a couple of applications that I need some advice on which database structure to use. My first thought is SQL Server of course, but after looking at my potential users and their needs, I'm having second thoughts. My #1 goal (besides the apps working properly of course) is to sim...more >>

How to include a C# class in VB.net?
Posted by Al B. at 5/22/2004 8:11:05 PM
Hi I have a C# class that I like to reference it from v Dim dib As DibGraphicsBuffe Where DibGraphicsBuffer is C# class. How would I use this class in my VB project I tried to add this single C# class to by VB but still it doesn’t recognize the DibGraphicsBuffer class. What I am doing wron...more >>

VB.NET Private lessons
Posted by Eric at 5/22/2004 7:58:57 PM
Hello, I am looking to learn on a one-to-one basis Visual Basic .Net If you are interested and are an expert in the language please contact = me @ eric@webmicrosystems.com. The hourly price is negotiable. Thanks, Eric...more >>

How to Dispose a User Control and Remove Handlers
Posted by Charles Law at 5/22/2004 7:51:49 PM
I have a form on which user controls are placed at runtime. When a control is added to the form a handler is added for an event that a high-level object raises, which must be handled by the new control. When I close the form I am expecting that the control ceases to be. However, if my object r...more >>

evaluate a string
Posted by TJS at 5/22/2004 7:26:03 PM
How can I evaluate this string in vb.net " Dim submenu0 As New skmMenu.MenuItem('Home', '') " I have tried this with skmmenu as a reference in the compile command but assembly will not process the string, reporting a boolean error. http://odetocode.com/Code/80.aspx also looked here,...more >>

Please HELP: PLUGIN For .NET application
Posted by Mat at 5/22/2004 7:25:26 PM
i am developping invoice windows application. Some features are specific for each company , which use the application. or some companies need additional features. i would like then to develop these features as plugin. Plugins will be put in directory PLUGINS in application directory. each plu...more >>



omg plzzzz help impossible conversion vb--->vb.net
Posted by isaac rainsford (MCSE) at 5/22/2004 7:09:34 PM
can anyone lend some assistance on how to convert some code to vb.net from vb5? in VB5 the code succeeds and the IF statement is processed, in Vb.NET the code returns error and the msgbox returns an 18 digit error code! thanks in advance the code is: Private Const SE_FILE_OBJECT = 1&...more >>

"dirty" flag on a form
Posted by aussie rules at 5/22/2004 6:09:41 PM
Hi, I have some really, really large forms with dozens of text boxs. What I want to do is somehow know that the user has edited a text box, so that if they close the form, i can ask them if they would like to save there changes. Is there a simple way to do this, or do I have to have code ...more >>

make a classname a variable
Posted by Stephen Travis at 5/22/2004 6:01:12 PM
Since there is no eval function in VB, is there a way to make a classname a variable? For example; Dim MyClassInstance1 As New MyClass Dim somestring as System.String = "MyClassInstance1" "somestring".someproperty = "somevalue" ....which would set MyClassInstance1.someproperty to "someva...more >>

Transparent Image
Posted by ©pEIO at 5/22/2004 5:59:20 PM
How I can put an image in the BackgroundImage of the Form Control with one transparent color??? Thanks. Ciao. pEIO ...more >>

Bitmap.FromHicon
Posted by Urs Vogel at 5/22/2004 5:35:38 PM
Hi I tried to load icons from the url.ddl or shell32.dll using the Bitmap.FromHicon() method, but since the samples for this method in the MSDN Library don't work, I couldn't figure out how to achieve this. I need this for the favorites lists in an embedded browser in our app. Any samples o...more >>

Datagrid events
Posted by Larry at 5/22/2004 5:01:03 PM
VB.NET (winforms) application I have a datagrid to show a group of related rows. The first column is a boolean (checkbox) field. I want to add validation logic so that when the user checks one row, reset/uncheck all other rows(first column). in other words only zero or one row can have this column...more >>

Spam filter
Posted by Aaron at 5/22/2004 4:49:40 PM
Does anyone know where i can find a spam filter algorithm in .Net? It doesn't have to be complicated. Thanks, Aaron ...more >>

Trying to use PrintForm method
Posted by KDames at 5/22/2004 4:36:03 PM
Just trying to do a simple print of the current form, in VB 6, and it contains some listviews, list boxes and text boxes. The data in the text boxes print out on the hard card copy along with the controls and background of the form, but I can't seem to get the data in the listviews and list boxes to...more >>

Accessing Class Properties
Posted by Joel Reinford at 5/22/2004 2:36:52 PM
I have a VB.NET class with a number of properties and would like to be able to reference them in an index fashion. Is this possible and if so, how would I set this up? Psuedo code xyz = MyClass("PropertyName").Value Joel Reinford Data Management Solutions LLC ...more >>

Record Selection Formula
Posted by carmen at 5/22/2004 12:06:03 PM
i have the folowing code Dim y As New frmCobranz Dim MyReport As New RPTCobranz MyReport.DataDefinition.RecordSelectionFormula = "{CobH.RelNbr}= y.txtNoRelac.Text CrystalReportViewer1.ReportSource = MyRepor when run the report the following error rais error in form...more >>

ImageCombos- how to use them?
Posted by D T at 5/22/2004 11:51:50 AM
Hi, I need some general info on ImageCombos how do you use them? how do u put imgs into them? can u use them as normal combos? can u do an event according to what img the user chose? Thanx |DT| *** Sent via Developersdex http://www.developersdex.co...more >>

VB.NET vs VB
Posted by Chad Z. Hower aka Kudzu at 5/22/2004 11:39:27 AM
I have to make a case of why existing VB users should like VB.NET. ie, as a VB (6 or other) user what in VB.NET would interest you as a developer? I have a list that I am building, but would appreciate any additional ideas that you guys have. -- Chad Z. Hower (a.k.a. Kudzu) - http://www...more >>

clearing the image from a picturebox
Posted by aussie rules at 5/22/2004 10:45:38 AM
Hi, I have a picturebox with a gif I have loaded fromfile. I want to clear the picture so that nothing is displayed, but cannot see a method to do this. How can i do it Thanks ...more >>

compile error
Posted by mb at 5/22/2004 10:06:04 AM
hi everyon Could someone please tell me what could be causing this compile error on my .aspx page Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source co...more >>

Clearing an Event
Posted by Brad at 5/22/2004 9:56:03 AM
A quick question... In my program I handle an event, but the way it is programed the event gets "handled" twice. Is there a way to clear the event after it is handled the first time Thank Brad...more >>

Numeric Textbox Code
Posted by Keith at 5/22/2004 6:51:03 AM
I apologize for those of you who think I'm posting on the same topic. It is not that I don't appreciate all of your comments - and I'm definitely reading them all - but I think I have a differing opinion of how I want to handle the 'user experience' in the application I'm creating. While I know I ...more >>

Recording and playing WAV
Posted by Luck at 5/22/2004 6:32:43 AM
Hi, I'm trying to write a program to record and play a simple WAV file through my audio card using VB.NET. Can someone please tell me how I might do this or perhaps point me to a website / reference. Thanks very much in advance! Luck ...more >>

weird problem with datareader
Posted by Cc at 5/22/2004 4:53:55 AM
hi, while I making my own class library using odbc.net I encounter strange problem in this class Public Sub New() ' some code doing openning connection end sub Protected Overrides Sub Finalize() 'somecode doing closing connection MyBase.Finalize() End Sub the ide...more >>

Wildcard "%" not working
Posted by maha_ice NO[at]SPAM yahoo.com at 5/22/2004 2:24:33 AM
Hi, I am using a datagrid and the datagrid is filled through the SQL query. The SQL query searches for the match in the database. The SQL Query that i am writing is as follows Dim selprod As String = "SELECT ProductID, ProductName FROM Products WHERE ProductName LIKE '%prod%'" but it is no...more >>

Updating listbox bound to IList
Posted by Brian Mitchell at 5/22/2004 2:06:55 AM
Hello, I am trying to update my listbox whenever I remove something from the underlying datasource (IList). I understand that you must use the SuspendBinding and ResumeBinding methods of the BindingContext to accomplish this but I think I am doing something wrong: Dim bc As BindingManagerBase ...more >>


DevelopmentNow Blog