220 likes | 312 Views
Introduction to VB, ASP, COM. Presented by Charley Jones The Maxim Group Las Vegas, NV CRJones@VSC.MaximGroup.Com All code samples will be posted to: http://www.crjones.com/vbintro. Introduction to VB, ASP, COM. Shameless Plug: The Maxim Group Since 1987 75 Offices World Wide
E N D
Introduction to VB, ASP, COM Presented byCharley JonesThe Maxim GroupLas Vegas, NV CRJones@VSC.MaximGroup.ComAll code samples will be posted to:http://www.crjones.com/vbintro
Introduction to VB, ASP, COM Shameless Plug: The Maxim Group Since 1987 75 Offices World Wide 6,000+ Consultants Online Training, Tutoring, Support Hourly, Salaried, Full-TimeNarc on your friends!?!? (Send us a resume or two!)
Introduction to VB Generates EXE’s, DLL’s… Distribution/Installation Scripts… Concepts Obects Properties Methods
Introduction to VB Integrated Development Environment Compiler Optimizer Debugger Demonstration: Timer App
Introduction to VB Database Access Use the Wizards Demonstration: Author App
Introduction to VB Controlling other apps MS Office Demonstration: Excel Control
Introduction to VB Example to build from: Plus Demonstration: Plus VB
Introduction to ASP An extension of HTML (Vb + HTML) ASP -> IIS -> HTML Web Server interprets ASP pages and produces HTML for display on browser…
Introduction to ASP Example to build from: Plus Demonstration: Plus.ASP
Introduction to ASP PLUS.ASP: <FORM METHOD=POST> <INPUT TYPE=TEXT NAME=A WIDTH=20 VALUE=""><BR> +<BR> <INPUT TYPE=TEXT NAME=B WIDTH=20 VALUE=""><BR> =<BR> <INPUT TYPE=TEXT NAME=C WIDTH=20 VALUE=""><BR> <BR> <INPUT TYPE=SUBMIT> </FORM>
Introduction to ASP Making it work! Request Object Demonstration: Plus2.ASP
Introduction to ASP Plus2.ASP: <% A = request("A") B = request("B") C = cint(a) + cint(b) %> <FORM METHOD=POST> <INPUT TYPE=TEXT NAME=A WIDTH=20 VALUE="<%=A%>"><BR> +<BR> <INPUT TYPE=TEXT NAME=B WIDTH=20 VALUE="<%=B%>"><BR> =<BR> <INPUT TYPE=TEXT NAME=C WIDTH=20 VALUE="<%=C%>"><BR> <BR> <INPUT TYPE=SUBMIT> </FORM>
Introduction to COM Component Object Model(ing) Replaceable/Reusable (Plugins) Word, Excel, ActiveXUser Created 3rd Party
Introduction to COM A B Rebuild PLUS as COM: Back to VB Demonstration: PlusObject PlusObject C
Introduction to COM Using a COM object: Back to VB Demonstration: PlusObjectTestVB
Introduction to COM Using COM from ASP: Back to ASP Demonstration: Plus3.ASP
Introduction to COM Plus3.ASP: <% A = request("A") B = request("B") Dim objPlus Set objPlus = Server.CreateObject("PlusObject.Plus") C = objPlus.Plus(cint(A),cint(B)) Set objPlus = Nothing %> <FORM METHOD=POST> <INPUT TYPE=TEXT NAME=A WIDTH=20 VALUE="<%=A%>"><BR> +<BR> <INPUT TYPE=TEXT NAME=B WIDTH=20 VALUE="<%=B%>"><BR> =<BR> <INPUT TYPE=TEXT NAME=C WIDTH=20 VALUE="<%=C%>"><BR> <BR> <INPUT TYPE=SUBMIT> </FORM>
VB Resources VB Resources: Hardcopy?? There’s a ton!
VB Resources VB Resources: Carl & Gary’s http://www.cgvb.com/
VB Resources VB Resources: Microsoft Visual Basic Homepage http://msdn.microsoft.com/vbasic/
ASP Resources The complete and up to date source: http://msdn.microsoft.com/scripting/ Professional Active Server Pages 3.0Wrox Press ~$60 ASP in a Nutshell O’Reilly ~$30
Introduction to VB, ASP, COM The Future of VB? Microsoft Visual Studio .net http://msdn.microsoft.com/vstudio/nextgen