Click here to Skip to main content
15,919,434 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: How to Add click once feature for windows Class Library application? Pin
led mike27-Mar-08 4:56
led mike27-Mar-08 4:56 
Questionhow to select and resize already drawn shape in gdi+ Pin
Er.bRijal26-Mar-08 12:27
Er.bRijal26-Mar-08 12:27 
GeneralRe: how to select and resize already drawn shape in gdi+ Pin
Christian Graus26-Mar-08 12:38
protectorChristian Graus26-Mar-08 12:38 
GeneralRe: how to select and resize already drawn shape in gdi+ Pin
Er.bRijal26-Mar-08 12:46
Er.bRijal26-Mar-08 12:46 
GeneralRe: how to select and resize already drawn shape in gdi+ Pin
Christian Graus26-Mar-08 12:55
protectorChristian Graus26-Mar-08 12:55 
GeneralRe: how to select and resize already drawn shape in gdi+ Pin
Er.bRijal26-Mar-08 13:11
Er.bRijal26-Mar-08 13:11 
GeneralRe: how to select and resize already drawn shape in gdi+ Pin
Christian Graus26-Mar-08 14:32
protectorChristian Graus26-Mar-08 14:32 
GeneralNeed help understanding how Pin
Core-CA24-Mar-08 2:19
Core-CA24-Mar-08 2:19 
I am using VB2005 to write an addin for Autodesk Inventor 2008, and I am having trouble understanding one part of the code that I have seen is some sample addin's posted by Autodesk.

When an addin loads it gets access to the running instance of inventor, thru an Activate method.

Public Sub Activate(ByVal addInSiteObject As Inventor.ApplicationAddInSite, ByVal firstTime As Boolean) Implements Inventor.ApplicationAddInServer.Activate

' This method is called by Inventor when it loads the AddIn.
' The AddInSiteObject provides access to the Inventor Application object.
' The FirstTime flag indicates if the AddIn is loaded for the first time.

' Initialize AddIn members.
m_inventorApplication = addInSiteObject.Application



When I create a form in the designer I believe I want to access this same running instance, so I declare a variable. How do I assign the invApp variable the same inventor application from the Activate method?

I feel there is something very basic here that i am missing.

Imports Inventor
Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Dim invApp As Inventor.Application


End Sub
End Class

If anyone can answer or direct me to something that will help me understand this.

Greatly appreciated
GeneralRe: Need help understanding how Pin
Christian Graus26-Mar-08 12:45
protectorChristian Graus26-Mar-08 12:45 
GeneralRight click on Data grid view cell content Pin
skghosh23-Mar-08 19:30
skghosh23-Mar-08 19:30 
GeneralRe: Right click on Data grid view cell content Pin
John_Adams24-Mar-08 20:23
John_Adams24-Mar-08 20:23 
Questionrestrict copy pasting on textbox of window form Pin
Member 393961223-Mar-08 19:17
Member 393961223-Mar-08 19:17 
GeneralRe: restrict copy pasting on textbox of window form [modified] Pin
Giorgi Dalakishvili23-Mar-08 21:18
mentorGiorgi Dalakishvili23-Mar-08 21:18 
GeneralGetting TopMost MDIChild Pin
Ylno22-Mar-08 10:08
Ylno22-Mar-08 10:08 
GeneralRe: Getting TopMost MDIChild Pin
Eduard Keilholz26-Mar-08 1:10
Eduard Keilholz26-Mar-08 1:10 
GeneralRe: Getting TopMost MDIChild Pin
Luis Alonso Ramos30-Mar-08 15:39
Luis Alonso Ramos30-Mar-08 15:39 
GeneralMessageBox Popup in Windows Service Pin
vijay_8321-Mar-08 21:37
vijay_8321-Mar-08 21:37 
GeneralRe: MessageBox Popup in Windows Service Pin
Eduard Keilholz25-Mar-08 21:12
Eduard Keilholz25-Mar-08 21:12 
GeneralRe: MessageBox Popup in Windows Service Pin
Herman<T>.Instance1-Apr-08 23:40
Herman<T>.Instance1-Apr-08 23:40 
GeneralRaising Events from IF hosted winfrom control to container(aspx) page Pin
Kodanda Pani21-Mar-08 6:22
Kodanda Pani21-Mar-08 6:22 
GeneralRe: Raising Events from IF hosted winfrom control to container(aspx) page Pin
N a v a n e e t h21-Mar-08 20:24
N a v a n e e t h21-Mar-08 20:24 
GeneralRe: Raising Events from IF hosted winfrom control to container(aspx) page Pin
Pete O'Hanlon22-Mar-08 9:19
mvePete O'Hanlon22-Mar-08 9:19 
GeneralScrollin bug Pin
dem21919-Mar-08 9:48
dem21919-Mar-08 9:48 
GeneralC# --&gt; J# Pin
mr.me19-Mar-08 6:57
mr.me19-Mar-08 6:57 
GeneralRe: C# --&gt; J# Pin
led mike19-Mar-08 7:04
led mike19-Mar-08 7:04 

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.