Vcoderz Community
We create websites that have it all, beauty & brains
Lebanon Web Design & Development - Coddict
 

Go Back   Vcoderz Community > Computer Zone > Computers & Information Technologies

Notices

Computers & Information Technologies « Everything related to computers and internet. »

Reply
 
Share Thread Tools Search this Thread
Old 04-27-2007   #1
god
Registered Member
 
god's Avatar
 
Last Online: 02-14-2010
Join Date: Mar 2006
Posts: 846
Thanks: 71
Thanked 293 Times in 217 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default vb apps

post here some VB apps u made, with source code if possible..
i just wrote this one 10 minutes ago cz i was bored, its not that good bas worth checking out! helpful if you have some full text that you need to change a certain word inside and the word is very frequent, fast and easy.. bas not very specific, edit the source code if u wanna make it better..
comments and criticisms are appreciated..bas bear in mind eno i did it just for fun :P
oh and file exit doesnt work, fix it in the source if you want its just 2 words of code, bas im too lazy to fix it cz i already uploaded :P


[[source isnt up'ping, will up it later]]
Attached Files
File Type: zip exe file.zip (12.3 KB, 26 views)


__________________
--Capitalisation is the only difference between "I helped my uncle Jack off a horse" and "I helped my uncle jack off a horse" !!
http://img482.imageshack.us/img482/4889/hell7ta.jpg
god is offline   Reply With Quote
Old 04-27-2007   #2
SysTaMatIcS
Registered Member
 
SysTaMatIcS's Avatar
 
Last Online: 10-14-2022
Join Date: Dec 2006
Posts: 10,467
Thanks: 14,136
Thanked 4,244 Times in 2,547 Posts
Groans: 186
Groaned at 198 Times in 120 Posts
Default Re: vb apps

i didnt get it , wts it supposed to do?
__________________
problems of performance appraisal is that it sucks to memorize them
SysTaMatIcS is offline   Reply With Quote
Old 04-27-2007   #3
god
Registered Member
 
god's Avatar
 
Last Online: 02-14-2010
Join Date: Mar 2006
Posts: 846
Thanks: 71
Thanked 293 Times in 217 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: vb apps

lets say u wrote a biiig text talking about a person named "fady" , you want to change that person's name in ALL the text to "elie"
you just copy paste your text, put fady in the first textbox, and elie in the second, and it will change all the fady's to elie's , instead of manually changing them one by one which might take a lot of time
__________________
--Capitalisation is the only difference between "I helped my uncle Jack off a horse" and "I helped my uncle jack off a horse" !!
http://img482.imageshack.us/img482/4889/hell7ta.jpg
god is offline   Reply With Quote
Old 04-27-2007   #4
SysTaMatIcS
Registered Member
 
SysTaMatIcS's Avatar
 
Last Online: 10-14-2022
Join Date: Dec 2006
Posts: 10,467
Thanks: 14,136
Thanked 4,244 Times in 2,547 Posts
Groans: 186
Groaned at 198 Times in 120 Posts
Default Re: vb apps

walla hehe thts gd somehow ill try it , its usefull btw
it worked
jumblat is *** jumblat is ***
i replaced jumblat by jaejae and it worked
__________________
problems of performance appraisal is that it sucks to memorize them

Last edited by SysTaMatIcS; 04-27-2007 at 02:37 PM.
SysTaMatIcS is offline   Reply With Quote
Old 04-27-2007   #5
lebanese_a
Registered Member
 
lebanese_a's Avatar
 
Last Online: 04-15-2018
Join Date: Aug 2006
Posts: 1,549
Thanks: 31
Thanked 213 Times in 151 Posts
Groans: 0
Groaned at 1 Time in 1 Post
Default Re: vb apps

nice app!
bass the smart replace option only works if the string is in the middle of the world so I am guessing you did it uno replace only if the character before it is a space.

yalla waiting for the source
lebanese_a is offline   Reply With Quote
Old 04-27-2007   #6
SysTaMatIcS
Registered Member
 
SysTaMatIcS's Avatar
 
Last Online: 10-14-2022
Join Date: Dec 2006
Posts: 10,467
Thanks: 14,136
Thanked 4,244 Times in 2,547 Posts
Groans: 186
Groaned at 198 Times in 120 Posts
Default Re: vb apps

wts the source??????the calculations done?
__________________
problems of performance appraisal is that it sucks to memorize them
SysTaMatIcS is offline   Reply With Quote
Old 04-27-2007   #7
god
Registered Member
 
god's Avatar
 
Last Online: 02-14-2010
Join Date: Mar 2006
Posts: 846
Thanks: 71
Thanked 293 Times in 217 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: vb apps

el smart bel 3akes if its followed by a letter or abla fi letter deghre without a space, it wont be changed, i did it with spaces and some special characters (! w , w .) bas it could be done another way with ASCII identifiers bas eno i was just messin around, w systa. source = source code ya3ne the code of the program (its in vb 2005)
__________________
--Capitalisation is the only difference between "I helped my uncle Jack off a horse" and "I helped my uncle jack off a horse" !!
http://img482.imageshack.us/img482/4889/hell7ta.jpg
god is offline   Reply With Quote
Old 05-08-2007   #8
lebanese_a
Registered Member
 
lebanese_a's Avatar
 
Last Online: 04-15-2018
Join Date: Aug 2006
Posts: 1,549
Thanks: 31
Thanked 213 Times in 151 Posts
Groans: 0
Groaned at 1 Time in 1 Post
Default Re: vb apps

I just re-did ur app in a console w not using the same logic (i think - uno 7assab ma fhemet how u did ur logic) ma elleh jledeh a3mela upload so here's the code.
oh and it will only replace the word eza la 7ala w ma fi walla virgule walla point .... 7ada

Code:
Module Main
    Sub Main()
        Try
            Dim Stock As Queue = New Queue
            Do
                Dim Sentence As String
                Console.Write("Enter the original sentence : ")
                Sentence = Console.ReadLine
                If Sentence = Nothing Then Exit Do
                Dim OriginalWord As String
                Console.Write("Enter the word to change : ")
                OriginalWord = Console.ReadLine
                Dim Replacement As String
                Console.Write("Enter the word to change with : ")
                Replacement = Console.ReadLine
                Dim Words As Array
                Words = Sentence.Split(" ")
                Dim Word As String
                For Each Word In Words
                    If Word = OriginalWord Then Word = Replacement
                    Stock.Enqueue(Word)
                Next
                Do Until Stock.Count = 0
                    Console.Write(Stock.Dequeue & " ")
                Loop
                Console.WriteLine()
                Console.WriteLine()
            Loop
        Catch ex As Exception
            Console.WriteLine(ex.Message)
        End Try
        Console.WriteLine()
        Console.Write("Press ENTER to continue")
        Console.ReadLine()
    End Sub
End Module
oh and how do you paste something in a variable??

massalane I wanted to tell the user write /CP/ to paste the clipboard bass ma l2it kif fiyeh 7at l clipboard bil variable "Sentence"
lebanese_a is offline   Reply With Quote
Reply

  Vcoderz Community > Computer Zone > Computers & Information Technologies

Tags
apps



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:20 PM.


Lebanon web design and development
Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Share