Click here to Skip to main content
15,919,931 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Problem with Service Application Template Pin
jim_taylor27-Nov-07 10:04
jim_taylor27-Nov-07 10:04 
GeneralRe: Problem with Service Application Template Pin
Dave Kreskowiak27-Nov-07 10:14
mveDave Kreskowiak27-Nov-07 10:14 
GeneralRe: Problem with Service Application Template Pin
jim_taylor27-Nov-07 11:21
jim_taylor27-Nov-07 11:21 
QuestionSet SSRS Report Datasource using vb.net Pin
Realsirocco27-Nov-07 6:21
Realsirocco27-Nov-07 6:21 
AnswerRe: Set SSRS Report Datasource using vb.net Pin
pmarfleet27-Nov-07 7:11
pmarfleet27-Nov-07 7:11 
QuestionContext-Sensitive Help in VB 2005 Pin
PeterBiddlecombe27-Nov-07 5:30
PeterBiddlecombe27-Nov-07 5:30 
AnswerRe: Context-Sensitive Help in VB 2005 Pin
Dave Kreskowiak27-Nov-07 6:37
mveDave Kreskowiak27-Nov-07 6:37 
QuestionVB.Net macro problem [modified] Pin
smith4306527-Nov-07 5:11
smith4306527-Nov-07 5:11 
We have a macro that creates VB.Net classes and setup pages from system specifications.

We are moving to VB.Net 2008 and are having a problem - the macro is now crashing at random times with InvalidCastException - Unable to cast a ComObject to EnvDTE._DTE on the line
DTE.Windows.Item(Constants.vsWindowKindSolutionExplorer).Activate().

Placing a breakpoint on this line and watching the DTE shows its entries as {System._ComObject}. Sooner or later, those entries change to {System.Runtime.Interop.COMException} and the macro crashes.

If data entry is delayed by a coffee break, the crash will happen on the next entry.

Any ideas of what's going on? Is the garbage collector removing the DTE definition? How can I prevent this?


-- modified at 15:12 Wednesday 28th November, 2007
QuestionMarshallByRef problem Pin
cstrader23227-Nov-07 4:48
cstrader23227-Nov-07 4:48 
AnswerRe: MarshallByRef problem Pin
cstrader23227-Nov-07 4:54
cstrader23227-Nov-07 4:54 
AnswerRe: MarshallByRef problem Pin
Dave Kreskowiak27-Nov-07 5:15
mveDave Kreskowiak27-Nov-07 5:15 
GeneralRe: MarshallByRef problem Pin
cstrader23227-Nov-07 5:39
cstrader23227-Nov-07 5:39 
GeneralRe: MarshallByRef problem Pin
Dave Kreskowiak27-Nov-07 6:25
mveDave Kreskowiak27-Nov-07 6:25 
GeneralRe: MarshallByRef problem Pin
cstrader23227-Nov-07 7:07
cstrader23227-Nov-07 7:07 
GeneralRe: MarshallByRef problem Pin
Dave Kreskowiak27-Nov-07 7:48
mveDave Kreskowiak27-Nov-07 7:48 
Questionhow to know which procces['s] have access to a file Pin
combo_ci27-Nov-07 3:46
combo_ci27-Nov-07 3:46 
AnswerRe: how to know which procces['s] have access to a file Pin
Dave Kreskowiak27-Nov-07 5:43
mveDave Kreskowiak27-Nov-07 5:43 
Questionvb.net versus c# problem Pin
cstrader23227-Nov-07 3:36
cstrader23227-Nov-07 3:36 
AnswerRe: vb.net versus c# problem Pin
Dave Kreskowiak27-Nov-07 5:10
mveDave Kreskowiak27-Nov-07 5:10 
GeneralRe: vb.net versus c# problem Pin
cstrader23227-Nov-07 5:35
cstrader23227-Nov-07 5:35 
GeneralRe: vb.net versus c# problem Pin
Dave Kreskowiak27-Nov-07 6:13
mveDave Kreskowiak27-Nov-07 6:13 
GeneralRe: vb.net versus c# problem Pin
cstrader23227-Nov-07 6:56
cstrader23227-Nov-07 6:56 
GeneralRe: vb.net versus c# problem Pin
Dave Kreskowiak27-Nov-07 8:19
mveDave Kreskowiak27-Nov-07 8:19 
GeneralRe: vb.net versus c# problem Pin
cstrader23227-Nov-07 12:07
cstrader23227-Nov-07 12:07 
GeneralRe: vb.net versus c# problem Pin
Dave Kreskowiak27-Nov-07 14:32
mveDave Kreskowiak27-Nov-07 14:32 

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.