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 > april 2004 > threads for sunday april 18

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

How to change the border color of a Textbox in VB.NET?
Posted by Ramesh at 4/18/2004 11:51:23 PM
Hi, Is there any solution available for changing the border color of the textbox control in VB.NET? Pls provide me with a sample code. Thanks in advance Ramesh ...more >>

COMException occured while using ADODB
Posted by edwinah NO[at]SPAM customercare.com.au at 4/18/2004 11:43:10 PM
Hi guys, i have a collection containing the values and metadata about a current record. i build it by looping through the recordset as follows: Public Function NoNull(ByVal Value As Object) As String Return IIf(IsDBNull(Value), "", Value) End Function Public Function Load...more >>

Problem with my function
Posted by WStoreyII at 4/18/2004 10:57:04 PM
I have made a function which will take all of the dates in a column and convert them to nodes where the parent is the year adn the child and grandkids are the month and day perspectively the function works good it uses a couple of classes to acheive the desired results my problem is that if...more >>

Regular Expressions
Posted by rdi at 4/18/2004 10:54:28 PM
I get the idea of how to create the search patterns. But what I'm having trouble with is how to actually implement regular expressions. I can't seem to find any code that actually USES them. In all the posts I've found on google all anyone talked about was creating the actual search pattern. ...more >>

ListView - Automatically scrolling
Posted by Scott H at 4/18/2004 9:33:33 PM
If I have a Listview (in report mode) and theres several hundred items in it, is there any way programatically, to automatically scroll to the last item...Eg. the same thing that would happen if you were to click the list to give it focus, and then press the END key. I think I could do it by...more >>

Cant assign array values ! ? ! ?
Posted by cwertman NO[at]SPAM yahoo.com at 4/18/2004 7:15:32 PM
I am so lost on this one. Dim Ary as Integer = New Integer(4) {0,1,2,3} FAILS with the error: Array initializer has 1 too few elements. So I try Dim Ary as Integer = New Integer(3) {0,1,2,3} Since arrays start at 0 (I am thinking) and I get this error: Value of type '1-dimensional a...more >>

Font Styles
Posted by Bill English at 4/18/2004 7:03:30 PM
One last question before I go to bed... So far I have only programmed one style button for my text. This is the code I have for my Bold button. If Not rtb.SelectionFont Is Nothing Then Dim currentFont As System.Drawing.Font = rtb.SelectionFont Dim newFontSt...more >>

Remote Execution of an application on another PC
Posted by Plus.Net News at 4/18/2004 6:23:42 PM
Hi, I wonder if anybody could help. I am new to VB.NET and I would like to know if it is possible to get a VB.Net application running on one pc to instantiate an application on another PC. If this is possible, how would I go about doing this. Thanks in Advance Ash. ...more >>



Looking for code
Posted by gumi at 4/18/2004 5:13:28 PM
Hi, I am looking for code for a alarm clock program that pops up a messege to be used as part of my VB.Net class project. Any help is very much appreciated. Thanks ...more >>

Fonts
Posted by Bill English at 4/18/2004 5:05:13 PM
Which class are the fonts located? This is what I want to do: Dim vFonts() as String = (FONTS HERE) Then add all of the fonts to a checkbox....more >>

Rich Text Box
Posted by Bill English at 4/18/2004 3:50:23 PM
How do I make a button apply bold to a textbox, the RichTextBox.Font.Bold property is read only?...more >>

connectiing to a secured MS Access DB from VB.NET
Posted by Reny J Joseph Thuthikattu at 4/18/2004 3:34:28 PM
Hi, When i try to connect to a user name and password protected Access file from VB.NET i mam getting workgroup information file missiong. Can any one tell me how to connect to it? Reny ...more >>

Convert BMP to ICO
Posted by Bill English at 4/18/2004 2:28:27 PM
Does anyone have any ideas for converting an image file to an icon? The icon I want have for my App is currently an image....more >>

Current Most Common Screen Setting
Posted by Pete at 4/18/2004 1:58:17 PM
Looking for professional information, (surveys, articles or just general comments etc.) regrding the current most common screen setting among endusers. (Ie: 800x600) or something else. A subset of this will be the current most commonly used screen setting for professional application developm...more >>

Silly question
Posted by Jenny at 4/18/2004 1:06:01 PM
Hi you al I have two very silly question The first one is In vb 6.0 you can add a procedure, sub or function, by clicking add procedure from the tools item on the menuba I cannot seem to find this in vb.net 2003 SV. My questions is do you have to manual enter the code to create a procedure your...more >>

Help 3DES File Encrypt in VB6 to 3DES File Decrypt In VB.NET
Posted by underwmd at 4/18/2004 12:51:18 PM
Hello, My problem is two fold. 1) I must support a deployed legacy application written in VB6 SP5. I need to export data from a database, compress it and the encrypt the data using 3DES (to prevent tampering) data gets transmitted at night to the home office of my company. Rewriting th...more >>

JPEG
Posted by Bill English at 4/18/2004 12:24:00 PM
http://68.34.190.119/images/VS%20Problem.jpg...more >>

Loading images from defined size and area....
Posted by Ram at 4/18/2004 12:22:47 PM
Is it possible to load the image to a button contol so that I can load only the desired part of the image file through programmatically ? thanks ...more >>

Toolbar Images
Posted by Bill English at 4/18/2004 10:31:53 AM
I have a problem with my toolbar images. I seem to have set them up correctly, because they show up perfectly in the designer, but when I run it the images do not appear. Here is a picture of the designer: http://68.34.190.119/images/VS%20Problem.bmp...more >>

"Declaration Expected" - Copy/Pasted DIRECTLY from the help files.
Posted by rdi at 4/18/2004 10:15:46 AM
The import statements weren't copy/pasted, but everything INSIDE the = class WAS copy pasted from the help file. Starting with the myMail.From = line and going down to the SmtpMail.Send line, EVERY line results in a = "Declaration Expected" error. --=20 RDI (remove the exclamation from ...more >>

data grid problem
Posted by Stephen at 4/18/2004 9:57:32 AM
hi all i have a datagrid that returns all the rows from a table. It fires ok except one field returns the numeric value of the lookup field not the description. heres the corresponding piece of code: With txtTransType ..Alignment = HorizontalAlignment.Right ..HeaderText = "Transaction Ty...more >>

Exchanging data between forms
Posted by John at 4/18/2004 7:56:03 AM
Hell I have application that is simulating something like small bank. It's only for accademic use only. I have a form for creating new accout for example, and i put all acounts into an arraylist ( I keep there objects of account class ( my own )). But this array in on a major form, and when I want ...more >>

Formatting TextBox ?
Posted by Jack at 4/18/2004 7:46:02 AM
Hell I have a few text boxes on my form and I need in one to allow only numbers and on the other only letters how to enforce that you can't enter numbers in a letters textbox and... Jack...more >>

sending mail with attachment
Posted by Cantekin Guneser at 4/18/2004 6:59:56 AM
i am writing wep app. and i send mail from one page , i need to ad attacment to mail whic is at client, i am doing as folloving copying file to server adding attacment to mail sending mail then deleting file is there sorter way to do this like adding attachment without coppiying server side...more >>

Classes
Posted by Carlo B at 4/18/2004 5:01:49 AM
I’m getting an error “An unhandled exception of type 'System.NullReferenceException' occurred in 11_1_26.exe Additional information: Object reference not set to an instance of an object.” It points to st.num = CDbl(txtNumber.Text) I cannot see what is wrong. Please help. Dim statistic() As ...more >>

Bug in .NET panel control? Or am I missing something?
Posted by BoloBaby at 4/18/2004 4:47:36 AM
OK, check this out... I have a form with a panel control and button on it (outside the panel control). I have two event handlers - one handles the click event of the button on the form. The other handles a custom "CardInserted" event for a class I wrote that watches for smart cards to be i...more >>

CLASSES
Posted by DotNetJunkies User at 4/18/2004 4:30:45 AM
I’m getting an error “An unhandled exception of type 'System.NullReferenceException' occurred in 11_1_26.exe Additional information: Object reference not set to an instance of an object.” It points to st.num = CDbl(txtNumber.Text) I cannot see what is wrong. Please help. Dim statistic(...more >>

RowFilter Question
Posted by WStoreyII at 4/18/2004 2:01:02 AM
i have a column that is transaction date the datatype is set to date for the column my question is i need to set a row filter that will show all the dates that contain a certain year and month i know that this would work to show just the certain date like rowfilter = "tdate = '4/5/2006'" ...more >>

Office 2003 icons
Posted by John at 4/18/2004 1:55:55 AM
Hi Is there a place where I can get office 2003 toolbar icons? Thanks Regards ...more >>

Registry.
Posted by Rob Boger at 4/18/2004 1:41:51 AM
I've been looking and trying for hours and haven't been able to figure out how to read/write on the registry of a remote-computer with alternate credentials. I've can do it easily on a local computer but not remotely. I'm trying to convert my vbscripts to a vb.net program, though I'm thinking ...more >>

nested classes... or something.
Posted by nobody at 4/18/2004 1:01:46 AM
I just tried to do something and realized I'm not sure of the proper (if there *IS* a proper) way to do it. I'm designing a class with a lot a methods/properties. I would like to group some of them so you access them like MyObject.Commands.blah1, MyObject.Commands.blah2, etc... So some of the...more >>

Code fails to execute - no error, and program keeps running
Posted by BoloBaby at 4/18/2004 12:45:39 AM
I have an extremely vexing problem occurring in a program that I am writing. Consider the following block of code: Dim pDancer As New BEDancer mintIndex = mintIndex + 1 pDancer.DancerName = "Dancer #" & mintIndex pDancer.DancerStatus = BEDancerStatus.BE_AVAILAB...more >>

PLEASE!!! help a struggling Student of VB with a nagging problem, this is directed to all the VB gurus
Posted by Chris at 4/18/2004 12:36:26 AM
Hi all, I am doing a course in VB and have written a small sales program but I have hit a wall with the following problem. I made a Dim for ordernumber and I made a ADOdc7 which is linked with a database and a table in access, but I cant get the Dim to work and make it save the info in the ...more >>

dataset occupying too much memory
Posted by anandsaha NO[at]SPAM rediffmail.com at 4/18/2004 12:15:16 AM
hi, i am fetching data from database using dataadaptor and filling up a dataset. i checked memory usage of the app, and it consumes 50 Mb of RAM for the given amount of data. that is, i checked the memory occupied by the app before and after fetching data. i saved the same amount of data...more >>


DevelopmentNow Blog