Search Results

Showing results 1 to 28 of 28
Search took 0.01 seconds.
Search: Posts Made By: plusplus ; Forum: Visual Basic 4 / 5 / 6 and child forums
Forum: Visual Basic 4 / 5 / 6 Oct 30th, 2007
Replies: 5
Views: 2,681
Posted By plusplus
when you call the form add vbmodal

frmmsg.show vbmodal
Forum: Visual Basic 4 / 5 / 6 Oct 9th, 2007
Replies: 6
Views: 8,123
Posted By plusplus
Do you let them try a second time with the original number and when they get it right the second time you still take off for that? Before you have a formula you have to have the exact rules....
Forum: Visual Basic 4 / 5 / 6 Oct 8th, 2007
Replies: 19
Views: 3,835
Posted By plusplus
I'm happy I was able to help. You see, I just started working in vb(and programming in general) about half a year ago and my first project was a calender, all your questions sound familiar, I also...
Forum: Visual Basic 4 / 5 / 6 Oct 8th, 2007
Replies: 19
Views: 3,835
Posted By plusplus
why don't you try the select statement I wrote before, you have to use format$ in your select statement to compare dates
I tried it in your program you sent and it works, here it is again
"SELECT...
Forum: Visual Basic 4 / 5 / 6 Oct 8th, 2007
Replies: 19
Views: 3,835
Posted By plusplus
maybe you don't have to change
.recordset.field
to just
.recordset
I just do it that way

Anyway, where in your code do you fill your datagrid?
Forum: Visual Basic 4 / 5 / 6 Oct 8th, 2007
Replies: 19
Views: 3,835
Posted By plusplus
I think there are a few problems with your code. Start with this, to compare dates you should use format$
"SELECT time_id FROM TF WHERE fac_id = " & fac_type & " AND reserv_date = " &...
Forum: Visual Basic 4 / 5 / 6 Oct 7th, 2007
Replies: 19
Views: 3,835
Posted By plusplus
what's
.recordset.requery*
for?

maybe what you need is the following
with adodc2
.recordsource =(your select statement)
.refresh
end with
Forum: Visual Basic 4 / 5 / 6 Oct 7th, 2007
Replies: 19
Views: 3,835
Posted By plusplus
of course adodc can hold more than one row of criteria
do you have
adodc1.refresh
after
adodc1.recordsource
????
Forum: Visual Basic 4 / 5 / 6 Sep 25th, 2007
Replies: 8
Views: 5,418
Posted By plusplus
Select Case weekday(booking_date)'the function weekday gives you a number 1 sunday, 2 monday etc
Case 1,7
'if it's sunday or saturday
Case else
'if it's any other day
End Select
Forum: Visual Basic 4 / 5 / 6 Sep 24th, 2007
Replies: 8
Views: 5,418
Posted By plusplus
calendar.value
gives you the value of the date clicked
so in the click event of calendar do
adodc1.recordset("datepicked") = calendar.value
That's all
Like I mentioned before, there is also...
Forum: Visual Basic 4 / 5 / 6 Sep 24th, 2007
Replies: 8
Views: 5,418
Posted By plusplus
There is also something called monthview, maybe that's what you need?
Forum: Visual Basic 4 / 5 / 6 Sep 24th, 2007
Replies: 8
Views: 5,418
Posted By plusplus
what exactly are you trying to do? Do you mean that the following doesn't work?
adodc1.recordset("datepicked") = calendar1.value
Forum: Visual Basic 4 / 5 / 6 Sep 24th, 2007
Replies: 9
Views: 3,098
Posted By plusplus
If you got your answer then mark the thread solved
Forum: Visual Basic 4 / 5 / 6 Sep 21st, 2007
Replies: 9
Views: 3,098
Posted By plusplus
Did you get your answer or do you still need help
Forum: Visual Basic 4 / 5 / 6 Sep 21st, 2007
Replies: 9
Views: 3,098
Posted By plusplus
First of all, why do you have
unload me
in the middle of your sub? The program won't do the lines after that.
And now to your question, when you just added a record, then your recordset is...
Forum: Visual Basic 4 / 5 / 6 Sep 16th, 2007
Replies: 17
Views: 1,628
Posted By plusplus
create two tables in access
1 tblbrand
2 tblmodel
tblbrand has one column called brandname with all the brandnames
tblmodel has two columns called brandname and model
enter all the models in...
Forum: Visual Basic 4 / 5 / 6 Aug 30th, 2007
Replies: 4
Views: 822
Posted By plusplus
Sorry, I didn't look at your whole code before. There are some other problems

When you put a time into a label or text don't use format.
When you want to convert a string(label or text) into...
Forum: Visual Basic 4 / 5 / 6 Aug 30th, 2007
Replies: 4
Views: 822
Posted By plusplus
startime = now
starttime is a date and time

lblend.caption - starttime
you are trying to subtract a date from a time

to get the time of now use time instead of now
starttime = time

what...
Forum: Visual Basic 4 / 5 / 6 Aug 22nd, 2007
Replies: 15
Views: 5,448
Posted By plusplus
After
.delete
try to put
.update
Forum: Visual Basic 4 / 5 / 6 Aug 22nd, 2007
Replies: 15
Views: 5,448
Posted By plusplus
Maybe somehow when you show the report, it's not updated yet, maybe it gets only updated after you click the ok(or whatever). If you send your code, someone might be able to catch your problem.
Forum: Visual Basic 4 / 5 / 6 Aug 21st, 2007
Replies: 18
Views: 2,462
Posted By plusplus
I'll try to help you, if you elaborate more. I'm not clear about what you're asking
Forum: Visual Basic 4 / 5 / 6 Aug 20th, 2007
Replies: 2
Views: 3,668
Posted By plusplus
Where is your M.qBW.movenext? It seems you have forgotten to move on and it's always processing the first record again.
Forum: Visual Basic 4 / 5 / 6 Aug 20th, 2007
Replies: 7
Solved: minimize
Views: 1,066
Posted By plusplus
I started a similar thread 17 days ago it's called
minimize form
maybe the answers I got will help you
Forum: Visual Basic 4 / 5 / 6 Aug 20th, 2007
Replies: 2
Views: 939
Posted By plusplus
in load event of frmoptions have
commandbuttonname.caption = Form1.multip
Forum: Visual Basic 4 / 5 / 6 Aug 19th, 2007
Replies: 2
Views: 934
Posted By plusplus
Not sure understood your question, do you want to for ex subtract the number entered in label2 from label1 ? If so do the following
If IsNumeric(Me.Label1.Caption) Then
if...
Forum: Visual Basic 4 / 5 / 6 Aug 17th, 2007
Replies: 5
Solved: arrays in vb6
Views: 2,170
Posted By plusplus
dim myarray() as boolean
Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2007
Replies: 3
Views: 3,352
Posted By plusplus
form2.creditbox = form1.creditbox
Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2007
Replies: 3
Views: 1,007
Posted By plusplus
After it's changed to 1, it goes on to the next if statement(if = 1), Since now it is =1 it does that if statement and continues to the next etc.
Try

Select Case Me.Tl.Caption
Case ""...
Showing results 1 to 28 of 28

 


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

©2003 - 2009 DaniWeb® LLC