Click here to Skip to main content
15,896,912 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalwindows scheduler in vb.net Pin
vidyashankar1-Feb-08 1:07
vidyashankar1-Feb-08 1:07 
GeneralRe: windows scheduler in vb.net Pin
Steven J Jowett1-Feb-08 1:51
Steven J Jowett1-Feb-08 1:51 
QuestionAttachDBFilename Pin
aransiola1-Feb-08 0:26
aransiola1-Feb-08 0:26 
AnswerAttachDBFilename Pin
aransiola1-Feb-08 0:24
aransiola1-Feb-08 0:24 
GeneralRe: AttachDBFilename Pin
Steven J Jowett1-Feb-08 1:49
Steven J Jowett1-Feb-08 1:49 
GeneralRead Line Number from Exceptions Pin
danasegaranea1-Feb-08 0:10
danasegaranea1-Feb-08 0:10 
GeneralRe: Read Line Number from Exceptions Pin
The ANZAC1-Feb-08 18:50
The ANZAC1-Feb-08 18:50 
GeneralRe: Read Line Number from Exceptions Pin
Luc Pattyn2-Feb-08 3:24
sitebuilderLuc Pattyn2-Feb-08 3:24 
Hi,

for Exception exc:
1. exc.Message does not contain a line number
2. exc.StackTrace contains a multi-line string with the stack trace, which may or may not
contain linenumbers (depends on where the problem is, the amount of debug info available)
3. may have an inner exception where the actual problem occured
4. exc.ToString() returns a string that contains all available information, including the
info on inner exceptions

If you want to extract a line number, you will need to perform string operations,
such as IndexOf() and SubString().

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.


GeneralException Handling Pin
divyesh143231-Jan-08 21:53
divyesh143231-Jan-08 21:53 
GeneralRe: Exception Handling Pin
Steven J Jowett31-Jan-08 22:19
Steven J Jowett31-Jan-08 22:19 
GeneralRe: Exception Handling Pin
Mark Churchill1-Feb-08 2:50
Mark Churchill1-Feb-08 2:50 
GeneralRe: Exception Handling Pin
Scott Dorman2-Feb-08 3:41
professionalScott Dorman2-Feb-08 3:41 
QuestionNavigating to previous page. Pin
Soonal31-Jan-08 21:28
Soonal31-Jan-08 21:28 
QuestionHow to hide the features of datagridview ?? Pin
VB 8.031-Jan-08 20:17
VB 8.031-Jan-08 20:17 
AnswerRe: How to hide the features of datagridview ?? Pin
Scubapro31-Jan-08 21:37
Scubapro31-Jan-08 21:37 
Generalneed to define a page range of richtextbox Pin
eyes200731-Jan-08 19:42
eyes200731-Jan-08 19:42 
GeneralDefault application for certain files. Pin
divyesh143231-Jan-08 18:42
divyesh143231-Jan-08 18:42 
Generalselecting a child node in a treeview after navigating to another page. Pin
uglyeyes31-Jan-08 16:03
uglyeyes31-Jan-08 16:03 
GeneralRe: selecting a child node in a treeview after navigating to another page. Pin
Mycroft Holmes31-Jan-08 16:18
professionalMycroft Holmes31-Jan-08 16:18 
GeneralRe: selecting a child node in a treeview after navigating to another page. Pin
uglyeyes31-Jan-08 18:00
uglyeyes31-Jan-08 18:00 
GeneralRe: selecting a child node in a treeview after navigating to another page. Pin
uglyeyes31-Jan-08 18:42
uglyeyes31-Jan-08 18:42 
GeneralRetrieving a column from a data Row Pin
AAGTHosting31-Jan-08 12:09
AAGTHosting31-Jan-08 12:09 
GeneralRe: Retrieving a column from a data Row Pin
Mycroft Holmes31-Jan-08 16:35
professionalMycroft Holmes31-Jan-08 16:35 
GeneralRowNotInTableException - VB.NET 2.0 Pin
Marcus J. Smith31-Jan-08 6:45
professionalMarcus J. Smith31-Jan-08 6:45 
GeneralRe: RowNotInTableException - VB.NET 2.0 Pin
pmarfleet31-Jan-08 9:20
pmarfleet31-Jan-08 9:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.