Click here to Skip to main content
16,005,241 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: can we select the area on windows application Pin
Christian Graus3-Oct-07 20:29
protectorChristian Graus3-Oct-07 20:29 
GeneralRe: can we select the area on windows application Pin
Piyush Vardhan Singh3-Oct-07 20:42
Piyush Vardhan Singh3-Oct-07 20:42 
GeneralRe: can we select the area on windows application Pin
Parwej Ahamad3-Oct-07 20:56
professionalParwej Ahamad3-Oct-07 20:56 
Questionopenoffice Pin
WhiteGirl233-Oct-07 19:40
WhiteGirl233-Oct-07 19:40 
AnswerRe: openoffice Pin
Christian Graus3-Oct-07 19:43
protectorChristian Graus3-Oct-07 19:43 
AnswerRe: openoffice Pin
WhiteGirl233-Oct-07 20:21
WhiteGirl233-Oct-07 20:21 
GeneralRe: openoffice Pin
Christian Graus3-Oct-07 20:32
protectorChristian Graus3-Oct-07 20:32 
QuestionVB.Net IDE Pin
Jeff Law3-Oct-07 17:28
Jeff Law3-Oct-07 17:28 
As a long-time VB6 programmer, I have made frequent use of the following function ...

Private Function VBDesignEnvironment() As Boolean
On Error Resume Next
Debug.Print 1 / 0
If Err Then VBDesignEnvironment = True
On Error GoTo 0
End Function

... to allow the setting up of test-conditions, etc, in apps under development. This function guaranteed to return True when operating with the IDE, but False otherwise.

This provides a useful safeguard should one forget to remove the test code before release (don't ask!).

Now, this technique does not work within the VB.Net IDE, unfortunately.

Does anyone have any similar, guaranteed-to-work function to determine if the code is running in the IDE?

Jeff Law
New Zealand
AnswerRe: VB.Net IDE Pin
Christian Graus3-Oct-07 17:44
protectorChristian Graus3-Oct-07 17:44 
GeneralRe: VB.Net IDE Pin
Jeff Law4-Oct-07 10:03
Jeff Law4-Oct-07 10:03 
QuestionDatagridView , set datasource from 2 or more related tables Pin
dcode253-Oct-07 14:44
dcode253-Oct-07 14:44 
AnswerRe: DatagridView , set datasource from 2 or more related tables Pin
Dave Kreskowiak4-Oct-07 3:52
mveDave Kreskowiak4-Oct-07 3:52 
QuestionVB6 and C# Interaction Pin
TimNaber3-Oct-07 12:49
TimNaber3-Oct-07 12:49 
AnswerRe: VB6 and C# Interaction Pin
Dave Kreskowiak4-Oct-07 3:44
mveDave Kreskowiak4-Oct-07 3:44 
QuestionList View - Selected Row Pin
Tess_Mc3-Oct-07 12:34
Tess_Mc3-Oct-07 12:34 
AnswerRe: List View - Selected Row Pin
nlarson113-Oct-07 15:06
nlarson113-Oct-07 15:06 
QuestionURL Normalization ? Pin
AliAmjad3-Oct-07 11:25
AliAmjad3-Oct-07 11:25 
AnswerRe: URL Normalization ? Pin
Scott Dorman3-Oct-07 12:10
professionalScott Dorman3-Oct-07 12:10 
AnswerRe: URL Normalization ? Pin
pmarfleet3-Oct-07 12:11
pmarfleet3-Oct-07 12:11 
QuestionUpdating access database Pin
Mr Oizo3-Oct-07 8:58
Mr Oizo3-Oct-07 8:58 
AnswerRe: Updating access database Pin
Guffa3-Oct-07 9:09
Guffa3-Oct-07 9:09 
GeneralRe: Updating access database Pin
Mr Oizo3-Oct-07 10:20
Mr Oizo3-Oct-07 10:20 
AnswerRe: Updating access database Pin
Guffa3-Oct-07 10:43
Guffa3-Oct-07 10:43 
Questionhow to check new mail from gmail server ?? Pin
edmond10023-Oct-07 7:52
edmond10023-Oct-07 7:52 
QuestionParameter Pin
naal_1234563-Oct-07 7:14
naal_1234563-Oct-07 7:14 

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.