To Forum Members,
This problem has been plauging me for a few weeks now. It is increasingly frustrating and I'm looking to see if anyone knows anything or can direct me to something that may help.
The problem I am having pertains to a video card that has several output formats. DVI, VGA and...
bsquared18,
Interesting problem...
Try this.
Assign them numbers. Person #1 - Person #20. Then, I'll explain by grid.
1 - 2 - 3 - 4
5 - 6 - 7 - 8
9 - 10- 11- 12
13- 14- 15- 16
First time, group horizontally. Group 1 composed of person 1, 2, 3 and 4. Group 2, person 5, 6, 7, and 8...
Sure. It just might be slow. And you gotta have enough RAM/Swap Space.
Linked list works well for that too. You don't have a size limit (other than physical limitations like RAM) because there is no counter involved. Arrays might have counters for which 2 million items will overflow.
-crater
kimble,
I'm sorry to say, but VB isn't your best option for that I don't think. You won't find a single data type that will take a number with 2 million digits. Not only that, but I don't think you will find any language that has a data type that big.
What you will need to do is to create an...
kimble,
Yep, use Double.
From VB help:
"Long (long integer) variables are stored as signed 32-bit (4-byte) numbers ranging in value from -2,147,483,648 to 2,147,483,647. Thetype-declaration character for Long is the ampersand (&)."
Your number is too long. Whereas Double...
harmmeijer,
That is an interesting kanundrum. One thing you may need to do is to create a new form, copy the controls (select all the controls you want when viewing the form, Copy, Past into new form) and copy the code. (copy code from one form to the other). Then remove the old form, rename...
mogwaitcat,
Sorry. My mistake. Looking at the wrong control.
Darn. You're right. That control is bad. I tried placing an invisible label over the top to try to utilize the Click event from a label but that didn't work either. Perhaps you need to write one. Using a TextBox and watching...
Impulse,
Are you looking to distribute the EXE and need this in the install script? because if so, I can't really help you there. But if you are looking to just create a shortcut on your machine, just place a shortcut to the program in the SendTo folder.
C:\Documents and...
ajones,
From what I have done with the ActiveX stuff, a copy needs to be on (or at least registered on) the local machine. That is why the PDW tries to install it. Most compiled dll's are default installed into the WINNT/System32. I'm not sure that when you did your development of the...
INPULSE24,
There are many problems with your code. First, you are creating 2000 files. Not putting 2000 lines in each file. Second, you are reassigning file #2 every time you use the loop.
Based on what you said, I'm guessing you want to do something like the following...
Austin,
You have a couple of options. First, to automate your manual process a bit, first import the text file into Excel. Excel's got a great little wizard that takes the file (especially if you know how it's delimited) and converts into cells. From there, you can copy and paste much easier...
Skyusa11,
That's is what I am talking about. The VB6 (at least the version I have at home where I have worked with the Database connectivity and such) uses a DataEnvironment (which in your instance is called Data1) to connect rather than the OpenDatabase function.
Ah, here we go. Consulting...
Skyusa11,
I know with my work in VB6, the opendatabase function from VB past no longer works. The new data access objects they are using don't use opendatabase anymore. So as frustrating as it may be, you may need to re-write parts of your code. I tried doing the same thing (updating VB5 to...
Logo,
I'm sorry but something has come up. I won't be able to answer you today. Hope this doesn't cause too much trouble.
Anyone else care to attack?
-crater
No problem. Glad I could help!
Mavors, I've never done it that way but that's a good way to do it as well. Just goes to show that there is always multiple ways to approach any problem!
-crater
Logo,
Are you looking to dynamically create controls for information on the screen? I'm not sure what you mean by "change their format and included fields dynamically". Is there an example you could give?
-crater
Clyde,
Another option that exists if you have a control array is to use the Ubound of the control array. For example if the name of the image control array is Image1, the following will return the count:
Image1.Ubound
Another option is to just maintain a count as you create them. Keep a...
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.