OO Programming is actually pretty easy, and most Access developers are
probably already doing close to it anyway. Using class modules is not
quite, but almost the same thing. In OO everything is a class
(basically). I dont think anyone who is a serious professional
developer would struggle at all with using .net and VB.net or C#.net.
OO Programming is actually pretty easy, and most Access developers are
probably already doing close to it anyway. Using class modules is not
quite, but almost the same thing. In OO everything is a class
(basically). I dont think anyone who is a serious professional
developer would struggle at all with using .net and VB.net or C#.net.
So I write this:
<form id="formMenus" runat="server">
<asp:Menu id="Forms" runat="server">
<Items>
<asp:MenuItem Text="Change Password"
NavigateUrl="changePassword.aspx" />
<asp:MenuItem Text="Class Organization"
NavigateUrl="classOrganization.aspx" />
<asp:MenuItem Text="Classes"
NavigateUrl="classes.aspx" />
</Items>
</asp:Menu>
</form>
and .Net writes this (along with some css at the top of the page):
<div>
<form name="formMenus" method="post" action="menu.aspx"
id="form1">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
value="/wEPDwULLTE5Nzk1NTk4MTVkZA==" />
</div>
<a href="#Forms_SkipLink" style="display:inline-
block;height:1px;width:1px;"><img src="/WebResource.axd?d=4v7
_Bef517owaC6Ht4EKKw2&t=633718154239476693" alt="Skip Navigation
Links" style="border-width:0px;" /></a><div id="Div1">
<span>
<a class="Forms_1" href="changePassword.aspx">Change
Password</a>
</span>
<br />
<span>
<a class="Forms_1" href="classOrganization.aspx">Class
Organization</a>
</span><br /><span>
<a class="Forms_1" href="classes.aspx">Classes</a>
</span>
<br />
</div>
<a name="Forms_SkipLink"></a>
</form>
</div>
which is the functional equivalent of:
<p>
<a href="changePassword.aspx">Change Password</a>
<br />
<a href="classOrganization.aspx">Class Organization</a>
<br />
<a href="classes.aspx">Classes</a>
</p>
So why would I want to do the .Net OOP thing when all it does is write
some HTML with a bunch of unnecessary properties when I can just write
the HTML (and simpler/better, smaller HTML than ASP.Net does, IMO)?
Years ago when FoxPro went OOPey I drilled down behind the Objects. What
did I find? X-Base code. The Objects were comprised of XBase code and
created from XBase code and wrote or called X-Base code. I liked the X-
Base code that I wrote better than the X-Base code the objects wrote. And
this is scarcely surprising since I know exactly what I want and exactly
the circumstances of the application. The Object must be generalized in
its approach; it's unlikely to be a responsive to the needs of the
application as a capable developer.
As for ADO.Net I find it limited in relation to ADO, but I'm willing to
hear about what it can do that ADO can't do, and what it can do better
than ADO. Please, tell me some specific things.
Back to using NET Framework dlls in Access: please name several of the
..Net functions, procedures or whatever that you want to take advantage of
in Access.