Code Examples
  Home arrow Code Examples arrow Page 4 - Creating an Ordering System Using EVB
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
CODE EXAMPLES

Creating an Ordering System Using EVB
By: Vishal Rajpara
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 23
    2004-08-18

    Table of Contents:
  • Creating an Ordering System Using EVB
  • Application Design
  • Module 2 Pocket PC Application Desktop Utility
  • Screen 2, the Main Screen
  • Screen 3, the Customer Information
  • Screen 4, the User Information
  • Application Testing and Deployment

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Creating an Ordering System Using EVB - Screen 2, the Main Screen


    (Page 4 of 7 )

    Screen 2 (Main Screen)

    Creating an Ordering System Using EVB

    Code:

    Option Explicit
        Dim ttsql As String
        Dim Prs As Recordset

    Private Sub btnClose_Click()
        frameActionChoice.Visible = True
        framePM.Visible = False
    End Sub

    Private Sub btnDC_Click()
        frmPM.UserName = lblUserName.Caption
        frmPM.Show
    End Sub

    Private Sub btnLogoff_Click()
        frmLogin.Show
        frmLogin.SetFocus
        frmLogin.txtUserName.Text = ""
        frmLogin.txtPassword.Text = ""
        frmLogin.txtUserName.SetFocus
    End Sub

    Private Sub btnPMaster_Click()
        'frmPM.Show
        frameActionChoice.Visible = True
        framePM.Visible = True
       
       
    End Sub

    Private Sub Form_Load()
        framePM.Visible = False
        frameActionChoice.Visible = True
        Call LoadData
    End Sub

    Private Sub LoadData()
        On Error GoTo 0
        Set Prs = CreateObject("ADOCE.RECORDSET.3.0")
        ttsql = "select PName from Patient_Master"
        Prs.Open ttsql
       
        Do While Not Prs.EOF
            cmbPatient.AddItem Trim(Prs.Fields("PName").Value)
            Prs.MoveNext
        Loop
        Prs.Close
        Set Prs = Nothing
    End Sub

    Private Sub cmbPatient_Click()
        Set Prs = CreateObject("ADOCE.RECORDSET.3.0")
        ttsql = "select PhoneNo,Address from Patient_Master where PName='" & Trim(cmbPatient.Text) & "'"
        Prs.Open ttsql
       
        If Not Prs.EOF Then
            txtPhoneNo.Text = Prs.Fields("PhoneNo").Value
            txtAddress.Text = Prs.Fields("Address").Value
        Else
            txtPhoneNo.Text = ""
            txtAddress.Text = ""
        End If
       
        Prs.Close
        Set Prs = Nothing
    End Sub

    More Code Examples Articles
    More By Vishal Rajpara


       · u all suck
       · I was looking for a tutorial about creating applications for pocket pc. you really...
       · madarchod ...ask ur mom...and yes ur a failure that happened in a taxi cab..god rest...
     

    CODE EXAMPLES ARTICLES

    - Handling Animations and Bitmaps Using GDI+ f...
    - Download a Web Page using the WebClient
    - Creating a Chart using Data from a Database ...
    - The Basics of Charting with the MS Chart Con...
    - Searching Body Text with textRange: Enter th...
    - Searching Body Text with textRange: Building...
    - Searching Body Text with textRange, part 1: ...
    - First Steps in Programming
    - Programming in C
    - Quick Introduction to ASF,ASX, and Networkin...
    - SatView: Pointer Perfect, Part 2: Constructi...
    - SatView: Pointer Perfect, Part 1
    - Style Case Studies: Construction Unions
    - Creating an Engine for Games for Windows
    - Style Case Studies: Generic Callbacks

     
    Best Practices for Windows Vista Migration Presentation
    Dell and Microsoft recently held a series of face-to-face seminars entitled, &qu....

     
    Creating a Culture for Code Reuse
    If you oversee development teams you know that like it or not proprietary and ex....

     
    Keys to Web Application Acceleration: Advances in Delivery Systems
    Accelerate Web apps by up to 5x. Ensure significantly faster access to the Web a....

     
    Optimizing Application Monitoring
    Tired of finding out from your customers that you're offline? This white paper e....

     
    Solaris to Solaris Migration -- Migrating applications from Sun SPARC to Dell PowerEdge R900
    This comprehensive Migration Guide reviews the approach that Principled Technolo....

     




    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
    Stay green...Green IT