Forum: Visual Basic 4 / 5 / 6 22 Hours Ago |
| Replies: 3 Views: 93 Yes, it sounds like an adforwardonly flag was set since you did not set them when you opened the rs.
Good Luck |
Forum: Visual Basic 4 / 5 / 6 1 Day Ago |
| Replies: 4 Views: 103 While, I would suggest using a menu with a key combination shortcut, the suggestion by SCBWV does work...
Start a new standard exe project and add in this order, text box (text1), label (label1),... |
Forum: Visual Basic 4 / 5 / 6 1 Day Ago |
| Replies: 2 Views: 143 Well there was a thread around here somewhere (at least I thought) that had a bunch of different ideas but since I cannot find it here, I found another here... |
Forum: Visual Basic 4 / 5 / 6 1 Day Ago |
| Replies: 2 Views: 104 A couple of different ways...
Hooking like this example... http://vbnet.mvps.org/index.html?code/subclass/aspectratio.htm which you would have to modify to fit your needs
or like this example... |
Forum: Visual Basic 4 / 5 / 6 2 Days Ago |
| Replies: 3 Views: 170 Well... if you really want it to have a dos like output/input then...
http://visualbasic.about.com/od/learnvb6/l/bldykvb6dosa.htm
Or use your friends (yahoo, google, ask, answers, bing) to... |
Forum: Visual Basic 4 / 5 / 6 3 Days Ago |
| Replies: 4 Views: 172 By using ADO, a select column from table statement, a do while not rs.eof, and of course combo1.additem rs.fields("fieldname")
Good Luck |
Forum: Visual Basic 4 / 5 / 6 3 Days Ago |
| Replies: 3 Views: 160 Use a for loop to run through from one to count or 0 to count-1 (I forget) and use text1.text= text1.text & ... & vbnewline
Good Luck |
Forum: Visual Basic 4 / 5 / 6 4 Days Ago |
| Replies: 2 Views: 141 Close the rs and if you open the rs as read only your following code would generate an error.
PS. Next time you are not creating a snippet but asking a question...
Good Luck |
Forum: Visual Basic 4 / 5 / 6 4 Days Ago |
| Replies: 3 Views: 170 By hook and crook! Also, you inner loop will be processed 100 times as will your outer loop for a total of 10,000 iterations or printings. Are you sure you want 10,000 printings?
Good Luck |
Forum: Visual Basic 4 / 5 / 6 4 Days Ago |
| Replies: 6 Views: 189 Recieved your PM and I have some advice for you. First, start a new project and add a reference to DAO ONLY. Then copy that code and give it a try, otherwise my next question will be how much are you... |
Forum: Visual Basic 4 / 5 / 6 4 Days Ago |
| Replies: 1 Views: 139 Putting a picture into memory or into a picture box is quite easy with the LoadPicture function. Reading each pixel is also easy, if not slow, by using the point method, which returns a long value... |
Forum: Visual Basic 4 / 5 / 6 4 Days Ago |
| Replies: 1 Views: 143 Thanks for uploading your code but there seems to be a problem. Windows reports that it is unable to open the zip file because it is an invalid zip file. I looked at the header and it seems like it... |
Forum: Visual Basic 4 / 5 / 6 4 Days Ago |
| Replies: 6 Views: 189 Okay, I have read your PM and my code example is the same as the example you have provided (Only my example shows you the root of the object tree, that's all.). Now, have you moved the 3.51 DAO or... |
Forum: Visual Basic 4 / 5 / 6 4 Days Ago |
| Replies: 2 Views: 160 I don't see where you set the cr to the database... Ahh there it is at the bottom. Try putting it higher in your code...
Good Luck |
Forum: Visual Basic 4 / 5 / 6 4 Days Ago |
| Replies: 2 Views: 124 Please see... http://www.vb6.us/tutorials/using-crystal-reports-vb6-tutorial
Good Luck |
Forum: Visual Basic 4 / 5 / 6 4 Days Ago |
| Replies: 6 Views: 189 That should be either 3.51 or 3.6. Try removing the 3.51, add the 3.6 (DAO) hit ok. Now go back and use the uparrow to make 3.6 the fifth entry...
Dim Db As DAO.Database
Set Db =... |
Forum: Visual Basic 4 / 5 / 6 4 Days Ago |
| Replies: 4 Views: 184 Well the code provided on that page is DAO and not ADO. So you need to have a reference to DAO. Also, if that little snippit you gave is representive of your actual code, you should be getting an... |
Forum: Visual Basic 4 / 5 / 6 4 Days Ago |
| Replies: 4 Views: 185 I thought that might be the problem. Glad you got it solved. Now, if you don't mind could you please mark this thread resolved.
Thanks and Good Luck |
Forum: Visual Basic 4 / 5 / 6 5 Days Ago |
| Replies: 4 Views: 185 Place a breakpoint at the line and hover the mouse over the variable. Do you see if you actually have a full path and file name in the variable? Or goto the immediate window and type in ?gf_strDbPath... |
Forum: Visual Basic 4 / 5 / 6 5 Days Ago |
| Replies: 4 Views: 184 Private Sub Command1_Click()
'use common dialog control to allow user the select an image file
With Dlgs
.Filter = "(*.bmp;*.jpg;*.gif;*.dat;*.pcx)| " & _
... |
Forum: Visual Basic 4 / 5 / 6 5 Days Ago |
| Replies: 7 Views: 317 You can't! At least not with Visual Basic. You can however with RealBasic...
Good Luck |
Forum: Visual Basic 4 / 5 / 6 5 Days Ago |
| Replies: 7 Views: 317 3 Okay, the MDAC is the Microsoft Data Access Components and yes you need it.
2 Those 3 are one in the same...
1 Yes, as previously stated you need those three files...
Tell users to right click... |
Forum: Visual Basic 4 / 5 / 6 6 Days Ago |
| Replies: 2 Views: 174 Ahhh!!! I see dead threads!!!!
lashatt2,
Please in the future start your own thread and if need be, copy the url into your new thread. And NO, I don't understans so please start your very own... |
Forum: Visual Basic 4 / 5 / 6 6 Days Ago |
| Replies: 7 Views: 317 Okay, there are three files you need to distribute you application. The Cab, the lst, and the exe. (You did create a standandard deployment package, didn't you?) The support directory you do not need... |
Forum: Visual Basic 4 / 5 / 6 6 Days Ago |
| Replies: 10 Views: 14,276 AndreRet,
The code you provided will end the application (if there are only two forms) and I'll tell you why...
When you go Form2.Show vbModal from Form1, code execution stops in Form1 and... |
Forum: Visual Basic 4 / 5 / 6 8 Days Ago |
| Replies: 3 Views: 222 Search the web...!!! There are many examples out there!
Good Luck |
Forum: Visual Basic 4 / 5 / 6 8 Days Ago |
| Replies: 6 Views: 315 Okay, I don't know what kind of code you have in the resize event but here goes...
Option Explicit
Dim BusyResizing As Boolean
Private Sub Form_Resize()
If Me.WindowState = vbMinimized Then... |
Forum: Visual Basic 4 / 5 / 6 9 Days Ago |
| Replies: 6 Views: 315 I would check for an interval delay or use a boolean value to prevent the called sub/function from being called repeatedly, or perhaps a timer control would do...
Good Luck |
Forum: Visual Basic 4 / 5 / 6 9 Days Ago |
| Replies: 1 Views: 236 Through emulators, VB 6.0 can run on Linux and Mac but .NET is .NOT on those platforms last I heard.... Okay, .NET can run on Linux... and you have to run a windows OS on a Mac for .NET to run (Quick... |
Forum: Visual Basic 4 / 5 / 6 9 Days Ago |
| Replies: 3 Views: 317 Add a module, and add...
Sub Main()
End Sub
Then add the code you need to inside of sub main but don't forget to put in your Form1.Show or your program will look like it does not even run.... |
Forum: Visual Basic 4 / 5 / 6 10 Days Ago |
| Replies: 13 Views: 13,207 Wrong forum!!! This is the "CLASSIC" forum! You need the .NET forum!
Sheesh! These up and comming programmers don't even know what language they are using! |
Forum: Visual Basic 4 / 5 / 6 10 Days Ago |
| Replies: 3 Views: 317 In module...
Public Const MyVar As Integer = 5
However, you will not be able to change this value if you are wanting to have this value change.
Now, there is another way if you have your... |
Forum: Visual Basic 4 / 5 / 6 12 Days Ago |
| Replies: 2 Views: 228 something like...
If j Mod 42 = 0 Then Me.cls
Print ...
This will clear the form of the printing you have done to it and reset the currentx and currenty properties to 0. Look it up in help... |
Forum: Visual Basic 4 / 5 / 6 13 Days Ago |
| Replies: 6 Views: 301 For connection string information, see http://www.connectionstrings.com. For further support on exposing your server to the internet, see the documentation or MS for further info.
Good Luck |
Forum: Visual Basic 4 / 5 / 6 13 Days Ago |
| Replies: 1 Views: 273 Search the web for watch directory and for a good start look at this thread and follow strongm's links to his code...
http://www.tek-tips.com/viewthread.cfm?qid=1568282&page=1
Good Luck |
Forum: Visual Basic 4 / 5 / 6 14 Days Ago |
| Replies: 1 Views: 280 GoTo the school or public library and watch how the transactions are made. Write down, step by step, how a typical transaction goes. Talk with the employees there and find out the steps they go... |
Forum: Visual Basic 4 / 5 / 6 14 Days Ago |
| Replies: 3 Views: 430 Well since OP does not have the source, the OP cannot check references, and I'm betting that the "Error Creating Letter: Cannot Create Object" is our best clue as to what might be going on. I'll also... |
Forum: Visual Basic 4 / 5 / 6 16 Days Ago |
| Replies: 5 Views: 342 Thanks for the reference AndreRet :) |
Forum: Visual Basic 4 / 5 / 6 17 Days Ago |
| Replies: 11 Views: 867 dajaci, juniorj has the faster and prefered way in which to pull the singular last record from the database as it only requires the program, the network (if on a network), the database, the hard... |
Forum: Visual Basic 4 / 5 / 6 17 Days Ago |
| Replies: 8 Views: 613 To begin with, let me reiterate that just because you put a file in the support folder does not mean it will be included with your setup package! You have to manually add the file when creating your... |