1 / 22

Introduction to VB, ASP, COM

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

telyn
Download Presentation

Introduction to VB, ASP, COM

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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

  2. 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!)

  3. Introduction to VB Generates EXE’s, DLL’s… Distribution/Installation Scripts… Concepts Obects Properties Methods

  4. Introduction to VB Integrated Development Environment Compiler Optimizer Debugger Demonstration: Timer App

  5. Introduction to VB Database Access Use the Wizards Demonstration: Author App

  6. Introduction to VB Controlling other apps MS Office Demonstration: Excel Control

  7. Introduction to VB Example to build from: Plus Demonstration: Plus VB

  8. Introduction to ASP An extension of HTML (Vb + HTML) ASP -> IIS -> HTML Web Server interprets ASP pages and produces HTML for display on browser…

  9. Introduction to ASP Example to build from: Plus Demonstration: Plus.ASP

  10. 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>

  11. Introduction to ASP Making it work! Request Object Demonstration: Plus2.ASP

  12. 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>

  13. Introduction to COM Component Object Model(ing) Replaceable/Reusable (Plugins) Word, Excel, ActiveXUser Created 3rd Party

  14. Introduction to COM A B Rebuild PLUS as COM: Back to VB Demonstration: PlusObject PlusObject C

  15. Introduction to COM Using a COM object: Back to VB Demonstration: PlusObjectTestVB

  16. Introduction to COM Using COM from ASP: Back to ASP Demonstration: Plus3.ASP

  17. 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>

  18. VB Resources VB Resources: Hardcopy?? There’s a ton!

  19. VB Resources VB Resources: Carl & Gary’s http://www.cgvb.com/

  20. VB Resources VB Resources: Microsoft Visual Basic Homepage http://msdn.microsoft.com/vbasic/

  21. 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

  22. Introduction to VB, ASP, COM The Future of VB? Microsoft Visual Studio .net http://msdn.microsoft.com/vstudio/nextgen

More Related