Search:
Type: Posts; User: Jon L.
Search:
Search took 0.04 seconds.
-
One apparent draw back to using this script host is the DOS window. Is there any way to hide it? I've been reading and haven't found anything so far.
Jon
-
Thanks dilettante,
That does work, I can also get Joacim's module to work using a batch file that calls the assembler. I'll have to study your example a bit more to understand it. I actually...
-
If you need/want the actual files I'm testing with, they can be found here:
http://www.metaice.com/ASM51/Files/ASM51.zip
ftp://ftp.armory.com/pub/user/rstevew/8051/basic52.zip
Thanks,
Jon
-
Sorry, I didn't see the post got moved or I wouldn't have PM you.
This is my routine.
Private Sub cmdAssemble_Click()
Dim sWorkingDirectory As String
Dim sExecutable As String
Dim...
-
I have done most of it by looping through the controls and clearing the tooltiptext, then to re-enable, just reload the resource strings. Since I am using the resource string file from a wizard...
-
Could you store them in a resource file?
Jon
-
Thanks Hack... that's going to stink :)
Jon
-
In the VB6 IDE there is a checkbox that disables the display of tooltips, how do they do it?
Do I have to make a tooltip control?
Thanks,
Jon
-
Thanks Michael, I'm sure I'll have a question or two about this example. I haven't looked at trying to put any sort of labels or scales to the graph yet, so that will be one for sure.
Anyway......
-
The magic numbers 1.7 and 1.1, are they to keep the lines from being on top of the background grid lines?
If BitSet Then
If Not PrevBitSet Then picGraph.Line (X + 1, 1.7 + Q * 9 +...
-
Can you please explain the "<>0" at the end of the statement?
BitSet = (Records(X).PG(Q) And (2 ^ Bit)) <> 0
Thanks
Jon
-
Yep that did it. A little dressing up and that will be just what I needed. Now for close examination and some learning.
Thanks again
Jon
-
Nice piece of code, I'll take me awhile to decipher it, however, all I have is a blank picture box when running it. ?
I've got something on the front burner right at the moment, so I'll look...
-
Well for starters decimal 7 = 111 in binary and 254 = 11111110
(1 mod 2) = 1 not 0 in first example
What's the purpose of value - it's not used for anything?
Looks like an error in the code...
-
While CVMichael is/was going to write a function to show how to do this with a picture box and lines. I'm still looking for other suggestions. I've pretty much given up on the MSChart control, I...
-
Ok, I have a file named TimeFile.log in this example there are only 22 entries
The first field is time, the next 4 fields are the port values at that time. Each port value will be broken down...
-
I've not done any type of graphics with VB before, so I was trying to find the easiest solution (a control), but if using a picture box would be easier, I'll read up on the topic.
Thanks for your...
-
Still no luck with the MSChart control. Is there another way?
Jon
-
I'm using VB6.
I'm writing a simulator for a micro controller. I want to show the output waveforms of the ports (32). Basically a square wave between 0 and 5V (Y-axis), and time will be the...
-
Thanks Joacim, that did the trick.
Jon
-
I'm trying to force a four digit display of a hexadecimal number using:
something.text=format$(Hex(number),"0000")
This works if the resulting hex number is numeric, but for alphanumeric...
-
I suppose a flexgrid would be the best way to go.
Jon
-
I'm writing a simulator for a microcontroller. I've got the simulator working almost 100%, but my user interface sucks.
I need a window to display the assembly language program and as the...
-
Well I finally found the problem. It was in the validation routine. A value was being set to "0" and needed to be set to "0.0"
Only a weeks worth of hair lost :)
-
Originally it was:
database.recordset.delete
database.recordset.movenext <-- operation cancelled
But I was reading some posts here that suggested putting .update after the .delete...
-
Ok well I single stepped and found the .movenext triggers a will_move event. The will_move event calls a subroutine to validate the data before it move. If I comment out the call to validate the...
-
I'm using VB6 with an ADODC control to access a Jet4.0 database. The program was working fine, but since I've made some totally unrelated additions to other parts of the program it keeps giving me...
-
Figured it out - thanks
Jon
-
Well, maybe the ispInit function is working, if I don't call it first then the next function call crashes program.
I guess I'll have to wait for a response from the company that wrote it. The...
-
I think the rest of my problems are due to the fact that the ispInit() function is failing.
I'm going to show you the original header file here:
I know this is alot of code but you...
-
Ok that makes sense and I've gotten around then "out of memory" error now.
Thanks for that.
Jon
-
Well I had been using it like so:
Dim strResult as String
strResult = ispGetLastResult()
...
Jon
-
Hello all,
I have a program that says I can use the API calls in it's dll to implement the programs abilities in my own software. It has a header file in C and demo program in C. I searched...
-
Hi Joacim,
I'm trying to use cmdOutput.bas to run an old dos type program and 8051 cross assembler. It does run the program "ASM51.EXE <infile> outfile" and assemble the file correctly, but what is...
-
Thanks guys for your replies, I have discovered my error. Some flags I declared as Boolean, actually get their 1/0 value from checkboxes.value
Thanks again
Jon
-
I use VB6 Enterprise edition
When Declaring variables as Boolean, who do some use the value of True/False and others have the value of 1 or 0?
If the Boolean variable shows a value of 1, why...
-
Thanks Eran, using your example, I was able to get accomplished what I wanted.
Jon
-
Hello Eran,
Thanks again for your reply.
What I'm trying to do is to convert or import data from two different .mdb files (each with just one table) into a new .mdb file (with two tables). The new...
-
Hi Eran,
Thanks for your reply.
1) I could put all of the controls on one form, but it seemed simpler to just to cut and paste from the original. This form came from the original application and...
-
I know I probably didn't post enough information for anyone to help at this point, so I've attached the whole project for VB6 Enterprise. To help me pin down the problem I've commented out lots of...
|
Click Here to Expand Forum to Full Width
|