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

    KeyCode 13

    Wierd - neither my mod on the form nor your textbox version beep on my PC. I'm using VB6 (SP4) under W2K (SP1). I'll fiddle a bit more.
  2. IanAtCidac

    skin in vb

    In answer to your question: Yes. Perhaps you could elaborate on what you're trying to do or need help with?
  3. IanAtCidac

    Macro or Visual Basic doesn't run in background.

    You probably won't be able to do this without using the Windows API. One way would be to use the API (not VB) GetFocus function to the the Excel handle (hWnd) then use the API SetFocus function to reset it just before executing the SendKeys function.
  4. IanAtCidac

    KeyCode 13

    Hi Eric The problem here is the MessageBox! Do you have to use it? (To check this, change the MsgBox lines to something quick and dirty like "Caption = ...". No beep now when a key is pressed but the vk message is being received... at least on my system.) -Ian
  5. IanAtCidac

    activeX exe and Events

    Hi A quick-and-dirty solution to this is to parse the Ambient.DisplayName property. It will return the name of the usercontrol as it appears on the form [e.g. MyUsrCtrl(13)]. You can parse the index value and store it in Property or variable which can be used in any way you wish. There are...
  6. IanAtCidac

    Monitoring GDI, User and System resources

    Try the following:<br> <br> Const SR = 0<br> Const GDI = 1<br> Const USR = 2<br> <br> Declare Function pBGetFreeSystemResources Lib &quot;rsrc32.dll&quot; Alias &quot;_MyGetFreeSystemResources32@4&quot; (ByVal iResType As Long) As Long<br> <br> This returns the free System, User and GDI...
  7. IanAtCidac

    Permutations

    Randie<br> <br> The problem you are goind to have here is the the number of permutations (which is calculated using n!) rises VERY rapidly, e.g. a three-letter word has 6 permutations, a six-letter word has 720 and a nine-letter word has 362,880. Calculating them is simple but how do you want...
  8. IanAtCidac

    How to configure ports

    I am assuming that if you have four COM ports that there are two on-board the motherboard and two on an add-on card. I'm also assuming that you are running Win9x.<br> <br> For the on-board port, go into the CMOS setup when booting (on most machines hold down the &lt;Del&gt; key while booting)...
  9. IanAtCidac

    Hard Disk Partition

    Sorry it took soo long to get back to you - <br> With Win98SE you may as well use the software that comes with it. I've parttitoned bootable drives as big as 13Gb with it without problems. If you want a single partition, simply put you CD in the CD-ROM and switch on. The installation routine...
  10. IanAtCidac

    Dual Operating Systems

    My reason for asking is that it may not be necessary to load 6.22 specifically - the version 7.xx than is built into Win95 may be sufficient.
  11. IanAtCidac

    The computer from hell

    Alt255<br> <br> Over the years I have discovered the following rule of thumb (not quite Moore's Law but it has held for about ten years): If you upgrade across one generation about 10% of the old equipment will fail, if you upgrade across two generations the failure rate goes up to 50%. We...
  12. IanAtCidac

    How to configure ports

    What do you mean by configuring the ports? Change setting in the BIOS or on the IO-card? Change settings from within a program or operating system?<br> <br> -Ian
  13. IanAtCidac

    Dual Operating Systems

    A quick question. Why do you specifically need DOS 6.22?<br> <br> -Ian
  14. IanAtCidac

    Hard Disk Partition

    What operating system are you going to use? Each version of Windows has it's own limitations in terms of partition sizes and so forth. For example, if you are using NT4 you will have to use a version with SP4 or above (as these contain the update ATAPI v1.3 driver which van handle drives with...
  15. IanAtCidac

    IDE Interface Cable

    Although you can use a standard 40-pin IDE cable on a DMA-66 drive/controller combination, to get the full performance increase you need a DMA-66 controller, a DMA-66 Hard Drive AND a DMA-66 IDE data cable. Although this cable looks just like a standard 40-pin IDE cable, cutting it up will...
  16. IanAtCidac

    unexpected error

    Could you give some more details about your setup, e.g. What OS, any recently installed software, etc. Often problems like these are caused by some totally (apparently) unrelated problem. It sounds as though something is corrupt - probably in the registry. I would suggest uninstalling...
  17. IanAtCidac

    CopyMemory

    One thing to make sure of is that you've DECLARED CopyMemory as a SUB and not a FUNCTION. Declaring it as a function is usually instant death - often to the IDE as well!<br> <br> -Ian
  18. IanAtCidac

    User input of variable names and formulas

    I seem to remember seeing code for RCDs on Planet Source Code. Try doing a search under &quot;Formula&quot; - That seemed to be the common thread in the titles. If you have no luck, email me. I wrote one as an intellectual exercise many years ago. I could probably dig up the code and send...
  19. IanAtCidac

    Please help me with this source.

    You're absolutely right, RustyG.<br> <br> There are some some other factors to take into consideration though. Firstly, the PictureClip control looks like a wrapper for BitBlt & StretchBlt and, as can be expected, the really nice bits were ignored. Secondly, the use of &quot;sprites&quot...
  20. IanAtCidac

    Math Veriables Please Help. Just starting out

    Hi beck<br> <br> Here is a simple little Sub to get you started<br> <br> Sub CalcSpeed(sngStart As Single, sngStop As Single, sngStep As Single, sngDistance As Single)<br> Dim sngFricFact As Single<br> <br> Cls<br> For sngFricFact = sngStart To sngStop Step sngStep<br> Print...

Part and Inventory Search

Back
Top