Free Essay

Phase 1

In:

Submitted By peachesincream82
Words 359
Pages 2
Phase 1

After building form we need to make sure we can bring data from our “Notepad” text file into our application. To do that we need to build a menu with all of the options we want. And we need to add the common dialog objects to our form. To do that we go to our tool box and add the “MainMenu” tool, the “OpenFileDialog” tool and the “SaveFileDialog” too. We’ll use the “SaveFileDialog” later.

Naturally I change the name of these files to follow Hungarian Notation standards. Then added the dropdown menu for “File” as you can see above. All that’s left is to write the code for the “File | Open” routine. It looks like this:

Basically lines 329 thru 333 set up the File Open dialog. It doesn’t open until line 335 executes. When the user pressed the “OK” key the “IF” statement is executed.

Line 336 reads the file name and path into our global variable strCurrentFile. Now any routine we write can use that file without using the dialogs.

Lines 339 thru 346 counts the number of records in the file. Notice that we read in three variables (strDummy1 thru strDummy3) to account for a single record. And since the count is off by one we decrement the count by one

Once we know the number of records in the file we can set up our array. We do that inline 349. We redimension the array to reflect 3 fields and intMax records. intMax is the count.

Lines 351 thru 355 reads the entire file into memory. After this routine complete all records are now in memory and we can work at them at the speed of light.

Finally I set our array pointer “intPos” to 1 so it is pointing at the first record and then I call the routine “Fill_Screen()” which actually fills the text boxes on our form. The code looks like this:

As you can see it simple moves the data from the three cells in our array to our text boxes. That’s phase I. We’ve got data on the screen. Next…, more fun.

Similar Documents

Premium Essay

September 1-9: The Different Phases Of The Moon

...In the month of September there were many different phases of the moon. The phase of the moon during September 1- 4 was the waxing gibbous. During this time the moon is not fully illunminated but is getting close to a full moon phase. On the days of September 5-7, the phase of the moon was a full moon. A full moon is when the moon’s face is fully illuminated. September 8-12 was the phase of waning gibbous. During waning gibbous, the portion of the moon that we can see shrinks or wanes. September 12-14 was the third quarter phase. In the time of this phase the moon is half illuinated. On September 15-18 was the waning cresent phase. During this phase the moon appears to be in a cresent shape. September 19-20 was the new moon phase. In this...

Words: 255 - Pages: 2

Free Essay

Phase 1

...12A Information Technology : PAT : Phase 1 1. The Problem Statement 2. The current system They currently have no computer system in place . Therefore , there is no backup of the records , and of there is no backup , if something happens to the record, they won’t have other copies of it . Also they may be room for frund . there is also space taken up during the competition to store the entry forms and DVD’s /MPG’s of the contestants , as well as the results . 1. Key Areas Please tell us more about the competition ? The annual Waltons Music for Schools Competition is a national competition and celebration of music in Irish schools. The competition awards a total of €10,000 worth of vouchers for musical instruments, accessories, books, music technology or PA equipment from Waltons Music, to be divided among six winning primary and post-primary schools, including two first prizes of €3,000 vouchers, and music groups from twelve finalist schools have the opportunity to perform in the National Concert Hall! And how did this come about ? The value of music and music education is undisputed. Numerous international studies* have shown that music instruction and active music making supplies intellectual, emotional and physical components critical to young people’s development. Yet despite the acknowledged results of these studies and the recent Department of Education and Skills music curriculum guidelines for primary schools...

Words: 1125 - Pages: 5

Premium Essay

Phase 1

...Antonia Bravo Philosophy 112 Phase 1 11/02/2014 Taboo of Abortion: Who is right? The life of an embryo depends on differences in societies and cultures, along with morals and beliefs. However, these alone cannot prove when an embryo is actually a person. With a mixture of all, people determine how and when an embryo develops into a human being. Although the variety provides different insights, it also cause controversy amongst opponents. Thus the birth of pro-choice and pro-life is born, both competing on each side of the controversy of abortion. The taboo of abortion has gained national attention due to the nature and processes. Generally abortion is performed before twelve weeks gestation, or three months along in the pregnancy, but some do occur later in the pregnancy. The processes include removing the embryo from the uterus through a expansion of methods. These methods include: RU-486 which is a drug given to a woman after a missed menstrual period to deplete the nutrients of the uterine walls, and then again to allow the uterus to contract. Suction Aspiration acts as a vacuum cleaner to the uterus by breaking down and removing pieces of an embryo as well as the placenta. Dilation and Curettage formally known as D&C is similar to Suction Aspiration, but instead of suction the embryo and placenta are scrapped from the body and tossed. These are commonly performed by the twelve weeks stated earlier, however late term abortions are performed as well. These include:...

Words: 1428 - Pages: 6

Free Essay

Phase 1

...Swot Analysis “IHOP restaurants is known for their signature pancakes, omelet ted and other breakfast specialties, IHOP restaurants through the day and evening and offer a broad array of lunch dinner and snack item as well”. The company relies on the experiences and feedback that the company receive from the client every time that customer eat at their restaurant. Our company was establish in 1958 and is rapidly growing and this increase demonstrate the work that we had done during all this year, and as our gratuity we want to create specialties breakfast for our client which is breakfast image that will personality the pancake or waffle in which the customer decide such as personal picture, family, kid, friend and animal picture too. The strengths that our company had is our values which are Integrity, Excellence, Innovation, Accountability, Inclusion, Trust, Community. The company also values and recognize the diversity of our workforce whether is race, gender, age, religious,culture, ethnicity, sexual orientation, veterans statues, or physical disability. Another strengths that the restaurant have is green initiatives such as energy saving products such as devices that automatically turn off lights, heating, ventilation, air condition controls that coordinate with kitchen equipment to maximize efficiency, solar reflective windows and much more. The opportunities that our company offer is to keep growing international by more than 99 percent of IHOP restaurant owned...

Words: 314 - Pages: 2

Free Essay

Limits for Cpm Functions

... 1049-001 Lisbon, Portugal Tel: +351 218418484; Fax: +351 218418472; E-mail: frmo@lx.it.pt 1 Abstract — This paper explores the feasible limits for complexity reduction of a very simple front-end block for the calculus of phase transition metrics on a continuous phase modulation (CPM) receiver. A quasi-optimum receiver of very low complexity is attained by splitting the function of the optimum receiver bank filters in two blocks: calculus of projections coefficients on a low dimensional space of Walsh functions followed by simple matrix calculus. A sequence detection algorithm follows this block. The presented approach enables the reduction of the matched filters or correlators to just two integrators, regardless of the CPM scheme. Research on the reduction limits of the space dimension is conducted using catastrophic M-ary CPM schemes, taking advantage of their very low number of phase states. Performance of 1REC h=1/2 16-ary scheme is for the fist time presented. A rule is defined concerning the number of Walsh functions that must be used. That outcome proves to be valid for two CPM schemes of high power gain. The receiver is tested under additive white gaussian noise (AWGN). The carrier frequency is fc, where ωc=2πfc, ϕ0 is the arbitrary initial phase and Es is the energy per symbol, related with the bit energy by Es=log2(M)⋅Eb. Channel symbols are γi∈{±1, ±3, ⋅⋅⋅, ±(M-1)}, forming the M-ary sequence γ . Each symbol γi carries log2(M) bits as a result of a natural...

Words: 654 - Pages: 3

Free Essay

Technology Management

...Time and Cost Management Plan: A detailed Time and cost plan have been itemized for the Website development project. The Budget over time phase has been itemized based on the phases of the project and further it has been itemized based on the different activities of the project taking place in a definite week. The budget has been tabulated based on the activity and the on the week. The final budget has been calculated based on the phases. The detailed information is as follows: Time and Cost: Phase | Activities | Tasks | Deliverables | Dates | Cost | Project Requirements | Develop Business Requirements. | Collect Requirements from client and register a domain name.Draft the proceedings and document them.Produce a final version of the Business Requirements.(User Signoff) | Preliminary Business Requirements | 6/16/2014 | $360 | | Develop Technical Requirements. | User need to fill the form and register.Provide security by using secure pages such as HTTPS.Estimate hosting space for website.Identify appropriate website development platform and suggest to the client.Draft the proceedings and document them.Produce a final version of the Technical Requirements.(User Signoff) | Preliminary Technical Requirements. | 6/23/2014 | $400 | | Develop User requirements. | Collect required webpages names.Collect menu navigation requirements.Collect Access Requirements from client. | User Requirements. | 06/30/2014 | $160 | | | Draft the proceedings and document them.Produce...

Words: 787 - Pages: 4

Premium Essay

New Product Development

...LP 1 New Product Development Idea Generation: This is the stage where the idea is created and designed Development: The CDs will be designed and tested, during this stage manufacturing process will be considered in developing the CD it must play the highest quality and should be durable. Test Marketing: During the testing stage it should be tested in the lab, friend and families before proceeding to the real customers. Business Analysis: Information should be collected by recording label on the market competition, estimated sales, estimated cost, expected rate of return and profitability (this should be easy as the company is been run from the garage of the band leader who is not expecting to receive any pay for the next 3 years. Introduction/Launch: Once the CDs have been tested to make sure it works the way it should, it is made available to customers, most times some companies will launch it at once or launch it to a select group or in phases. The similarities can be seen the ideas stated above and the New-Product development process in the text book such as the Concept Development which can be compared to the idea generation, development stage some of the stages intertwine with another. The Product design which is the stage of designing the actual product which is similar to the development and testing phase of the product to ensure it meets the specifications and durability expected. Pilot Production/ Testing in this stage the products requires testing before they...

Words: 309 - Pages: 2

Premium Essay

Concord Bookshop Paper

...Phases of Organizational Change: Concord Bookshop Conflict University of Phoenix Phases of Organizational Change: Concord Bookshop Conflict Organizational change is a never-ending process. Knowing how to approach, present, and effectively implement change depends on several factors. The three phases of Lewin’s Force Field Model: unfreezing, change, and refreezing allow the change process to take place (Borkowski, 2005). Using these phases change can be presented, discussed, and ultimately implemented with success. For organizations to continue to grow and become ever more prosperous, change has to be continuously refined. In this paper, a brief discussion of the phases of organizational change as well as an examination of the organizational change processes not implemented in the Concord Bookshop conflict will be conducted. Lewin’s Phases of Organizational Change Unfreezing Borkowski (2005) states, “The forces and workers involved in perpetuating resistance acquire an understanding of variances that exist between current practices and behavior and desired activities and behavior” (pp. 384-385). The organization must perform an investigation to see what type of resisting forces they may face in regard to the proposed change. An organization will not be effective in creating change unless motivation within the organization is manifested. Understanding that change requires some new knowledge to be learned and some old knowledge to be unlearned. This fact is...

Words: 930 - Pages: 4

Free Essay

Testing

...Johnathan Yow Jian Jia (13084413) Marketing Management Tutorial Group: 4 Reading 6: Collaborative advantage 1. Collaborative advantage is synergy achieved by integrating resources plus expertise of one organization and provides a foundation or counterbalance to “Competitive Advantage” 2. The 3 main fundamental characteristics of collaborative advantage is that they must yield benefits for the partners and they are more than just the deal. They are also alliances that both partners ultimately deem successful involve collaboration rather than mere exchange. Collaborative advantage cannot be controlled by formal systems but require a dense web at interpersonal connections and internal infrastructures that enhance learning. 3. There are also 3 varieties of relationships which are mutual service consortia that means similar industries pool their resources together to gain benefit too expensive to acquire alone. Joint ventures are companies pursuing an opportunity that requires capabilities from each of them and value-chain partnerships are supplier-consumer relationships. 4. Relationships between companies begin, grow and develop much like relationship between people. Like romances and alliances, they are built on hopes and dreams, what might happen if certain opportunities are pursued? 5. The 8 I’s that create a successful we are first individual excellence, importance, independence, investment, information, integration, institutionalization and integrity. ...

Words: 346 - Pages: 2

Free Essay

Dimethyl Sulfide (C2H6S) Thermo Properties

...CHEG 231011 Thermodynamics I Project Report Compound: Dimethyl Sulfide (C2H6S) Abstract: This project focuses on the thermodynamic properties of dimethyl sulfide (C2H6S). This report mainly consist of a basic introduction for C2H6S from chemical, physical, environmental, industrial sights, a methodology part to show how to generate the thermodynamic charts and a rankine refrigeration cycle for C2H6S, a result part of all the charts and cycle I get from mat lab and other calculation methods, a brief discussion part between the thermodynamic charts and the chemical, physical, environmental, industrial significance. Introduction 1. Basic chemistry. C2H6S: Structure: [pic] [pic] Molecular weight: 62.134 Boiling Point: 38 °C (311 °K) Freezing Point: -98.72 °C (174.88 °K) Triple Point Temperature (Ttri): 174.85°K Critical Temperature (Tc): 503 °K Critical Pressure (Pc): 55.30 bar Critical Molar Volume (Vc): 0.2066 L/mol Critical compressibility factor (Zc):0.273 Acentric factor (ω): 0.191 Antoine Equation Parameters A: 4.28713, B: 1201.134, C: -29.906 2. Compound uses. Dimethyl sulfide (DMS) is a key compound in global sulfur and carbon cycles. a) chemical reactant Dimethyl Sulfide will undergo some types of reactions and used as a source to produce several chemical compounds. [pic] (b) Food and Beverage Component DMS is a primary aroma and flavor compound to make beer character. It is also used in other food applications...

Words: 2725 - Pages: 11

Premium Essay

Sunsilk Phase 1

...Marketing Project Phase – II Market Segmentation for Sunsilk Sunsilk’s market segmentation is Demographic as they target customers based on their gender and age. The target segment for Sunsilk is young girls and women from age 16 to 40 but, we see that in their promotional campaign Sunsilk targets the whole market irrespective of the age. Initially sunsilk’s target customers in terms of income were the upper middle class women because of the expensive offerings but later on, they started targeting people of all classes irrespective of their income by introducing shampoo in small sachets which provided the same premium quality product to the lower income class as well thus, expanding their target audience. Perceptual Mapping Attributes under consideration: Quality (x-axis) and Price (y-axis) Response generated: 15 girls/women This perceptual mapping helps the company identify how their customers react to their product viz a vee other competitors. The following table holds the prices and the average ratings in terms of quality given by selected consumers: Product Price Average Ratings by Consumer Garnier 250 7.333333333 Sunsilk 170 6.866666667 Clear 175 4.866666667 Pantene 160 6.866666667 Dove 210 7.066666667 Head & Shoulders 170 6.333333333 Lifebuoy 105 3.6 Medicam 55 2.6 Mapping: Type of Product Sunsilk at first was classified as a shopping good since consumers compared characteristics of it with other brands available before buying...

Words: 896 - Pages: 4

Premium Essay

Iodine

...other is partly miscible with water. According to the phase rule of Gibbs the variance F (number of degrees of freedom) of a system at equilibrium is equal to the number of components c minus the number of phases p plus 2, provided that the equilibrium is influenced only by temperature, pressure, and concentration. A system with three independent components has F=5-P degrees of freedom. An invariant point in a ternary system therefore contains five different phases in equilibrium with each other. An invariant point can for example consist of a vapor phase, a liquid phase, and three solid phases in equilibrium with each other. A ternary system with three phases (solid-liquid-vapor) in equilibrium with each other has two degrees of freedom. If the temperature is fixed, one degree of freedom remains. A phase diagram isotherm showing a ternary system with a vapor phase and a liquid phase requires therefore a line to mark the concentration range in which a solid phase is in equilibrium with the other two phases. A point needed to mark concentrations where two solid phases are in equilibrium with liquid and vapor. Experimental: Chemical used Distilled Water Ethyl acetate Ethanol Glass ware used Pipette Beaker Burette Elementary flasks Procedure: Part I o We prepare seven mixtures of water and ethyl acetate as follows: Volume mL 1 2 3 4 5 6 7 Water 10 1 1.5 2 3.5 7 8 Ethyl acetate 2 7 5.5 4.5 4 2.5 1 o Titrate mixture 1, carefully and slowly, with distilled water until...

Words: 562 - Pages: 3

Free Essay

Jess Westerley Case Study

...top-down rapid strategy, a high-involvement-staged strategy? Why? What would be your implementation plan? For example, what would you do first? How would you time phase it? What are the critical (pivotal) actions that must succeed? Based upon my reading and analysis of the Jess Westerly case study, I would have implemented a high-involvement, phased change strategy. Changing the software-as-a-service (SaaS) sales approach from targeting of small and medium business to large organizations is a strategic change for Kauflauf. In order for changes to be made, it is necessary to implement through phases. Key elements are leadership engagement and compensation design. In order to inform my approach with industry best practices, I interviewed a Saas sales leader. To illustrate and frame my approach, I will use Kurt Lewin’s three-phase model for change. In Phase one, we must unfreeze the system. During the first three months, the CEO of Kauflauf must champion the change to pursue SaaS contracts with large organizations (Sales Class 1-3 firms, $500,000+ annual revenue). Using Jess Westerly’s data affirming the opportunity for 30% growth, the CEO must communicate the organization’s change in client targeting; he must also indicate the implied crisis: only those SaaS firms that seek and earn business with Class 1-3 firms will survive and thrive. By creating a compelling need to do business differently, the CEO will create a new, more malleable state allowing the system...

Words: 750 - Pages: 3

Premium Essay

Fastcat Phase 1

...PROJECT TWO DR. LAURENCE FINK HURM 4650 - COMPENSATION FASTCAT Meagan Ayers Michael Ingelido Lacey Scheff Eric Schiffler Christie Sprague Racheal Town Spring, 2010 TABLE OF CONTENTS 8. EXECUTIVE SUMMARY 9. DECISION ON THE NUMBER OF PAY STRUCTURES 10. POLICY REGARDING PAY FORMS FOR ADMINISTRATIVE PAY STRUCTURE 11. POLICY REGARDING PAY FORMS FOR TECHNICAL PAY STRUCTURE 12. POLICY REGARDING EXTERNAL COMPETITION FOR ADMINISTRATIVE PAY STRUCTURE 13. POLICY REGARDING EXTERNAL COMPETITION FOR TECHINCAL PAY STRUCTURE 14. SURVEY ANALYSIS FOR ADMINISTRATIVE PAY STRUCTURE 15. SURVEY ANALYSIS FOR TECHINCAL PAY STRUCTURE 16. DECISION MAKING RELATED TO CREATION OF ADMINISTRATIVE STRUCTURE 17. DECISION MAKING RELATED TO CREATION OF TECHNICAL STRUCTURE 18. EVALUATION OF ADMINISTRATIVE PAY STRUCTURE 19. EVALUATION OF TECHNICAL PAY STRUCTURE 20. EXHIBITS R JOB MATCHES FOR ADMINISTRATIVE STRUCTURE S JOB MATCHES FOR TECHNICAL STRUCTURE T MARKET ANALYSIS ADMINSTRATIVE/TECHNICAL U STATISTICAL ANALYSIS FOR ADMINISTRATIVE STRUCTURE V STATISTICAL ANALYSIS FOR TECHNICAL STRUCTURE W PAY STRUCTURE ADMINISTRATIVE X PAY STRUCTURE TECHNICAL Y COMPANY SURVEY DATA Z SUMMARY OF JOB RATINGS ADMINISTRATIVE/TECHNICAL   EXECUTIVE SUMMARY FASTCAT   EXECUTIVE SUMMARY Introduction FastCat is a Business to Business software company that operates in a highly specialized and technological advanced industry. FastCat has been a pacesetter in this industry...

Words: 15014 - Pages: 61

Premium Essay

Nt1310 Unit 7

...frequency of a signal measure? What does the phase of a signal measure? Amplitude: it measures the proportion of the energy that a specific area can carry it, and it always include (peak amplitude) which represent the highest intensity that carried by the area. Frequency: it used to measure “the number of periods in 1 second”. Phase: it is used to “describe the position of the waveform relative to time 0, and it measured in degrees of radians”. [1] Q3-6. Distinguish between a low-pass channel and a band-pass channel. Low-pass channel: “a channel with a bandwidth that starts from zero”. Band-pass channel: “a channel with a bandwidth that doesn’t...

Words: 587 - Pages: 3