No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
I am trying to use an IF statement to enable/disable command buttons; however, I get the following error message "Run Time Error '424': Object Required". The "cmdDeptStoresMC.Enabled=True" is highlighted in yellow when I run the code. Please assist. Below is my code: Sub Check_AccessRights() Dim X As String Dim Y … |
|
I have VB 5 learning edition which has suited me fine thus far believe it or not! One thing has really been annoying me for quite some time. I can't find how to set the command buttons forecolor (at least with the VB version I have). Backcolor is no problem, … |
|
I have been given the following code to convert a string to a "byte array" (which is then passed to other software) but it does not appear to work. I have practically never needed to use a function and am even less familiar with the data type byte and Hex … |
|
Re:
Ok, i get Quick Basic, all version (1.1, 3.0, 4.5, 7.1) all because 1.1 doesnt work, so i keep trying then notice, there all DOS executables, and Windows XP doesnt support DOS executables. So i tried Command Prompt, hat didnt work either, technicly im screwed ;P, any ideas on how … |
|
Re:
What event can I use that will: Retain value when leaving field: Lostfocus, leave, enter, etc, Value works with the exception of Tab, also fires with every keystroke, lostfocus & leave will not work with all ways of leaving field. Help |
|
I have a program that produces various reports. I need a way to send the reports to MSWorks/MSExcel. At the moment the reports are sent to a locked scrollable text box on-screen. This allows you to copy and paste the information to most word processor programs o.k. Unfortunately as I'm … |
|
Re:
Hi- I am completely new at programming. In fact, I haven't even started classes yet, just reading an old second-hand book on QBASIC. I've gotten to a part where it tells me how to get into QBASIC and how to write a sample program. At the DOS prompt, I typed … |
|
Thus far I have always chosen the font Courier New because all letters are the same width. Is there any way of determining how "long" a string will be when using other fonts? I would like a way of checking the string's actual length so I can format a printout … |
|
|
|
I am trying to put together a string that can be sent to the clipboard and then pasted into a spreadsheet (in this case a works spreadsheet). The problem I have is the space characted seems to be being ignored when it is a the start of the next line. … |
|
I have a VB program that produces reports by sending text to various list boxes. I want to add the option to have the reports sent to the clipboard. I imagion most users would then want to paste the information into a spreadsheet. I have figured out that adding chr$(13) … |
|
I always open a file just before it it written to, then close it as soon as practical. I have always wondered what would happen in this scenario:- Your program is on a server and two people use a shortcut from their stations to run it. All the file access … |
|
I use VB5 and I have a form which has very close to VB 5's limit of 255 controls per form which is starting to concern me. Can someone tell me if the limit for VB6 was increased and let's not forget VB net if possible (although changing the code … |
|
1. With VB5 you can either create an EXE file while you are running VB, or use the separate setupwiz utility to create a .EXE file. The setupwiz way results in a smaller EXE file. Is this the only advantage? Also the setupwiz way results in the program doing something … |
|
I have a program I need to protect from piracy. Has anyone got any suggestions as to the best way to go about this. Presumably some sort of "dongle" system is the way to go? Thanks. |
|
I have uploaded an HTML document to my WEB site. It looks fine on screen. However if I print it out (via explorer) the font size increases vastly and it looks a mess. I suspect this is a well known problem as I have often seen "printer friendly" documents on … |
|
Re:
I am a lab engineer for a university. Up until recently, we have been using MS-DOS 6.22 and Quickbasic 4.5 to control our experiments and record our data. We did not change to Windows because Windows would not let us control our processes on a millisecond level. This series of … |