No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
13 Posted Topics
How do I print a particular label or textbox in visual basic? By printing, I am referring to the actual hardcopy that comes out of a printer...haha Thanks for your help. Jem00 | |
Hey guys, How would I go about sorting an Array of Strings, using either a selection sort or a insertion sort? I have written an insertion sort, but i only works for integers. How can i modify it to work with strings. [CODE]Public Sub InsertionSort(ByVal numitems As Integer) Dim currentitem, … | |
[CODE]Call CheckLetter(char, letter)[/CODE] What I am trying to do above is send the string char to the procedure CheckLetter, and from CheckLetter I am trying to retrieve letter. How do I do this? All the code from my project. [CODE]Dim Alphabet(0 To 25) As String Dim codeword, wordtoencrypt As String … | |
Hey guys, I'm trying to send an array as a parameter and it is not working.... I have set it to passed by reference in my sub. Visual Basic says: "Compile error: Type mismatch: array or user-defined type expected" How may i solve this problem? Yours words of wisdom are … | |
Re: Take a look at [URL="http://www.profsr.com/vb/vbless05.htm"]this link[/URL]. You will have to scroll down a bit, the website has information on listboxes at the beginning. | |
Hey guys, I need to find out the length of wav files so as to set a timer. How do I find the length of a wav file? Thanks, jem00 | |
Hi guys, I'm pretty new to VB and am having a little bit of trouble with scroll bars. I have a text box and I want the user to input a value in there but I also want them to increase the value through a scroll bar or decrease the … | |
Hey Guys, I have started using Visual basic 6.0 but i'm running into a few troubles. How can i write this psuedo code into visual basic: [CODE] BEGIN even and odd numbers PUT "Enter a number : " GET num even = 0 odd = 0 WHILE num <> -1 … | |
hey again, I wrote this code.. very quickly and messily. I would like to 'clean' it up.. that is put some functions in it. [CODE]def numWords(aString): lst = aString.split() noword = 0 for word in lst: noword = noword + 1 return noword def save inp = raw_input("Please enter some … | |
Hey guys, I just wanted to know if anyone recommends an IDE because I am using IDLE and its not really shining.. to me. Thanks. | |
Hey guys, I'm following a tutorial on Python and I came across this in one of the examples. [CODE]import time today = time.localtime(time.time()) theDate = time.strftime("%A %B %d", today) print today print theDate [/CODE] Result:[CODE](2007, 12, 20, 9, 48, 15, 3, 354, 1) Thursday December 20[/CODE] can someone explain to … | |
is it possible to create a looping list? [code]import time # a day value of None = > def dayOfWeek(DayNum = None): # match day order to Python return values days = ['Monday','Tuesday', 'Wednesday','Thursday', 'Friday','Saturday','Sunday'] theTime = time.localtime(time.time()) # Check for default value if DayNum == None: Day = theTime[6] … | |
Hey guys, I don't understand the for loop. Could someone explain it to me? for example [code] >>> # Measure some strings: ... a = ['cat', 'window', 'defenestrate'] >>> for x in a: ... print x, len(x) ... cat 3 window 6 defenestrate 12 [/code] what is x? how does … |
The End.