R
Rick Csucsai
Sad to say, i have developed several B2B web apps using ASP fo rnearly 5
years now and there is on area that i still don't have a grasp on. Why do
you make references? Better yet, what happens if you don't. Here is an
example. For some reason, I couldn't get my latest creation to send email.
Would return something about a SendUsing config being bad. I go to MS site
and use one of their demo codes. It says to create a new project and add a
reference to system.web.dll. Before I added it, I tried my project again and
magically, it has started working. I am pretty sure that the settings that I
made Friday just needed some time to take effect (properly set SMTP config
on IIS serv). But reading the MS code makes me wonder enough to ask: Why do
you manually add references to projects, and what happens if you don't? Mine
worked fine without adding the reference to the project. Are references what
will allow VS.Net to auto complete things for you? For example, when i use
the wizard to start a new web proj, I notice that VS.Net will auto suggest
properties for objects that I have inserted as I am coding. The proj I am
doing now I just linked to a web site (no wizard) and it auto suggests
nothing which makes me have to dig for properties as opposed to it auto
generating a pop up. how do i get VS.Net to auto pop up property suggestions
for objects? Thanks all!
years now and there is on area that i still don't have a grasp on. Why do
you make references? Better yet, what happens if you don't. Here is an
example. For some reason, I couldn't get my latest creation to send email.
Would return something about a SendUsing config being bad. I go to MS site
and use one of their demo codes. It says to create a new project and add a
reference to system.web.dll. Before I added it, I tried my project again and
magically, it has started working. I am pretty sure that the settings that I
made Friday just needed some time to take effect (properly set SMTP config
on IIS serv). But reading the MS code makes me wonder enough to ask: Why do
you manually add references to projects, and what happens if you don't? Mine
worked fine without adding the reference to the project. Are references what
will allow VS.Net to auto complete things for you? For example, when i use
the wizard to start a new web proj, I notice that VS.Net will auto suggest
properties for objects that I have inserted as I am coding. The proj I am
doing now I just linked to a web site (no wizard) and it auto suggests
nothing which makes me have to dig for properties as opposed to it auto
generating a pop up. how do i get VS.Net to auto pop up property suggestions
for objects? Thanks all!