| Thread | Last Post | Replies |
|
| Subclassing an Exception | 22 Jun 2005 20:14 GMT | 4 |
I have a generic catch block for exceptions of type Exception Once inside the block I would like to know if my exception is of type System.Data.SqlClient.SqlException. Actually I would like to pass the variable of type Exception to a generic error handler, where I need to know
|
| CDO Mail error 438 | 22 Jun 2005 19:35 GMT | 3 |
The following function gave an error 438 Object doesn't support this property or method. The same function ran ok on another VB 6. What am i missing? Thanks
|
| asp.net error using office XP PIA | 22 Jun 2005 19:35 GMT | 2 |
I am trying to create an excel report from my aspx.vb code. I got the following error trying to add a workbook: Dim xApp As New Microsoft.Office.Interop.Excel.Application Dim xWB As Microsoft.Office.Interop.Excel.Workbook
|
| Tricky string replacement | 22 Jun 2005 17:46 GMT | 3 |
I have a string that contains text as well as some html tags. The tags in question are <br /> tags. This is what I'm aiming for: 1. Search the string for any occurrence(s) of <br /> tags 2. If there are any, count the total number of <br /> tags found
|
| RS232.VB problem | 22 Jun 2005 16:38 GMT | 1 |
I've written an app using RS232.VB (by Keith Langer 2/5/02 -- Modified to handle overlapped IO and provide asynchronous read/write) and the executable works as expected under XP Pro but, the RS232 portion of the app doesn't work under Win98SE.
|
| block level variables .. when to use them and why?? | 22 Jun 2005 16:01 GMT | 5 |
As you all know in vb.net we can declare block level variables. Like : Dim I As Integer For I = 1 To 3
|
| Stupid problem with Splitters and Docking | 22 Jun 2005 15:44 GMT | 4 |
This is a stupid problem to have, but here goes. I wanted to make like an Outlook-looking app. Multiple splitters, panes, etc. If I ...
|
| Ticks to DateTime | 22 Jun 2005 15:07 GMT | 2 |
How can I take a long variable from Datetime.Now.Ticks and restore that number into a datetime variable? Similar to the sample below that doesnt work. Dim i as long = Datetime.Now.Ticks
|
| windows app autoexit | 22 Jun 2005 14:30 GMT | 1 |
I have an windows application. What I want to have is a feature that after a preset time, say 20 minutes, if the user does not do anything the application will be automatically logout and back to the login screen. Any idea on how to accomplish that using vb.net? Thanks a lot for any ...
|
| Handling related mouse events for the same control | 22 Jun 2005 14:25 GMT | 2 |
This question has arisen from an earlier thread but is really a separate issue: I have a VB.Net listbox control on a form. I want to be able to do 2 things with items displayed within the one listbox.
|
| passing variable to function | 22 Jun 2005 14:24 GMT | 3 |
In the code below I have a function that tests if a file exists. It takes a variable named strFileName, simple enough. My question is, is there a way to pass it a variable with another name as long as the variable is a string? In different subs the variable of the file name may ...
|
| Embedded Resource (PNG) in DLL | 22 Jun 2005 14:13 GMT | 4 |
Hi all, I've been strugling with this for the last few days and I'm wonding if any of you have had the same problem or a solution I could consider: I'm embedding a bitmap resource (PNG format) as part of an extended panel control that I'm creating. I'm trying read the embedded ...
|
| Close all forms, then closing MDI Parent Help | 22 Jun 2005 13:54 GMT | 2 |
I have a form (switchboard like form) thats loaded into a MDI parent form. This form is the start off point for all the other screens in the app. I have placed a exit button on the switchboard and would like to use it to close all app down. What is the best way to do that? I have ...
|
| DataGrid: Text instead of Number | 22 Jun 2005 13:23 GMT | 3 |
I have a form with a DataGrid, which is bound to a DataView, which comes from a Database. No other fancy settings... myDataGrid.DataSource = myDataView My DB-Table has a Column "salutation" with the possible values 0 (which
|
| Premature Entry of Enter Event Handler | 22 Jun 2005 12:36 GMT | 4 |
I have a combobox which, via VS Properties, contains some initial Text. I have an Enter event handler and a Leave event handler for this combobox. When I run this app the Enter event handler is entered immediatley, thus causing some code to be executed prematurely.
|