Forum: Visual Basic 4 / 5 / 6 Sep 12th, 2008 |
| Replies: 3 Views: 378 |
Forum: Visual Basic 4 / 5 / 6 Sep 11th, 2008 |
| Replies: 3 Views: 378 Return Parameter passing? Call CheckLetter(char, letter)
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... |
Forum: Visual Basic 4 / 5 / 6 Sep 11th, 2008 |
| Replies: 3 Views: 527 |
Forum: Visual Basic 4 / 5 / 6 Sep 11th, 2008 |
| Replies: 3 Views: 527 Re: Array parameter passing Dim index, length, Shift(0 To 30), loopcount As Integer
Dim codeword, wordtoencrypt As String
Private Sub cmdEncrypt_Click()
codeword = LCase(txtCodeword.Text)
wordtoencrypt =... |
Forum: Visual Basic 4 / 5 / 6 Sep 11th, 2008 |
| Replies: 3 Views: 527 Array parameter passing 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... |
Forum: Visual Basic 4 / 5 / 6 Jun 9th, 2008 |
| Replies: 3 Views: 463 Re: Length of WAV file Thanks I found that guide before but I couldn't understand it that is why I came to daniweb forums. Could you explain it to me? I haven't really used API or MCI functions before so I don't really... |
Forum: Visual Basic 4 / 5 / 6 Jun 9th, 2008 |
| Replies: 2 Views: 308 Re: Navigate around directories Take a look at this link (http://www.profsr.com/vb/vbless05.htm). You will have to scroll down a bit, the website has information on listboxes at the beginning. |
Forum: Visual Basic 4 / 5 / 6 Jun 9th, 2008 |
| Replies: 3 Views: 783 |
Forum: Visual Basic 4 / 5 / 6 Jun 9th, 2008 |
| Replies: 3 Views: 463 Length of WAV file 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 |
Forum: Visual Basic 4 / 5 / 6 Jun 6th, 2008 |
| Replies: 3 Views: 783 Scroll bar value trouble 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... |
Forum: Visual Basic 4 / 5 / 6 Mar 22nd, 2008 |
| Replies: 5 Views: 650 |
Forum: Visual Basic 4 / 5 / 6 Mar 21st, 2008 |
| Replies: 5 Views: 650 |
Forum: Visual Basic 4 / 5 / 6 Mar 19th, 2008 |
| Replies: 5 Views: 650 From Psuedo code to Visual Basic 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:
BEGIN even and odd numbers
PUT "Enter a number : "
... |
Forum: Python Dec 20th, 2007 |
| Replies: 4 Views: 537 Re: Cleaning up code hey thanks for the reply,
I was wondering if my code was too mesy with the branched if statements
How may I amend this?
Jem |
Forum: Python Dec 20th, 2007 |
| Replies: 4 Views: 537 Cleaning up code hey again,
I wrote this code.. very quickly and messily.
I would like to 'clean' it up.. that is put some functions in it.
def numWords(aString):
lst = aString.split()
noword = 0
for... |
Forum: Python Dec 19th, 2007 |
| Replies: 3 Views: 986 |
Forum: Python Dec 19th, 2007 |
| Replies: 3 Views: 986 %A in time.strftime(%A) Hey guys,
I'm following a tutorial on Python and I came across this in one of the examples.
import time
today = time.localtime(time.time())
theDate = time.strftime("%A %B %d", today)
print... |
Forum: Python Dec 18th, 2007 |
| Replies: 2 Views: 474 Re: Good IDE Hey guys don't worry i just took some initiative and looked on the starting python thread |
Forum: Python Dec 18th, 2007 |
| Replies: 2 Views: 474 Good IDE 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. |
Forum: Python Dec 18th, 2007 |
| Replies: 3 Views: 509 Re: Looping List? Don't worry i figured everything out.
Thanks alot.
I'll be back soon with more questions :)
Bye for now |
Forum: Python Dec 18th, 2007 |
| Replies: 3 Views: 509 Re: Looping List? So does the code you have written works as efective as mine? Do I have to put the if loop? |
Forum: Python Dec 18th, 2007 |
| Replies: 3 Views: 509 Looping List? is it possible to create a looping list?
import time
# a day value of None = >
def dayOfWeek(DayNum = None):
# match day order to Python return values
days = ['Monday','Tuesday',
... |
Forum: Python Dec 18th, 2007 |
| Replies: 2 Views: 629 |
Forum: Python Dec 17th, 2007 |
| Replies: 2 Views: 629 For Loop Hey guys,
I don't understand the for loop. Could someone explain it to me?
for example
>>> # Measure some strings:
... a = ['cat', 'window', 'defenestrate']
>>> for x in a:
... print x, len(x) |