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

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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: Bloomberg joins the Learn to Code hype
    ... learning to code I presume that rates are going to plummet. ... The machines which were once dismissed as "toy computers" started ... Writing Javascript is no more difficult than writing COBOL. ... They did me proud and 3 of them went on into programming careers. ...
    (comp.lang.cobol)
  • Re: trouble creating array of objects
    ... > programming would want to take that approach. ... Someone learning for any ... How to write template classes ... Using pointers and new is not advanced memory management it's the language ...
    (alt.comp.lang.learn.c-cpp)
  • RE: C# book for 16 yo?
    ... First I would suggest first learning Visual Studio.NET. ... Then I suggest 2 books to actually learn C# - Microsoft has a book called ... important to quality programming. ... language that combines all the best features of previous languages and is ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: trouble creating array of objects
    ... >> happen to be learning because they enjoy the same challenge. ... programming would want to take that approach. ... How to write template classes ... > example is necessary to aid learning but they do not use explicit template ...
    (alt.comp.lang.learn.c-cpp)
  • [Commercial]: Learn Free-Linux Internals Fundamentals from Industry Experts.
    ... Are you interested in learning fundamentals of Linux System/Kernel ... Programming from Industry Experts? ... Concepts Systems Educational Services is the leading educational ...
    (linux.redhat)