| Changing the color of Menus (3 replies) |
| microsoft.public.dotnet.languages.vb |
| How do I change the color of the menu? |
|
| Err object (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi. Experimenting with some examples of Try Catch, some of them use the Err.Number property to identify the number of an error. Every time an exception occurs, is the Err object fullfiled or .Net has another object to keep this info? Are there any other ways to test the error's number without the Err.Number property? Many thanks. *** Sent via Developersdex http://www.developersdex.com *** Don't ju... |
|
| Format a date in datagrid? (3 replies) |
| microsoft.public.dotnet.languages.vb |
| All I want to do is change "3/30/02 14:23:28" to "03/30/2002". I can't figure out the formatting code for this. I can barely figure out how the formatting expressions work, intuitive it is not. It's for the DataFormatString Property of the DataGrid object. |
|
| Why use Finally? (2 replies) |
| microsoft.public.dotnet.languages.vb |
| In a Try...Catch...Finally block, the code inside Finally is going to be executed no matter if an error ocurrs or not. Why even put it there? Ex. you have the following block: Try Code with Error Catch Code to handle the error Finally Code to be executed always End Try Isn't that the same as writing: Try Code with Error Catch Code to handle the error End Try Code to be executed always ??? Thanks |
|
| Fill a ComboBox (4 replies) |
| microsoft.public.dotnet.languages.vb |
| How can I fill a ComboBox with two Coumns? How can I create the two Columns and how is it to fill? Click the ComboBox and it should looks like... A Alpha B Beta C Gamma .... (2 Columns) |
|
| Text on .Net PaintBox (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi Folks there is another beginner question: does anybody know, how can i write a text (datetime) on an image an save both informations to a file ? Sample code required (beginner) thx J |
|
| newbie: datagrid question (6 replies) |
| microsoft.public.dotnet.languages.vb |
| Can you select a row in a datagrid without creating a button? If so, how? Thanks, Kristy |
|
| ListBox.ADD - fires what events? (2 replies) |
| microsoft.public.dotnet.languages.vb |
| I currently have a listbox that I am adding items to using "ListBox1.ADD" I would like a label to display the number of items in the listbox (.count) automatically when an item is ADDED the list box. Note: NO item in the list box is selected, so the "SelectedIndexChanged" won't work. Question: What event is issued when the .ADD is involked to add an item to a list box? I can make it work when I se... |
|
| status bar text (2 replies) |
| microsoft.public.dotnet.languages.vb |
| When I write test to the status bar text property, the old text does not clear. The new text is appended to the old text. Has anyone else seen this? Norm |
|
| MShFLEXGRID en NET (5 replies) |
| microsoft.public.dotnet.languages.vb |
| Como puedo asociar a la propiedad datasource una tabla o consulta de un dataset. Gracias |
|
| Getting Font List (2 replies) |
| microsoft.public.dotnet.languages.vb |
| I know in 6.0 you can get the fonts names from screen.fonts. Is their an eq. in vb .net? |
|
| combobox Binding (2 replies) |
| microsoft.public.dotnet.languages.vb |
| anyone has use the combobo1.DataBindings.Add("Text", dt, "KeyValue") where dt is a datatable.. And why the value (KeyValue) in the datatable doesn't change when i change the comboxitem?? |
|
| VB.NET Toolbar ButtonDropDown metho (2 replies) |
| microsoft.public.dotnet.languages.vb |
| I have an issue with the Toolbar ButtonDropDown method. I have a tool bar control with a button that has a drop down arrow to make addition selections for that particular button. However, I have an issue with how to code the addition menu selections that are associated with that button. The documentation is poor on how to add the addition menu items and how to test for the selection made by the us... |
|
| ProgressBar Color (2 replies) |
| microsoft.public.dotnet.languages.vb |
| I'm attempting to set the color of the actual progress bar to Green rather than a typical blue. Does anyone know how to do this? The ForeGround and BackGround properties don't appear to have any affect. Brian Patterson |
|
| Parsing a string Question (3 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, I have a simple issue (I assume) that I can't resolve: I'm receiving the following datetime information: "4/1/2002 10:30:00 pm" I want to parse this out for the date and time but not sure how since the size will vary i tried checking the length then parsing (via string's substring method) the values, but the problem is this: in this situation: "4/1/2002 10:30:00 pm" the length is 20 "10/1/2002... |
|
| DirectX 8(.1) and VB.NET (3 replies) |
| microsoft.public.dotnet.languages.vb |
| Anyone tried to use DirectX with VB.NET yet? I've gotten most of it to work by adding a referenct to DirectX 8 VB Type Library in the COM tab of the Add Reference... dialog, but I can't seem to access anything in the D3DX MATH object. I can't even SEE the object. While I COULD re write functions for D3DXMatrixIdentity() or D3DXMatrixMultiply(), I'd rather use what came with the SDK... That's what ... |
|
| On error -> Try,Catch... (5 replies) |
| microsoft.public.dotnet.languages.vb |
| Howdy, I was trying to change an application from: On error resume next to Try... Catch but I can't seem to figure out how to continue after the first error. Is this standard or are there anything like Resume next that I can write in a Try/Catch block of code? Resume next gives an error saying that you can only use on error resume next or only Try/catch. Best regards Niklas E |
|
| sending email (4 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi all, ive got an asp page with the following code Dim objMail As MailMessage New MailMessage() objMail.To objClient.EmailAddress objMail.From "registration@test.co.uk" objMail.Body "Welcome To test.co.uk" Dim objSend As SmtpMail objSend New SmtpMail() objSend.Send(objMail) But when compiling i get the message: (94): 'System.Web.Mail.SmtpMail.Private Overloads Sub New()' is not accessible in this... |
|
| How do I get the current screen dimensions? <EOM> (2 replies) |
| microsoft.public.dotnet.languages.vb |
| . |
|
| Calling Click event of forms from a menu.... (11 replies) |
| microsoft.public.dotnet.languages.vb |
| I have a small problem that I am unable to resolve... I am loading a form from a menu.... Okay that works fine I would like to Call a push button on that form and have its code executed on the menu code... Here is the code I am using.... Private Sub VHF Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles vhf.Click Dim VHFForm As Form VHFForm New DataForm3() VHFForm.Visible Tr... |
|
| When should I use the Try...Catch...Finally? (5 replies) |
| microsoft.public.dotnet.languages.vb |
| I have always done a If..Then..Else to catch errors etc in my code; should I replace the ITE with the TCF in those circumstances? I ask this, as every single piece of code I write always returns something whether it be the correct values, or an error statement/value. Wayne M J http://www.users.bigpond.net.au/warp kez |
|
| Treeview got harder to program (4 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi All How do I add "children" to a tree node? How do I reference one ? What replaces the KEY index? TIA Guy |
|
| Events and user controls (2 replies) |
| microsoft.public.dotnet.languages.vb |
| I have created a very simple user control. It has 2 pictures and thats about it. The frist picture is of the enabled control, the second is of the disabled control (grayed out). All I am trying to do is fire an event when the user clicks on the control (enabled picture). I do not know how to create an event to do this. There is a Click event for the user control itself, but that will only fire if ... |
|
| combining a time and a date to one Date/Time value (2 replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, I have two strings, one with a date (tbDate.text) one with a time (tbTime.Text). Now I would like to combine both to a new Date. right now I do this like that: New Date(DatePart(DateInterval.Year, CDate(tbDate.Text)), DatePart(DateInterval.Month, CDate(tbDate.Text)), DatePart(DateInterval.Day, CDate(tbDate.Text)), DatePart(DateInterval.Hour, CDate(tbTime.Text)), DatePart(DateInterval.Minute, C... |
|
| i dont get why this is happening.... (5 replies) |
| microsoft.public.dotnet.languages.vb |
| Im trying to send a mail from ASP.Net but i keep getting the error.... (96): 'System.Web.Mail.SmtpMail.Private Overloads Sub New()' is not accessible in this context because it is 'Private'. Any Ideas why this is? The code is below....... Dim objMail As Mail.MailMessage New Mail.MailMessage() objMail.To objClient.EmailAddress objMail.From "registration@bionic.co.uk" objMail.Subject "Registered" ob... |
|