Click here to Skip to main content
16,004,887 members
Home / Discussions / C#
   

C#

 
QuestionCrystal Reports and Windows Applications Pin
ebonaba25-Aug-06 7:59
ebonaba25-Aug-06 7:59 
QuestionPrinting to an Okidata printer Pin
tigerButterfly25-Aug-06 7:52
tigerButterfly25-Aug-06 7:52 
Question"Unadvising" Event Sink in VB6 Pin
Ilia Blank25-Aug-06 7:46
Ilia Blank25-Aug-06 7:46 
GeneralRe: "Unadvising" Event Sink in VB6 Pin
Guffa25-Aug-06 8:54
Guffa25-Aug-06 8:54 
QuestionGlobal DLL for all app components Pin
drdavef25-Aug-06 7:35
drdavef25-Aug-06 7:35 
AnswerRe: Global DLL for all app components Pin
Nader Elshehabi25-Aug-06 10:36
Nader Elshehabi25-Aug-06 10:36 
GeneralRe: Global DLL for all app components Pin
drdavef25-Aug-06 11:58
drdavef25-Aug-06 11:58 
GeneralRe: Global DLL for all app components Pin
Nader Elshehabi25-Aug-06 12:21
Nader Elshehabi25-Aug-06 12:21 
Hello

I've posted the way that is used to make dlls in C# in my previous post! Is that what you want?

drdavef wrote:
I want a DLL, that I call AppInfo, which contains general info that all programs need access to, such as SchoolYear


I thought SchoolYear should be stored as a variable, and since you are a programmer you know about scope. How would you store a variable in another module?!! Even in VB I don't think that's possible!!


drdavef wrote:
I am looking for a way to create this DLL such that initialization is very simple.


Well, I haven't worked much in VB, but I've spent a lot of time in C# and I've never heard of Dll init!! dlls are referenced, not intitialized, specially that you are writting these dlls. I have a feeling somehow I still don't get you!! Please forgive me for thatSmile | :)

Another approach to store shared info in an executable is to make it as a win service. I don't think that's what you want, is it?!!

Anyway. The way I know it, you want dll it's simple. Make a dll project and reference to it in other projects. You want shared info, store them in a file -careful here for read/write operations- or use a database!!

If you managed to store variables in a dll, and share it with other programs, I beg you to write an article about it.I'll be dying to read itBig Grin | :-D

RegardsRose | [Rose]
QuestionCrystal reports and SharpDevelop Pin
Evy_Soza25-Aug-06 7:02
Evy_Soza25-Aug-06 7:02 
Questionuse C# function in VB Pin
VK-Cadec25-Aug-06 3:57
VK-Cadec25-Aug-06 3:57 
AnswerRe: use C# function in VB Pin
Not Active25-Aug-06 4:08
mentorNot Active25-Aug-06 4:08 
GeneralRe: use C# function in VB Pin
VK-Cadec25-Aug-06 5:49
VK-Cadec25-Aug-06 5:49 
GeneralRe: use C# function in VB Pin
Not Active25-Aug-06 6:04
mentorNot Active25-Aug-06 6:04 
AnswerRe: use C# function in VB Pin
Judah Gabriel Himango25-Aug-06 4:43
sponsorJudah Gabriel Himango25-Aug-06 4:43 
GeneralRe: use C# function in VB Pin
VK-Cadec25-Aug-06 5:48
VK-Cadec25-Aug-06 5:48 
GeneralRe: use C# function in VB Pin
Judah Gabriel Himango25-Aug-06 5:54
sponsorJudah Gabriel Himango25-Aug-06 5:54 
GeneralRe: use C# function in VB Pin
Dave Kreskowiak25-Aug-06 5:58
mveDave Kreskowiak25-Aug-06 5:58 
QuestionSearch DLL before P/Invoke? Pin
Dominik Reichl25-Aug-06 3:03
Dominik Reichl25-Aug-06 3:03 
AnswerRe: Search DLL before P/Invoke? Pin
Jun Du25-Aug-06 4:27
Jun Du25-Aug-06 4:27 
QuestionRe: Search DLL before P/Invoke? Pin
Dominik Reichl25-Aug-06 4:32
Dominik Reichl25-Aug-06 4:32 
AnswerRe: Search DLL before P/Invoke? Pin
Jun Du25-Aug-06 5:44
Jun Du25-Aug-06 5:44 
AnswerRe: Search DLL before P/Invoke? [modified] Pin
Dave Kreskowiak25-Aug-06 6:06
mveDave Kreskowiak25-Aug-06 6:06 
AnswerRe: Search DLL before P/Invoke? Pin
Andy Moore25-Aug-06 15:03
Andy Moore25-Aug-06 15:03 
QuestionInteresting date time comparison Pin
coolestCoder25-Aug-06 2:48
coolestCoder25-Aug-06 2:48 
AnswerRe: Interesting date time comparison [modified] Pin
Shajeel25-Aug-06 3:08
Shajeel25-Aug-06 3:08 

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.