![]() |
||
|
|
Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis. |
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).
|
![]() |
|
Thread Tools |
VB code problem (listbox)
Spoiler:
I'll probably just hand it in like this. How ya doing, buddy? |
I'm making an exam generator with VB6 and I add items to several combos using SQL sentences. I hope you find it useful:
Private Function LoadComboData(tipo As Integer) As Integer If tipo = 1 Then SQL = "SELECT categoria.* FROM categoria ORDER BY categoria.ID" Set Consulta = DataBase.OpenRecordset(SQL, dbOpenDynaset) If Consulta.BOF And Consulta.EOF Then LoadComboData = 1 End if End Function There's nowhere I can't reach. |
Somewhat, but I just wanted to get this fixed somehow or just hand the thing in. Its a VB class for no prior experience so while I sorta understand that, I sorta dont as well. You probably know what I mean. For the most part, we copied most of this out of the book we use just to get an understanding of the process, but for some reason there is still an error here, even though thats what they have in the book. hehe.
This thing is sticky, and I don't like it. I don't appreciate it. |
You might notice that on that line the braces don't match. Durh.
I am a dolphin, do you want me on your body? |
Unbelievable, I looked through that line so much. Stupid teacher couldnt even see it either. Man I even took java for two semesters. LoL. Closed.
What kind of toxic man-thing is happening now? |