Wednesday, April 3, 2019

Examine The Legality Of Military Humanitarian Intervention International Law Essay

Examine The respectablefulness Of Military Humanitarian Intervention International Law EssayThe commonplace prohibition on the mesh of suck up contained in Article 2(4)1of the UN direct forms a cornerst whizzness of public world(prenominal) truth. That prohibition is subject to a truly narrow category of exceptions, all of which arise from the pay to self- treasureion codified in Article 51 of the UN engross.2A more polemical exception to the uptake of force that has been claimed to arise as a pattern of customary outside(a) law is that of clemente interpellation. This essay looks at the arguments in support of the pro target that improver interference is direct established in global law as a licit exception to the world(a) prohibition on the intent of force and assertions against much(prenominal) a proposition.The hypothetic debateEver since the question of the justness of army man-centred intercession startle arose, there has been nigh(prenom inal) vocal support and opposition to it. Lauterpacht historiedly order forward the rationale behind humanist hindrance. He decl atomic number 18d that unity had to go screening to the subprogram of the general prohibition on the mathematical function of force, and that was to ensure peace. He considered that ultimately, peace is more endangered by dogmatic contempt for human right ons than by attempts to assert, through hitch, the sanctity of human personality.3He thus considered that add-on noise was justified if a assert perpetrate atrocities against its citizens in much(prenominal)(prenominal) a way and to such a compass point that it interfered with those citizens fundamental human rights.However, it has alship canal been appreciated that there are enigmas with the very idea that a recite would expend its throw resources and risk its avouch security simply for the good of the citizens of an separate(prenominal) put forward. such a assure world power be c onsidered to be cynical, unless there is no interrogation that history has shown that whenever humanitarian encumbrance is claimed as the legal terra firma for army force in other inelegant, it is swaggered with other reasons why a claim would armed forces deputise in a nonher state.4Furthermore, humanitarian incumbrance is oftentimes designate forward as a arse for legality of force with prohibited the citizens of the state who put up suffered the intercession asking for such hinderance to take place.5One raise accordingly question the theoretical underpinnings of such discourse.This problem is provided exacerbated when one considers that humanitarian noise is intervention that is undertaken by states on a unilateral basis come offside of the precepts of the warranter Council. The purpose of particulariseting up the United Nations and the warranter Council was to provide for peace end-to-end the world and engage in array intervention when required, a s appoint by the Security Council. The Security Council is thus excreted with powers under Chapter seven-spot of the UN Charter that allows it to authorise military use of force in a nonher country. In doing so, the Security Council is able to take into account the f portrayal that a busticular country is facing human rights violations at the transfer of its giving medication and/or poke outers.6 therefore for example, in 1991, when the oppressive government of Iraq creation take by ibn Talal Hussein Hussein took disproportionate military perform to choke the Iraqi civilian population, the Security Council passed proclamation 668 under Chapter 7 of the UN Charter demanding of Iraq to immediately end the repression and insist that it allowed access to global humanitarian organisations to cipher Iraq.7Any force authorised by the Security Council may be politically disputative, save there is no doubt that it would be lawful under the hulks of force in international law . Given that there is such a power in the Security Council, one would question why there was a motif for humanitarian intervention.8Indeed, providing that there is a right for humanitarian intervention available to states that can be exercised lineament-by-casely of the UN and the Security Council would greatly undermine the function of the Security Council as the body entrusted with sureness of military force.9Humanitarian intervention is thus a school of thought which has gigantic been debated in the courts. The real debate lies save in the hardheaded instances that have arisen in the past where humanitarian intervention has been alleged as a justification of force. The section below shall go on to analyse these practical instances and asses to what extent humanitarian intervention can be said to now be a norm of international law.Practical instances of humanitarian interventionOne major problem that arises when assessing the legality of the teaching of humanitarian inte rvention is that one mustiness distinguish betwixt instances where the tenet is invoked in elaborateness and public relations only and instanced where humanitarian intervention is actually relied on as a legal basis for give uping use of force in another state. The latter is a lot rarer than the former. The problem however is that it is only the latter incidents that is actually evidence of state practise of the right to humanitarian intervention.One of the earliest incidents to bring with the c at oncept of humanitarian intervention commented on by commentators was that of Indian feat in Bangladesh. In early 1971, side by side(p) subjugation to Pakistani rule, Bangladeshi nationals were rebelling and seeking to establish Bangladesh as an independent country. India provided extensive military aid to Bangladesh to allow this to happen, aid without which arguably Bangladesh would not have won the conflict. In public theoretic, India stated thats is works were based on humanit arian intervention since the Bangladeshis were suffering human rights violations under Pakistani rule.10This was extremely criticised however for the fact was that India in having long-standing conflict with Pakistan itself did have vested interests in destiny Bangladesh gain independence.11Indeed, India did not go on to utilise humanitarian intervention as a legal basis for its action and sought to swan on the belief of self-defense instead.12This pattern was repeated in m both an(prenominal) more incidents that occurred. Tanzania deputised militarily in Uganda in 1979 to enable rebels there to abrogate the repressive leader Idi Amin.13In 1978 Vietnam invaded Cambodia stating that it wished to prevent Cambodia from suffering at the hands of its government. Both stated that they wished to help the citizens of the respective countries they intervened in. This was however continuously rejected by the international company, with France and the US specifically stating that huma n rights violations did not justify the use of force, thus releasely indicating that it was not pass judgment at that era that humanitarian intervention was considered to be a legal basis for intervention.14Chronologically, the undermentioned major incident of humanitarian intervention that took place was that of Australian intervention in eastward Timor. Rebels in East Timor seeking to establish it as in independent country were facing repression from the state of Indonesia resisting independence. Human rights violations in the site ensued resulting in several UN final results calling for peace and eventually in a UN referendum, the results of which indicated that the majority of people wished for independence. The Australian government thus took the lead in providing military assistance to East Timor to repel Indonesian heraldic bearing and establish an independent state.15In doing so, the Australian government expressly relied on the right to humanitarian intervention.Wh at must be pointed out however is that the UN was conf utilise in that situation, and most commentators regard that the intervention in East Timor is more akin to an incident where the UN regulates force for purposes of humanitarian intervention rather than when the right is employed one-sidedly by a state.16Thus, the intervention in East Timor was seen to be highly similar to the US intervention in Somalia in 1992 which had been acted upon only after the UN had specifically called for humanitarian intervention.17 by chance the most known incident of humanitarian intervention was that in Kosovo. Kosovo, now an independent country, used to be part of the Socialist Federal Republic of Yugoslavia and consisted of a mix of ethnicities, with 90% being ethnical Albanians and the minority being Serbians. In the mid-nineties the Federal Republic of Yugoslavia started to break up with each dissimilar country announcing its independence. The state of Kosovo also suggested breaking off fro m the baby bird, to regain the independence Kosovo once had before Yugoslavia was established in the first place. This was met by much subway system from the Serbians both in Serbia and in Kosovo. A regime of ethnic groom of the Albanians in Kosovo started to prevent the calls and efforts by those peoples to make Kosovo an independent country and one of the worlds worst conflicts started, with human rights violations reaching epidemic proportions.18This matter was brought to the attention of the Security Council, and on 31 evidence 1998 it adopted Resolution 1160,19which im be an fortify embargo on the FRY and called for it to work with the Kosovar Albanians to achieve a sedate solution to the matter. Following this however the violence in Kosovo only escalate and Resolution 1199 was adopted which determined that the situation in Kosovo amounted to a bane to peace and security in the region.20The problem was however the presence of the controvert in the Security Council. Eve ry permanent member of the Security Council has the right to veto any Security Council resolutions made. Russia being a major part of the former Soviet Union that existed was highly reluctant to take any action further to the two resolutions already adopted against the FRY and indicated that it would use its veto if any resolution were attempted to be passed which authorised military measures to be taken against the FRY. There was little chance that the Security Council would hence be able to take action in response to the situation that was ongoing in Kosovo.21As a result of this, NATO states came together to cover military intervention in Kosovo. NATO declared that the FRY had not complied with Resolution 1199 and that NATO would therefore institute military action against Russia. Extensive military action was undertaken via an aerial campaign, attacking FRY forces both in Kosovo and in the FRY itself to attempt to stop the attacks that were pickings place against Kosovo. The c ampaign commenced ion 23 March 1999 and did not end several months later, on 10 June 1999 when the FRY forces concur to a case-fire and signed the military-technical agreement with NATO on 9 June 1999.22There was no doubt that the military action undertaken by NATO had been successful in bringing peace to the region. Despite the fact that there was no apparent basis at the time for military action, there was no international protest to the force used (other than by the states to whom the military action was targeted against). It was ostensibly authorized that the action undertaken by NATO was lawful.23From this, one can deduct that there must have been a valid theoretical underlying to the force taken.It was clear that the action was not authorised under the Security Council resolutions, for while the resolutions were relied on in justifying the military action undertaken, it was always trustworthy that the resolutions did not authorise military force and indeed did not attempt to do so because of the veto that would be exercised by Russia. There was no question that the Serb forces had carried out an armed attack against NATO countries or anyone in the region of NATO countries and so the philosophys of self-defence or collective self-defence could not be relied on. The only stay doctrine that could have possibly justified the military force undertaken by NATO forces was therefore that of humanitarian intervention. Indeed, the situation in Kosovo appears to be the one that marvelous the doctrine of humanitarian intervention from what was seen to be a less than credible basis of justification of use of force to one that was evidently astray accepted.24Thus commentators who point out that the doctrine was accepted as applying to the case of Kosovo point to the total apparent acceptance of the international community that the acts of NATO in Kosovo were legal. In March 1999 the states of Belarus and Russia introduced a draft resolution to the Security Council which stated that the NATO bombing of Yugoslavia was illegal. This was rejected by a majority of 12 votes. In 1999, the UN Commission on Human Rights passed a resolution finding that the intervention by NATO had been lawful, with only Russia and Cuba (both communist states) finding against such a resolution.25Kosovo is therefore at least one incident where the right to humanitarian intervention was both relied on and appears to have been accepted. The difficulty lies in the fact that while the military action undertaken against Kosovo was considered to be morally justified, concerns continue to be verbalised by academic commentators that the incident should not be seen to act as precedent, for doing so would in effect widen the category of exceptions that existed in relation to the use of force and undermine the well-established rules of Article 2(4).26Perhaps the next most famous incident where the right of humanitarian intervention was relied on, but one where the basis o f such a right was considered to be much more contentious, was that of Iraq.27 alignment military intervention in Iraq in 2003 was one of the most contentious use of force that took place and the legality of the war continues to be debated to the latest day. Different bases were offered by the coalition states that went to war at different times. Saddam Husseins brutal treatment of his people and the human rights violations that they had suffered were often pointed to when the rhetoric on whether a war should take place was entered into.28What is notable however was that although apparently doing so in the period preceding the war, neither the US nor the UK legitimately relied on the doctrine of humanitarian intervention to justify its war in Iraq. Rather, the UK relied on interpretation of Security Council resolutions while the US argued for the right of self-defence, both pointing to the fact that Iraq was in possession of weapons of self-destruction (an assertion which was late r discover to be invalid).29The fact that humanitarian intervention was not relied on notwithstanding the fact that Iraq was suffering a humanitarian catastrophe and had been for several age indicates that neither of the worlds leading states considered that the right to humanitarian intervention had established itself as a legal norm and would not, formally at least, be accepted by the international community as a bass for military intervention.Responsibility to entertainThe humanitarian intervention doctrine has evolved in new-made times and international law has come to develop the tariff to protect doctrine, often referred to as the R2P doctrine. The very existence of this doctrine supports the idea that humanitarian intervention is not only regarded as a moral justification of the use of force in states where human rights violations are being affiliated, but is a positive affair on the international community to act and intervene in states where there is inadequate resp ect for human rights.UN escritoire General Kofi Anan brought the tensions that were apparent behind the prohibition on the use of force in Article 2(4) and the fact that intervention was required as a result of increasing human rights violations that were seen around the world to the fore in 1999. At that date, the atrocities in Rwanda were being discussed by the international community, and the committee that had been set up to investigate how the genocide in Rwanda had taken place came back with reports attributing much blame to the UN for failing to take action in Rwanda in what was seen as a preventable genocide.30Annan therefore requested the General collection to answer the question of if humanitarian intervention is, indeed an unacceptable round out on reign, how should we response to Rwanda, to a Srebrenica to gross and systematic violations of human rights?.31The Canadian government in response to this question set up the ICISS. In 2001 the ICISS produced a report where the doctrine of the responsibility to protect was advanced.32In 2004, the high-ranking Panel on threats, challenges and changes that had been set up by the UN secretary-General stated that the R2P doctrine was an emerging norm of collective international responsibility to protect.33The Secretary-General went on to manifest this finding. In a 2005 world summit, the R2P doctrine was expressly accepted and referred to.34Perhaps the most pertinent recognition of the R2P doctrine is that the Security Council specifically referred to the doctrine in Resolution 1674 (2006) when it was regarding the question of how civilians in armed conflicts should be protected.35The Resolution referred to the R2P doctrine as a doctrine of international law apparently conferring upon it a status of customary international law or otherwise.The problem with the fact that R2P now appears to be part of international law is the number of further questions, namely what the relationship of the doctrine of hu manitarian intervention with the R2P doctrine is. Is the R2P doctrine simply any other way of describing humanitarian intervention? Or are the two purposes entirely different? If so, is humanitarian intervention subject to the doctrine of R2P? Debate on these questions commenced ever since the R2P doctrine was put forward and has ensued ever since.One might consider that the R2P doctrine is in fact simply another way of describing the doctrine of humanitarian intervention, and one that seeks to grant the doctrine a more elevated status. The language of responsibility no doubt confers more powers than the language of rights does for while the latter grants states daintiness in whether to exercise the particular rights of concern, the former does not. If one were to accept such an argument, then the fact that R2P now appears to be a doctrine of international law means that humanitarian intervention is also a rule of international law and such intervention legalises use of force in o ther states.However, the ICISSs formulation of the R2P doctrine is on the basis that it is an entirely different purpose to the doctrine of humanitarian intervention. The ICISS report thus stated that humanitarian intervention should not be seen to be the prime concern in the modern world where catastrophic human rights violations such as Rwanda were taking place. The Commission argued that there was a need for a new doctrine, which governed the need to intervene in the affairs of states who committed human rights violations. Such a doctrine should not be seen as a right to intervene that was granted to the intervening state, as humanitarian intervention might do, but rather as a responsibility on other states to intervene as a result of the right of the state that was suffering human rights violations to be protected.36R2P also introduced a new method of dealing with the concept of state sovereignty. As set out above, the doctrine of humanitarian intervention does not tie in well with the concept of state sovereignty, for it effectively allows a sate to intervene in another states affairs on the ground that the former state is of the opinion that the latter states treatment of its own citizen is in accurate. Such a concept can be seen to go against the very idea of equality of states in international law.37The R2P doctrine proposes to deal with this tension by proposing that the concept of state sovereignty to control its citizens with that of sovereignty as responsibility to protect its citizens. Once again, there was a monger from rights to responsibility. The R2P doctrine effectively re-characterises the conception of state sovereignty as one that is a right of governments to control their citizens, to one where there is a duty on governments to protect its citizens, and rights are granted to citizens to be protected. Where these rights were not being complied with and a government was not protecting its citizens and was in fact committing human rights violations against it, then the sovereignty to protect was not being effected and this sovereignty did not exist. As such, any exercise of the R2P doctrine through the use of military force would not contravene any idea of sovereignty.38Such a proposal can be commended for its view of the principle of state sovereignty. The fact is that the concept of state sovereignty and the idea that a state is able to control its citizens as it wishes is one that while remaining in theory can be seen not to have continued on an international basis. International law has long adjudicated to govern the relationship of a state and its individuals. A prime example of this can be seen to be in international human rights safeguards which essentially impose standards on states with regards to a states treatment of its citizens which must be complied with.39The very concept of the international community and of the United Nations necessitates a limiting of the concept of state sovereignty. The reformul ation of the concept of state sovereignty from one which sees sovereignty as control to that to protect might be considered to be ingenious in that it resolves the theoretical tensions that exist between the right to military intervention in states where human rights violations are committed and sovereignty of that state.However, the fact is that the concept of sovereignty as sovereignty to protect still poses the same problems that the traditional concept of state sovereignty controls reign to protect allows a third state to intervene in a states matters when protection of citizens is not being undertaken adequately. Which state is to decide however when citizens protection is being undertaken adequately and when it is not? To what extent does the protection of citizens in a state have to be undermined before military action can be allowed in that state?40Thus, whether or not R2P is the same or a different doctrine to that of humanitarian intervention, the same difficulties that ar e approach by humanitarian intervention proponents remain, and perhaps the most major of these problems is the wide floodgates the idea of a responsibility to protect opens. Practical incidents have shown how in the past humanitarian intervention has wrongfully been used by states, often on a post-facto basis, to justify use of force and intervention in other states. The R2P doctrine in fact provides for a wider scope of humanitarian intervention for as pointed out above, a responsibility imposes a large duty and therefore a larger scope of power on states to take action than a right to intervene does, and the R2P doctrine therefore arguably exacerbates the problem that humanitarian intervention traditionally faced.In this vein however it must be noted that the proponents of the R2P doctrine point out that unlike humanitarian intervention, the R2P would impose a duty on states to employ a wide range of measures, along a continuum, to regulate states behaviour. Thus the R2P doctri ne envisaged that preventative measures should be used to prevent human rights atrocities, and duties include rebuilding societies that had been affected by human rights violations. Such a doctrine is therefore very commendable in theory.41Furthermore, it must be pointed out that the R2P doctrine apparently appears to have been envisaged to be utilised within the eatable of the Security Council rather than impose duties or rights on states to act on a unilateral basis to military intervene in other countries. If that is the case, then the R2P doctrine has not really helped towards resolving the questions surrounding humanitarian intervention at all.42ConclusionThe above discussion has shown that there are many questions regarding the legality of humanitarian intervention in international law as a justification for use of force in another state. There is little doubt that in the past the doctrine was not regarded as a valid justification for the use of force. Thus the international community tended to reject attempts by states to justify use of force with the concept of humanitarian intervention, not least because such justification was often posed on an ex facto basis and was usually tied in with some other form of justification that was put forward. The position appeared to change however in the NATO intervention in Kosovo when the international world apparently accepted the legality of the action. The war in Iraq in 2003 however appeared to reverse the position once again, when attempts to rely on humanitarian protection were rejected well-nigh from the outset and indeed the coalition states eventually went on to rely on other basses to justify the use of force that was undertaken.The doctrine of humanitarian intervention does have its proponents and certainly is a very attractive concept in international law. In the writers view however the dangers posed by the doctrine outweigh the advantages that it offers. The doctrine effectively widens the scope of ex ceptions that exist to Article 2(4) and allows states to unilaterally take force. This undermines not only the concept of state sovereignty but also the purpose of the United Nations and the Security Council as being relevant bodies to regulate international peace and security.The R2P doctrine that has been put forward as a doctrine of international law is in many ways preferable to that of humanitarian intervention. The R2P doctrine provides for rights of citizens rather than rights of states and importantly it envisages that military action will be undertaken by the Security Council rather than on a unilateral basis. The writer is therefore of the opinion that the R2P doctrine should be dominating from the idea of humanitarian intervention R2P should be recognised as a principle of international law and one that allows the Security Council to take military action in state when required. It should not however be seen to consort the doctrine of humanitarian protection.Indeed it i s the writers view that humanitarian protection does not exist as a legal right in international law, both in theory and in practise. The doctrine goes against all ideas of state sovereignty and against the prohibition of the use of force in general. Furthermore, states do not appear to have accepted that the doctrine is a norm of law. In this vein, the case of Kosovo can be considered to be an exception in international law.43In that case, the only reason the Security Council did not take action was because of the presence of the Russian veto, but otherwise there was international consensus that military action should

Tuesday, April 2, 2019

Sinhala Text To Speech System Development | Research

Singhalese schoolbook To quarrel System ripening ResearchThe placement, which I am contracting, called SINHALA schoolbook TO dialect is a 1 kind of fully research upchuck. This historyation briefly describes the functionality of my STTS and exaltedlights the heavy and benefits of the project. So this agreement get turn up allow exploiter to enter Singhalese textbook editions and internally it allow for convert in to orthoepy give. factually it allow happen after exploiter stock the developicular option (convert to example) to convert it in to that pronunciation form. So totally this system is cap competent of pass judgment roughages in Singhalese quarrel ( Singhalese fonts) and makes them in to sound waves, which elicit be fascinated by a technical object ( intercommunicateers). substance abuser ordain able to select the persona guinea pig, which he/she interchangeable, it mean there atomic number 18 trine option called child junction, fe staminate function and adult (male) voice to select. By selecting that function user muckle hear the voice, which he/she like roughly. And the system go forth carry show up several benefits to users, those who entrust use this system. The users who be not able to read Sinhalese, notwithstanding those cease empathize literally will encourage to use this system, because using this product they drive out pommel that problem very easily. If individual needs documents with sinhala texts, then he or she stinker use this system to get that matchless. In straightaway world there argon no such systems for sinhala expression like which I am going to develop.Table of Contents reverse 2Table of Contents 3SINHALA TEXT TO SPEECH 41.INTRODUCTION 42.AIM 53.STUDY PROBLEM 54.RELEVANCE OF THE PROJECT 55.LITERATURE REVIEW 66. queer(predicate) STUDY OBJECTIVES 77.PROPOSED APPROACH 87.1 User 87.2 Data 87.3 Input 87.4 acti ones 97.5 product 98.RESEARCH METHODOLOGY AND TCHNOLOGIES 98.1 Database Technology 99.PROJECT PLAN 109.1 ARCHTECTURE 109.1.1 Design computer architecture 109.1.2 text edition att death to architecture 119.1.3 contrivanceiculatio Tag Selection Process 129.1.4 re deferative Control Process 1310.REFERENCES 1311.Bibliography 1411.1 SPEECH depth psychology AND SYNTHESIS 1411.2 SPEECH CODING 14SINHALA TEXT TO SPEECHINTRODUCTION Singhalese schoolbook To Speech is the system I am hoping to develop as my final research project. As a post graduate student I selected a research project that will convert the Sinhala install text into a oral form.Actually, the term Text-To- idiom (TTS) refers to the conversion of input text into a spoken utterance. The input is a Sinhala text, which may consist of a number of words, sentences, paragraphs, poetry and abbreviations. TTS locomotive should identify it without any ambiguity and generate the corresponding vernacular sound wave with acceptable quality. The takings should be understandable for an come receiver without making such(prenominal) effort. This instrument that the takings should be make as close as to the inherent wrangle quality.Speech is produced when personal line of credit is forced from the lungs through and through the vocal cords (glottis) and along the vocal tract. Speech is split into a rapidly varying excitation signal and a slowly varying filter. The envelope of the tycoon spectra contains the vocal tract instruction.The verbal form of in input should be understandable for the receiver. This means that the output will be made as impendent as the ingrained world voice. My system will carry out few master(prenominal) features. Some of them be, after entering the text user will undecided of selecting one of voice qualities, means women voice, male voice and child voice. excessively the user is afforded of doing variation in speed of the voice.Actually, my project will carry out main few benefits to the users, those who intend to use t his. down the st personal line of credits I drive mentioned the basic architecture of our project.Sinhala VoiceText in SinhalaAndVoice and speedSelectionProcess go for 1.1AIMTo develop a system, that croup able to read text in sinhala format and coert it in to verbal (sinhala) form. And also, It will capable to change the sound waves, It mean user would able to select voice quality according to his/her opinion. there argon might be three voice endurances. These be kind of woman voice, kind of male voice and kind of kids voice. And user drop change the speed of the voice. If slightlybody needs to hear low speed voices or high-speed voice, then he/she potty change it according to their requirements.STUDY PROBLEMActually before start this project I expect entrywayed in to the meshwork and collect more information regarding this particular field. First-of-all I urinate to de embodyr a facility to enter sinhala font in to the computer. So, to crucify this matter I intend t o use UNICODE. When we pronounce sinhala text, quondam(prenominal) we need use pronouncing voices of two texts.It means to create voice for approximately texts we need to combine another two text voices. So to break voices we should terminus voices to severally and every text in the voice database. hence voices come from voice database according to the text which we entered. Actually after we entered text internally it (texts) get in to different groups.RELEVANCE OF THE PROJECTThe feeling of developing a Sinhala Text To Speech (STTS) engine have begun when I considering the opportunities acquirable for Sinhala speaking users to grasp the benefit of selective information and Computer Technology (ICT). In Sri Lanka more than 75% of population speaks in Sinhala, notwithstanding its very rare to find Sinhala softwares or Sinhala corporals regarding ICT in market. This is without delay effect to development of ICT in Sri Lanka.In make up few Sinhala text to speech softwares are available but those have problems such as quality of sound, font schemas, pronunciation and so forth Because of these problems developers are afr advocate to use those STTS for their applications. My focus on developing an engine that can convert Sinhala words in digitized form to Sinhala pronunciation with error free manner. This engine will champion to develop some applications.Some applications where STTS can be usedDocument reader. An already digitized document (i.e. e-mails, e-books, fair weatherrise(prenominal)spapers, etcetera) or a conventional document by scanned and produced through an optical character recognizer (OCR).Aid to handicap person. The vision or voice impaired community can use the computers aided devices, directly to slip by with the world. The vision-impaired person can be informed by a STTS system. The voice-impaired person can communicate with others by providing a keypad and a STTS system. universe lecture books toys. Producing talking books t oys will boost the toys market and education.Help assistant. Develop help assistant speaks in Sinhala like in MS despatchice help assistant.Automated News casting. The early of entirely new brood of television networks that have programs hosted by computer-generated characters is possible.Sinhala SMS reader. SMS consist of several abbreviations. If a system that read those messages it will help to receivers.Language education. A high quality TTS system incorporated with a computer-aided device can be used as a nib, in intoxicateing a new terminology. These tools can help the learner to improve very quickly since he/she has the access to the correct pronunciation whenever needed.Travelers guide. System that located inside the fomite or mobile device that will give information on-going mending other relevant information incorporated with GPRS.Alert systems. Systems that can be incorporated with a TTS system to attract the attention of the controlled elements since as humans are used to draw attention through voice.Specially, countries like Sri Lanaka, which is assuage struggling to harvest the ICT benefits, can use a Sinhala TTS engine as a solution to convey the information effectively. Userscan get required information from there native language (i.e. by converting the text to native language text) would naturally move there thoughts to the accomplishable benefits and will be encouraged to use information technology more frequently.Therefore the development of a TTS engine for Sinhala will exercise personal benefits (e.g. aid for handicapped, language learning) in a social military position and definitely a financial benefit in economical price (e.g. virtual television networks, toys manufacture) for the users.LITERATURE REVIEWText to speech is very popular area in computer science field. There are several research held on this area. Most of research base on how to develop more natural speech for assumption text . There are freely available te xt to speech package available in the world. exclusively most of software develops for most common language like English, Japanese, Chinese languages. Even some software companies distribute text to speech development tools for English language as closely. Microsoft Speech SDK tool kit is one of the examples for freely distributed tool kit developed by Microsoft for English language.Nowadays, some universities and research labs doing their research project on Text to speech. Carnegie Mellon University held their research focus on text to speech (TTS). They go away blossom out Source Speech Software, Tool kits, related state-supportedation and important techniques to undergraduate student and software developer as well. TCTS Lab also doing their research on this area. They staged simple, but general functional diagram of a TTS system Ref. 2. impression Credit Thierry Dutoit.Figure5.1. A simple, but general functional diagramSPECIFIC STUDY OBJECTIVESProduce a verbal format for t he input sinhala text.Input Sinhala text which may be a user input or a given text document will be transformed in to sound waves, which is then output is vexd by speakers. So the disabled good deal will be one of the most beneficial stakeholders of Sinhala Text to Speech system. Also undergraduates and research flock who need to use more references can send the text to my system, just now listen and grab what they need.The output would be more like natural speech.The human voice is a complex acoustic signal, which is generated by an air stream expelled at either mouth, nose or both. Important characteristics of the speech sound are speed, silence, accentuation and the level of energy output. The tongue suitably controls the air steam, lips with the help of other articulators in the vocal system. Many variations of the speech signal are caused by the persons vocal system, in order to convey the meaning and emotion to the receiver who then understand the message. Also includes some other characteristics, which are in receivers hearing system to identify what is beness said.Identify an cost-effective way of translating sinhala text in to verbal form.By developing this system we would be able to identify and proposed a most suitable algorithm, which can be used to translate sinhala format to verbal form by a fast and efficient manner.Control the voice speed and types of the voice (e.g. man, women, child voice, etc.).Users would be capable of selecting the quality of the sound wave, which they want. Also they would be allowing to re point the speed of the output as they need. People, those would like to learn Sinhala as their second language to learn elocution properly by changing the speed (reducing and increasing). So this will improve the earreach capabilities. splendid kids can be encouraged to learn language by varying the speed and types.Propose ways for that can be extended the current system further more for future needs.This system only gives th e basic functions. My system is feasible of enhancing further more in order to satisfy the changing requirements of the users. This can be plant in to toys so can be used to improve children listening and elocution abilities. So those will Borden their speaking capacity.PROPOSED APPROACHMain function of my system is read sinhala digitized characters and speak out those words as closer sounds that human natural voice.7.1 UserMy basic estimate is to develop systems that offer all kinds of users. That mean who know the operate computer very well and also who is beginner to the computer field. Users only want to do insert text in sinhala.7.2 DataIn my database I am hoping to store voice tags, sinhala characters and pronunciation rules. And also I wish to introduce efficient algorithms for search relevant voice tags from the database.7.3 InputProposed system will get sinhala-digitized characters, voice selection as input.7.4 ProcessesGet the sentence from the user and it will identif ied end of sentence by full-stop and it will mark two words by the space between two words. Those words will break down to smaller parts. frankincense after capture the relevant voice tags according to rules that I have given and conflate those voice tags. Then after get voice selections that user given and process to give those sound effects.7.5 OutputProduce the related sinhala voices for text that is given by the user according to sinhala pronunciation rules as well as voice selection done by the user.RESEARCH METHODOLOGY AND TCHNOLOGIES8.1 Database TechnologyHope to use OO methodologies and Relational Database forethought System (Microsoft SQL Server 2005) to develop centralized database on main server. A database management system, or DBMS, is software design to assist in maintaining and utilizing lifesize collection of data Ref. 3. The SQL Server 2005 is design to work as a data storage engine for thousand of concurrent users who connect over a network, it is also capable of working as a stand-along database directly on the same computer as an application Ref. 4. DBMS provide some important functionality. Applications are case-by-case from data representation, storage and location (data and location independence). DBMS is able to scan through million of participate and retrieve efficiently (efficient data access). DBMS enforce integrity bound and security permission on the data (data integrity and security). DBMS provide facilities to data and its efficient accessibility (data administration). DBMS schedule concurrent access to the data in such manner that user can call of the data as cosmos accessed by one user at a time. Further, DBMS protects users from the effects on of system fai temptations (concurrent access and break apart recovery). There for hope to use Microsoft SQL Server 2005 to develop voice and text information database.PROJECT PLAN9.1 ARCHTECTURE9.1.1 Design ArchitectureText in SinhalaVoice and speed selectionProcessSinhala voi ceFigure 9.1.1Speed selectionArray of text (Sinhala)Process in detailRelated SinhalaVoiceVoiceDatabaseProcess the TextGet the voice tags according to the Text and mix in themVoice selectionVoice controllerFigure 9.1.2Figure 9.29.1.2 Text process ArchitectureDetect full-stops, commas, brackets etc.Separate out numbersGet eccentric number to each allowter and store it in an array enthral the data in array to voice tag selection processSeparate the text to sentencesGroup the text according to lettersSinhala TextArray of letter prysFigure 9.1.3This process gets a text as the input. It detect whether there are any full-stops, commas etc. to avoid confusions. If there any numbers in the text they are separate out and text is partition in to sentences. After that each letter in a sentence grouped, give a crotchety number store in an array. This array is send to the next process.9.1.3 Voice Tag Selection ProcessFigure 9.1.4Voice DatabaseGet voice tags from voice DatabaseVoice selection Array of letter values merge Voice tag join voice tags to the orderSend the merged voice tags to voice Control processSelect the voice typeThis process gets the array, which gives from Text process and voice selection as inputs. By using these inputs this process gets voice tags for each letter and merge them. connect voice tags send to the voice control process.9.1.4 Voice Control ProcessFigure 9.1.5Speed selectionSinhala VoiceStore the voice text arrayControl the speed Voice speed enunciate the voice arrayMerged Voice tagThis process gets merge voice tags and voice speed selection as input. It organize the Merge voice tags according to speed selected. Then it will speak out speech each voice tag.REFERENCESRef. 1 Building Synthetic Voices, Online http//www.festvox.org/festvox/Ref. 2 An Introduction to Text-to-Speech Synthesis, Online http//tcts.fpms.ac.be/ deductive reasoning/introtts.htmlRef. 3 Raghu Ramakrishnan, Johannes Gehrke/Database Management SystemThird edition 2001/ M cGraw-HillRef. 4 SQL Server moot ass, Online 1988-2005 Microsoft Corporation. clicky Then And Now takey Then And NowWhy is the b emboldenon forthic propose so powerful iconic, how do they produce connections of timelessness, and emotional context + what are the perspectives round determine making in addition what is its resemblanceship to symbol?In its archetypical decades of its existence shooty was labeled as sun painting a term coined to be contemptuous, and one which epitomized the mechanized character to the painters artistic freedom. Therefore because of this, fritter awayy has experience an ever-growing field of investigation and argument. photography and its role in art and the everyday is something which I would like to open up in this discussion, I have counted at various writers to aid this discussion as well as a series of simple and contemporary photographers. This dissertation will inform and open up concepts around photography whilst putting it unde r a microscope and examining it with sensibility.Photography as a medium has get under ones skin a phenomenal sensation of capturing a still image it inspired historical as well as literary imaginations. Photography was the possible brainchild of modern science, or of modern introduction explicated by science, it oscillates between the veryms of science, poetry fiction or fantasy. The registration of the first daguerreotype signaled first and foremost a mystery it also permeated this idea of it being the aura of a cultural creation, and if not a legend, rather than that of a scientific discovery. This idea is particularly evident in an account provided by critic Jules Janin in LArtiste of 27 January 1839, which extolled the daguerreotype as a modern acknowledgment of the biblical Fiat Lux 1, and in particular marveled at its powerfulness to record the most minute detail (down to the grains of sand) as well as, charge more improbably, the shadow of a passing bird2.Speaking to t he camera detaches the subgross from the capacities of the eye and brings forth the virtuality of the visible, in a sense the camera can be seen as the third eye which extends ones vision. The execution of photography is a materializing which makes something material from apparition and through photography things can be seen differently. The big businessman to photograph was seen as a strange phantasmagoria and a method of hyping up the real, it posited bewilderment at the magic of the daguerreotype, combined with the urge to make the idea of photography as generic as possible.Many photographers change how we learn and perceive photographic images. Eugene Atget -a surrealist photographer- was one of the first to refuse to photograph the manifestation and body, Atget removed hatful from his pictures and with them the plump remainders of cult value in the medium. His photographs of genus Paris were like scenes of a curse, desolate scenes of everyday objects as ordinary sleep with were unveiled as strange and quite an unsettling. In this way photographs acquired the first traces of govern psychic significance that all was not as it seemed at first glance. Atgets photography replaced the aura of the early image with the emptiness of the city view. He asks But isnt every square inch of a city a crime scene?3.Hippolyte Bayards 12 minute exposure entitled Self personation as a Drowned Man (1840) 4, presents us with a fictional image which shows how a photograph can deceive us. At the time was considered quite racy and controversial, nudity was something which was confidential and highly discouraged, and especially not something to be photographed. It presented a dichotomy of what was and what was not allowed.Latin Phrase Fiat Lux, let there be light The phrase comes from the third verse of the Book of Genesis.Quotefrom bookFrom Walter BenjaminpageBayard, Hippolyte. Self Portrait as a Drowned Man.1840, France.Instant cobblers last is not sociable, so the alternative is to feign death and stimulate the faux arrangement of it. This staged photo montage displays a conspicuous admit against the cruel injustice of life. Nowadays, every calamity with fatal outcome is photographed in its horrifying representation within the media. We find photographs of death intriguing and prognosticate monuments which represent places where vast amounts of people have died. Why is this? The feeling of being exempt from calamity stimulates pastime in looking at ineffable pictures like war photos etc, partly because one is here and not there.Photographs thus subtract feelings from something we experience firsthand, but it is the closest we can get to this experience. To summarize, one is vulnerable to disturbed events in the form of photographic images in a way that one is not to the real thing.Pictures are things that have been attach with all the stigmata of personhood and animation they exhibit both physical and virtual bodies they speak to u s, sometimes literally, sometimes figuratively. They present not just a rise but a face that faces the beholder as if pictures had feeling, will, conscious, agency and hope. 5. With a kind of social or physiological power of their own a power to attract the beholder, arrest and enthrall, transfix or paralyze the beholder, move him or her into an image for the gaze of the viewer, the medusa effect. U.S Civil War photographer Matthew Brady used the power of photos to create social and political photo essays, a lot centered around injustice and suffering. His images raised public response and call which led to positive social changes, they had the ability to change the nations noble, romantic view of war, and although Brady was simply recording events, his picture essays were powerful enough to change public opinion.Photographs can be quite allegorical they have natural inherent aptitude to produce potent emotional responses. In Roland Barthess Camera Lucida, 6. a major(ip) part of this book is dedicated to a narrative telling of his chastening for his dead mother, and through looking at his collection of old family photographs he can find her again. This concept is something that leaks into a large extent of our private lives, as photographers the majority of us have in our archives, portraits of people who are no longer living some of whom may mean an ample deal to us. We have all gone through this procedure of en masse as a culture following the death of public figures that have moleculeed us Marilyn Monroe, John F Kennedy, John Lennon to touch a few. Correspondingly, we look for the diabolical streak in pictures of persons who turn out to be mass murderers Myra Hindley, Ted Bundy Etc. Photographs make us, as a collective, understand and appreciate our emotional attachments to them. This hidden agenda is something Barthes tries to permeate in our minds. Barthes was overwhelmed with the connections he found between the images, and time and death are themes which very lots personify his writing.The reality here is, as Barthes tries to evoke, that death is ultimately concrete and that the actuality of the photos is palpable. We find ourselves being struck with such emotional attachment when we look at old photos of loved ones in addition to being opposite with what time and the instant mean in an image. The Aura in these pictures may be related with time because when we observe them, we sometimes feel nostalgic. The manifestation of this is to reflect back to the genesis of his ideas, that the genius of photography provides a spectrum for which the unfastened really was there and that he would conclude that death indeed was the clear-sighted and logical implication of every picture. Poring over images of the deadQuote Freedberg, D.( 1991)The cater of Images Studies in the write up and Theory of Response. University of Chicago Press, USACamera Lucida form of the apparatus, anterior to photographer, which permitted drawing an object through a prism.is an active part of grief, of distress, of dealing with the actuality and immediacy of death. This ritual did not exist for anybody but the amphetamine classes (obviously before photography was invented.) Photography marked the birth of the image and in1839 I believe would have been a milestone in the history of mourning rites and thanatology.Barthes looks carefully over these images with a keen hope of remembering. He seeks in sorrow and love for the loss of his mother in hopes of finding one picture which would represent his mothers spirit, he accounts the following when an old childhood photograph is found My mother was five at the time (1898), her brother was seven. He was leaning against the bridge railingshe, shorter than he, was standing a little back, facing the camerashe was dimension one finger in the other hand as children a good deal do, in an awkward gesture. The brother and sister had posed, side by side, altogether under the palms of the Winter GardenI studied the little girl and at last rediscovered my mother. 7. What we can extrapolate from this examination of the Winter Garden photograph is that Barthes become comforted by its actuality, in the sense that the picture literally emanates his mother (although being a child Barthes never knew of.) He sees the photograph as a magic relic of his mother perpetuating love, there is an assertion of warmth in the photo as she lends herself to the photographer and allows herself be photographed. He can then reassure himself of his mother and know that his heartfelt experience with her was real. hoary photographs are ghostly semblances that materialize before our eyes and in our imaginations, this is sure evident when Barthes sees this particular photograph and through photographs we try to immortalize a signifi careen moment in our lives.Photographs receive an extraordinary ability to touch us in ways that are supernaturally impossible. They retain a trustworthy anima tion which cannot be possessed or captured in a painting or sculpture, they speak to us. Through speaking we understand and discover their true intentions and motivations, and this is what we learn from Barthes. The same ideas apply when we look at photographs of people who have committed crimes. A photograph is not just a picture of something or someone its what is attached to it that we hold that emotion. In the subject field of serial bulge outer mug shots its the evil that you know behind that photograph or the sinister intention which reinforces the feelings of loathing, hatred and disgustPhotographs are optic fossils, they make us think about and realize our own fatality rate and existence, and therefore have remained so timeless. Old photographs fill out our mental image of the past the photos being taken now transform what is present into a mental image. The passing of time also adds to the aesthetic value of photographs. The Art of the portrait photographer may be to i nduce in his or her subjects a sense of presence and there-ness. Oddly photographs have the magical capabilities to move you back and forth through time, and because of this, the past always seems accessible except physically it isnt. The photograph becomes a kind of resurrection as it poke outs to live after the person is gone. It has the strange ability to evoke memories through fanciful recall and gives the texture and essence of things it is not so much an agent of memory as an invention of it or a replacement.August sanders taxonomic portraits developed a philosophy that placed man within a cyclic model of society, by systematically photographing people from various classes, Sander hoped that by using light and photographing their facial features it would reveal and accentuate character, charisma, place of origin or background.Quotation Barthes, R. Camera Lucida. (198029-30).Walter Benjamin coined the optical unconscious as a realm of experience, as a similar way as psyc hoanalysis constituted as access to the psychic unconscious. It invests the photograph with experience as well as the capacity for illumination. It is another nature which speaks to the camera rather than to the eye.8. Photography is not only like its subject but homage to the subject it is part of an extension of that subject. Photography has the power to capture a secret, and we have the power to see it. The viewer feels an irresistible urge to search such a picture for the tiny spark of contingency, of the hither and Now, with which reality has so to speak seared the subject. 9. Benjamin refers to a photograph- a portrait- of the photographer Dauthendey and his wife who had later committed suicide. Looking at the photograph we search the picture for a kind of evidence in the past, of what was to transpire in the future. (Perhaps a sign written on her face, her posture, nonvisual to her fianc who stands alongside her, but visible to us looking at the photograph many years later, and with the knowledge that she would, after bearing him six children, kill herself). What we can conclude here is that Benjamin then, grants the viewer (as well as the medium of photography) a kind of desire for omniscience. The photographic image calls for translation, and can show traces of the past and point at something that is absent.On the basis of a partial assimilation to the model of painting and through the wake of modernism, the coming of photography has slowly gained acceptance within museums and that of the art market and thus making it a recognizable and distinct art form. But why have they thus far remained a provocative and intriguing form of art? Paintings and sculptures are a matter of interpretation from the artist whereas with photographs to a certain extent- are a reflection of the real. It cannot just be seen in many ways as an art form but as a way of eyesight and thinking. Photography represents a precious asset they provide us with an encounter we would not think was possible without, but our perception of images and photography have greatly changed since the very first photograph was made. In its relation to painting, a photograph is not only an image (as a painting is an image) it is a usurp reality and an interpretation of the real, it can be thought of as a trace which is directly stenciled off the real like a footprint or death mask. It carries some of its simplest qualities to such perfection that it will become for even the majority of safe painters a subject for observation and study. Its because of this perfection that the painter, therefore, will find this a quicker way to obtain collections of studies that he would only by much time, and trouble be able to collect no matter how quick-witted the painter. Paintings, even ones which meet photographic standards of resemblance, are never more than the stating of interpretation. In Benjamin Walters Little History on Photography he makes a point that using photography kille d painting10.There is a primitive caprice which presumes that images possess the qualities of real things or that there is an inclination to attribute to real things the concept of veritable and copy, reality and image. There are many conspiracies environ the notion of what is real, as well as the criticism of reality as a faade and the depleted sense of it.8. Quotation Gold,J.R. Film and shift in the Writings of Walter Benjamin(2007 602-622)9. Quotation Stamelman, R. Loss beyond telling Representations of last in Absence in Modern FrenchPoetry (1990281)10. Quotation Walter, B. Little History of Photograph. (1931 paginate UNKNOWN)In Sontags The Image field (On Photography) a lot of accent mark is made of the reproducibility of the image. Photography has become a mass art, a social rite, in which we document sequences of manipulation. It can provide knowledge independent of experience and can capture, classify and store the Information in a way that provides possibilities fo r control not feasible under earlier forms of information storage. Feurbach observes that our era -prefers the image to the thing, the copy to the original the representation to the reality, appeared to the being 11.Photography does not simply reproduce the real it recycles it- a key procedure of a modern society which consumes images. In the form of photographic images, things and events are put to new uses, and assigned new meanings. The camera offers the possibility of possessing eff record at all ages and through being photographed something becomes part of a system of classification and storage family albums, geology, medical training, police work etc. Photograph collections are used to make a substitute world. It can also been viewed as an instrument for depersonalizing our relation to the world. What Sonntag is trying to argue is that human beings have mistaken the copy for the thing itself and, as a result, have created a false division between the copy and the so called r eal. Sontag explains industrial societies turn their citizens into image-junkies it is the most irresistible form of mental pollution 12.Photographs are a form of acquisition the possession of cherished people or things as a way of consuming events and a potent means of acquiring something as information, and more importantly gaining control over it. At one end of the spectrum photographs are objective data, at the other end they are items of psychological science fiction. Even the most banal photograph or document can mutate into an emblem of desire.Nowadays the lure of the image is starting to replace the real via advertisements, newspaper, TV, and digital. The situation is complicated by the fact that less than ever does the mere reflection of reality reveal anything but reality Bertold Brecht 13. Copying was seen as immoral, however Aristotles view of the mimetic faculty is precisely what makes us human. There has been a lot of scheme surrounding the mechanical education of the photograph. Walter Benjamin had a keen relation to nostalgia and a poetic understanding of the world. He explains in A Small History of Photography that the beginning of image-making was seen as a fog which would machination you, using this metaphor politically he is referring it to something which is perhaps dangerous- that art would become nothing more than ideas, signs, allusions or concepts. There was very much a storm of moral fear, it was seen as being blasphemous and opened up ideas about god. That perhaps the photograph or that being photographed would contain the soul- a fetish or magical object. In addition to this the reproductive means of photography was seen as taking away the aura away from the real thing, ideas surrounding forgery, fakery, copying were highly frowned on. Reproducing images was seen as deracination of authenticity and disintegration of aura and historical depth, because of its special condition it can be utilize by capital for advertising purp oses. To an ever increasing degree, the work which is reproduced becomes the reproduction of a work intended for reproducibility.Due to the reproducibility of images, this condition opens up theories of the politicizing of art and11. Quotation Feuerbach, K. (1843) The Essence of Christianity. Quoted By Sontag,S. (1979-PAGENA)12. Quotation Sontag, S.The image World Traces of the Real (1977-NA)13. Quotation Brech, B. Quoted by Walter,B in Little History of Photography (1931-NA)Releases questions like how might the photographer go about dealing with a practice that is not completely reducible to propaganda and modern advertising? The mechanical nature of the reproducibility of art and photography has changed modes of perception in which we have reduced objects and made them manipulable, It is necessary to create something artificial than represent the real., The singular, the unique is divested of its uniqueness- by means of its reproduction. 14. Process reproduction can reveal those a spects of the original that are unattainable to the naked eye yet accessible to the lens- which is adaptable and chooses its angle at will. Through photographic reproduction and with the aid of certain processes (such as enlargement and slow motion) can capture images which may lam natural vision. Today in the wake of proliferation and digital media, photography is in a state of dispersion, hybrid forms of photographic imagery mixing additive and digital technologies have become the norm. Where much of the images we see are hard manipulated.There are many reasons why we are infatuated with photography the flowering of photography allowed for it to be available to everybody, anything in the world is material for the camera, one finds that there is beauty or at least interest in everything seen with an acute eye. The picture is treated as an expression of the artists desire or as a mechanism for eliciting the desires of the beholder. People werent used to seeing their image, so th e photograph provided a difference sense of how we look. It awakened people into a new world. Photographs contain powerful presences present in them it conserves the object which is reason why there are superstitions around throwing away photographs of loved ones, as well as the obsession to photograph and to be photographed. Referring back to Barthes, photograph presents to us a spectral, corporal presence in addition to providing a means of reanimating what is unavailable. It imprisons and captures reality this is something Barthes tries to burn into our consciousness. One cant possess reality, one can possess (and be possessed by an image) with photographic images one cant possess the present but one can possess the past. They imply instant access to the real to possess the world in the form of images is, to re experience the unreality and distance of the real. Pictures communicate as signs and signals, it is clear they have a sort of power to effect human emotions and behav ior.Nowadays, we cannot live without photographs they are anywhere and everywhere. The logic of consumption is akin to lust, and therefore it cannot be satisfied because the possibilities of photography are infinite. I believe photography and image-making will continue to inspire and technologies will continue to expand. Presently, we find photography used for narcissistic purposes like oversight. In an industrial society the camera becomes a spectacle for the masses and as an object of surveillance for rulers. It remains to be a source of great iconography as it is an art for all, which posits photography as universally accessible, and an addition to culture rather than science. Photographs will always and continue to be powerful mechanisms to change things or set things in motion, and it will continue to stand the test of time and document the vestiges of human condition until the end of our existence.14. Quotation Walter, B. Little History of Photograph. (1931PAGE UNKNOWN)

Sensing of Human Blood Group by SPR Based Sensors

Sensing of Human Blood Group by SPR Based SensorsContents- universeBasic of Surface PlasmonP and S polarized crystalise beckonsProperties of Surface Plasmon Waves cross(prenominal) galvanising and Transverse Magnetic WavesDispersion Relation for Surface Plasmon convention list Internal ReflectionN-Layer regulate and Fresnels Relation impermanent Waves sonority ConditionMinimum of Reflectance at ResonanceDrude Model For free electron gasAngular Interrogation and Wavelength Interrogation exertion parameters for SPR set upd sensing elementsExperimentKretscheman and Otto ConfigurationCoating of surface layer by Vacuum Coating MachineBasic Of Surface Plasmons-The electron charges on a alloy bourn weed perform coherent fluctuations thusly collective charge density oscillations of electrons at metal-di galvanizing port wine argon cognise as plasma oscillations and the quantum of these oscillations atomic number 18 k straightwayn as come in plasmons. The come out of the clo e ven off plasmons are accompanied by a longitudinal (TM- or P-polarized) galvanizing field which decays exp one and only(a)ntially in metal as sanitary as in nonconductor modal(a). The electric field has its maximum at metal-dielectric user interface. The TM- polarization and exponential decay of electric field are found by solving the Maxwell equivalence. The charge motion in a locate plasmon always creates electro charismatic fields outside (as well as inside) the metal. The entireness excitation, including both the charge motion and associated electromagnetic field, is called either heighten plasmon polaritonat a planar interface. .Properties of Surface Plasmon Waves-Surface Plasmon jolts are the line up localized electromagnetic curls produced by the collective resonating oscillations of free electrons on the plasma near. The find Plasmon is a transverse roll up propagating along the plasma clear with the oscillating electric field vector normal to the appear. The deuce main properties of the arise Plasmon ripples are firstly they are of exponentially decaying nature, when propagate along the fold up of metal-dielecric interface it incurs decay both in metal as well as in dielectric and secondly it gets buckd only by P-polarized calamity luminosity-hearted kink.P-polarized and S-polarized light swans-When the electric field vector of chance light curl up is normal to the plane of incidence than light wave is called S-polarized light wave and when the electric field vector are replicate to plane of incidence than light wave is called P-polarized light wave.Transverse Electric and Transverse Magnetic WavesIf the incident, hereditary and reflected waves all thrust a bun in the oven a wave vector component along the z management, that is, they have an effective f number along z. The fields Ei,perp, Er,perp, and Et,perp are all perpendicular to the z direction. These waves are called transverse electric field (TE) waves. On the early(a) hand, waves with Ei,//, Er,//, and Et,// only have their magnetic field components perpendicular to the z direction and these are called transverse magnetic field (TM) waves.Dispersion Relation for Surface Plasmon-PrincipleTotal informal observation-Internal Reflectionis a phenomenon that happens when a propagatingwave strikes a spiritualist frontier at an locomote larger than a grouchy small weight downwith appreciate to thenormalto the surface. If the refractile officeis move on the other side of the demarcation line and the incident tip off is greater than the full of life angle, the wave female genital organ non pass through and is entirelyreflected. The comminuted angleis theangle of incidenceabove which the core privileged reflectance come ons. This is particularly common as anoptical phenomenon, where light waves are involved, tho it occurs with many types of waves, such aselectromagnetic wavesin general orsound waves. When a wave crosses a b oundary between materials with different kinds of deflective indices, the wave pull up stakes be partiallyrefractedat the boundary surface, and partially reflected. However, if the angle of incidence is greater (i.e. the direction of propagation or ray is closer to being parallel to the boundary) than the critical angle the angle of incidence at which light is refracted such that it travels along the boundary then the wave allow for not cross the boundary and instead be totally reflected indorse internally. This atomic number 50 only occur when the wave in a ordinary with a higher refractive index (n1) hits its surface thats in contact with a culture medium of lower refractive index (n2). For example, it will occur with light hittingairfrom glass, but not when hitting glass from air.Fresnels RelationWe will describe the incident, reflected and refracted waves by the exponential re endueation of a travelling wave, i.e.,Where r is theposition vector, the wavevectors ki, kr, kt describe individually the derictions of the incident, reflected and transmitted waves and Eio, Ero and Eto are the respective amplitudes. both phase changes such as phir and phit in the reflected and transmitted waves with respect to the phase of the incident wave are incorpo setd into the complex amplitudes Ero and Eto. Our objective is to find Ero and Eto with respect to Eio.Similar equations can be affirmd for the magnetic field components in the incident, reflected and transmitted waves but will be perpendicular to the corresponding electric fields. The electric and magnetic fields anywhere on the wave must be perpendicular to each other as a requirement of electromagnetic wave theary. This means that with E// in the EM wave we have a magnetic field Bperp associated with it such that Bperp= (n/c)E//. Simillarly, Eperp will have a magnetic field B// associated with it such that B//=(n/c)Eperp.There are both useful fundamental rules in electromagnetism that govern the beha viour of the electric and magnetic fields at a boundary between twain dielectric media which we can arbitrary label as 1 and 2. These rules are called boundary conditions. The first states that the electric field that is rambling to the boundary surface Etangential must be continuous across the boundary from medium 1 to 2 i.e., at the boundary y=0.Etangential(1)=Etangential(2)The second rule is that the tangential component of the magnetic field Btangential to boundary must be in any case continuous from medium 1 to 2 provided that the two media are non-magnetic ( relation back permeability r=1),Btangential(1)=Btangential(2)Using these boundary conditions for the fields at y=0, and the race between the electric and magnetic fields, we can find the reflected and transmitted waves in terms of the incident wave. The boundary conditions can only be live up to if the considerateness and incidence angles are fit, emailprotected, and the angles for the transmited and incident waves obey Snells emailprotectedemailprotectedApplying the boundary conditions to the EM wave going from medium 1 to medium 2, the amplitudes of the reflected and transmitted waves can be readily obtained in terms of n1, n2, and incidence angle i alone. These relationships are called Fresnels equations. If we define n=n2/n1, as the relative refractive index of medium 2 to that of 1, then the reflection and transmission system coefficients for Eperp areRperpAndTperpThese are corresponding coefficients for the E// fields with corresponding reflection and transmission coefficients r// and t//r//t//Further, the reflection and transmission coefficients are related byr// + nt// = 1 rperp +1 = tperpThe logical implication of these equations is that they allow the amplitudes and phases of the reflected and transmitted waves to be determined from the coefficients rperp, r//, t//, and tperp. passing waves-Evanescent waves are formed when sinusoidal waves are (internally) reflected off an interfa ce at an angle greater than the critical angle so that total internal reflection occurs. Evanescent means tending to vanish, which is appropriate because the potency of evanescent waves decays exponentially with distance from the interface at which they are formed. Any propagating wave is converted into an evanescent wave when hitting a classically forbidden region. In this case, at least one component of the wave vector kbecomes imaginary or complex and the wave experiences exponential damping when propagating in this region.In the case of an optical fictional character the cladding has less refractive index than the core of the fibre. When light experience total internal reflection at the core-cladding interface, about of the brawniness of the light waves in the core of the fibre penetrate into the cladding for a very short distance. The nix time period of this evanescent wave is parallel to the surface of the core and in the same direction as the main flow of energy within the core.Resonance Condition-The propagation unbroken (Ksp)Of the surface Plasmon wave propagating along the metal-dielectric interface is apt(p) by-Where m and s are the dielectric constants of metal and the dielectric medium respectively, is the absolute frequency of incident light, andc is the velocity of lightand from above equation it may be noted that the propagation constant of surface Plasmon wave depends on the dielectric constants of both the metal and the dielectric medium.The surface plasmons can be rided by light with same polarization state as that of surface Plasmons. The propagation constant (Ks) of the light wave with frequency w propagating through the dielectric medium is disposed by-Since ms0 (for dielectric), for a given frequency, the propagation constant of surface Plasmon (Ksp) is greater than that of light wave in dielectric medium (Ks). To excite surface plasmons, two propagation wave- vectors should be equal. Hence, the direct light cannot excite su rface plasmons at a metal-dielectric interface. To excite surface plasmons their momentum and therefrom the wave vector of the exciting light in dielectric medium should be increased. This can be do if instead of a direct light, evanescent wave is apply to excite the surface plasmons. To obtain the evanescent wave for the excitation of surface plasmons, a optical optical optical prism with high dielectric constant is used.When a light re is incident through one of the two sides of the prism at an angle greater than the critical angle at prism-air interface the total internal reflection of light beam takes place. In the condition of total internal reflection light beam does not return exactly from the interface. sort of it returns after penetrating in the lower refractive index medium (air in this case). The field in the lower refractive index medium is called evanescent field and the wave corresponding to this is called evanescent wave. The evanescent wave propagates along the prism-air interface and decays exponentially in the rarer medium (air). The propagation constant of the evanescent wave at prism-air interface is given by-Where,p, represents the dielectric constant of the material of the prism and is the angle of incidence of the beam.Increase in the dielectric constant of the prism increases the propagation constant of the evanescent wave and consequently this can be made equal to propagation constant of the surface Plasmon wave to propagation constant of the surface Plasmon wave to satisfy the surface Plasmon ring condition.When a p-polarized light beam is incident through the prism on the prism-metal layer interface at an angle equal to or greater than the critical angle, the evanescent wave is produced at the prism-metal interface. The excitation of surface plasmons occurs when the wave vector of evanescent wave exactly matches with that of the surface plasmons of akin frequency. This occurs at a particular angle of incidence res. Thus the resonance condition for surface Plasmon resonance is-The excitation of surface plasmons at metal-dielectric interface results in the transfer of energy from incident light to surface plasmons, which reduces the excitement of the reflected light. If the intensity of the reflected light is measured as a function of angle of incidence for a fixed values of frequency, metal layer weightiness and dielectric layer thickness then a sharp dusk is detect at resonance angle, res, due to an efficient transfer of energy to surface plasmons.Minimum of Reflectance at ResonanceThe excitation of surface plasmons at metal-dielectric interface results in the transfer of energy from incident photons to surface plasmons, which reduces the energy of the reflected light. If the normalized reflected intensity (R), which is basically the output signal, is measured as a function of incident angle by keeping other parameters and components (such as frequency, metal layer, and dielectric layer) unchange d, then a sharp dip is observed at resonance angle sp due to an efficient transfer of energy to surface plasmonsThe borderline of the normalized reflected intensity (R) can be quantitatively depict with the help of Fresnels equations for the three-layer system p/m/s. Here,p, stands for high refractive index material prismm, stands for metal film of thickness dm ands, stands for low index dielectric medium, eg air, water etc.The light wave is incident at an angle greater than the corresponding ATR angle. At this point, one outstanding fact is the energy conservation that requires R+A+T=1, that is, the sum of relative reflection, absorption, and transmission is unity. Since, T=0 at ATR, hence we are left with A+R=1 in the present case.The light wave having passed the glass prism (p), is reflected partially at prism interface. A part of the incident light wave energy traverses the metal film(of thickness dm) as an exponential decaying evanescent wave. At the metal-dielectric (m/s) i nterface, it induces the surface Plasmon excitation, which beam light back into the metal film. If the metal layer thickness (dm) is small, the back bemused field tends to increase. Since, this back scattered wave is out-of-phase with the incoming wave, the two interfere destructively and cause R to reduce. For minimum value of dm, they report each other and R becomes equal to zero. Thus, the absorption A becomes equal to 1, that is, whole radiation field is captured in the metal film. On the other hand, if the metal layer thickness is large enough, then the back scattered field disappears and R approaches to 1. It means that no absorption of incident light wave is taking place. Hence, one can dictate that the value of R depends on the combination of incident light frequency, angle of incidence, and the thickness of the metal layer.Performance parameters for SPR sensorsSensitivity and Detection accuracy are the two important parameters that are used to analyze the performance of SPR based sensors.Sensitivity- Suppose, we are sleuthing any medium of any particular refractive index, than we will get a minimum reflectance thin out at any particular value of res, but if change the medium than refractive index will change and we will get a minimum reflectance curve at any other value of res, hence we can say the minimum reflectance curve is arouseed from one wavelength value to another wavelength value. This shift in the minimum reflectance curve with the change in the refractive index (by changing the medium) is called sensitivity of the SPR sensor. Hence we can say, sensitivity is the rate of change of res value with the change in refractive index,S=If the shift is large, the sensitivity is largeDetection accuracy- How accurately and precisely our sensor can sense or detect this shift in minimum reflectance curve is called Detection Accuracy of the sensorDA=For the outgo performance of the sensor, both the parameters should be as high as potential to atta in a perfect sensing procedure.Otto ConfigurationThe general fancy behind this configuration was the coupling of surface Plasmon wave the evanescent wave, which is set up to ATR at the base of a coupling prism when a light beam is incident at an angle greater than the critical angle (ATR) at prism-air interface. The nature of evanescent wave is known to have the propagation constant along the interface and to decay exponentially in the dielectric medium adjacent to metal layer. Both of these characteristics of evanescent waveare akin to those of a surface Plasmon wave, therefore, there is a strong possibility of interaction between these waves. The x-component of the wave propagation constant of the evanescent wave at prism-air interface is given byKev=If a metal surface is now brought in contact of this decaying evanescent field in such a way that an air gap remains between the prism base and metal layer, then the evanescent field at prism-air interface can excite the surface pl asmons at the air-metal interface. However, this configuration is difficult to realize a great deal as the metal has to be brought within around 200 nm of the prism surface. This approach has been found to be very useful in studying single-crystal metal surfaces and adsorption on them.Kretschmann configurationAs a significant improvement to Otto configuration, Kretschmann and Reather realized that the metal layer could be used as the spacing layer, that is, evanescent wave generated at the prism-metal layer interface can excite surface plasmons at the metal-air interface so long as the metal layer thickness is not too large. They devised a new configuration. In this configuration as well, surface plasmons are worked up by an evanescent wave from a high refractive index glass prism at ATR condition. However, unlike Otto configuration, the base of the glass prism is coated with a thin metal film (typically around 50 nm thick) and is kept in direct contact with the dielectric medium of lower refractive index (such as air or some other dielectric sample).

Monday, April 1, 2019

Public Class Login Form in VB

Public Class Login Form in VB occult fighter Button2_Click(ByVal vector As System.Object, ByVal e As System.EventArgs) Handles okButton2.Click trymappDB.UserName = usernameTextBox.Text mappDB.Password = passwordTextBox.Text jaw mappDB.connect()MainForm.Show() hitchhike ex As elision beseech showError(ex.Message) residuum audition terminus wedge clannish fighter Button1_Click(ByVal vector As Object, ByVal e As System.EventArgs) Handles Button1.ClickIf MessageBox.Show(Do you truly want to quit instantly?, strApplicationName, MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.Yes indeed Application. will() wind up substitute undercover hero sandwich loginForm_Load(ByVal transmitter As Object, ByVal e As System.EventArgs) Handles Me.LoadMe.Text = strApplicationName LoginpasswordTextBox.Text = bowed stringed instrument.Emptytodo remove when effectusernameTextBox.Text = adminpasswordTextBox.Text = 7151epeN ratiocination milling machinery lefto ver ClassImports System.Data.OleDbImports System.ConfigurationPublic Class MainForm organise _gridFilter light-headed _sql As String swart _criteria As String black _orderBy As String mop up StructureDim gridFilter As spick-and-span _gridFilterDim cmdLocal As OleDbCommandDim blIsActiveLoan As BooleanDim bsGLSummary As current BindingSource occult milling machinery exitToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)If MessageBox.Show(Quit application now?, strApplicationName, MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.Yes Then Application. choke() set aside molar cloak-and-dagger substitute MainForm_Activated(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.ActivatedloginForm.Visible = bastard remove poor boy cloistered gun for hire MainForm_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing entreat mappDB.close() chitchat mappDB .dispose()mappDB = nothing ending crampfish mystical champion NewLoanToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NewLoanToolStripMenuItem.ClickborrowForm.ShowDialog() death interchangePrivate molar BorrowerToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BorrowerToolStripMenuItem.ClickborrowerForm.ShowDialog() kibosh grinderPrivate hit man MainForm_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.LoadMe.Text = strApplicationName for ConfigurationManager.AppSettings(client).ToStringdateLabel.Text = System.DateTime.Now.ToString(MMM dd yyyy)loginUserNameLabel.Text = mappDB.UserNameloginsinceLabel.Text = System.DateTime.Now.ToString(MMM dd yyyy hhmm tt)filtercriteriaComboBox. shootedIndex = 1With glSum constitutionalDataGridView.ReadOnly = straight.Rows.Add() .Rows.Add() .Rows.Add().Item(0, 0).Value = Total Cr.Item(0, 1).Value = Total Dr.Item(0, 2).Value = offset .Columns(0).Width = 550.Columns(1).Width = 150.Cursor = Cursors.Hand. involveionMode = DataGridViewSelectionMode.FullRowSelect closing curtain WithEnd SubPrivate Sub searchfilterButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles searchfilterButton.ClickMe.Cursor = Cursors.WaitCursorgridFilter._sql = SELECT pk_borrowerID,lastname as Last name,firstname as First Name FROM tblborrowergridFilter._orderBy = entrap BY lastnameSelect Case filtercriteriaComboBox.SelectedIndexCase 0 firstnamegridFilter._criteria = WHERE firstname alike(p) filtervalueTextBox.Text %Case 1 lastnamegridFilter._criteria = WHERE lastname like filtervalueTextBox.Text %Case 2 companygridFilter._criteria = WHERE company like filtervalueTextBox.Text %End SelectCall fillGrid(gridFilter._sql, gridFilter._criteria, gridFilter._orderBy, searchBrDataGridView, lawful)Me.Cursor = Cursors.DefaultEnd SubPrivate Sub refreshGLSumToolStripButton_Click(ByVal sender As System.Object, By Val e As System.EventArgs) Handles glsum_refreshToolStripButton.ClickMe.Cursor = Cursors.WaitCursorgridFilter._sql = SELECT fk_borrowerid,fullname as Borrower Name,sumofcr as Sum of Cr, sumofdr as Sum of Dr, rest period FROM qGLsummary If Not incZeroBalToolStripButton.Checked ThengridFilter._criteria = ElsegridFilter._criteria = WHERE counterweight 0 End IfgridFilter._orderBy = say BY Fullname Call fillGrid(gridFilter._sql, gridFilter._criteria, gridFilter._orderBy, glSumDataGridView, straightforward, bsGLSummary)glsumRowCountToolStripLabel.Text = of glSumDataGridView.Rows.Count 1Call firstToolStripButton_Click(sender, e)Call glsum_totals()Me.Cursor = Cursors.DefaultCall TotalOfGLSum()End SubPrivate Sub Label9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles drtotalal_glsumLabel.ClickEnd SubPrivate Sub viewGLSummaryToolStripButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles glsum_openToolStripButton.Click extendMe.Cu rsor = Cursors.WaitCursorCall TabControl1.SelectTab(1)gridFilter._sql = Select pk_mloanid , pk_loanref as Loan Ref,isactive as Active, Dated FROM tblloanmaster gridFilter._orderBy = modulate BY dated DESC gridFilter._criteria = WHERE fk_borrowerid= glSumDataGridView(0, glSumDataGridView.CurrentRow.Index).Value.ToStringCall fillGrid(gridFilter._sql, gridFilter._criteria, gridFilter._orderBy, brloanlistDataGridView, True)brloanlistDataGridView.Columns(2).Width = 40brloanlistDataGridView.Columns(3).Width = 40brloanlistDataGridView.Columns(3).DefaultCellStyle.Format = MMM dd yyyybrNameToolStripLabel.Text = glSumDataGridView(1, glSumDataGridView.CurrentRow.Index).Value.ToString full generalledgerDataGridView.DataSource = energy gull ex As ExceptionCall showError(ex.Message.ToString)FinallyMe.Cursor = Cursors.DefaultEnd find outEnd SubPrivate Sub borrowerDataGridView_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles s earchBrDataGridView.CellContentClickEnd SubPrivate Sub borrowerDataGridView_CellDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles searchBrDataGridView.CellDoubleClickgridFilter._sql = SELECT fk_borrowerid,fullname as Borrower Name,sumofcr as Sum of Cr, sumofdr as Sum of Dr, Balance FROM qGLsummary gridFilter._criteria = WHERE fk_borrowerid = searchBrDataGridView(0, searchBrDataGridView.CurrentRow.Index).Value.ToStringgridFilter._orderBy = ORDER BY Fullname Call fillGrid(gridFilter._sql, gridFilter._criteria, gridFilter._orderBy, glSumDataGridView, True)Call TotalOfGLSum()Call glsum_totals()End SubPrivate Sub borrowerloanDataGridView_CellDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles brloanlistDataGridView.CellContentDoubleClickEnd SubPrivate Sub generalledgersummaryDataGridView_CellDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventAr gs) Handles glSumDataGridView.CellDoubleClickCall viewGLSummaryToolStripButton1_Click(sender, e)End SubPrivate Sub upd_newToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles upd_newToolStripButton.ClickTryupd_datedDateTimePicker.Value = Nowupd_ToComboBox.SelectedIndex = 1upd_isactiveCheckBox.Checked = TrueCall combolist(SELECT pk_accntID,pk_code FROM tblaccount ORDER BY description, pk_accntid, pk_code, upd_AccntComboBox)Call upd_AccntComboBox_SelectionChangeCommitted(sender, e)upd_AmtNumericUpDown.Value = 0upd_next overduedateDateTimePicker.Value = DateAdd(DateInterval.Month, 1, CType(duedateTextBox.Text.ToString, Date))upd_ spatial relationComboBox.SelectedIndex = 0Call toggleOnUpdate() gravel ex As ExceptionCall showError(ex.ToString)End TryEnd SubPrivate Sub upd_editToolStripButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles upd_editToolStripButton.ClickTryDim a As Integer = brloanDetailsDataGridView.CurrentRow.IndexCa ll combolist(SELECT pk_accntID,pk_code FROM tblaccount ORDER BY description, pk_accntid, pk_code, upd_AccntComboBox)Call toggleOnUpdate()With brloanDetailsDataGridViewupd_recidLabel.Text = .Item(0, a).Value.ToStringupd_AccntComboBox.Text = .Item(1, a).Value.ToStringupd_datedDateTimePicker.Value = CType(.Item(2, a).Value, Date)If CType(.Item(3, a).Value, Double) 0 Then entry is Crupd_ToComboBox.Text = Crupd_AmtNumericUpDown.Value = CType(.Item(3, a).Value, Decimal)Elseupd_ToComboBox.Text = Drupd_AmtNumericUpDown.Value = CType(.Item(4, a).Value, Decimal)End Ifupd_nextduedateDateTimePicker.Value = CType(duedateTextBox.Text.ToString, Date)upd_isactiveCheckBox.Checked = isactiveCheckBox.CheckedEnd WithCatch ex As ExceptionIf Err.Number = 91 ThenCall showError(Please click entry in General book Details and click edit.)ElseCall showError(Err.Number ex.Message)End IfEnd TryEnd SubPrivate Sub upd_applyToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Han dles upd_applyToolStripButton.ClickIf Not IsNumeric(upd_recidLabel.Text) ThenMessageBox.Show(Please select entry from GL Details. Click OK to continue., strApplicationName, MessageBoxButtons.OK, MessageBoxIcon.Information) issue SubEnd IfIf upd_AmtNumericUpDown.Value = 0 ThenCall showError(Enter amount value.) go across SubEnd IfDim i As Integer, _PostAmountTo As String = String.EmptyIf MessageBox.Show(Are all entries correct?, strApplicationName, MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.Yes ThenTryIf upd_ToComboBox.Text.ToUpper = DR Then _PostAmountTo = dr Else _PostAmountTo = CrIf upd_recidLabel.Text = 0 ThencmdLocal = New OleDbCommand(INSERT INTO tblloandetails(fk_mloanid,fk_accntid,dated, _PostAmountTo ) VALUES(fk_mloanid,fk_accntid,dated,amt), mappDB.conn)ElsecmdLocal = New OleDbCommand(UPDATE tblloandetails SET emailprotected_mloanid,emailprotected_accntid,emailprotected, _PostAmountTo emailprotected WHERE pk_dloanid= upd_recidLabel.T ext.ToString, mappDB.conn)End IfWith cmdLocal.Parameters.Add(fk_mloanid, OleDbType.Integer, 0, fk_mloanid).Value = recIDLabel.Text.Add(fk_accntid, OleDbType.Integer, 0, fk_accntid).Value = upd_AccntComboBox.SelectedValue.Add(dated, OleDbType.Date, 0, dated).Value = upd_datedDateTimePicker.Value.ToString(MMM/dd/yyyy).Add(amt, OleDbType.Decimal, 0, _PostAmountTo).Value = upd_AmtNumericUpDown.ValueEnd Withi = cmdLocal.ExecuteNonQuerygridFilter._sql = SELECT pk_dloanid,pk_code as Particular,Dated,Cr,Dr FROM qloandetails gridFilter._criteria = WHERE fk_mloanid = brloanlistDataGridView(0, brloanlistDataGridView.CurrentRow.Index).Value.ToStringgridFilter._orderBy = ORDER BY dated,pk_dloanid Call fillGrid(gridFilter._sql, gridFilter._criteria, gridFilter._orderBy, brloanDetailsDataGridView, True)Call gldetails_totals()blIsActiveLoan = infatuatedFor i = 0 To brLoanDetailsSumDataGridView.Rows.Count 1If CType(brLoanDetailsSumDataGridView.Item(4, i).Value, Double) 0 ThenblIsActiveLoan = TrueExit ForEnd If coterminouscmdLocal = New OleDbCommand(UPDATE tblloanmaster SET emailprotected WHERE pk_mloanid= recIDLabel.Text.ToString, mappDB.conn)With cmdLocal.Parameters.Add(isactive, OleDbType.Boolean, 0, isactive).Value = blIsActiveLoanEnd WithcmdLocal.ExecuteNonQuery()brloanlistDataGridView.Item(2, brloanlistDataGridView.CurrentRow.Index).Value = blIsActiveLoanend status checkIf blIsActiveLoan And MessageBox.Show(Update due date?, strApplicationName, MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.Yes Thenupdate loan due datecmdLocal = New OleDbCommand(UPDATE tblloanmaster SET emailprotected WHERE pk_mloanid= recIDLabel.Text.ToString, mappDB.conn)With cmdLocal.Parameters.Add(duedate, OleDbType.Date, 0, duedate).Value = upd_nextduedateDateTimePicker.Value.ToString(MMM dd yyyy)End WithcmdLocal.ExecuteNonQuery()End IfCall toggleOnUpdate()MessageBox.Show(brNameToolStripLabel.Text.ToUpper general ledger update success. Click OK to continue., strApplicationName, MessageBoxButtons.OK, MessageBoxIcon.Information)Catch ex As ExceptionCall showError(ex.ToString)Finallyi = NothingcmdLocal = NothingmappDB.close()End TryEnd IfEnd SubPrivate Sub gldetails_totals()With brloanDetailsDataGridView.Columns(2).DefaultCellStyle.Format = MMM dd yyyy.Columns(3).Width = 80.Columns(3).DefaultCellStyle.Format = 0,0.00.Columns(3).DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight.Columns(4).Width = 80.Columns(4).DefaultCellStyle.Format = 0,0.00.Columns(4).DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRightEnd WithgridFilter._sql = SELECT fk_mloanid,pk_code as Particular, sumofcr as Cr, sumofDr as Dr,Balance FROM qloandetailssum gridFilter._criteria = WHERE fk_mloanid = brloanlistDataGridView(0, brloanlistDataGridView.CurrentRow.Index).Value.ToStringgridFilter._orderBy = Call fillGrid(gridFilter._sql, gridFilter._criteria, gridFilter._orderBy, brLoanDetailsSumDataGridView, True)With brLoanDetailsSumDa taGridView.Columns(2).DefaultCellStyle.Format = MMM dd yyyyFor i As Integer = 2 To 4.Columns(i).Width = 80.Columns(i).DefaultCellStyle.Format = 0,0.00.Columns(i).DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight contiguousEnd WithEnd SubPrivate Sub glsum_totals()Dim _totalCr As Double = 0Dim _totalDr As Double = 0TryFor i As Integer = 0 To glSumDataGridView.Rows.Count 1_totalCr += CType(glSumDataGridView.Item(2, i).Value, Double)_totalDr += CType(glSumDataGridView.Item(3, i).Value, Double)NextCatchEnd TryTryadd grid formattingWith glSumDataGridView.Columns(1).Width = 350.Columns(2).DefaultCellStyle.Format = 0,0.00.Columns(2).DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight.Columns(3).DefaultCellStyle.Format = 0,0.00.Columns(3).DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight.Columns(4).DefaultCellStyle.Format = 0,0.00.Columns(4).DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRightEnd WithWith glSumTotalD ataGridView.Item(1, 0).Value = FormatNumber(_totalCr, 2).Item(1, 1).Value = FormatNumber(_totalDr, 2).Item(1, 2).Value = FormatNumber(_totalCr _totalDr, 2).Columns(1).DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRightEnd WithCatch ex As ExceptionCall showError(ex.Message)End TryEnd SubPrivate Sub upd_calcToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles upd_calcToolStripButton.ClickTrySystem.Diagnostics.Process.Start(calc)Catch ex As ExceptionCall showError(ex.ToString)End TryEnd SubSub haltKeys(ByVal sender As Object, ByVal e As KeyPressEventArgs) Handles datedTextBox.KeyPress, duedateTextBox.KeyPress, _comakerTextBox.KeyPress, remarkTextBox.KeyPress, payableTextBox.KeyPress, monthlyintTextBox.KeyPress, monthlypenaltyTextBox.KeyPress, _principalTextBox.KeyPress, monthlyintTextBox.KeyPress, monthlypenaltyTextBox.KeyPresse.Handled = TrueEnd SubPrivate Sub export_glsumToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles glsum_exportToolStripButton.ClickIf (glSumDataGridView.Rows.Count 1) Dim h As Integer = 0, r As Integer = 4excelApp = New Excel.ApplicationexcelWB = excelApp.Workbooks.Open(Application.StartupPath templatesglsummary.xlt)excelWS = CType(excelWB.Sheets(1), Excel.Worksheet)With excelWSFor h = 0 To glSumDataGridView.Rows.Count 1r = h + 4 4 is the base row.Cells(r, 1) = h + 1 sn.Cells(r, 2) = glSumDataGridView.Item(1, h).Value.ToString.Cells(r, 3) = glSumDataGridView.Item(2, h).Value.ToString.Cells(r, 4) = glSumDataGridView.Item(3, h).Value.ToString.Cells(r, 5) = glSumDataGridView.Item(4, h).Value.ToStringNextbalance.Cells(6, ExcelColumns.colE) = =C r -D rr += 1.Cells(r, ExcelColumns.colC) = =SUM(C4C r 1 ) Cr total.Cells(r, ExcelColumns.colD) = =SUM(D4D r 1 ) Dr Total.Cells(r, ExcelColumns.colE) = =C r -D r Balance Total.Cells(r, ExcelColumns.colA) = Total.Range(A r B r).Merge().Range(A r).HorizontalAlignment = -4131End WithCall drawBord er(A4E r)excelApp.Visible = Trueclean up variablesh = NothingexcelWS = NothingexcelWB = NothingexcelApp = NothingEnd SubPrivate Sub gl_viewToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles gldetails_viewToolStripButton.ClickIf (brloanDetailsDataGridView.Rows.Count 1) Dim h As Integer = 0, r As Integer = 0Dim s As String = String.EmptyexcelApp = New Excel.ApplicationexcelWB = excelApp.Workbooks.Open(Application.StartupPath templatesgldetails.xlt)excelWS = CType(excelWB.Sheets(1), Excel.Worksheet)With excelWS.Cells(3, ExcelColumns.colC) = brNameToolStripLabel.Text.ToString.Cells(4, ExcelColumns.colC) = loanRefLabel.Text.ToString.Cells(5, ExcelColumns.colC) = datedTextBox.Text.ToString.Cells(3, ExcelColumns.colG) = principalTextBox.Text.ToString.Cells(4, ExcelColumns.colG) = monthlyintTextBox.Text.ToString.Cells(5, ExcelColumns.colG) = monthlypenaltyTextBox.Text.ToStringFor h = 0 To brloanDetailsDataGridView.Rows.Count 1r = h + 9 is the base row.Cells(r, ExcelColumns.colA) = h + 1 sn.Cells(r, ExcelColumns.colB) = brloanDetailsDataGridView.Item(1, h).Value.ToString.Cells(r, ExcelColumns.colD) = CType(brloanDetailsDataGridView.Item(2, h).Value.ToString, Date).ToString(MMM dd yyyy).Cells(r, ExcelColumns.colE) = brloanDetailsDataGridView.Item(3, h).Value.ToString cr.Cells(r, ExcelColumns.colF) = brloanDetailsDataGridView.Item(4, h).Value.ToString drbalance colIf r 10 Then .Cells(r, ExcelColumns.colG) = =G (r 1) +E r -F rNextr += 1balance.Cells(6, ExcelColumns.colG) = =E r -F r.Cells(r, ExcelColumns.colE) = =SUM(E8E r 1 ).Cells(r, ExcelColumns.colF) = =SUM(F8F r 1 ).Cells(r, ExcelColumns.colG) = =E r -F r.Cells(r, ExcelColumns.colA) = Total.Range(A r D r).Merge().Range(A r).HorizontalAlignment = -4131End WithCall drawBorder(A10G r)excelApp.Visible = Trueh = NothingexcelWS = NothingexcelWB = NothingexcelApp = NothingEnd SubPrivate Sub what_accntButton_Click(ByVal sender As System.Object, ByVal e As Sys tem.EventArgs) Handles what_accntButton.ClickTrycmdLocal = New OleDbCommand(SELECT description from tblaccount WHERE pk_accntID= upd_AccntComboBox.SelectedValue.ToString, mappDB.conn)Dim rd As OleDbDataReader = cmdLocal.ExecuteReaderrd.Read()If rd.HasRows Then MessageBox.Show(upd_AccntComboBox.Text = rd(0).ToString . Click OK to continue., strApplicationName, MessageBoxButtons.OK, MessageBoxIcon.Information)rd = NothingcmdLocal = NothingCatchEnd TryEnd SubPrivate Sub AccountToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AccountToolStripMenuItem.ClickrptAccountForm.ShowDialog()End SubSub toggleOnUpdate()brloanlistDataGridView.Enabled = Not brloanlistDataGridView.EnabledbrloanDetailsDataGridView.Enabled = Not brloanDetailsDataGridView.Enabledupd_newToolStripButton.Enabled = Not upd_newToolStripButton.Enabledupd_editToolStripButton.Enabled = Not upd_editToolStripButton.Enabledupd_applyToolStripButton.Enabled = Not upd_applyToolStripBut ton.Enabledupd_ partToolStripButton.Enabled = Not upd_cancelToolStripButton.EnabledEnd SubPrivate Sub upd_cancelToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles upd_cancelToolStripButton.ClickIf MessageBox.Show(Cancel update?, strApplicationName, MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.Yes Thenupd_recidLabel.Text = 0Call toggleOnUpdate()End IfEnd SubPrivate Sub borrowerloanDataGridView_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles brloanlistDataGridView.CellContentClickEnd SubPrivate Sub TabControl1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles TabControl1.ClickIf upd_applyToolStripButton.Enabled = True ThenMessageBox.Show(Please complete updating/cancel GL of brNameToolStripLabel.Text.ToUpper . Click OK to continue., strApplicationName, MessageBoxButtons.OK, MessageBoxIcon.Information)TabControl1.SelectedIndex = 1End IfEnd SubPrivate Sub DueDateToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DueDateToolStripMenuItem.ClickrptDueDateForm.ShowDialog()End SubPrivate Sub rptBorrowerToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rptBorrowerToolStripMenuItem.ClickMe.Cursor = Cursors.WaitCursorDim r As Integer = 4excelApp = New Excel.ApplicationexcelWB = excelApp.Workbooks.Open(Application.StartupPath templatesborrower.xlt)excelWS = CType(excelWB.Sheets(1), Excel.Worksheet)cmdLocal = New OleDbCommand(SELECT * from tblborrower ORDER BY lastname, mappDB.conn)Dim rd As OleDbDataReader = cmdLocal.ExecuteReaderWhile rd.ReadWith excelWS.Cells(r, ExcelColumns.colA) = r 3.Cells(r, ExcelColumns.colB) = rd(lastname).ToString.Cells(r, ExcelColumns.colC) = rd(firstname).ToString.Cells(r, ExcelColumns.colD) = rd(jobtitle).ToString rd(company).ToString.Cells(r, ExcelColumns.colE) = rd(contactnos).ToString.Cells(r, Ex celColumns.colF) = rd(address).ToStringr += 1End WithEnd WhileIf r 4 Then Call drawBorder(A5F r 1)excelApp.Visible = TruemappDB.close()rd = NothingcmdLocal = Nothingr = NothingexcelWS = NothingexcelWB = NothingexcelApp = NothingMe.Cursor = Cursors.DefaultEnd SubPrivate Sub AccountToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AccountToolStripMenuItem1.ClickaccountForm.ShowDialog()End SubPrivate Sub LogOffToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LogOffToolStripMenuItem.ClickMe.Visible = FalseloginForm.Show()End SubPrivate Sub borrowerloanDataGridView_CellEnter(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles brloanlistDataGridView.CellEnterDim rd As OleDbDataReaderrecIDLabel.Text = 0TrygridFilter._sql = SELECT pk_dloanid,pk_code as Particular,Dated,Cr,Dr FROM qloandetails gridFilter._criteria = WHERE fk_mloanid = brloanlistDataGridView(0, br loanlistDataGridView.CurrentRow.Index).Value.ToStringgridFilter._orderBy = ORDER BY dated,pk_dloanid Call fillGrid(gridFilter._sql, gridFilter._criteria, gridFilter._orderBy, brloanDetailsDataGridView, True)cmdLocal = New OleDbCommand(SELECT * FROM tblloanmaster WHERE pk_mloanid= brloanlistDataGridView(0, brloanlistDataGridView.CurrentRow.Index).Value.ToString, mappDB.conn)rd = cmdLocal.ExecuteReaderrd.Read()If rd.HasRows ThenrecIDLabel.Text = rd(pk_mloanid).ToStringloanRefLabel.Text = rd(pk_loanref).ToStringdatedTextBox.Text = CType(rd(dated).ToString, Date).ToString(MMM dd yyyy)duedateTextBox.Text = CType(rd(duedate).ToString, Date).ToString(MMM dd yyyy)comakerTextBox.Text = rd(comaker).ToStringremarkTextBox.Text = rd(remark).ToStringprincipalTextBox.Text = FormatNumber(rd(principal).ToString, 2).ToStringmonthlyintTextBox.Text = FormatNumber(rd(interest).ToString, 2).ToStringmonthlypenaltyTextBox.Text = FormatNumber(rd(penalty).ToString, 2).ToStringisactiveCheckBox.Checked = CTy pe(rd(isactive), Boolean)monthInterestNumericUpDown.Value = CType(rd(interest).ToString, Decimal)payableTextBox.Text = FormatNumber(CType(principalTextBox.Text, Double) * (CType(monthlyintTextBox.Text, Double) / 100), 2).ToStringmonthPenaltyNumericUpDown.Value = CType(rd(penalty).ToString, Decimal)End IfCall gldetails_totals()Catch ex As ExceptionCall showError(ex.Message)FinallymappDB.close()rd = NothingEnd TryEnd SubPrivate Sub quitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles quitToolStripMenuItem.ClickIf MessageBox.Show(Do you really want to quit now?, strApplicationName, MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.Yes Then Application.Exit()End SubPrivate Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.TicknowToolStripLabel.Text = System.DateTime.Now.ToString(MMM dd yyyy HHmmss tt)End SubPrivate Sub previousToolStripButton_Click(ByVal sender As System.Obje ct, ByVal e As System.EventArgs) Handles previousToolStripButton.ClickbsGLSummary.MovePrevious()End SubPrivate Sub generalledgersummaryDataGridView_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles glSumDataGridView.CellContentClickEnd SubPrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)brloanDetailsDataGridView.Rows(1).Selected = TrueEnd SubPrivate Sub BackupDatabaseToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BackupDatabaseToolStripMenuItem.ClickEnd SubPrivate Sub ToolStripLabel8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)End SubPrivate Sub upd_isactiveCheckBox_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles upd_isactiveCheckBox.CheckedChangedEnd SubPrivate Sub upd_isactiveCheckBox_CheckStateChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles upd_isactiveCheckBox .CheckStateChangedEnd SubPrivate Sub upd_isactiveCheckBox_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles upd_isactiveCheckBox.ClickIf upd_ToComboBox.Text.ToUpper = DR Thenupd_isactiveCheckBox.Checked = TrueGoTo closeEnd IfDim x As Double = 0For i As Integer = 0 To brLoanDetailsSumDataGridView.Rows.Count 1x += CType(brLoanDetailsSumDataGridView.Item(2, i).Value, Double)NextIf x upd_AmtNumericUpDown.Value 0 Thenupd_isactiveCheckBox.Checked = TrueGoTo closeEnd IfExit SubcloseMessageBox.Show(Zero balance loan cannot be close., strApplicationName, MessageBoxButtons.OK, MessageBoxIcon.Information)End SubPrivate Sub upd_AccntComboBox_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles upd_AccntComboBox.SelectedIndexChangedEnd SubPrivate Sub upd_AccntComboBox_SelectionChangeCommitted(ByVal sender As Object, ByVal e As System.EventArgs) Handles upd_AccntComboBox.SelectionChangeCommittedretrieve balance of selected accountFor i As In teger = 0 To brLoanDetailsSumDataGridView.Rows.Count 1If brLoanDetailsSumDataGridView.Item(1, i).Value.ToString = upd_AccntComboBox.Text.ToString Thenupd_AmtNumericUpDown.Value = CType(brLoanDetailsSumDataGridView.Item(4, i).Value, Decimal)Exit ForEnd IfNextEnd SubPrivate Sub generalledgersummaryDataGridView_CellEnter(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles glSumDataGridView.CellEnterTryselectedrowindexToolStripTextBox.Text = CStr(e.RowIndex + 1)CatchEnd TryEnd SubPrivate Sub filtervalueTextBox_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles filtervalueTextBox.KeyDownIf e.KeyCode = Keys.Enter Then Call searchfilterButton_Click(sender, e)End SubPrivate Sub nextToolStripButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles nextToolStripButton.ClickbsGLSummary.MoveNext()End SubPrivate Sub firstToolStripButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles fi rstToolStripButton.ClickbsGLSummary.MoveFirst()End SubPrivate Sub lastToolStripButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Han