Search:
Type: Posts; User: DataMiser
Search:
Search took 0.06 seconds.
-
Your outter loop should be the archive and the inner loop should be the listbox.
set a var above the inner loop to indicate the item is not found yet.
In the inner loop check each item against that...
-
That is the lastest version of VB.Net, much different than VB6 which is from Visual Studio 6 (1998) There is another section of this forum for VB.Net related questions.
-
So does that mean that it is yes to all three / four questions?
-
For a = 1 To 1
If a = 0 Then
a = 0
a = a + 1
Hmmm.. So you are telling it A=1 then you are checking to see if A=0 even though you have just set it to...
-
Well without seeing the code that does the screen layout there is little more to do than guess. Clearly there is an issue in the code but again without seeing it there is little to say.
-
It would help if you would confirm which data type you are working with. Is your date stored as text in the format you showed in the first post or is it stored as a numeric value much different than...
-
It would help to know what "this code not work" means?
Did you get an error? Did you just get an empty result set?
It would also help to know what value you used in the query.
Keep in mind that...
-
In post 15 he says he is using Active Reports
Thinking about it a little more seems like there may be a little bar that you can drag across to set report width as well.
If you set the smaller...
-
Well in todays world there are a lot of things missing from VB6, it is after all ~25 years old. Lots of new things have came along over the last 20 years and are not in VB6, in many cases there are...
-
It's been a while but I think you just have to pay attention to the ruler at the top and make sure your report does not exceed the required size.
You can set your default printer paper size to the...
-
Yep we were working on systems remotely even back in the 90s where customers were running NT or Windows 95. PC anywhere over a dial up, wasn't ideal but it got the job done. Now of course it is...
-
On another note, forgive me if it has been mentioned already as I did not fully read all the posts.
I would create a routine in a module that handles the loading and another that handles the...
-
I always used to use a VM or a ghost image pc that had nothing at all installed on it to test my install images.
Often they would work fine on most PCs but fail on one of those clean images due to...
-
Typically, I would use an ini file for such a purpose.
Read the ini file at start up of from or program and have defaults assigned.
Save the current values upon closing of the form or program so...
-
Well the order is a bit different but my first thought for doing some sort of try/catch/finally was
Sub
On Error Goto Catch
Some Code here that may generate an error
Finally:
Final code...
-
If it belonged to someone else how do you know that VB was not installed and improperly removed at some point?
In any case the actual legit copy of VB does not work if you just copy files, it...
-
If you want the two fields printed on the same line with a comma between them then you would do it like
Printer.Print Rs!ID &"," & Rs!FullName
What you had should have been throwing an error.
...
-
If you copied files from a legit copy of VB to your PC and it worked just fine the only explanation I can think of is that VB6 had been previously installed properly on that system and if it was...
-
My VS Pro discs will not install under 10 without jumping through some hoops. I think the same hoops were required under Windows 8 and 7 maybe even Vista. Been so long I can't remember.
My VB6 ENT...
-
Well you could set a restore point and run the setup as admin and see what happens.
I have not tried the VS installer under 10 myself I know there was an issue with the setup at some point related...
-
You have to actually install, there are lots of things that need to be properly registered in order to work. There are several threads about how to install under Windows 10. Just a simple copy of...
-
I would suggest setting a break point on that line that loads the msg form then single step through the code to see exactly where the error is occurring and then go from there.
-
And what does the DoAutoBackup do? Sounds like it is trying to use a connection or object that you have closed before it is called.
-
Not there in either place on my system. Running vb6 enterprise version with SP6
-
publish is not on that menu on my system. Can't say I have ever saw it in VB5 or 6 though perhaps it was there when doing web stuff as that gets published to the web site but even then I'm not sure...
-
Should be as simple as just not making them public.
-
The terms publish and build sounds like we might be talking about VB.Net rather than VB6 or older.
-
Just to add as far as using multiple modules. It is best to try and keep like code together in modules. You do not want a bunch of modules with just a little code in each of them. If you have some...
-
You have to design your report to the size of the paper you want to use. If your printer uses a 4 inch wide paper and your report is more than 4 inches wide including margins you may get nothing...
-
There are many different ways to print barcodes. You have provided no information about how you are doing this so that makes it tough to answer.
It could be that your barcode is to large for the...
-
I would skip Vista and go to 7 or 10
-
Option explicit checks to insure that all variables have been dimmed to where they are valid in the scope of the code they are used and will throw a compile error "variable not defined" when they are...
-
Yep if other buttons are executing then that one probably is too most likely either the variable is not accessible. Ar eyou usign Option Explicit? Where is the variable dimmed?
-
Access forms are edited from within MS Access, not from VB. The database also is edited from MS Access though you can make changes using VB you have to write code to do it. There is also a tool...
-
Can't say I have ever tried installing VB5 on any OS newer than Windows 2000, not really sure if I ever installed it on Win 2000 even. I know there were some issues getting VB6 to install properly...
-
From that page
You would have to look and see if there is a trial option but it sounds like it is not free.
-
In the click event of the text box add code to check the text of the text box and then code to make the picture of your choice visible. Assuming of course that your text box is only going to contain...
-
If you add the control to your form you can see what properties it has by typing in the control name and a . afterward, intellisense will show you the list of things that can come next.
What would...
-
Looks like the display is ok now. I modified the style for the div tag where the table is located
<div style="height:85vh;overflow: auto;">
Now the table and scroll bar stops just above the...
-
I found something online and tried it but the result was not so good
<tbody style="display: block; height: 50%; overflow-y: scroll"></tbody>
This did limit the table height but made everything...
|
Click Here to Expand Forum to Full Width
|