Create Instance from external DLL

Q

Quick Fox

Hi All,

Please help for following case:
How to Load a Assembly from DLL file and create instance
of the class in the loaded file.

I want make a function that get 2 string parameters
(Assembly file Name and Class Name) and create a instance.

Thanks

Quick Fox
 
F

Fergus Cooney

Hi Herfried,

Es ist auf Deutsch. Die Leute hier kann nicht verstehen Deutsch (for the
most part).

The chances are pretty high that they'll take one look, say "What the
F*ck??!!", and move on.

What do you think?

Regards,
Fergus
 
H

Herfried K. Wagner

* Fergus Cooney said:
Es ist auf Deutsch. Die Leute hier kann nicht verstehen Deutsch (for the
most part).

The chances are pretty high that they'll take one look, say "What the
F*ck??!!", and move on.

What do you think?

If somebody really wants an answer, the german text and comments won't
be the problem. If I find a solution to my problem on a _Chinese_ web
page, I will still try to understand it.
 
F

Fergus Cooney

Hi Cor,

Herfried often gives links to his part of the mvps.org site. This presents
the visitor with a pageful of German, which most people can't understand, of
course. They then have to navigate to another page of German which explains
the particular topic. Then they have to download a zip of a project, which
presumably is in German as well. (It may not be of course, but it's a
reasonable assumption).

I'm suggesting that most people would run a mile before going through all
that.

When I give links to palmbytes.de, I always give people instructions to
ignore the German and download the project. And I tell them that the project
itself is in English. This way they won't be 'frightened off' before they get
to the useful bit.

Perhaps Herfried could add the same reassurances to his file of links
where they refer to German web pages/sites. Perhaps not. ;-)

Regards,
Fergus
 
C

Cor

Herfried,

I think you did a while like Fergus said and not because he had asked that.

And of course like mostly we agree, (and believe that I have stuffed
sentences who did make that more clear) but I think that little sentence
would not be that difficult for your new connector.

(Can you really get things from Chinese web sites, that I never could).
I don't believe you, I think only when it are webs with some translations in
latin characters.

Cor
 
C

Cor

Hi Fergus,

A minute after that I wrote my answer "I got it" and did send that.

But let's make a nice discussion about behaviour in this newsgroup.

Before you read this, you have to know that I did first make a message to
Herfried wherein I asked him to do what you asked. Not because I fully
agree, but because it is so few extra work to put that extra sentence (I did
this, because I have probably the same feeling about this as Herfried, but
on the other hand think to understand why you ask it).

I think that we have to remember, that probably for the most visitors at
this newsgroup, English is not there major language. They use it and that is
normal, because the program language is too basically in English.

You have to know, that non native English speaking people, sometimes become
a little bit sad about English speaking people, who only know that language
and are thinking that they are speaking the language of the world, while it
is not. To be honest, we measure them about that.

Don't think it are only English speaking people, we in Holland see it often,
the same is with a lot of people from Germany and from France.

Strange is that with Spanish and Italian speaking people it is not. While
Italian is in Europe as much spoken as English and French and I thought
Spanish is Worldwide more spoken than English.

What I write is not about you and most other native speaking English
visitors to this newsgroup and expressly not the regulars.

Therefore I think we can see that extra attention from Herfried (when he
does it) only to be for those who only speak English and have no alternative
for another newsgroup than this, because there is no special EN language
newsgroup for "dotnet.vb.language".

I have seen you helping someone in probably strange language for you, about
a script, for a woman. Did you know what language you were writing?

Cor.
 
F

Fergus Cooney

Hi Herfried,

Lol. That's fair enough. I wouldn't be discouraged myself - if the link
and program, name are readable - but I think that Chinese may be stretching it
a bit far - I don't know the Chinese for 'download' so I'd probably miss the
link..

There will be some people who wonder why you give them German, but that's
their tough luck. If they think you're being unhelpful, that's their delusion.
;-)

Regards,
Fergus
 
F

Fergus Cooney

Hi Cor,

|| A minute after that I wrote my answer "I got it" and did send that.

So you did. OE and the newsgroup is still being a bit wierd then. I saw
your 1:09pm message but not the 1:10pm one. ??

|| I think that we have to remember, that probably for the most
|| visitors at this newsgroup, English is not there major language

I've come to think that for the most visitors it <is> and that this is, in
fact, an English newsgroup, even if doesn't have 'en' in the name. Microsoft
is an American company. Many, if not most, of the assisters are native Englih
speaking. And there <are> regional newsgroups for other languages, (even if
English seems to be used a lot in them too!!).

|| You have to know, that non native English speaking people, sometimes
|| become a little bit sad about English speaking people, who only know
|| that language and are thinking that they are speaking the language of
the
|| world, while it is not. To be honest, we measure them about that.

Times change. There was time whan an English gentleman who could not speak
French was not considered civilised. Earlier still, an Englishman who couldn't
speak Norse was at a severe disadvantage in much of the country. The lack of
other languages of many English people is not because of an attitude that
English is the only language (though it may look like it ) but because the
disadvantage of not speaking these other languages is not strong enough to
warrant the effort. Times will change again.

The reason I made my point to Herfried, has little to do with attitudes or
anything, maybe it's even less about language than it may seem*1. It's purely
pragmatic. Many one-language people are intimidated by the sight of another.
It's just one of those basic human nature things - some people yes, some
people no, some people in-between depending on this, that and the other
(Gaussian distribution).

Herfried is here, I believe, because he get's a big kick out of helping
people. To give someone help which they may reject is simply to reduce the
percentages*1, that's all. Some people <will> fail to get the help because of
a lack of guidance*2. Herfried has said that that's up to them. And fair
enough. He helps many, many people. If he 'loses' those who fail to 'put the
effort in' it's a loss that he can afford - there's good vibes aplenty from
the others. I understand, too, an attitude that says "I'm working hard to help
you people, I expect you to make your contribution too". I have it myself at
times and I think "if you can't be bothered, why should I?". That's fair
enough too, for we are only mortals, even if some have achieved MVM*3 status!!
;-)

|| I have seen you helping someone in probably strange language
|| for you, about a script, for a woman. Did you know what
|| language you were writing?

Which topic was this one?

Regards,
Fergus

*1 It's more about human nature and statistics.

*2 Whether the percentage is low or too-low-to-care-about is not one that I
can judge.

*3 Most Valued Mortals. www.mvms.org ;-))
 
C

Cor

Hi Fergus,

You only did take my introduction. Did you see the major points too?

Because you write so many things in your introduction, that I try to explain
in the end, am I doubting why you did not give comments on that part?

You know I don't get angry on you? I know you too do it like me only to get
more knowlegde from arguing.

The subject, I was looking for that because I did want to paste in the text
by value, but could not find it.
;-)
Cor
 
F

Fergus Cooney

Howdy Cor,

|| You know I don't get angry on you? I know you too do it
|| like me only to get more knowlegde from arguing.

Oh yes. ;-))

|| You only did take my introduction. Did you see the major
|| points too?
||
|| Because you write so many things in your introduction, that I
|| try to explain in the end, am I doubting why you did not give
|| comments on that part?

You said a lot in your post, as I did in mine. Which bits did I leave out
that you would have liked a response to?

These are the paragraphs.
|| 1 Before you read this, you have to know
|| 2 I think that we have to remember, that
|| 3 You have to know, that non native English
|| 4 Don't think it are only English speaking
|| 5 Strange is that with Spanish and Italian
|| 6 What I write is not about you and most
|| 7 Therefore I think we can see that extra
|| 8 I have seen you helping someone in probably

Regards,
Fergus
 
C

Cor

Hi Fergus,

By reference 7

By value
Therefore I think we can see that extra attention from Herfried (when he
does it) only to be for those who only speak English and have no alternative
for another newsgroup than this, because there is no special EN language
newsgroup for "dotnet.vb.language".

This I found nice to discuss, I think that the most non native English
speakers agree, but I am curious about a native English speaker.

Cor
 
F

Fergus Cooney

Hi Cor,

Lol. I was hoping it wouldn't be #7. I said nothing because I didn't know
what to say.

I make suggestions to Herfried, sometimes strongly. On that 'other issue'
I pushed hard. On this one I won't. But it's still always Herfried's choice
what he does, regardless of how I may feel about it. Any changes that he makes
are his.

I think I covered 'EN' - dotnet.languages.vb (en). ;-)

Cheers,
Fergus

ps. Herfried, I hope it amuses you more than anything else to have us
nattering on about you like this. ;-)
 
C

Cor

Hi Fergus,
I think I covered 'EN' - dotnet.languages.vb (en). ;-)
I understand you wanted to say that Microsoft is only for English speaking
people?
:))
Your turn
Cor
 
F

Fergus Cooney

Hi Cor,

|| I understand you wanted to say that
|| Microsoft is only for English speaking people?

Oh no, far from it. Microsoft is for everyone, everywhere - whether they
want it or not - just give it a bit more time. ;-)

No, I mean this newsgroup - it's for English speaking people of any
nationality.

Next.? ;-))

Regards,
Fergus
 
C

Cor

Hi Fergus,
Not bad reply, but I think I got the answer,

Do you mean for native English speaking people or a group for all people who
try to communicate using English as an interface (that I call always your
favorite subject in this newsgroup) which makes it posible to communicate,
while in fact the communicators does'nt have to know more of English than
what is necessary to communicate, but what does not restrict them to know
more of that and each other and if it is better go beside that interface (I
am glad that you wrote something like this a while ago)?
Cor
 
H

Herfried K. Wagner [MVP]

* "Fergus Cooney said:
Lol. That's fair enough. I wouldn't be discouraged myself - if the link
and program, name are readable - but I think that Chinese may be stretching it
a bit far - I don't know the Chinese for 'download' so I'd probably miss the
link..

I think links will be shown as links in Chines web pages too. I never
had problems (I do _not_ speak Chinese).
There will be some people who wonder why you give them German, but that's
their tough luck. If they think you're being unhelpful, that's their delusion.
;-)

:)
 
H

Herfried K. Wagner [MVP]

* "Cor said:
(Can you really get things from Chinese web sites, that I never could).
I don't believe you, I think only when it are webs with some translations in
latin characters.

There are few Chinese web sites, but I found some really useful code on
them VB Classic code commented in Chinese.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top