Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. SmokingCrater

    Change video card output

    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...
  2. SmokingCrater

    Remove picture from form

    Brad, *grinning sheepishly* Thought I tried that. Oh well. Good solution! :) -crater
  3. SmokingCrater

    How to Mix People for Maximum Exposure to Each Other

    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...
  4. SmokingCrater

    Data Type Differences

    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
  5. SmokingCrater

    Data Type Differences

    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...
  6. SmokingCrater

    Data Type Differences

    Kimble, Yeah, what are you trying to do that will require more than 308 digits? That's one heck of a huge number. -crater
  7. SmokingCrater

    Data Type Differences

    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...
  8. SmokingCrater

    Remove picture from form

    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...
  9. SmokingCrater

    Cursor position in masked edit box

    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...
  10. SmokingCrater

    Adding my program to right click menu

    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...
  11. SmokingCrater

    Cursor position in masked edit box

    mogwaicat, Try the Click event instead of the GotFocus. I think I got it to do what you want. Try the Click instead. -crater
  12. SmokingCrater

    Can't get VB6 Client to talk to VB6 Server Component

    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...
  13. SmokingCrater

    reading from text file running a for loop..HELP!!

    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...
  14. SmokingCrater

    Automatically import ASCII text?

    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...
  15. SmokingCrater

    Active X cant create object difficulties

    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...
  16. SmokingCrater

    Active X cant create object difficulties

    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...
  17. SmokingCrater

    How can I create Reports dynamically.

    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
  18. SmokingCrater

    Counting Certain Controls on a Form

    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
  19. SmokingCrater

    How can I create Reports dynamically.

    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
  20. SmokingCrater

    Counting Certain Controls on a Form

    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...

Part and Inventory Search

Back
Top