need a code that will check for the newest picture and display it
so i need label1.caption to equal the newest picture that is added into the folder that is holding the images without having to click on it.
label1.Caption = file1.Path & "\" & file1.filename
Form1.Image1.Picture =...
ok so how do i use this statement, i tried it after i read your post i just wanted to see if i could get it to work. but i ccouldnt lol. but i think i ran across a post a while back saying that you could run two loops at once but i couldnt find it again. oh well. Im usiong this in my qbim...
is there any way you can run two loops at once that are not inside each other??? i want one loop to open a file and print a line and the other loop ti input and save a message.
how do i do that
.... srry im new with some of this stuff..
ok well now i would like to make the send recieve to where i can send as many times as i want, and recieve at the same time.
so is there a way i can make qbasic run two loops at the same time???? any help is apreciated...
I just went in and removed the score sub, and all the score calcualation and it works fine.
Try it out
DECLARE SUB heart ()
DECLARE SUB diamond ()
DECLARE SUB club ()
DECLARE SUB spade ()
DECLARE SUB display ()
DIM deck(52)
FOR card = 1 TO 52
deck(card) = card
NEXT card
reshuffle...
ok ive tried thew on error statement and i think im using it wrong, i dont know.
REM **************** reply/// send message *********************
DO
INPUT "Reply"; t2$
OPEN name$ + ".txt" FOR OUTPUT AS #1
WRITE #1, name$
WRITE #1, pass$
WRITE...
After so far into the messenger it stops and says input past end of file... But there is something in that part of the file. IS there a way i can fix that??? or just make it skip the problem and keep running.?.?...
yes i know about the loop this is what i had. It tells the people if they are on or off.
PRINT
READ on$
DO
OPEN on$ + ".txt" FOR INPUT AS #1
INPUT #1, name$
INPUT #1, no$
INPUT #1, no$...
Thanks, also do you know how i can check in the new user section to see if the name is already been taken. I can just go in and re creat the users account and every thing.
Ok so ive made this q basic instant messenger for my school, hah im only a junior, lol. and if you copy it and paste it onto a word pad and save it as a .bas file you can run it. its pretty simple but after a few messages have been sent, it stops the program and says cannot execute or something...
im sure this has been asked but what if i wasnt my program to end by having the user hitting esc. if you could answer that would be great. or if you can give me the link to the specific page, that would help to.
i got bored and there arent very many threads posted so try this out
SCREEN 12
COLOR 2
RANDOMIZE 509
WIDTH , 60
DO
x = RND
x = INT(x * 79) + 1
y = RND
y = INT(y * 60) + 1
bit = RND
bit = INT(bit * 3)
IF bit = 0 THEN bit$ = "0"
IF bit = 1 THEN bit$ = "1"
IF bit = 2 THEN bit$ = " "
LOCATE y...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.