Search Results

Showing results 1 to 29 of 29
Search took 0.01 seconds.
Search: Posts Made By: jem00
Forum: Visual Basic 4 / 5 / 6 Jul 4th, 2009
Replies: 3
Views: 322
Posted By jem00
haha so easy, yet soo sought after.

Thanks.

One more question, if there are multiple printers avaliable how can I select which one to print from?
Forum: Visual Basic 4 / 5 / 6 Jul 3rd, 2009
Replies: 3
Views: 322
Posted By jem00
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
Forum: Visual Basic 4 / 5 / 6 Jun 22nd, 2009
Replies: 3
Views: 500
Posted By jem00
I figured it out.
I just used the same algorithm but converted the data types.
Geez i'm stupid.
Sorry guys.

Hopefully someone else might find this thread useful.
Thanks for your help
Forum: Visual Basic 4 / 5 / 6 Jun 22nd, 2009
Replies: 3
Views: 500
Posted By jem00
Thanks,
but I need to be able to do it with an insertion or selection sort.

Could you guide me as to what i should do?
Forum: Visual Basic 4 / 5 / 6 Jun 22nd, 2009
Replies: 3
Views: 500
Posted By 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...
Forum: Visual Basic 4 / 5 / 6 Sep 12th, 2008
Replies: 3
Views: 1,069
Posted By jem00
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: 1,069
Posted By jem00
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...
Forum: Visual Basic 4 / 5 / 6 Sep 11th, 2008
Replies: 3
Views: 1,766
Posted By jem00
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: 1,766
Posted By jem00
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: 1,766
Posted By jem00
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: 1,102
Posted By jem00
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: 519
Posted By jem00
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: 1,610
Posted By jem00
Thanks you guys solved my problem.
Forum: Visual Basic 4 / 5 / 6 Jun 9th, 2008
Replies: 3
Views: 1,102
Posted By jem00
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: 1,610
Posted By 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...
Forum: Visual Basic 4 / 5 / 6 Mar 22nd, 2008
Replies: 5
Views: 1,121
Posted By jem00
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: 1,121
Posted By jem00
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: 1,121
Posted By jem00
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: 1,033
Posted By jem00
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: 1,033
Posted By jem00
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
...
Forum: Python Dec 19th, 2007
Replies: 3
Views: 2,060
Posted By jem00
Hey thanks for the reply
where exactly did you get the documentation from?
Forum: Python Dec 19th, 2007
Replies: 3
Views: 2,060
Posted By jem00
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: 961
Posted By jem00
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: 961
Posted By jem00
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
Solved: Looping List?
Views: 969
Posted By jem00
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
Solved: Looping List?
Views: 969
Posted By jem00
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
Solved: Looping List?
Views: 969
Posted By jem00
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
Solved: For Loop
Views: 1,045
Posted By jem00
Ok thanks alot I understand now.
thanks again.
Forum: Python Dec 17th, 2007
Replies: 2
Solved: For Loop
Views: 1,045
Posted By jem00
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...
Showing results 1 to 29 of 29

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC