Click here to Skip to main content
16,007,504 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: installation headache Pin
Dave Kreskowiak27-Sep-06 2:20
mveDave Kreskowiak27-Sep-06 2:20 
GeneralRe: installation headache Pin
ihe28-Sep-06 3:24
ihe28-Sep-06 3:24 
QuestionIs this possible? Pin
zenithmaximus22-Sep-06 0:54
zenithmaximus22-Sep-06 0:54 
AnswerRe: Is this possible? Pin
Christian Graus22-Sep-06 1:13
protectorChristian Graus22-Sep-06 1:13 
AnswerRe: Is this possible? Pin
Dave Kreskowiak22-Sep-06 3:02
mveDave Kreskowiak22-Sep-06 3:02 
AnswerRe: Is this possible? Pin
The ANZAC22-Sep-06 12:30
The ANZAC22-Sep-06 12:30 
Question[Message Deleted] Pin
PREMSONBABY22-Sep-06 0:03
PREMSONBABY22-Sep-06 0:03 
AnswerRe: How to get the startup path from a dll Pin
Dave Kreskowiak22-Sep-06 2:58
mveDave Kreskowiak22-Sep-06 2:58 
This is information that should be passed into the method by the caller. Since your .DLL can't determine what type of application is calling it, Application.StartupPath might not have any meaning.

But, if you're absolutely sure that the only thing that will call your method is a Windows Forms app, you can add a reference to the System.Windows.Forms.DLL, then do something like this in your DLL code:
Imports System.Windows.Forms
.
.
.
Dim path As String = Application.StartupPath



Dave Kreskowiak
Microsoft MVP - Visual Basic


Questionto declare operator Pin
spbhattind21-Sep-06 23:35
spbhattind21-Sep-06 23:35 
AnswerRe: to declare operator Pin
Christian Graus22-Sep-06 0:03
protectorChristian Graus22-Sep-06 0:03 
AnswerRe: to declare operator Pin
Dave Kreskowiak22-Sep-06 2:45
mveDave Kreskowiak22-Sep-06 2:45 
GeneralRe: to declare operator Pin
Dave Sexton22-Sep-06 3:56
Dave Sexton22-Sep-06 3:56 
GeneralRe: to declare operator Pin
Coding C#23-Sep-06 0:17
Coding C#23-Sep-06 0:17 
Questionsimple image processing Pin
Prinz Ryoiji21-Sep-06 23:19
Prinz Ryoiji21-Sep-06 23:19 
AnswerRe: simple image processing Pin
Christian Graus22-Sep-06 0:06
protectorChristian Graus22-Sep-06 0:06 
AnswerRe: simple image processing Pin
The ANZAC22-Sep-06 11:46
The ANZAC22-Sep-06 11:46 
AnswerRe: simple image processing Pin
p.c.k6-Oct-11 16:26
p.c.k6-Oct-11 16:26 
Questionlistbox Pin
minniemooo21-Sep-06 22:49
minniemooo21-Sep-06 22:49 
AnswerRe: listbox Pin
Christian Graus22-Sep-06 0:08
protectorChristian Graus22-Sep-06 0:08 
GeneralRe: listbox Pin
minniemooo22-Sep-06 1:59
minniemooo22-Sep-06 1:59 
GeneralRe: listbox Pin
Dave Kreskowiak22-Sep-06 2:37
mveDave Kreskowiak22-Sep-06 2:37 
GeneralRe: listbox Pin
The ANZAC22-Sep-06 11:41
The ANZAC22-Sep-06 11:41 
QuestionRegarding flexgrid Pin
Ron.S21-Sep-06 21:07
Ron.S21-Sep-06 21:07 
AnswerRe: Regarding flexgrid Pin
Suelinda_W6-Oct-06 7:52
Suelinda_W6-Oct-06 7:52 
Questionhow to freeze panes the datagrid in vb.net Pin
charleslau285521-Sep-06 20:07
charleslau285521-Sep-06 20:07 

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.