Showing results 1 to 24 of 24
Search took 0.01 seconds.
Posts Made By: jem00
Forum: Visual Basic 4 / 5 / 6 Sep 12th, 2008
Replies: 3
Views: 378
Posted By jem00
Re: Return Parameter passing?

Thanks,

So simple i can't believe i didn't realise it. Thanks for your help.
Forum: Visual Basic 4 / 5 / 6 Sep 11th, 2008
Replies: 3
Views: 378
Posted By jem00
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
Posted By jem00
Re: Array parameter passing

Hey thanks for your help. I figured it out.I just changed the the Public Sub to Sub and it worked
Forum: Visual Basic 4 / 5 / 6 Sep 11th, 2008
Replies: 3
Views: 527
Posted By jem00
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
Posted By jem00
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
Posted By jem00
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
Posted By jem00
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
Posted By jem00
Re: Scroll bar value trouble

Thanks you guys solved my problem.
Forum: Visual Basic 4 / 5 / 6 Jun 9th, 2008
Replies: 3
Views: 463
Posted By jem00
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
Posted By jem00
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
Posted By jem00
Re: From Psuedo code to Visual Basic

Don't worry i did some googling and found it out thanks for your help.
Forum: Visual Basic 4 / 5 / 6 Mar 21st, 2008
Replies: 5
Views: 650
Posted By jem00
Re: From Psuedo code to Visual Basic

Hey guys thanks for your help so far but how do i accomodate the input

Thanks.
Forum: Visual Basic 4 / 5 / 6 Mar 19th, 2008
Replies: 5
Views: 650
Posted By jem00
Question 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
Posted By jem00
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
Posted By jem00
Help 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
Posted By jem00
Re: %A in time.strftime(%A)

Hey thanks for the reply
where exactly did you get the documentation from?
Forum: Python Dec 19th, 2007
Replies: 3
Views: 986
Posted By jem00
Help %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
Posted By jem00
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
Posted By jem00
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
Posted By jem00
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
Posted By jem00
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
Posted By jem00
Question 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
Posted By jem00
Re: For Loop

Ok thanks alot I understand now.
thanks again.
Forum: Python Dec 17th, 2007
Replies: 2
Views: 629
Posted By jem00
Question 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)
Showing results 1 to 24 of 24

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 8:11 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC