Xml Inst2 Page - Complete Education

Size: px
Start display at page:

Download "Xml Inst2 Page - Complete Education"

Transcription

1 Imports System.Xml Inst2Page.aspx Partial Class Inst2Form Inherits System.Web.UI.Page Protected Sub InitVent(ByRef XMLDoc As XmlDocument) For Each elem As String In Std.ventType Type1.Items.Add(elem) Dim n0 As XmlNode Dim Elements As XmlNodeList = XMLDoc.GetElementsByTagName("VENTILATION") For Each n0 In Elements Dim part As Integer = n0.item("part").innertext Dim typ As Integer = Std.GetTyp(part) Dim im As Integer = Std.GetImp(part) Type1.SelectedIndex = typ Protected Sub UpdateVent(ByRef XMLDoc As XmlDocument) Dim i0 As Integer = Type1.SelectedIndex Be06.UpdateVent(XMLDoc, i0) Protected Sub ShowDistHt() For Each elem As String In Std.DistHt Protected Sub ShowBoiler(ByVal type As Integer) If type > 11 Then Loss.Text = "0" Loss.Text = CType(Session("boiler_loss"), String) Dim elem As String Type2.Items.Clear() Select Case type Case 0, 2 For Each elem In Std.BoilerGroup_02 Case 1, 3 For Each elem In Std.BoilerGroup_13 Case 4 For Each elem In Std.BoilerGroup_4 Case 5 For Each elem In Std.BoilerGroup_5 Case 6 For Each elem In Std.BoilerGroup_6 Case For Each elem In Std.BoilerGroup_7 Side 1

2 End Select Inst2Page.aspx Protected Sub InitHeating(ByRef xml As XmlDocument) For Each elem As String In Std.VpType VpType.Items.Add(elem) Dim item As String = Be06.GetElement(xml, "BOILER", "id") Dim heat As Integer = Be06.GetHeatType(xml) If heat = 1 Then HeatType.Text = "Fjernvarme" ShowDistHt() VpType.Enabled = True Type2.SelectedValue = item Boiler.Items.Add("Intet valg") Boiler.Visible = False If heat = 0 Then VpType.Enabled = True Dim fuel_oil As Boolean = Be06.FuelOil(xml) If fuel_oil Then HeatType.Text = "Oliekedel" For Each elem As String In Std.BoilerType Boiler.Items.Add(elem) Dim group As Integer = Be06.GetElement(xml, "DESCRIPT", "id") If group < 0 Then Dim year As Integer = CType(Session("year"), Integer) group = Std.BoilerGroup(year) Boiler.SelectedIndex = group ShowBoiler(group) Type2.SelectedValue = item SelBoiler.Visible = True LabelLoss.Visible = True Loss.Visible = True HeatType.Text = "Gaskedel" For Each elem As String In Std.GasBoilerType Type2.SelectedValue = item Boiler.Visible = False HeatType.Text = "El" Type2.Items.Add("Intet valg") Type2.Enabled = False VpType.Enabled = True Boiler.Items.Add("Intet valg") Boiler.Visible = False Dim ht_sup As Integer = CType(Session("heat_sup"), Integer) Dim fu_sup As Integer = CType(Session("fuel_sup"), Integer) Dim cons_sup As String = CType(Session("cons_sup"), String) If cons_sup.length < 1 Then ConsSup.Text = "0" If ht_sup > 0 Then HeatSup.Text = Std.NameSupFuel(fu_sup) ConsSup.Enabled = True ConsSup.Text = cons_sup HeatSup.Text = "Ingen supplerende opvarmning" ConsSup.Enabled = False ConsSup.BackColor = Drawing.Color.LightGray Side 2

3 Protected Sub UpdateHeating(ByRef xml As XmlDocument) Dim i0 As Integer = Type2.SelectedIndex Dim id0 As String = Type2.SelectedItem.Text Dim ht_type = Be06.GetHeatType(xml) Select Case ht_type Case 0 ' kedel If Be06.FuelOil(xml) Then Dim i2 As Integer = Boiler.SelectedIndex Be06.UpdateBoiler(xml, Std.oil2_table, i2, id0) Be06.EditModel(xml, "DESCRIPT", "id", i2) ' boiler group Session.Item("boiler_loss") = Loss.Text Be06.UpdateBoiler(xml, Std.gas_table, i0, id0) Case 1 ' fjernvarme Be06.UpdateDistHt(xml, i0) Case 2 ' el End Select Be06.EditModel(xml, "COOLING", "id", Loss.Text) Be06.EditModel(xml, "BOILER", "id", Type2.SelectedItem.Text) Be06.EditModel(xml, "DESCRIPT", "bbr", ConsSup.Text) ' Consumption sup Session.Item("cons_sup") = ConsSup.Text Protected Sub ShowSolarPanel(ByRef xml As XmlDocument) Svtype.Items.Clear() For Each elem As String In Std.SunColType Svtype.Items.Add(elem) Dim active As Boolean = Be06.IsTrue(Be06.GetElement(xml, "BUILDING", "solarpanel")) Area.Text = Be06.GetElement(xml, "SOLAR_COLLECTOR", "area").replace(".", ",") Orient.Text = Be06.GetElement(xml, "SOLAR_COLLECTOR", "orient").replace(".", ",") Slope.Text = Be06.GetElement(xml, "SOLAR_COLLECTOR", "slope").replace(".", ",") Dim type As String = Be06.GetElement(xml, "SOLAR_COLLECTOR", "has_type") If Not active Then Svtype.SelectedIndex = 0 If type = ".K_TYPE." Then Svtype.SelectedIndex = 2 Svtype.SelectedIndex = 1 VpType.SelectedIndex = Session.Item("heatpump") Session.Item("hp_ex") = VpType.SelectedIndex Protected Sub UpdateSolarPanel(ByRef xml As XmlDocument) Dim hpump As Integer = VpType.SelectedIndex Session.Item("heatpump") = hpump Be06.UpdateHeatPump(xml, hpump) Dim a0 As Double = Area.Text.Replace(".", ",") Dim col As Integer = Svtype.SelectedIndex Be06.EditModel(xml, "BUILDING", "solarpanel", Be06.GetBool(col > 0 And a0 > 0.0)) Dim n0 As XmlNode Dim Elements As XmlNodeList = xml.getelementsbytagname("solar_collector") For Each n0 In Elements n0.item("area").innertext = Area.Text.Replace(",", ".") n0.item("orient").innertext = Orient.Text.Replace(",", ".") n0.item("slope").innertext = Slope.Text.Replace(",", ".") If col > 1 Then n0.item("has_type").innertext = ".K_TYPE." n0.item("has_type").innertext = ".B_TYPE." Side 3

4 If Area.Text > 0.0 Then If hpump < 1 Then If col = 1 Then ' brugsvand Be06.EditModel(xml, "DHW_TANK", "vol", "192") Be06.EditModel(xml, "DHW_TANK", "heat_loss", "2.7") Be06.EditModel(xml, "DHW_TANK", "vol", "400") Be06.EditModel(xml, "DHW_TANK", "heat_loss", "3.2") Be06.EditModel(xml, "DHW_TANK", "has_el_heat", ".DHW_S.") Be06.EditModel(xml, "DHW_TANK", "solar_heat", ".T.") If hpump < 1 Then Be06.EditModel(xml, "DHW_TANK", "vol", "60") Be06.EditModel(xml, "DHW_TANK", "heat_loss", "0.9") Be06.EditModel(xml, "DHW_TANK", "has_el_heat", ".DHW_N.") Be06.EditModel(xml, "DHW_TANK", "solar_heat", ".F.") Protected Function GetData(ByRef data As String) As String Dim m0 As Integer = data.indexof(";") Dim str As String = data.substring(0, m0) data = data.substring(m0 + 1) str End Function Protected Function UpdateBuildingData(ByRef xml As XmlDocument, ByVal cons As String) As Boolean Dim data As String = Be06.GetElement(xml, "COMMENTS", "id") Try If data.length > 0 Then Dim id As String = GetData(data) If id = Be06.model_id Then For i = 1 To 5 Dim parm0 As String = GetData(data) id += ";" + parm0 Dim parm As String = GetData(data) id += ";" + cons id += ";" + data True Catch ex As Exception End Try False End Function Be06.EditModel(xml, "COMMENTS", "id", id) Protected Sub Dim ex As Integer = CType(Session("exist"), Integer) Dim xml2 As String = CType(Session("savexmldoc"), String) Dim xml As XmlDocument = New XmlDocument If ex > 0 Then xml = CType(Session("xmldoc"), XmlDocument) xml.loadxml(xml2) UpdateVent(xml) UpdateSolarPanel(xml) UpdateHeating(xml) UpdateBuildingData(xml, Consumption.Text) Dim kr As Double = CType(Session("eprice"), Double) Dim el_price As Double = CType(Session("el_price"), Double) Dim ht As Integer = CType(Session("heating"), Double) Dim xml0 As String = xml.outerxml Side 4 ' Bygningsdata

5 If ex < 1 Then Dim no_change As Boolean = xml0.equals(xml2) If no_change Then Session.Item("exist") = 2 Session.Item("xmldoc") = xml Dim price, el0 As Double Dim dem As Double = Be06.GetDemand(xml, kr, el_price, price, el0) Dim std_cons = Be06.GetConsUnit(ht, dem - el0) ' forbrug i valgte enhed/m2 If Math.Abs(std_cons) < Then std_cons = dem Session.Item("consump") = Consumption.Text Session.Item("consump_kr") = Consumption.Text * kr Session.Item("std_cons0") = std_cons Session.Item("cons0") = dem Session.Item("last_kwh") = dem Session.Item("last_kr0") = price Session.Item("el0") = el0 Session.Item("kr0") = price Session.Item("savexmldoc") = xml0 Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init If Not Page.IsPostBack Then Dim ex As Integer = CType(Session("exist"), Integer) Dim ht As Integer = Session("heating") Dim tmp As String = "" Be06.ShowCons(ht, Cons.Text, tmp) Dim cons0 As String = CType(Session("consump"), String) Consumption.Text = cons0 Dim xml As XmlDocument = New XmlDocument If ex > 0 Then xml = CType(Session("xmldoc"), XmlDocument) Dim doc As String = CType(Session("savexmldoc"), String) xml.loadxml(doc) InitVent(xml) InitHeating(xml) ShowSolarPanel(xml) Protected Function CheckVars() As Boolean Dim ok As Boolean = True Message.Text = "" If Not Be06.IsNum(Loss.Text) Then Message.Text += " Røggastab" Dim ls As Double = Loss.Text If ls < 0.0 Or ls > 50.0 Then Message.Text += " Ikke tilladt røggastab" If Not Be06.IsNum(Consumption.Text) Then Message.Text += " Varmeforbrug" If Not Be06.IsNum(ConsSup.Text) Then Message.Text += " Varmeforbrug, supplerende" Side 5

6 If Not Be06.IsNum(Area.Text) Then Message.Text += " Areal" If Not Be06.IsNum(Slope.Text) Then Message.Text += " Hældning" If Not ok Then Message.Text += " er udefineret." ok End Function Protected Sub RedirSession(ByRef link As String) If CheckVars() Then Page.Response.Redirect(link) Protected Sub ButtonBack_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ButtonBack.Click RedirSession("WinexPage.aspx") Protected Sub Button_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button.Click RedirSession("WallPage.aspx") Protected Sub ImageAbout_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageAbout.Click Session.Item("PrevPage") = "Inst2Page.aspx" Page.Response.Redirect("AboutPage.aspx") Protected Sub ImageHelp_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageHelp.Click Session.Item("PrevPage") = "Inst2Page.aspx" Page.Response.Redirect("HelpPage.aspx") Protected Sub ImageMain_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageMain.Click RedirSession("Default.aspx") Protected Sub ImageWall0_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageWall0.Click RedirSession("EnvPage.aspx") Protected Sub ImageWin0_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageWin0.Click RedirSession("WinexPage.aspx") Protected Sub ImageWall1_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageWall1.Click RedirSession("WallPage.aspx") Protected Sub ImageWin1_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageWin1.Click RedirSession("WinPage.aspx") Side 6

7 Protected Sub ImageInst1_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageInst1.Click RedirSession("Install2Page.aspx") Protected Sub ImageDoc_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageDoc.Click RedirSession("ResPage.aspx") Protected Sub Boiler_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Boiler.SelectedIndexChanged ShowBoiler(Boiler.SelectedIndex) Protected Sub Check_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Check.Click If CheckVars() Then Dim ht As Integer = Session("heating") Dim area As Double = CType(Session("area"), Double) Dim cons0 As Double = CType(Session("std_cons0"), Double) cons0 = Math.Round(area * cons0, 0) Dim unit As String = Be06.Unit(ht) Dim cons As Double = CType(Consumption.Text, Double) Dim dif As Double = Math.Round(100.0 * (cons - cons0) / cons0, 0) dif = Math.Abs(dif) Message.Text = "Teoretisk varmeforbrug: " & cons0 & " " & unit & " + opgivet biobrændsel. Opgivet forbrug afviger " & dif & "%" Protected Sub ImageButton1_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click RedirSession(" End Class Side 7

ResPage.aspx. Imports System.IO Imports System.Xml Imports System.Xml.XPath Imports System.Xml.Xsl Imports PDFDocScout

ResPage.aspx. Imports System.IO Imports System.Xml Imports System.Xml.XPath Imports System.Xml.Xsl Imports PDFDocScout Imports System.IO Imports System.Xml Imports System.Xml.XPath Imports System.Xml.Xsl Imports PDFDocScout ResPage.aspx Partial Class ResPage Inherits System.Web.UI.Page Protected Function GetInstalled(ByRef

More information

Be06. Public Shared v_win_rf As String = "38.6." Public Shared improvement As String = ".01"

Be06. Public Shared v_win_rf As String = 38.6. Public Shared improvement As String = .01 Imports Microsoft.VisualBasic Imports System.Xml Be06 Public Class Be06 Declare Function Be06Keys Lib "d:\be06website\bin\be10eng.dll" Alias "Be06Keys" (ByVal model As String, ByVal mem As String, ByRef

More information

Visual Web Development

Visual Web Development Terry Marris November 2007 Visual Web Development 17 Classes We see how to create our own classes. 17.1 The Concept My friend is: ann small - 1.52 metres female pretty and generous Attributes are derived

More information

Form Tasarımı - 5. Veri Tabanı Veri tabanı ismi; m Tablo ismi; mt

Form Tasarımı - 5. Veri Tabanı Veri tabanı ismi; m Tablo ismi; mt Form Tasarımı - 5 Veri Tabanı Veri tabanı ismi; m Tablo ismi; mt Kodlar Imports System.Data Imports System.Data.OleDb Imports System.Xml Imports System.IO Public Class Form5 Dim yeni As OleDbConnection

More information

CRM Setup Factory Installer V 3.0 Developers Guide

CRM Setup Factory Installer V 3.0 Developers Guide CRM Setup Factory Installer V 3.0 Developers Guide Who Should Read This Guide This guide is for ACCPAC CRM solution providers and developers. We assume that you have experience using: Microsoft Visual

More information

CRYSTAL REPORTS IN VISUAL STUDIO.NET 2003

CRYSTAL REPORTS IN VISUAL STUDIO.NET 2003 CRYSTAL REPORTS IN VISUAL STUDIO.NET 2003 By Srunokshi Kaniyur Prema Neelakantan This tutorial gives an introduction to creating Crystal reports in Visual Studio.Net 2003 and few of the features available

More information

ClientAce WPF Project Example

ClientAce WPF Project Example Technical Note ClientAce WPF Project Example 1. Introduction Traditional Windows forms are being replaced by Windows Presentation Foundation 1 (WPF) forms. WPF forms are fundamentally different and designed

More information

ResellerPlus - Bulk Http API Specification. (This Document gives details on how to send messages via the Bulk HTTP API for the RouteSms SMPP System)

ResellerPlus - Bulk Http API Specification. (This Document gives details on how to send messages via the Bulk HTTP API for the RouteSms SMPP System) RouteSms ResellerPlus - Bulk Http API Specification (Document Version 1.0.0) (This Document gives details on how to send messages via the Bulk HTTP API for the RouteSms SMPP System) 1 P a g e HTTP API

More information

Hands-On Lab. Client Workflow. Lab version: 1.0.0 Last updated: 2/23/2011

Hands-On Lab. Client Workflow. Lab version: 1.0.0 Last updated: 2/23/2011 Hands-On Lab Client Workflow Lab version: 1.0.0 Last updated: 2/23/2011 CONTENTS OVERVIEW... 3 EXERCISE 1: DEFINING A PROCESS IN VISIO 2010... 4 Task 1 Define the Timesheet Approval process... 4 Task 2

More information

How To: Create a Crystal Report from ADO.NET Dataset using Visual Basic.NET

How To: Create a Crystal Report from ADO.NET Dataset using Visual Basic.NET How To: Create a Crystal Report from ADO.NET Dataset using Visual Basic.NET See also: http://support.businessobjects.com/communitycs/technicalpapers/rtm_reporting offadonetdatasets.pdf http://www.businessobjects.com/products/dev_zone/net_walkthroughs.asp

More information

Many applications consist of one or more classes, each containing one or more methods. If you become part of a development team in industry, you may

Many applications consist of one or more classes, each containing one or more methods. If you become part of a development team in industry, you may Chapter 1 Many applications consist of one or more classes, each containing one or more methods. If you become part of a development team in industry, you may work on applications that contain hundreds,

More information

Lab 8: ASP.NET 2.0 Configuration API and Health Monitoring

Lab 8: ASP.NET 2.0 Configuration API and Health Monitoring Lab 8: ASP.NET 2.0 Configuration API and Health Monitoring Estimated time to complete this lab: 45 minutes ASP.NET 2.0 s configuration API fills a hole in ASP.NET 1.x by providing an easy-to-use and extensible

More information

VB.NET - WEB PROGRAMMING

VB.NET - WEB PROGRAMMING VB.NET - WEB PROGRAMMING http://www.tutorialspoint.com/vb.net/vb.net_web_programming.htm Copyright tutorialspoint.com A dynamic web application consists of either or both of the following two types of

More information

Ambientes de Desenvolvimento Avançados

Ambientes de Desenvolvimento Avançados Ambientes de Desenvolvimento Avançados http://www.dei.isep.ipp.pt/~jtavares/adav/adav.htm Aula 17 Engenharia Informática 2006/2007 José António Tavares [email protected] 1.NET Web Services: Construção de

More information

(Ch: 1) Building ASP.NET Pages. A. ASP.NET and the.net Framework B. Introducing ASP.NET Controls C. Adding Application logic to an ASP.

(Ch: 1) Building ASP.NET Pages. A. ASP.NET and the.net Framework B. Introducing ASP.NET Controls C. Adding Application logic to an ASP. (Ch: 1) Building ASP.NET Pages A. ASP.NET and the.net Framework B. Introducing ASP.NET Controls C. Adding Application logic to an ASP.NET Page D. the structure of an ASP.NET Page ASP.NET and the.net Framework

More information

webcrm API Getting Started

webcrm API Getting Started webcrm API Getting Started 17.09.2012 / 08.12.2015 TS Contents.NET Application with autogenerated proxy class... 2.NET Application sending SOAP messages directly... 10 .NET Application with auto generated

More information

Hi, processing. Code of the vb.net version. Imports System.Data Imports System.Data.SqlClient

Hi, processing. Code of the vb.net version. Imports System.Data Imports System.Data.SqlClient Hi, I m looking for someone with knowledge in ASP.net or (PHP?). I represent a nonprofit organization that named Ateljee (http://www.uwkringwinkel.be). We have a small application we use for registration

More information

Changing the Display Frequency During Scanning Within an ImageControls 3 Application

Changing the Display Frequency During Scanning Within an ImageControls 3 Application Changing the Display Frequency During Scanning Within an ImageControls 3 Date November 2008 Applies To Kofax ImageControls 2x, 3x Summary This application note contains example code for changing he display

More information

Introduction. Why (GIS) Programming? Streamline routine/repetitive procedures Implement new algorithms Customize user applications

Introduction. Why (GIS) Programming? Streamline routine/repetitive procedures Implement new algorithms Customize user applications Introduction Why (GIS) Programming? Streamline routine/repetitive procedures Implement new algorithms Customize user applications 1 Computer Software Architecture Application macros and scripting - AML,

More information

STUDENTS ATTENDANCE MANAGEMENT SYSTEM MINI PROJECT REPORT. Submitted by. KALAISANKARAN B Roll No: 11MCA020

STUDENTS ATTENDANCE MANAGEMENT SYSTEM MINI PROJECT REPORT. Submitted by. KALAISANKARAN B Roll No: 11MCA020 STUDENTS ATTENDANCE MANAGEMENT SYSTEM MINI PROJECT REPORT Submitted by KALAISANKARAN B Roll No: 11MCA020 in partial fulfillment of the requirements For the award of the degree of MASTER OF COMPUTER APPLICATIONS

More information

EViews Database Extension Interface

EViews Database Extension Interface EViews Database Extension Interface September 23, 2014 Table of Contents Introduction... 2 Examples... 4 File Based Database... 4 XML Folder Based Database... 17 SQL Server Database... 39 Distributing

More information

The VB development environment

The VB development environment 2 The VB development environment This chapter explains: l how to create a VB project; l how to manipulate controls and their properties at design-time; l how to run a program; l how to handle a button-click

More information

Module 6: Validating User Input

Module 6: Validating User Input Module 6: Validating User Input Contents Overview 1 Multimedia: Validating User Input 2 Lesson: Restricting User Input 4 Lesson: Validating Field Data 17 Lesson: Validating Form Data 29 Review 36 Lab 6.1:

More information

Business Rule Based Configuration Management and Software System Implementation Using Decision Tables

Business Rule Based Configuration Management and Software System Implementation Using Decision Tables Business Rule Based Configuration Management and Software System Implementation Using Decision Tables Olegas Vasilecas, Aidas Smaizys Vilnius Gediminas Technical University, Sauletekio av. 11, LT-10223

More information

TRANSITION FROM TEACHING VB6 TO VB.NET

TRANSITION FROM TEACHING VB6 TO VB.NET TRANSITION FROM TEACHING VB6 TO VB.NET Azad Ali, Butler County Community College [email protected] David Wood, Robert Morris University [email protected] ABSTRACT The upgrade of Microsoft Visual Basic from version

More information

bbc Developing Applications Using Interapplication Communication Adobe Acrobat SDK November 2006 Version 8.0

bbc Developing Applications Using Interapplication Communication Adobe Acrobat SDK November 2006 Version 8.0 bbc Developing Applications Using Interapplication Communication Adobe Acrobat SDK November 2006 Version 8.0 2006 Adobe Systems Incorporated. All rights reserved. Adobe Acrobat SDK 8.0 Developing Applications

More information

(Document Version 1.4) (This Document gives details on how to send messages via the Bulk HTTP API for the RouteSms SMPP System)

(Document Version 1.4) (This Document gives details on how to send messages via the Bulk HTTP API for the RouteSms SMPP System) (Document Version 1.4) (This Document gives details on how to send messages via the Bulk HTTP API for the RouteSms SMPP System) HTTP SSL API to submit messages on SMPP: https://:/bulksms/bulkpush?

More information

Appendix B - VoIP SARRA Source Codes and Cisco XML Objects

Appendix B - VoIP SARRA Source Codes and Cisco XML Objects Appendix B - VoIP SARRA Source Codes and Cisco XML Objects 1. Background Code (Non-Interface) Class1.vb Imports Microsoft.VisualBasic Public Class Class1 'THIS CLASS STORES THE USER NAME, PASSWORD AND

More information

National Database System (NDS-32) Macro Programming Standards For Microsoft Word Annex - 8

National Database System (NDS-32) Macro Programming Standards For Microsoft Word Annex - 8 National Database System () Macro Programming Standards For Microsoft Word Annex - 8 02/28/2000 /10:23 AM ver.1.0.0 Doc. Id: RNMSWS softcopy : word page : 1/6 Objectives A well-defined system needs to

More information

Visual Basic Programming. An Introduction

Visual Basic Programming. An Introduction Visual Basic Programming An Introduction Why Visual Basic? Programming for the Windows User Interface is extremely complicated. Other Graphical User Interfaces (GUI) are no better. Visual Basic provides

More information

'========================================================================== ==== Scans a range of A/D Input Channels

'========================================================================== ==== Scans a range of A/D Input Channels ========================================================================== ==== File: Library Call Demonstrated: background mode Purpose: continuously array. Demonstration: channels. Other Library Calls:

More information

USER GUIDE Appointment Manager

USER GUIDE Appointment Manager 2011 USER GUIDE Appointment Manager 0 Suppose that you need to create an appointment manager for your business. You have a receptionist in the front office and salesmen ready to service customers. Whenever

More information

Códigos fuentes aplicativo Agenda con VB.NET

Códigos fuentes aplicativo Agenda con VB.NET 2011 Códigos fuentes aplicativo Agenda con VB.NET Códigos fuente del aplicativo desarrollado en Visual Basic.Net, para el formulario Agenda.vb y el módulo funciones.vb Ver código fuente de Agenda.vb Ver

More information

THE SET ANALYSIS. Summary

THE SET ANALYSIS. Summary THE SET ANALYSIS Summary 1 Why use the sets... 3 2 The identifier... 4 3 The operators... 4 4 The modifiers... 5 4.1 All members... 5 4.2 Known members... 6 4.3 Search string... 7 4.4 Using a boundary

More information

GetLibraryUserOrderList

GetLibraryUserOrderList GetLibraryUserOrderList Webservice name: GetLibraryUserOrderList Adress: https://www.elib.se/webservices/getlibraryuserorderlist.asmx WSDL: https://www.elib.se/webservices/getlibraryuserorderlist.asmx?wsdl

More information

Design of Conveyor Monitoring Controller with Wireless System

Design of Conveyor Monitoring Controller with Wireless System Design of Conveyor Monitoring Controller with Wireless System Mrs.Sheeja S.Suresh 1, Mr.P.H.Rangaree 2 1 Research scholar, G.H.Raisoni College of Engg./Electronics, Nagpur, India Email: [email protected]

More information

OnTime Web Services User Guide

OnTime Web Services User Guide OnTime Web Services User Guide OnTime offers a set of SOAP based XML Web Services built on open standards, which allow third party applications and web sites to communicate seamlessly and in real-time

More information

Introduction to Python

Introduction to Python Caltech/LEAD Summer 2012 Computer Science Lecture 2: July 10, 2012 Introduction to Python The Python shell Outline Python as a calculator Arithmetic expressions Operator precedence Variables and assignment

More information

a) What is the major difference between a program that runs under a virtual machine vs. one that does not?

a) What is the major difference between a program that runs under a virtual machine vs. one that does not? CS109 Midterm Exam, Total = 100 Points Name: Please write neatly and show as much of your work as possible for partial credit. Scan through all problems first, and attack the easiest problems first. Use

More information

Our server platform consists of Microsoft Windows 2008 servers with SQL Server 2005 which are under 24/24 monitoring.

Our server platform consists of Microsoft Windows 2008 servers with SQL Server 2005 which are under 24/24 monitoring. DomainAPI v2.1 ARCHITECTURE Server platform Our server platform consists of Microsoft Windows 2008 servers with SQL Server 2005 which are under 24/24 monitoring. Application The Register.eu Gateway is

More information

DEVELOPING CONTRACT - DRIVEN WEB SERVICES USING JDEVELOPER. The purpose of this tutorial is to develop a java web service using a top-down approach.

DEVELOPING CONTRACT - DRIVEN WEB SERVICES USING JDEVELOPER. The purpose of this tutorial is to develop a java web service using a top-down approach. DEVELOPING CONTRACT - DRIVEN WEB SERVICES USING JDEVELOPER Purpose: The purpose of this tutorial is to develop a java web service using a top-down approach. Topics: This tutorial covers the following topics:

More information

VB.NET - DATABASE ACCESS

VB.NET - DATABASE ACCESS VB.NET - DATABASE ACCESS http://www.tutorialspoint.com/vb.net/vb.net_database_access.htm Copyright tutorialspoint.com Applications communicate with a database, firstly, to retrieve the data stored there

More information

Deleting A Record... 26 Updating the Database... 27 Binding Data Tables to Controls... 27 Binding the Data Table to the Data Grid View...

Deleting A Record... 26 Updating the Database... 27 Binding Data Tables to Controls... 27 Binding the Data Table to the Data Grid View... 1 Table of Contents Chapter 9...4 Database and ADO.NET...4 9.1 Introduction to Database...4 Table Definitions...4 DDL and DML...5 Indexes, the Primary Key, and the Foreign Key...5 Index Uniqueness...5

More information

HEAT PUMPS AS A LINK BETWEEN INDUSTRY AND DISTRICT HEATING

HEAT PUMPS AS A LINK BETWEEN INDUSTRY AND DISTRICT HEATING HEAT PUMPS AS A LINK BETWEEN INDUSTRY AND DISTRICT HEATING Jesper Koch Head of Development and Analysis Green Energy Association / Danish District Heat Association [email protected] GREEN ENERGY IS

More information

Secure Mail. Detailed Technical Information & In Depth of Understanding of Application. SY Chua SYWORKS PROGRAMMING

Secure Mail. Detailed Technical Information & In Depth of Understanding of Application. SY Chua SYWORKS PROGRAMMING Secure Mail Detailed Technical Information & In Depth of Understanding of Application. SY Chua SYWORKS PROGRAMMING Table of Contents Technical Detail... 2 1 User Account Profile... 3 2. Retrieving & Storing

More information

Kepware Technologies ClientAce: Creating a Simple Windows Form Application

Kepware Technologies ClientAce: Creating a Simple Windows Form Application Kepware Technlgies ClientAce: Creating a Simple Windws Frm July, 2013 Ref. 1.03 Kepware Technlgies Table f Cntents 1. Overview... 1 1.1 Requirements... 1 2. Creating a Windws Frm... 1 2.1 Adding Cntrls

More information

Visual Basic 2010 Essentials

Visual Basic 2010 Essentials Visual Basic 2010 Essentials Visual Basic 2010 Essentials First Edition 2010 Payload Media. This ebook is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited.

More information

SPARROW Gateway. Developer API. Version 2.00

SPARROW Gateway. Developer API. Version 2.00 SPARROW Gateway Developer API Version 2.00 Released May 2015 Table of Contents SPARROW Gateway... 1 Developer API... 1 Overview... 3 Architecture... 3 Merchant Private Key and Payment Types... 3 Integration...

More information

ComponentOne. Windows for WPF

ComponentOne. Windows for WPF ComponentOne Windows for WPF Copyright 1987-2012 GrapeCity, Inc. All rights reserved. ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA Internet: [email protected]

More information

Tracing and Debugging in ASP.NET

Tracing and Debugging in ASP.NET Tracing and Debugging in ASP.NET Tracing and Debugging in ASP.NET Objectives Learn how to set up traces in Visual Studio.NET. Configure tracing and debugging in Visual Studio.NET. Step through code written

More information

All of my instructors showed a true compassion for teaching. This passion helped students enjoy every class. Amanda

All of my instructors showed a true compassion for teaching. This passion helped students enjoy every class. Amanda F 228 D O z F/ Fx L / H V L I & P G G F Q, z,, B, z -, q k k k FUN F x 20% 02 F 9185957834 I P G j P, E, j, k,, ; I I G F Ex 2011 H B H 2011-2012 F H E U F P G I G L L 228 D & 228 k B P 04 F 9185957834

More information

Principles of Database Management Systems. Overview. Principles of Data Layout. Topic for today. "Executive Summary": here.

Principles of Database Management Systems. Overview. Principles of Data Layout. Topic for today. Executive Summary: here. Topic for today Principles of Database Management Systems Pekka Kilpeläinen (after Stanford CS245 slide originals by Hector Garcia-Molina, Jeff Ullman and Jennifer Widom) How to represent data on disk

More information

A Microsoft Access Based System, Using SAS as a Background Number Cruncher David Kiasi, Applications Alternatives, Upper Marlboro, MD

A Microsoft Access Based System, Using SAS as a Background Number Cruncher David Kiasi, Applications Alternatives, Upper Marlboro, MD AD006 A Microsoft Access Based System, Using SAS as a Background Number Cruncher David Kiasi, Applications Alternatives, Upper Marlboro, MD ABSTRACT In Access based systems, using Visual Basic for Applications

More information

TUTORIAL. BUILDING A SIMPLE MAPPING APPLICATION

TUTORIAL. BUILDING A SIMPLE MAPPING APPLICATION Cleveland State University CIS493. Mobile Application Development Using Android TUTORIAL. BUILDING A SIMPLE MAPPING APPLICATION The goal of this tutorial is to create a simple mapping application that

More information

Hands-On: Introduction to Object-Oriented Programming in LabVIEW

Hands-On: Introduction to Object-Oriented Programming in LabVIEW Version 13.11 1 Hr Hands-On: Introduction to Object-Oriented Programming in LabVIEW Please do not remove this manual. You will be sent an email which will enable you to download the presentations and an

More information

Scanner. It takes input and splits it into a sequence of tokens. A token is a group of characters which form some unit.

Scanner. It takes input and splits it into a sequence of tokens. A token is a group of characters which form some unit. Scanner The Scanner class is intended to be used for input. It takes input and splits it into a sequence of tokens. A token is a group of characters which form some unit. For example, suppose the input

More information

ACE 2011 International. Role Based Clients. aras.com

ACE 2011 International. Role Based Clients. aras.com ACE 2011 International Role Based Clients Copyright 2011 Aras All Rights Reserved. Session Goals Define Role Based and Application Specific Clients Discuss When can and Why should they be used Tutorial

More information

e ag u g an L g ter lvin v E ram Neal G g ro va P Ja

e ag u g an L g ter lvin v E ram Neal G g ro va P Ja Evolving the Java Programming Language Neal Gafter Overview The Challenge of Evolving a Language Design Principles Design Goals JDK7 and JDK8 Challenge: Evolving a Language What is it like trying to extend

More information

Introduction to Visual Basic and Visual C++ Database Foundation. Types of Databases. Data Access Application Models. Introduction to Database System

Introduction to Visual Basic and Visual C++ Database Foundation. Types of Databases. Data Access Application Models. Introduction to Database System Introduction to Visual Basic and Visual C++ Database Foundation Lesson 8 Introduction to Database System I154-1-A A @ Peter Lo 2010 1 I154-1-A A @ Peter Lo 2010 2 Data Access Application Models Types of

More information

Hands-On Lab. Building a Data-Driven Master/Detail Business Form using Visual Studio 2010. Lab version: 1.0.0. Last updated: 12/10/2010.

Hands-On Lab. Building a Data-Driven Master/Detail Business Form using Visual Studio 2010. Lab version: 1.0.0. Last updated: 12/10/2010. Hands-On Lab Building a Data-Driven Master/Detail Business Form using Visual Studio 2010 Lab version: 1.0.0 Last updated: 12/10/2010 Page 1 CONTENTS OVERVIEW... 3 EXERCISE 1: CREATING THE APPLICATION S

More information

Creating Reports Using Crystal Reports

Creating Reports Using Crystal Reports Creating Reports Using Crystal Reports Creating Reports Using Crystal Reports Objectives Learn how to create reports for Visual Studio.NET applications. Use the Crystal Reports designer to lay out report

More information

NiceLabel WebSDK Programming Guide

NiceLabel WebSDK Programming Guide www.nicelabel.com, [email protected] NiceLabel WebSDK Programming Guide Version 20110923-09 2011 Euro Plus d.o.o. All rights reserved. www.nicelabel.com Head Office Euro Plus d.o.o. Poslovna cona A 2

More information

Chapter 12: How to send email with one attached file by WP-8xx7, XP-8xx7-CE6, VP-2xW7, Wincon-8xx7 or ipac-8447 / 8847 or upac-7186eg?

Chapter 12: How to send email with one attached file by WP-8xx7, XP-8xx7-CE6, VP-2xW7, Wincon-8xx7 or ipac-8447 / 8847 or upac-7186eg? Chapter 12: How to send email with one attached file by WP-8xx7, XP-8xx7-CE6, VP-2xW7, Wincon-8xx7 or ipac-8447 / 8847 or upac-7186eg? by [email protected] WinPAC-8147/8447/8847, Wincon-8xx7, ipac-8447 /

More information

Informatica Cloud Connector for SharePoint 2010/2013 User Guide

Informatica Cloud Connector for SharePoint 2010/2013 User Guide Informatica Cloud Connector for SharePoint 2010/2013 User Guide Contents 1. Introduction 3 2. SharePoint Plugin 4 3. Objects / Operation Matrix 4 4. Filter fields 4 5. SharePoint Configuration: 6 6. Data

More information

Masters programmes in Computer Science and Information Systems. Object-Oriented Design and Programming. Sample module entry test xxth December 2013

Masters programmes in Computer Science and Information Systems. Object-Oriented Design and Programming. Sample module entry test xxth December 2013 Masters programmes in Computer Science and Information Systems Object-Oriented Design and Programming Sample module entry test xxth December 2013 This sample paper has more questions than the real paper

More information

Best Practices: ediscovery Search

Best Practices: ediscovery Search Best Practices: ediscovery Search Improve Speed and Accuracy of Reviews & Productions with the Latest Tools February 27, 2014 Karsten Weber Principal, Lexbe LC ediscovery Webinar Series Info & Future Takes

More information

Moving from C++ to VBA

Moving from C++ to VBA Introduction College of Engineering and Computer Science Mechanical Engineering Department Mechanical Engineering 309 Numerical Analysis of Engineering Systems Fall 2014 Number: 15237 Instructor: Larry

More information

Color Screen Phones: SIP-T48G and SIP-T46G with firmware version 73

Color Screen Phones: SIP-T48G and SIP-T46G with firmware version 73 This document provides detailed information on how to use ACD (automatic call distribution) feature on Yealink IP phones integrated with Star2Star platform. ACD enables organizations to manage a large

More information

LINQ: Language Integrated Query. ST Colloquium, 2008-05-15 Tom Lokhorst

LINQ: Language Integrated Query. ST Colloquium, 2008-05-15 Tom Lokhorst LINQ: Language Integrated Query ST Colloquium, 2008-05-15 Tom Lokhorst Brief example Brief example int[] nrs = {2, 3, 9, 1, 21, 3, 42}; Brief example int[] nrs = {2, 3, 9, 1, 21, 3, 42}; var q = from n

More information

Advanced Workflow Concepts Using SharePoint Designer 2010

Advanced Workflow Concepts Using SharePoint Designer 2010 Instructional Brief Advanced Workflow Concepts Using SharePoint Designer 2010 SharePoint User Group September 8th, 2011 This document includes data that shall not be redistributed outside of the University

More information

Business Requirements Document. BCBP Passenger Data exchange using the 2D Barcode. Version 1.5 23 March 2009

Business Requirements Document. BCBP Passenger Data exchange using the 2D Barcode. Version 1.5 23 March 2009 Business Requirements Document BCBP Passenger Data exchange using the 2D Barcode Version 1.5 23 March 2009 1 Business Requirement Document BCBP Airport Data Exchange 1 Introduction...4 2 Message Types

More information

Software Developer Guide

Software Developer Guide Software Developer Guide SigCompare ActiveX Control Copyright Topaz Systems Inc. All rights reserved. For Topaz Systems, Inc. trademarks and patents, visit www.topazsystems.com/legal. Table of Contents

More information

We will learn the Python programming language. Why? Because it is easy to learn and many people write programs in Python so we can share.

We will learn the Python programming language. Why? Because it is easy to learn and many people write programs in Python so we can share. LING115 Lecture Note Session #4 Python (1) 1. Introduction As we have seen in previous sessions, we can use Linux shell commands to do simple text processing. We now know, for example, how to count words.

More information

http://msdn.microsoft.com/zh-tw/magazine/cc188708(en-us,printer).aspx

http://msdn.microsoft.com/zh-tw/magazine/cc188708(en-us,printer).aspx Page 1 of 7 2010 Microsoft Corporation. 著 作 權 所 有, 並 保 留 一 切 權 利 Escape DLL Hell Simplify App Deployment with ClickOnce and Registration-Free COM Dave Templin This article is based on a prerelease version

More information

CSE 1223: Introduction to Computer Programming in Java Chapter 7 File I/O

CSE 1223: Introduction to Computer Programming in Java Chapter 7 File I/O CSE 1223: Introduction to Computer Programming in Java Chapter 7 File I/O 1 Sending Output to a (Text) File import java.util.scanner; import java.io.*; public class TextFileOutputDemo1 public static void

More information

CHAPTER 9: DATAPORT AND XMLPORT CHANGES

CHAPTER 9: DATAPORT AND XMLPORT CHANGES Chapter 9: Dataport and XMLport Changes CHAPTER 9: DATAPORT AND XMLPORT CHANGES Objectives Introduction The objectives are: Provide an overview of dataport changes. Discuss changes in XMLport object and

More information

AdFalcon Android SDK 2.1.4 Developer's Guide. AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group

AdFalcon Android SDK 2.1.4 Developer's Guide. AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group AdFalcon Android SDK 214 Developer's Guide AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group Table of Contents 1 Introduction 3 Supported Android version 3 2 Project Configurations 4 Step

More information

TITLE PAGE WEB BASED APPLICATION FOR INSURANCE SERVICES CASE STUDY OF THE INSURANCE COMPANY ESEDEBE FIDELIA OGECHUKWU (CST/2009/333)

TITLE PAGE WEB BASED APPLICATION FOR INSURANCE SERVICES CASE STUDY OF THE INSURANCE COMPANY ESEDEBE FIDELIA OGECHUKWU (CST/2009/333) TITLE PAGE WEB BASED APPLICATION FOR INSURANCE SERVICES CASE STUDY OF THE INSURANCE COMPANY BY ESEDEBE FIDELIA OGECHUKWU (CST/2009/333) DEPARTMENT OF COMPUTER SCIENCE AND INFORMATION TECHNOLOGY FACULTY

More information

Distributed Text Mining with tm

Distributed Text Mining with tm Distributed Text Mining with tm Stefan Theußl 1 Ingo Feinerer 2 Kurt Hornik 1 Department of Statistics and Mathematics, WU Vienna University of Economics and Business 1 Institute of Information Systems,

More information

Virtual Fax API User Guide

Virtual Fax API User Guide Virtual Fax API User Guide Introduction 2 Single Fax Job Submission (XML) 2 Protus XML Submission Services 2 Input: Job Request 2 Output: Status Response 2 Single Fax Job Submission XML Element Hierarchy

More information

Package hive. January 10, 2011

Package hive. January 10, 2011 Package hive January 10, 2011 Version 0.1-9 Date 2011-01-09 Title Hadoop InteractiVE Description Hadoop InteractiVE, is an R extension facilitating distributed computing via the MapReduce paradigm. It

More information

VB.NET Programming Fundamentals

VB.NET Programming Fundamentals Chapter 3 Objectives Programming Fundamentals In this chapter, you will: Learn about the programming language Write a module definition Use variables and data types Compute with Write decision-making statements

More information

ASP.NET Dynamic Data

ASP.NET Dynamic Data 30 ASP.NET Dynamic Data WHAT S IN THIS CHAPTER? Building an ASP.NET Dynamic Data application Using dynamic data routes Handling your application s display ASP.NET offers a feature that enables you to dynamically

More information

Getting Started with STATISTICA Enterprise Programming

Getting Started with STATISTICA Enterprise Programming Getting Started with STATISTICA Enterprise Programming 2300 East 14th Street Tulsa, OK 74104 Phone: (918) 749 1119 Fax: (918) 749 2217 E mail: mailto:[email protected] Web: www.statsoft.com

More information

Autotask Web Services API. API Version 1.1

Autotask Web Services API. API Version 1.1 Autotask Web Services API API Version 1.1 Document Created: 9/28/2006 Last modified: 4/04/2012 Autotask Web Services API API License Agreement WARRANTY DISCLAIMER - THE APIs are provided AS IS without

More information