^ agree. nabobobo ako sa syntax ng VB. parang english na hindi maintindihan.
Ok naman ang vb ah..
first kong natutunan ung VB pero nakalimutan ko na kahit mga 1 year ago plang
may autocomplete syntax naman ang vb.net kaya ok lang yan
Encoded all lower case characters using the key 'cormant'. Upper case and other characters are unchanged. Each character is encoded by the corresponding character in the key. e.g. the first letter is encoded by 'c', the second by 'o'. The key letter will increment the character by the zero-indexed letter of the key in the alphabet. E.g. 'c' will add 2 to the letter ‘o’ resulting in ‘q’ If the resulting character exceeds 'z', it will be wrapped back to 'a'. E.g. 'y' encoded by 'd' will result in 'b' Only lower case characters will result in a letter from the key being used The key will recycle when all letters have been usedCode: [Select]Cqagmnl tpr Jfn Ovrkxwvi At Cbkooef, sbyvkrde qxxscapzxph ze mhvj afde gacb agsg itcxdazfkbx. Ogr rfrvreif bu ce oozbpu lb wvmj scqgngv gfxugbqbj fo fhhhnmrr itcsxezl. Wg jrxur vtsrfiibvm rzd gxca zztrkcqkuoal qjvd rvzkr rzd exuhiucgbxs gdopxugve, aaw kh jtojl kb fgr fhhhnmrr pjwtt if wgdcayrw kb darr mjoe 30 oohgvfzqs nkqiep tux ycixd. Wr tts caoxbpu war rqesgfibgcz gqoceg hf vovg qii fenf......
Cqagmnl tpr Jfn Ovrkxwvi At Cbkooef, sbyvkrde qxxscapzxph ze mhvj afde gacb agsg itcxdazfkbx. Ogr rfrvreif bu ce oozbpu lb wvmj scqgngv gfxugbqbj fo fhhhnmrr itcsxezl. Wg jrxur vtsrfiibvm rzd gxca zztrkcqkuoal qjvd rvzkr rzd exuhiucgbxs gdopxugve, aaw kh jtojl kb fgr fhhhnmrr pjwtt if wgdcayrw kb darr mjoe 30 oohgvfzqs nkqiep tux ycixd. Wr tts caoxbpu war rqesgfibgcz gqoceg hf vovg qii fenf......
KEY = "cormant"f = open("cormat_js.txt")raw = f.read()decoded = ""i = 0for ch in raw: if ch.islower(): decrement = ord(KEY[i]) - ord('a') ord_ch = ord(ch) - decrement if ord_ch < ord('a'): ord_ch = ord('z') - ord('a') + ord_ch + 1 decoded += chr(ord_ch) i = (i+1)%len(KEY) else: decoded += chprint decodedf.close()
OK lang yung VB6 sa win7 sir. Gumagamit din ako ng vb6 sa win7 ko. Ayosin mo lang yung compatibility mode, set mo to XP.
epal-mode Code: [Select]KEY = "cormant"f = open("cormat_js.txt")raw = f.read()decoded = ""i = 0for ch in raw: if ch.islower(): decrement = ord(KEY[i]) - ord('a') ord_ch = ord(ch) - decrement if ord_ch < ord('a'): ord_ch = ord('z') - ord('a') + ord_ch + 1 decoded += chr(ord_ch) i = (i+1)%len(KEY) else: decoded += chprint decodedf.close()hehe ___________________________________________wala pa ring bago sa jobstreet...
void Button1Click(object sender, EventArgs e) { char[] cCharTable = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'}; char[] cKeyText = textKeyText.Text.ToCharArray(); char[] cEncodedText = richTextBox1.Text.ToCharArray(); char[] cDecodedText = cEncodedText; int iKeyIndex = 0; for (int iEncodeIndex=0; iEncodeIndex<cEncodedText.Length; iEncodeIndex++) { // check if lower-case alphabet if (cEncodedText[iEncodeIndex]>cCharTable[0]-1 && cEncodedText[iEncodeIndex]<cCharTable[cCharTable.Length-1]+1) { //yes -- perform decoding... //get zero-indexed position of key and character int iKeyPosition = (int)(cKeyText[iKeyIndex] % cCharTable[0]); int iTextPosition = (int)(cEncodedText[iEncodeIndex] % cCharTable[0]); //get decoded character cDecodedText[iEncodeIndex] = cCharTable[(cCharTable.Length + (iTextPosition - iKeyPosition)) % cCharTable.Length]; //get next key position iKeyIndex = (iKeyIndex+1) % cKeyText.Length; } } richTextBox2.Text = new string(cDecodedText); }
Company and Job Overview At Cormant, software development is much more than just programming. Our emphasis is on coming up with elegant solutions to software problems. We value creativity and team interactions over rigid and restrictive processes, and it shows in our software which is deployed in more than 30 countries around the world. We are looking for exceptional people to join our team. All our software is written using Object Oriented Programming, making heavy use of Domain Models and GoF Design Pattern principles. If you understand Composition and Inheritance, Open-Closed principle, Chain of Responsibility, Command and Observer patterns, then this job is for you. If you’re used to stored procs, DAL layers, classes with names like ‘ProcessInvoice’, methods with lots of parameters and heavily indented IF statements, better read these links first: http://www.codeproject.com/KB/architecture/OOP_Concepts_and_manymore.aspxhttp://www.dofactory.com/Patterns/Patterns.aspx Qualifications We are currently in need of SMART, CREATIVE AND PROFESSIONAL PROGRAMMERS who are passionate about programming and want to grow with our company.We are looking for: ....blah....blah.....blah....