The document provides an introduction to programming concepts like programs, programming, and basic procedures. It discusses what a program is, the input-process-output model of programming, and basic programming procedures like sequence, selection, and repetition. It also covers the Visual Basic .NET integrated development environment and changes from Visual Basic 6, including how forms are now classes, new data types like Decimal replacing Currency, and changes to syntax like requiring parentheses for calling subs and functions.
Oracle's Hyperion Smart View product enables business users to access data/metadata/shared content from Microsoft Excel with relative ease.
With that said, the product does have a few gaps that can lead to end user confusion, inefficient operation, and migration/upgrade challenges.
This presentation will walk you through ways to improve Smart View document robustness through the implementation of basic VBA / Smart View API scripts.
Deployment guidance is also provided which not only covers automated product installation but deployment of default settings and connections.
Finally scripts are provided to greatly ease the transition from the Essbase Add-In product to Smart View.
Case of the Unexplained Support Issue – Troubleshooting steps for diagnosing ...Charles Beyer
One of the many challenges to working as a Hyperion Admin is diagnosing issues. Many factors complicate troubleshooting efforts, such as the number of users, geographic location of users, varying experience levels, products in use (Hyperion and third -party), cryptic error messages, and the lack of built-in diagnostic tools. With the use of the proper tools and troubleshooting techniques, administrators can reduce the time required to handle many troubleshooting issues.
This powerpoint presentation will demonstrate how to use a variety of third-party tools to assist troubleshooting efforts. Troubleshooting techniques will be discussed and demonstrated using real world issues. Finally, the presentation walks through solving a fairly tricky technical problem.
SynapseIndia Drupal development
SynapseIndia Ecommerce development
SynapseIndia Sharepoint development
SynapseIndia PHP development
SynapseIndia Dotnet development
SynapseIndia Magento development
SynapseIndia MS Dynamic CRM
SynapseIndia Complaints
SynapseIndia Reviews
This is the slide deck of the Zend webinar "A tale of two toolkits".
Have you heard of the exciting new open source XML Toolkit currently being developed in collaboration between IBM and Zend? Are you curious about how it works and what you need to get started? Are you aware that it is available in Zend Server 5.1 as a beta and soon to be released as GA? Well rest assured, Mike Pavlak will fill you in on the details and a little bit more.
You can watch the webinar at http://bit.ly/q9byHS, after a short registration.
Twice vertelt u in een korte intensieve sessie meer over ALM en Team Foundation Server. In dit seminar is gedemonstreerd wat de nieuwe mogelijkheden zijn van Visual Studio 2012 en Visual Studio 2012 Team Foundation Server. Team Foundation Server ondersteunt de gehele Lifecycle van het applicatie ontwikkeltraject op basis van het Agile gedachtegoed. Er is onder andere ingegaan op de verbeterde samenwerkingsmogelijkheden, het beheer van de source code en het applicatie testproces. Onderwerpen die behandeld zullen worden tijdens dit seminar:
• Agile Dashboards
• Drag/Drop Storyboards en Taskboards
• Ondersteuning voor meerdere teams
• Betere offline Version Control d.m.v. local workspaces
• Exploratory Testing
• Feedback Manager
• Geïntegreerde Code Review
• Vernieuwde IDE
• Integratie met verschillende Unit Test Frameworks
• Suspend/Resume work binnen Visual Studio
Build software like a bag of marbles, not a castle of LEGO®Hannes Lowette
If you have ever played with LEGO®, you will know that adding, removing or changing features of a completed castle isn’t as easy as it seems. You will have to deconstruct large parts to get to where you want to be, to build it all up again afterwards. Unfortunately, our software is often built the same way. Wouldn’t it be better if our software behaved like a bag of marbles? So you can just add, remove or replace them at will?
Most of us have taken different approaches to building software: a big monolith, a collection of services, a bus architecture, etc. But whatever your large scale architecture is, at the granular level (a single service or host), you will probably still end up with tightly couple code. Adding functionality means making changes to every layer, service or component involved. It gets even harder if you want to enable or disable features for certain deployments: you’ll need to wrap code in feature flags, write custom DB migration scripts, etc. There has to be a better way!
So what if you think of functionality as loose feature assemblies? We can construct our code in such a way that adding a feature is as simple as adding the assembly to your deployment, and removing it is done by just deleting the file. We would open the door for so many scenarios!
In this talk, I will explain how to tackle the following parts of your application to achieve this goal: WebAPI, Entity Framework, Onion Architecture, IoC and database migrations. And most of all, when you would want to do this. Because… ‘it depends’.
Oracle's Hyperion Smart View product enables business users to access data/metadata/shared content from Microsoft Excel with relative ease.
With that said, the product does have a few gaps that can lead to end user confusion, inefficient operation, and migration/upgrade challenges.
This presentation will walk you through ways to improve Smart View document robustness through the implementation of basic VBA / Smart View API scripts.
Deployment guidance is also provided which not only covers automated product installation but deployment of default settings and connections.
Finally scripts are provided to greatly ease the transition from the Essbase Add-In product to Smart View.
Case of the Unexplained Support Issue – Troubleshooting steps for diagnosing ...Charles Beyer
One of the many challenges to working as a Hyperion Admin is diagnosing issues. Many factors complicate troubleshooting efforts, such as the number of users, geographic location of users, varying experience levels, products in use (Hyperion and third -party), cryptic error messages, and the lack of built-in diagnostic tools. With the use of the proper tools and troubleshooting techniques, administrators can reduce the time required to handle many troubleshooting issues.
This powerpoint presentation will demonstrate how to use a variety of third-party tools to assist troubleshooting efforts. Troubleshooting techniques will be discussed and demonstrated using real world issues. Finally, the presentation walks through solving a fairly tricky technical problem.
SynapseIndia Drupal development
SynapseIndia Ecommerce development
SynapseIndia Sharepoint development
SynapseIndia PHP development
SynapseIndia Dotnet development
SynapseIndia Magento development
SynapseIndia MS Dynamic CRM
SynapseIndia Complaints
SynapseIndia Reviews
This is the slide deck of the Zend webinar "A tale of two toolkits".
Have you heard of the exciting new open source XML Toolkit currently being developed in collaboration between IBM and Zend? Are you curious about how it works and what you need to get started? Are you aware that it is available in Zend Server 5.1 as a beta and soon to be released as GA? Well rest assured, Mike Pavlak will fill you in on the details and a little bit more.
You can watch the webinar at http://bit.ly/q9byHS, after a short registration.
Twice vertelt u in een korte intensieve sessie meer over ALM en Team Foundation Server. In dit seminar is gedemonstreerd wat de nieuwe mogelijkheden zijn van Visual Studio 2012 en Visual Studio 2012 Team Foundation Server. Team Foundation Server ondersteunt de gehele Lifecycle van het applicatie ontwikkeltraject op basis van het Agile gedachtegoed. Er is onder andere ingegaan op de verbeterde samenwerkingsmogelijkheden, het beheer van de source code en het applicatie testproces. Onderwerpen die behandeld zullen worden tijdens dit seminar:
• Agile Dashboards
• Drag/Drop Storyboards en Taskboards
• Ondersteuning voor meerdere teams
• Betere offline Version Control d.m.v. local workspaces
• Exploratory Testing
• Feedback Manager
• Geïntegreerde Code Review
• Vernieuwde IDE
• Integratie met verschillende Unit Test Frameworks
• Suspend/Resume work binnen Visual Studio
Build software like a bag of marbles, not a castle of LEGO®Hannes Lowette
If you have ever played with LEGO®, you will know that adding, removing or changing features of a completed castle isn’t as easy as it seems. You will have to deconstruct large parts to get to where you want to be, to build it all up again afterwards. Unfortunately, our software is often built the same way. Wouldn’t it be better if our software behaved like a bag of marbles? So you can just add, remove or replace them at will?
Most of us have taken different approaches to building software: a big monolith, a collection of services, a bus architecture, etc. But whatever your large scale architecture is, at the granular level (a single service or host), you will probably still end up with tightly couple code. Adding functionality means making changes to every layer, service or component involved. It gets even harder if you want to enable or disable features for certain deployments: you’ll need to wrap code in feature flags, write custom DB migration scripts, etc. There has to be a better way!
So what if you think of functionality as loose feature assemblies? We can construct our code in such a way that adding a feature is as simple as adding the assembly to your deployment, and removing it is done by just deleting the file. We would open the door for so many scenarios!
In this talk, I will explain how to tackle the following parts of your application to achieve this goal: WebAPI, Entity Framework, Onion Architecture, IoC and database migrations. And most of all, when you would want to do this. Because… ‘it depends’.
Basic Concepts of Object Oriented Programming (OOP) explained in layman's terms. For having a better understanding of building blocks of OOPs Language. Explanantion of Class, Objects & Methods followed by explanation of Message Passing, Inheritance, Abstraction, Encapsulation, & Polymorphism with examples.
Visual studio 2012 - What's in it for me?Jeff Bramwell
Visual Studio 2010 was released two years ago. Since then Microsoft was working hard to deliver Visual Studio "11" and Team Foundation Server "11". This session will take a look at the myriad features that have been incorporated into the latest version of Visual Studio and Team Foundation Server including some great planning features, Team Foundation Service (on Windows Azure), a revamped look and feel for Visual Studio, and more. Some of these features are also available for use within Visual Studio 2010 if you know where to look. If you want to get an overview of what's new in Visual Studio "11", then check out this session. ***NOTE: "Visual Studio 11" and "Team Foundation Server 11" are code names. The official name will be announced in the near future. At that time, I will need to modify the names within the description.
New SharePoint Features in Visual Studio 2012!SPC Adriatics
Speaker: Paul J. Swider
The Visual Studio team has provided SharePoint developers with new templates and project items in the latest release of Visual Studio. Now developers have new templates and tools to enhance the developer experience within SharePoint 2010 and SharePoint 2013. In this session learn about compatibility, upgrading source code and what’s new with SharePoint development and Visual Studio 2012.
Developing SharePoint 2013 apps with Visual Studio 2012 - SharePoint Connecti...Bram de Jager
The new SharePoint App Model provides different ways of building apps. As a developer you have to choose between development techniques, hosting options and more. This session discusses the architecture, various types of apps, application identity and permissions, and how to build these different types of apps.
The session contains demos covering building SharePoint-hosted apps, implementing SharePoint 2013 chrome control, setting the right permissions, and more with Visual Studio 2012.
Learning VB.NET Programming Concepts is a textbook for software developers to familiarize them with the concept of Common Language Runtime (CLR). The textbook enables the reader to understand the basic features of VB.NET. The line-by-line explanation of the source code, a unique feature of the textbook, enables the students to gain a thorough and practical understanding of VB.NET. The chapters in this book are structured in a pedagogical sequence, which makes this textbook very effective in learning the features and capabilities of the software.
los modelos de desarrollo de web se diferencias en la naturaleza y en el ciclo de vida de las aplicaciones web, están orientados a documentos que contienen páginas web estáticas o dinámicas. Se centran en el look & feel y enfatizan la creatividad visual y la presentación en la interfaz. Son conducidos por el contenido, incluyendo el desarrollo del contenido y necesitan ofrecer servicios a usuarios con diversidad de características y capacidades.
Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...Isuru Perera
Guest lecture at Informatics Institute of Technology (http://www.iit.ac.lk/) on 04th December 2015.
This lecture covered following UML 2.5 Diagrams: Use-Case, Activity, Class, Object, Sequence, State Machine.
I also showed some tools I have used: UMLet and Astah Community. Astah is the main tool I used when I was studying.
Then I focused on OOP Concepts, Software Design Principles and some Design Patterns.
I have included links to all related content in the 32nd slide.
Developers spend up to 20% of their time writing repetitive code that machines could generate more reliably. This presentation explores the problem of duplicated source code that stems from manual implementation of patterns and reveals how to automate the boring side of programming and get a 19x ROI.
The presentation provides insight into:
- the problem of manual implementation of patterns, resulting in boilerplate code
- the cost of boilerplate for companies
- existing technologies for pattern automation
- the key reasons to consider pattern-aware compiler extensions
The white paper was written for CTOs, software architects and senior developers in software-driven organizations—specifically in financial, insurance, healthcare, energy and IT industries that typically write a lot of repetitive code.
Basic Concepts of Object Oriented Programming (OOP) explained in layman's terms. For having a better understanding of building blocks of OOPs Language. Explanantion of Class, Objects & Methods followed by explanation of Message Passing, Inheritance, Abstraction, Encapsulation, & Polymorphism with examples.
Visual studio 2012 - What's in it for me?Jeff Bramwell
Visual Studio 2010 was released two years ago. Since then Microsoft was working hard to deliver Visual Studio "11" and Team Foundation Server "11". This session will take a look at the myriad features that have been incorporated into the latest version of Visual Studio and Team Foundation Server including some great planning features, Team Foundation Service (on Windows Azure), a revamped look and feel for Visual Studio, and more. Some of these features are also available for use within Visual Studio 2010 if you know where to look. If you want to get an overview of what's new in Visual Studio "11", then check out this session. ***NOTE: "Visual Studio 11" and "Team Foundation Server 11" are code names. The official name will be announced in the near future. At that time, I will need to modify the names within the description.
New SharePoint Features in Visual Studio 2012!SPC Adriatics
Speaker: Paul J. Swider
The Visual Studio team has provided SharePoint developers with new templates and project items in the latest release of Visual Studio. Now developers have new templates and tools to enhance the developer experience within SharePoint 2010 and SharePoint 2013. In this session learn about compatibility, upgrading source code and what’s new with SharePoint development and Visual Studio 2012.
Developing SharePoint 2013 apps with Visual Studio 2012 - SharePoint Connecti...Bram de Jager
The new SharePoint App Model provides different ways of building apps. As a developer you have to choose between development techniques, hosting options and more. This session discusses the architecture, various types of apps, application identity and permissions, and how to build these different types of apps.
The session contains demos covering building SharePoint-hosted apps, implementing SharePoint 2013 chrome control, setting the right permissions, and more with Visual Studio 2012.
Learning VB.NET Programming Concepts is a textbook for software developers to familiarize them with the concept of Common Language Runtime (CLR). The textbook enables the reader to understand the basic features of VB.NET. The line-by-line explanation of the source code, a unique feature of the textbook, enables the students to gain a thorough and practical understanding of VB.NET. The chapters in this book are structured in a pedagogical sequence, which makes this textbook very effective in learning the features and capabilities of the software.
los modelos de desarrollo de web se diferencias en la naturaleza y en el ciclo de vida de las aplicaciones web, están orientados a documentos que contienen páginas web estáticas o dinámicas. Se centran en el look & feel y enfatizan la creatividad visual y la presentación en la interfaz. Son conducidos por el contenido, incluyendo el desarrollo del contenido y necesitan ofrecer servicios a usuarios con diversidad de características y capacidades.
Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...Isuru Perera
Guest lecture at Informatics Institute of Technology (http://www.iit.ac.lk/) on 04th December 2015.
This lecture covered following UML 2.5 Diagrams: Use-Case, Activity, Class, Object, Sequence, State Machine.
I also showed some tools I have used: UMLet and Astah Community. Astah is the main tool I used when I was studying.
Then I focused on OOP Concepts, Software Design Principles and some Design Patterns.
I have included links to all related content in the 32nd slide.
Developers spend up to 20% of their time writing repetitive code that machines could generate more reliably. This presentation explores the problem of duplicated source code that stems from manual implementation of patterns and reveals how to automate the boring side of programming and get a 19x ROI.
The presentation provides insight into:
- the problem of manual implementation of patterns, resulting in boilerplate code
- the cost of boilerplate for companies
- existing technologies for pattern automation
- the key reasons to consider pattern-aware compiler extensions
The white paper was written for CTOs, software architects and senior developers in software-driven organizations—specifically in financial, insurance, healthcare, energy and IT industries that typically write a lot of repetitive code.
Drupal and its contributed modules provides an impressive amount of functionality without needing to write a single line of code by storing information in Drupal’s database tables. Unfortunately this poses a challenge for developers wanting to stage changes between servers. This talk starts to address these issues by describing the problem and presenting a variety of solutions as well as their pros and cons. I also discuss some possible paths to make this easier coming down the pipe.
This presentation is about the present and future of the .NET platform and the C # programming language. We will review the current state of the .NET platform, the new features of .NET 2.1, and the future of the C # language.
August Webinar - Water Cooler Talks: A Look into a Developer's WorkbenchHoward Greenberg
August Webinar - Water Cooler Talks: A Look into a Developer's Workbench
OpenNTF presents Water Cooler Talks, an irregular new series of webinars to provide a stage for individuals sharing their stories, experiences and best practices with their peers.
This month's topic is all about developers' workbenches. As developers we all have tools and routines we use to develop, collaborate and test our applications. We have experienced lots of issues and made mistakes and have a workflow that does the job, but may not be ideal. Are there better ways to do our jobs? Come learn from your fellow developers in this webinar that looks at the typical toolbox and workflow routines of several OpenNTF Board members and how they develop apps, manage tasks, track bugs, handle versioning and more.
Howard Greenberg develops Notes/Domino/XPages applications for a variety of clients. Come learn how he uses source control in Domino Designer along with SourceTree and BitBucket to collaborate with his clients and maintain a history of all changes.
Jesse Gallagher develops XPages and webapp projects that target Domino. He will present his development environment and discuss using Maven and Jenkins to automate builds and delivery.
Serdar Basegmez utilizes Domino to create RESTful APIs for his clients. He will present his development environment and share some tips on Eclipse configuration, deployment and testing Domino plugins.
View the video at https://youtu.be/AMbQ5H4dEvw
Dot net Online Training | .Net Training and Placement onlineGaruda Trainings
The .NET Framework is a software framework, developed by Microsoft that was primarily intended to run on Windows operating system. Microsoft started developing it since late 1990’s and its first beta version was released in the end of 2000, however its first commercial version was released in the year of 2002. Wide genres of applications can be developed using .NET framework and it is hugely popular in the IT market currently.
P2Cinfotech is one of the leading, Online IT Training facilities and Job Consultant, spread all over the world. We have successfully conducted online classes on various Software Technologies that are currently in Demand. To name a few, we provide quality online training for QA, QTP, Manual Testing, HP LoadRunner, BA, Java Technologies.
Unique Features of P2Cinfotech:
1. All online software Training Batches will Be handled by Real time working Professionals only.
2. Live online training like Real time face to face, Instructor ? student interaction.
3. Good online training virtual class room environment.
4. Special Exercises and Assignments to make you self-confident on your course subject.
5. Interactive Sessions to update students with latest Developments on the particular course.
6. Flexible Batch Timings and proper timetable.
7. Affordable, decent and Flexible fee structure.
8. Extended Technical assistance even after completion of the course.
9. 100% Job Assistance and Guidance.
Courses What we cover:
Quality Assurance
Business Analsis
QTp
JAVA
Apps Devlepoment Training
Register for Free DEMO:
www.p2cinfotech.com p2cinfotech@gmail.com +1-732-546-3607 (USA)
Mixing d ps building architecture on the cross cutting examplecorehard_by
В рамках доклада мы поговорим о важности архитектурных решений, в том числе, для обеспечения высокого качества ПО при минимальных трудозатратах. Сквозной пример из области резервного копирования данных позволит лучше понять техническую, QA и общепроцессную составляющие подхода. Прошло достаточно времени, чтобы раскрыть технические детали без нарушения NDA, предложенный вариант на базе метрик, которые мы обязательно упомянем, был признан лучшим архитектурным решением в рамках компании – одного из лидеров отрасли, получил награду Microsoft, был «размножен» на смежные области. Приступаем: Builder, Decorator, Composite, Iterator и Visitor - как эти паттерны помогли решить нетривиальную С++ задачу.
Building environment of #UserDevOps and not only DevOpsRajnish Chauhan
In so much of IT tools and technology we missed and forgotten the very user and requirement. If requirement are not of high quality , we can not expect the software of quality as quality is not only all about defects & bugs but also if it is usable and meeting the need of user community.
There are many tools and methodology and I have detailed what minimum with one can start UserDevOps transformation and can bring values to business.
DevOps is changing today's software development world by helping us build better software, faster. However most of the knowledge and experience with DevOps is based around application software and ignores the database. We will examine how the concepts and principles of DevOps can be applied to database development by looking at both automated comparison analysis as well as migration script management. Automated building, testing, and deployment of database changes will be shown.
About the Presenter
Steve Jones is a Microsoft SQL Server MVP and has been working with SQL Server since version 4.2 on OS/2. After working as a DBA and developer for a variety of companies, Steve co-founded the community website SQLServerCentral.com in 2001. Since 2004, Steve has been the full-time editor of the site, ensuring it continues to be a great resource for SQL Server professionals. Over the last decade, Steve has written hundreds of articles about SQL Server for SQLServerCentral.com, SQL Server Standard magazine, SQL Server Magazine, and Database Journal.
Basic concept on Systems/Software Analysis, Design & Development, how software engineering, large projects are done, collaborated, best practices & standards.
Scripting experts from Inductive Automation cover general best practices that will help you add flexibility and customization to HMI, SCADA, IIoT, and other industrial applications. Some specific tips about using scripting in the Ignition platform will be included as well.
In this webinar, learn more about:
• Common scripting pitfalls and how to avoid them
• The best programming languages to use
• Things to consider before using scripting
• How scripting environments work
• Scripting timesavers
• And more
Scripting experts from Inductive Automation cover general best practices that will help you add flexibility and customization to HMI, SCADA, IIoT, and other industrial applications. Some specific tips about using scripting in the Ignition platform will be included as well.
In this webinar, learn more about:
• Common scripting pitfalls and how to avoid them
• The best programming languages to use
• Things to consider before using scripting
• How scripting environments work
• Scripting timesavers
• And more
Achieving Full Stack DevOps at Colonial Life DevOps.com
In an ever more competitive marketplace, organizations have turned to Agile and DevOps practices to deliver software innovations to market more quickly and with high quality. Across industries, companies are making heavy investments in tools and process improvements around automated build, test, continuous integration and delivery, and release automation and orchestration. However, despite these investments, many organizations are still struggling to bring the necessary speed and quality to their software delivery. In many cases, this is because Agile and DevOps improvements have not been applied to the entire software stack and are often limited to application code delivery.
This webinar will explore the transformation that Colonial Life made in bringing DevOps to the entire software stack. Specifically, beyond automating and accelerating the validation and delivery of application code, this webinar will focus on the critical role that data and the database play in modern software delivery and the tools and processes that can bring the same automation to database code.
After this webinar, you will understand:
* What holds organizations back despite an Agile application development process
* The benefits of automating the validation and deployment of database changes
* A template for bringing DevOps to the entire software stack
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Object Oriented Programming I
1. VB.NET
ITCS 212
Object Oriented Programming I
By: Mrs. Marie Tupaz
2. What is Program, Programming and Basic Procedures
INTRO TO PROGRAMMING
3. What is Programming?
• Program
• a set of directions for the computer to
complete a task
• a sequence of instructions written to
perform a specified task with a computer
4. What is Programming?
Programming
• process of designing,
writing, testing, debugging, and
maintaining the source
code of computer programs
• Wikipedia
• giving the computer directions for
completing a task
5. A computer is essentially a trained
squirrel: acting on reflex,
thoughtlessly running
Back and forth and storing away nuts
until some other stimulus makes it
do something else.
Ted Nelson
8. What is Programming?
• Input – Key in data in computer
• Process – the task given or work of the
program
• Output – the results
Every Data must be declared before you
can use and its called Declaration
9. What is programming?
Baking a Cake:
• Declarations : the measuring cups, the measuring
spoons, the mixing bowl, and the cake pan. You must
make sure you have these before you start.
• Input : the ingredients, the cake mix, the eggs, the water,
and such.
• processing: the mixing and the baking – all the steps
needed to turn your ingredients into a cake.
• Output : the cake.
10. Basic Programming Procedure
3 Category
• Sequence - order of commands in a program
(Washing dishes)
• Selection - enable the computer to make
decisions : Depending on decision, a different set of
directions must be followed (laundry)
• Repetition - allow the computer to repeat the
same series of steps (Brushing teeth)
11. Basic Programming Procedure
• Program Errors
provide computer with precise directions for
the task and provide these directions in a
language the computer will understand
If directions are wrong then the computer
makes “mistakes.”
How to minimize this mistakes?
12. Basic Programming Procedure
• Algorithm
• What is Algorithm?
• is a step-by-step procedure
• Lit. the description of the steps to solve the
problem
14. Basic Programming Procedure
Developer/User
• Developer - is the person that develops
the specifications, designs the program,
creates the algorithm, writes the code,
and tests the program
• User: is the person that uses the
finished program.
• User part in program
designing the program, and testing it
15. Basic Programming Procedure
Design Time/Runtime
• Design Time - when the program is
developed, the interface is created, and
the code is written
• Run Time - program is running
16. Remember
At design time a developer
decides everything that a program
will be and can do.
At runtime, the program executes
the commands given to it at design
time.
17. Basic Programming Procedure
Form/Code
• Form window - often called the
interface and is what the user sees
when the program runs
• Code window – where the directions
the program is written and must never
sees by the user
18. Basic Programming Procedure
• Objects/Events
• Objects – controls
• Events – the ways a user interacts with
the computer
19. Basic Programming Procedure
Code Files/Program
• To create or modify a program, you
need the project folder and its files.
These are used to create the
executable file or .exe -- Finished
program found in bin folder
• .exe –, standalone program that can run
even without VS
22. Visual Basic.NET
• Easier to Use
• Streamlined and Modernized
• More Powerful than VB 6.0
• Higher level of access to system
resources that in the past required
the use of languages like C++
• True Object Inheritance
• Garbage Collection for better
memory management
23. Visual Studio .NET 2003
• Released April 27, 2003
• J#
• Mobile Web Applications: using the
integrated ASP.NET Web Forms and
the Visual Studio .NET Web Forms
Designer, Visual Basic and C#
developers can easily build thin-
client Web-based applications that
render intelligently on more than 200
devices, including wireless
application protocol (WAP) phones,
wireless personal digital assistants
(PDAs), and pagers.
24. New Web Development
• Programming for the Web vs.
Windows
• New set of controls
• Web page layout
• ASP.NET
• ADO.NET
• Mobile Applications
• Convert Projects
25. Just an Upgrade???
• NO!
• VB.NET omits quite a few forms of
syntax
• VB.NET requires a total rewrite rather
than a simple port of code
• VB.NET is not dependent on older
libraries such as VBA runtime and
ADO (ActiveX Database Object)
26. Forms are now Classes
• In VB6, forms were
classes, but you
rarely treated them
that way
• VB .NET shows the
code that instantiates
the form
• To show additional
forms, you must first
instantiate them
27. Form Changes
• Forms have undergone a number
of changes. These include:
• The Forms engine is now
WinForms and add such features
as docking and opacity
• Forms are classes
• A Component Tray holds non-
visual controls at design-time
28. VB.NET or C#.NET
• C# is a new language that
was designed to be
friendly to programmers
who are already
proficient in C or C++
• Either language can be
used to write software
that takes full advantage
of the CLR and .NET
framework
30. New Tools
• Calendar Tool
• Date Picker Calendar
• Opacity Control
• Timer does not lay on form
• Command Buttons are now called
Buttons
• Use ―btn‖ for prefix
32. More Changes
• The Editor window (formerly the
Code window)
• Lots more IntelliSense help;
can be confusing
• Declarations section replaces
General Declarations
• Collapsible Regions in code
(Plus signs)
33. Collapsed Regions
Tabs
Method List
Class
List
Collapsed
Region
Collapsed
Procedure
34. General Changes
• There have been a number of changes in
VB .NET. General changes include:
• Form changes
• Option Strict
• Event Handler changes
• Default Properties
• Calling Subs and Functions
• Boolean operators
• Using CTRL + Space to finish variables
35. The Component Tray
• In VB6, controls that were only
visible at design-time still appeared
on the form in the IDE
• Such as the Timer control
• VS .NET places controls that are
invisible at runtime in a small area
below the form
• This area is the Component Tray
36. Forms are now Classes
• In VB6, forms were classes, but you
rarely treated them that way
• VB .NET shows the code that
instantiates the form
• To show additional forms, you must
first instantiate them
37. The Component Tray
• In VB6, controls that were only
visible at design-time still appeared
on the form in the IDE
• Such as the Timer control
• VS .NET places controls that are
invisible at runtime in a small area
below the form
• This area is the Component Tray
38. Calls to Subs and Functions
Require Parentheses
• In VB6, you called a Sub without
parentheses
AddOrder OrderNum, OrderDate
• You could use the Call statement, which
required parenthese
Call AddOrder(OrderNum, OrderDate)
• .NET always requires parentheses for a
Sub, as well as with Functions
39. New Boolean Operators
• The And and Or keywords do not short-
circuit in VB and VB .NET
• Both sides of an operator are evaluated, even
if the first option invalidates the statement
• VB .NET adds two short-circuiting
Boolean operators:
• AndAlso
• OrElse
40. Boolean Operators Example
Dim x As Integer
x = 0
If x>2 And 5x > 1 Then ...
• This If statement is already false on
the x>2 part, but 5x is still checked
because And does not short-circuit
• In this case, 5x causes a ―divide by
zero‖ error
41. Boolean Operators Example cont.
Dim x As Integer
x = 0
If x>2 AndAlso 5x > 1 Then ...
• This If statement is already false on
the x>2 part, so the AndAlso does
not check the 5x portion
• The key result: No Error!
42. The Value of True
• The value of True has not changed
• Originally, the value of True was going
to change, but it did not
• The value of True in VB .NET is still
negative one (-1)
• Your code should not check for -1,
but for True
43. Common Language Runtime
• VB.NET has undergone a significant
overhaul to accommodate the CLR
• New object oriented design features
• Much higher levels of type safety
• Universal type system allows for greater
inoperability
44. Changes in Properties
• The Alignment property becomes
TextAlign
• The maximum length of identifiers is
16,383
• All new Help — MSDN
• OptionButton becomes RadioButton
• Frame becomes GroupBox
• New component tray holds non-visible
controls
45. More Property Changes
• Text boxes have a Clear method
txtName.Clear()
txtName.Text = ―‖
• Focus method replaces SetFocus
txtName.Focus()
• Many colors available through the Color
class
• lblMessage.ForeColor = Color.Blue
Color.Aquamarine
Color.Bisque
Color.Chocolate
Color.Cadetblue
46. Tab Order
This is neat! Click on View and Tab
Order
47. Caption / Text Property
• VB 6.0 - Some controls, such as
Label, have a Caption property that
determines the text displayed in or
next to the control. Other
controls, such as TextBox, have a
Text property that determines the text
contained in the control
• VB.NET - In Windows Forms, the
property that displays text in a
control is consistently called Text on
all controls. This simplifies the use of
controls.
48. VB.NET IDE
• Form Window
• form window default name is Form1
• Here you add controls to create the user
interface.
• Toolbox
• contains the controls used to build the
user interface
49. VB.NET IDE
• Solution Explorer
• contains a list of files and forms in your
project
• Properties Window
• list of properties for each control.
• The column on the left contains the
names of the properties for that control.
• The column on the right contains the
settings for the properties.
50. VB.Net IDE
• Naming Controls
• Controls are identified by their names
• Rules for naming controls
• Names must start with a letter.
• name can contain any combination of
letters, numbers, or underscores ( ).
• Name Cannot contain spaces.
• Avoid using any special characters.
• Names can be more than 1,000characters
but limit it with twenty characters.
• start all controls with a three-character
prefix to identify the type of control
52. VB.Net IDE
• Code Window
• Where the program code is written
• To view right click on the form and
select View Code object the popup or
double-click on the object
• Example
• Double-click on the Button
• That opens the Code Window and creates a
procedure and will create event
53. VB.Net IDE
• Code Window
• procedure is a block of code that
completes a particular task.
Private Sub
…
End Sub.
• Event
• When you double-clicked on the Button,
it created a click event for that Button
55. Data Types
byte 1 byte Range Unsigned
0 to 255 byte
sbyte 1 byte Range Signed
-128 to 127 byte
Short 2 Range Signed
(sho) bytes -32768 to 32767 short
ushort 2 Range Unsigned
bytes 0 to 65535 short
56. More Integer Data Types
int 4 bytes Range Signed
-2,147,483,647 to
(int) 2,147,483,647 integer
uint 4 bytes Range Unsigned
0 to 4,294,967,295
integer
long 8 bytes Greater than Signed
(lng) 900,000 trillion long int
ulong 8 bytes Greater than 18 Unsigned
million trillion long int
57. Other Data Types
single 4 Range Float
(sng) bytes A number 6 digits past number
the decimal
double 8 Range Double
(dbl) bytes A number 14 digits past precision
the decimal
decimal 8 Range Fixed
bytes A number 28 zeros long precision
string (str) N/A Range N/A Unicode
char 2 Range Unicode
bytes 0x0000 to 0xFFFF character
Bool (bln) True or False Boolean
60. Converting Data Types
• Initialize a variable at declaration
Dim intMax As Integer = 100I
Dim decRate As Decimal = 0.08D
• Declare multiple variables at once
Dim intCount, intNum As Integer
• Convert all input to correct data type
(Do not use Val function)
decSale = CDec(txtSale.Text)
• CInt (still rounds to even #)
• CDec
• CStr
** CInt and CDec parse some characters
like $, commas,()
62. Changes in Syntax
• Currency
• Replaced with Decimal in VB.NET
• The Currency data type (64 bit) does not
provide sufficient accuracy to avoid
rounding errors, so Decimal (96 bit) was
created as its own data type.
• Dim x As Currency
is upgraded to:
Dim x As Decimal
63. Long and Integer Data Types
• VB 6.0 - Long variables were stored
as 32-bit numbers and Integer
variables as 16-bit numbers
• VB.NET - Long variables are stored
as 64-bit numbers, Integer variables
are stored as 32-bit numbers, and
Short variables are stored as 16-bit
numbers.
64. Variant Data Type
• From Variant data types to Object
• due to keeping all the languages more similar.
This is no longer the same as a pointer to an
object.
• Dim x As Variant
is upgraded to:
Dim x As Object
65. Object Data types
• Object supports all classes in the .NET
Framework class hierarchy and
provides low-level services to derived
classes. It is the root of the type
hierarchy.
• Everything inherits from Object-everything.
• The Object data types make VB.NET
better but they also make your
programming easier.
66. Object Data types
• 7 methods of Object:
• Equals(Object) as Boolean
• Equals(Object, Object) as Boolean
• GetHashCode() as Integer
• GetType() as System.Type
• New()
• ReferenceEquals(Object, Object) as
Boolean
• ToString() as String
67. Object Data types
• If you look at another data type such as
Char in the VB.NET Object Browser,
you'll see six of the seven methods are
also available.
• The missing one is the constructor
method, New(). This is taken care of
when a variable is declared.
68. Object Data types
• VB 6.0
• If (UCase(chrl) >= "A" And UCase(chrl)
<= "Z") Then ...
• to find out if a one character string is actually a
letter.
• VB.NET,
• If Char.IsLetter(myCharVar) Then ...
69. Option Explicit
• Option Explicit { On | Off }
• In VB.NET the option is turned on by
default for all new projects.
• When Option Explicit Off is used (not
a good programming style), you can
use any variable without first
declaring it.
70. • To Set
1. On the Tools menu, choose Options.
2. Open the Projects and Solutions node.
3. Choose VB Defaults.
4. Modify the Option Explicit setting.
5. To set Option Explicit on the command
line
6. Include the /optionexplicit compiler option
in the vbc command.
71. • Example
• In this example Option
Explicit statement use to force explicit
declaration of all variables. Attempting
to use an undeclared variable causes
an error at compile time.
72. Force explicit variable declaration.
• Option Explicit On
• Dim thisVar As Integer thisVar = 10
thisInt = 10 ' causes ERROR
73. Option Strict On
• New Option in VB.NET
• When Option Strict is turned on, the
compiler/editor does not allow implicit
conversions from a wider data type to a
narrower one, or between String and
numeric data types
• When you use the Option Strict statement,
the statement must appear before any other
code
74. Option Strict On
• Option Strict also generates an error
message in the following scenarios:
• For any undeclared variable. This is
because Option Strict also implies Option
Explicit.
• Late binding.
• If Option Strict is Off we can convert the
value of Long to an Integer.
• Limits erroneous numbers or run-time
errors
75. Option Strict On
• Example
• Option Strict On
Public Class Form1
Private Sub Button1_Click(ByVal sender As
System.Object, _ ByVal e As
System.EventArgs) Handles Button1.Click
Dim longNum As Long Dim intNum As
Integer longNum = 12345 intNum =
longNum MsgBox(intNum)
End Sub
End Class
76. Case Conversions
• String ToUpper and ToLower methods
• Replace UCase and LCase functions
• If txtInput.Text.ToUpper = ―YES‖
77. New Compound Operators
• New assignment Operators
• += –= *= /= = &=
• decTotal += decSale same as
decTotal=decTotal + decSale
79. Creating variables
• Variable
• a storage container for your data
• Declaration –creation of variable or
declaring a variable
• Assignment – change the value in a
variable
• Syntax
• Dim varName As Type
• Declaration Example
• Dim shoTest as Short
80. Creating variables
• Variable
• initializing a variable
• You must initialize a variable at the same
time you declare it
• Example
• Dim shoCaseSize As Short = 24
• Dim strLastName As String = "Jefferson―
Remember : When you assign a value
to a variable, you must make sure it
can store the answer
81. Creating variables
• Different assignment of variable
• Use an assignment statement to place a
value in a variable
• shoTestScore = 88
• assigning the value of one variable to
another
• strNewAddress = strOldAddress
• using a mathematical equation
• shoTotal = shoNum1 + shoNum2
• shoTotal = shoNum1 + 10
83. Rules of Precedence
• what’s in parentheses first and work
your way out,
• exponentiation before other
mathematical calculations,
• multiplication and division from left
to right, and then
• addition and subtraction from left to
right.
84. Rules of Precedence
• Example
• sngAverage = (shoTest1 + shoTest2 +
shoTest3 + shoTest4)/4
• 175=3
• 17 Mod 5 = 2
• 17^5
85. Creating Constants
• Constants are like variables except
their values cannot be changed while
the program is running
• Example
• Const sngSalesTaxRate As Single = 0.05
• Const strTitle As String = "A Tale of Two
Cities"
86. Creating Constants
• What is wrong with each of the
following?
• shoNum + shoNum2 = shoTotal
• shoNum = 10∗4
• Dim decPrice As Decimal = "$4.99"
• shoCube = (shoSide)3
88. Block-Level Scope
• VB .NET introduces variables that
only exist within blocks of code
• Blocks are items such as
For…Next, Do…Loop, and If Then…End
If
• Variables are only visible within the
block, but their lifetime is that of the
whole procedure
89. Block-Level Scope
• For Loop
• enable us to execute a series
of expressions multiple numbers of
times. For loop needs a loop
index which counts the number of loop
iterations as the loop executes.
90. For loop
• syntax
• For index=start to end[Step step]
[statements]
[Exit For]
[statements]
Next[index]
• Example
Dim i As Integer
For i = 1 To 10
Console.WriteLine(i)
Next
91. Do.. Until
• Do...UNTIL Loop
• is a loop that runs until the loop's condition
is true, the condition being checked after
each iteration of the loop.
• Syntax
• Do
statements
Loop Until condition
92. Do.. Until
• Example
Do Until i > 10
Console.WriteLine(i)
i=i+1
Loop
93. Do...Loop While
• Do… While loop:
A Do...Loop While loop runs until the
loop's condition becomes false. Its
condition is checked after each iteration
of the loop.
94. Do...Loop While
• Syntax
• Do
statements
Loop While condition
• Example Shows the DO while Loop:
Do
Console.WriteLine(i)
i=i+1
Loop While i < 10
96. Arrays
• VB 6.0 - Arrays can be defined with lower
and upper bounds of any whole number.
The Option Base statement is used to
determine the default lower bound if a
range is not specified in the declaration.
• VB.NET- To enable interoperability with
other languages, all arrays must have a
lower bound of zero. This makes the
Option Base statement no longer
necessary.
• Dim a(1 To 10) As String
is upgraded to:
Dim a(10) As String
97. Array Size
• This is one area that was going to
change, but did not
• When you declare an array, it starts at
zero, and the element number you use
is the Upper Bound of the array
• This means that arrays will always be
one larger than the size declared
• Dim x(2) As Integer has three
elements
98. While Loops
• VB 6.0 - While statements are ended with
a WEND statement.
• VB.NET - WEND statements are changed
to End While. This improves language
consistency and readability.
• It executes a block of statement as long as
condition is true.
99. While Loops
• syntax:
• While condition
statement-block
End While
• Example
While i < 10
Console.WriteLine(i)
i = i + 1 // same with i+=1 or i++
End While
100. Arrays Continued
• Arrays in VB.NET are classes
supporting properties and methods,
making them quite flexible.
• .Sort
• .Reverse
• You can sort an array in one line of
code!
102. Parameter Passing
• VB 6.0 - Parameters that do not
specify either ByVal or ByRef default
to ByRef
• VB.NET - Parameters that do not
specify either ByVal or ByRef default
to ByVal. Defaulting to ByVal rather
than ByRef eliminates the problem of
having a procedure mistakenly
modify a variable passed in by the
caller.
103. GoSub, On Goto
• VB 6.0 - The GoSub line ... Return
statement branches to and returns
from a subroutine within a
procedure.
• VB.NET - GoSub...Return is a
nonstructured programming
construct. Its use makes programs
harder to read and understand.
Creating separate procedures that
you can call may provide a more
structured alternative or use case
statements.
104. Structures Replace UDTs
• User Defined Types (UDTs) have
been replaced with Structures
• Structures are far more powerful
than UDTs
• They support the equivalent of
properties and methods
• They are not as powerful as classes
105. File I/O Changes
• VB .NET supports such built-in
functions as FileOpen and Write
• These functions are found in the
Microsoft.VisualBasic namespace
• VB6 code that is upgraded to VB
.NET will use these functions
• The Framework includes a rich
namespace called System.IO
106. The System.IO Namespace
• System.IO contains a large number
of classes for handling all types of
I/O
• There are a variety of major
categories of objects in System.IO
• These include objects to manage files
and directories, read and write text
files, and read and write binary streams
107. Working with Files
• FileInfo and DirectoryInfo
classes are for such operations as
creating, moving, and deleting files
and directories
• If you use the Open method of
FileInfo to open a file, the returned
object is a FileStream
108. Reading and Writing Files
• The StreamReader and
StreamWriter classes are common
ways to perform file I/O
• This can read binary and text data
• The StringReader and StringWriter
are designed to read text data
109. Structured Error Handling
• VB .NET now supports Structured
Exception Handling (SEH)
• On Error Goto is still supported
• SEH uses the Try…Catch…Finally
syntax
• Should help reduce spaghetti code
110. Overloading
• Overloading is the ability to have the
same method, but with different
arguments
• You could fake this in VB6 using
ParamArrays
• For example, a FindCustomer
method could accept a customer ID,
a customer name, or a contact name
111. Constructors and Destructors
• Constructors are blocks of code that
run when a class is instantiated
• Destructors are blocks of code that
run when a class drops out of
memory
• Constructors can be overloaded to
make them more powerful
• Due to garbage collection, you
cannot be assured of when
destructors will execute
112. Dispose and Finalize
• Finalize will run when the object is
cleaned up by the GC
• You might want to release resources
explicitly, since you cannot
determine when Finalize will be
called
• Use the Dispose design pattern to
explicitly free resources
113. Multithreading
• VB .NET allows you to create truly
multithreaded (or free threaded)
applications
• The Framework includes a
System.Threading namespace to
make working with threads easier
• You will learn more in Chapter 11,
―Multithreaded Applications‖
117. Activity # 1 - Tuition Calculator
• TuitionCalculator Code
• Public Class frmTuitionCalculator
• Private Sub btnExit_Click(ByVal sender As System.Object,
• ByVal e As System.EventArgs) Handles btnExit.Click
• End
• End Sub
• Private Sub btnTuition_Click(ByVal sender As
• System.Object, ByVal e As System.EventArgs) Handles
• btnTuition.Click
• Dim shoCredits As Short
• Dim decTuition As Decimal
• shoCredits = txtCredits.Text
• decTuition = shoCredits * 100
• lblTuition.Text = decTuition.ToString
• End Sub
• End Class
125. Errors in Your Program
• Syntax errors
spelling or usage errors in your code.
Computer doesn’t understand what
you’ve written.
• Logical errors
• errors in your thinking. The computer
understands the commands, but the
―what to do‖ or ― how to do them‖ is
different than what you were expecting.
• Runtime errors
• Problems that crash a program.
128. Activity # 1 - Tuition Calculator
• Procedure for creating the program
• Form Window
1. In every System you must first to create the
user interface and add all the control needed
2. name all the controls
3. Choose the control that will trigger the event
and go to code window
Note: Design should follow later after the
program works
129. Activity # 1 - Tuition Calculator
• Procedure for creating the program
• Code Window
130. Activity # 1 - Tuition Calculator
• TuitionCalculator Code
• Public Class frmTuitionCalculator
• Private Sub btnExit_Click(ByVal sender As System.Object,
• ByVal e As System.EventArgs) Handles btnExit.Click
• End
• End Sub
• Private Sub btnTuition_Click(ByVal sender As
• System.Object, ByVal e As System.EventArgs) Handles
• btnTuition.Click
• Dim shoCredits As Short
• Dim decTuition As Decimal
• shoCredits = txtCredits.Text
• decTuition = shoCredits * 100
• lblTuition.Text = decTuition.ToString
• End Sub
• End Class
Editor's Notes
The computer does exactly what you tell it to do, even when that’s notwhat you want it to do.That’s not a computer error; it’s probably a programmer’s error.The person writing the directions for the computer is the one that made themistake. It’s called “human error,” and at the heart of most computer problemsis a person. Whether we like to admit it, most of the time computer error ismerely human error in disguise.
Declarations tell the computer what type of data you have for your program. Declarations almostalways come at the beginning of a task.
These tasks enable the computer to handle all processing procedures that come along. Each one has a particular utility that makesthe computer function effectively.
To minimize these mistakes, programmers need to learn the fundamentals for writing programs
Withit,aprogrammerdecidesthesequenceofsteps,thedecisionsthat must be made, and the steps that need to be repeated
At this stage, you’re both the developer and the user. You’ll design programsand use them, which offers some advantages and some disadvantages. You cansee both sides of the program. You’ll find out just how hard it is to design andcode a program that the average person can use, how much work is involved inprogramming, and how difficult it is to anticipate the needs of the user. But, onthe bright side, you can also design a program that exactly suits your needs.
Events in a program include the ways a user interacts with the computer.Theseare things like clicking or double-clicking the mouse, typing in text, or pressingthe Enter keyAs a developer, you write code that runs in response to these events. If the user clicks on a button,the code for that event runs.
is the virtual machine component of Microsoft's .NET framework and is responsible for managing the execution of .NET programs. In a process known as Just-in-time compilation, the compiled code is converted into machine instructions that, in turn, are executed by the computer's CPU. The CLR provides additional services including memory management, type safety and exception handling. All programs written for the .NET framework, regardless of programming language, are executed by the CLR. It provides exception handling, Garbage collection and thread management. clr is common all the version of the .NET framework.
' The following assignment produces a COMPILER ERROR because ' the variable is not declared and Option Explicit is On.
Place the line Option Strict On before the first line of code In VB.NET, you can typically convert any data type to any other data type implicitly. Data loss can occur when the value of one data type is converted to a data type with less precision or with a smaller capacity. However, you receive a run-time error message if data will be lost in such a conversion. Option Strict notifies you of these types of conversions at compile time so that you can avoid them.
circumflex (ˆ), sometimescalled the caret or hat, for exponentiation