Re: VB.net 03, run one project from another



Wow. So the links I provided didn't:

A) Answer you question about how to reference an assembly?
B) Show you how a simple Google search can help you get to the answer you
needed?
C) Tell you where you can hear about all your questions (from the horse's
[Microsoft]) mouth?

Seems to me that I have answered your question and more.

I am simply trying to tell you that based on your questions, it seems
obvious that you need more work in understanding basic concepts in using
..NET. I have also provided suggestions for what to tackle, the order in
which you should tackle them and where you can find info. on these items.

The fact that you don't have a lot of time to do this research doesn't
really have anything to do with the fact that it needs to be done. I don't
have the time to learn neuro-science, but if I want to be able to talk with
you about it with some degree of knowledge, I have to do the work.

The fact that you say that, despite your time spent researching, you haven't
been able to find the answers you seek combined with the ease of the Google
search I provided, tells me that you haven't been searching for help
effectively.

I've tried to address that last point by giving you places to look for help
and suggestions on the types of books to use.

If you really haven't found anything useful in my message, then you should
consider giving up on learning anything more about .NET.

Good luck,

Scott

"Dr. S." <DrS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:328E7576-7302-475A-AF05-AC1F3DAA519E@xxxxxxxxxxxxxxxx
Well, I have spent a significant amount of time, which I don't have,
reading
up on these topics to find answers, which I have not. It seems that in
seven
emails, you could have been of some minimal assistance at best here, which
you have not, rather than using the communications to make sarcastic
comments.

"Scott M." wrote:

As a scientist, I'm sure you can appreciate the value of learning things
in
a certain order. The error message you are getting is pretty
self-explanitory, and I can easily tell you to simply rename the compiled
project .exe's (the "assemblies") to be referenced to .dll's, rather than
..exe's, but this will then get you past one problem and sraight into
another. I could then tell you how to get by the next problem, but this
would lead to yet, another.

As I suggested earlier, understanding what "solutions", "projects",
"assemblies", "namespaces" and "classes" are and how referencing one
assembly allows you access to all its code is pretty elemental to using
..NET.

The "Step-By-Step" books have never really been good for learning (in any
detail) the topic they are descibing. They are written to show you
simple
techniques to get something written and working.

I would suggest you look into learning about (in the following order):

Object-Oriented Programming Principles
The .NET Framework
VB .NET / VS .NET

There are a wide variety of books on these topics, but Google and
msdn.microsoft.com will also provide more than enough reading on this.



"Dr. S." <DrS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C32CC847-9CAA-4AB0-AF29-11A2EDF94C57@xxxxxxxxxxxxxxxx
The book is VB.net 03, Step by Step; by Michael Halvorson. Your right.
I
have absolutely no idea of how to follow the help indices. I have
however
creted three successful programs used for specialized neurological
testing,
(yes, I am a neuroloigst). Now i am trying to combine them into one
program.
I am also self taught thus far with programming. So I apolgize for my
ignorance of using the help indices.

When I try to add a refrence to the project as suggested, I aget an
error
message that "An assembly must have a .dll extension in order to be
referenced.

Thanks for your interest and help thus far.

"Scott M." wrote:

I don't know what book you are referring to when you say "the book"
and I
don't know where in the "help menus" you searched, but I'd say that
your
book isn't worth the paper it's written on and you need some work
using
help.

Here's your answer:

http://www.programmersheaven.com/2/FAQ-VISUALSTUDIO-Add-Assembly-Reference

You do know how to use Google, right? This was the second web site
listed
in the results of this search"

http://www.google.com/search?q=.net+assembly+referencing&sourceid=ie7&rls=com.microsoft:en-US&ie=utf8&oe=utf8

I'm sorry if I'm being sarcastic, but as I said, this is elemental
stuff
here. I honestly suggest you pick up an entry level book on .NET or
simply
look up the keywords listed earlier in the MSDN Library (which is the
2
GB's
worth of "help" provided with VS .NET or available online at:
http://msdn.microsoft.com.



"Dr. S." <DrS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:219C9250-99E2-49DA-ADF0-5052DDA8DE92@xxxxxxxxxxxxxxxx
Well, I have read the book, which does not cover this topic, and
have
searchced the help menus, which if there, is well concealed. Can
you
do
that
other thing and tell me how to do it?

Thanks.

"Scott M." wrote:

You don't know how to make a reference? This is not normally done
in
code,
it is done from VS.NET in the reference section of the Solution
Explorer.
I
can tell you how to do it, but I have to say that understanding
what
"solutions", "projects", "assemblies", "namespaces" and "classes"
are
and
how referencing one assembly allows you access to all its code is
pretty
elemental to using .NET. You may want to do some research on this.

-Scott

"Dr. S." <DrS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F211CC6E-862C-45A1-B935-ED31506F0A47@xxxxxxxxxxxxxxxx
I am not sure exactly how to do that. any suggestion or sample
code?

"Scott M." wrote:

The "main" project in your new solution will need a reference to
the
other
project it wants to utilize. Then the first project can make
instances
of
the classes in the second and use those classes to access its
properties
and
methods.


"Dr. S." <DrS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F49A7971-459D-49DE-A7FB-E017C636ACBD@xxxxxxxxxxxxxxxx
I am incorporating three existing programs into a new "all in
one"
program.
I
have added the three projects to the new all in one project.
How
do
I
instruct the new initial menu to launch the main menu in each
one?
I
have
tried using the DIM statement with .ShowDialog, however, the
forms
are
not
recognized as they are listed in seperate projects.

Please advise.

Thanks,
Dr. S.














.



Relevant Pages

  • Re: VB.net 03, run one project from another
    ... Well, I have spent a significant amount of time, which I don't have, reading ... "Scott M." wrote: ... I am also self taught thus far with programming. ... it is done from VS.NET in the reference section of the Solution ...
    (microsoft.public.dotnet.general)
  • Re: VB.net 03, run one project from another
    ... Thanks you so much for your assistance and actually helping to answer ... Then you add a reference to that project for the other two ... "Scott M." wrote: ... I am also self taught thus far with programming. ...
    (microsoft.public.dotnet.general)
  • Re: VB.net 03, run one project from another
    ... some reading on this, however, not being a programmer by trade, I have ... Then you add a reference to that project for the other two ... "Scott M." wrote: ... I am also self taught thus far with programming. ...
    (microsoft.public.dotnet.general)
  • Re: VB.net 03, run one project from another
    ... How are you adding the reference? ... I have a business layer that has a bunch of business objects ... "Scott M." wrote: ... I am also self taught thus far with programming. ...
    (microsoft.public.dotnet.general)
  • Re: Help needed with Customizing Outlook Today
    ... The answer will appear in either Google or ... > search in MS's KB that will generate a reference to article 820575, ... Scott L. Grimes ...
    (microsoft.public.outlook.general)

Loading