Thankyou for looking at this but the problem was mine, of course.
I had included two consecutive statements "freefile ifp
freefile ofp" without an intervening "open" so both were assigned the same file nbr. closing one (just prior to the shown code)released the assigned file nbr, so the error...
Thank you in advance for your help.
I have tried a number of variations but all give the same result. Error. apparently nbr 458 I have essentially the same code in another program which works fine.
My system XP VB4
Dim flen&, MAXSTRING&, otstr$, filenameto$
MAXSTRING = 20000...
Hi.
A bit late but if you are still interested.
You could try not putting in the lst disk ( the second time) but hit enter , the system realizes no disk , complains, you put it in and now it really does read the 1st disk, not just remember what was on the prev disk and say that it is wrong...
Thanks for the reply. I suppose I was dumb enough to assume that VB knew it was a single byte string and would have taken care of it for me. I will try asap. I have just realised that a multimegabyte array of type "Byte" would give me other added advantages. I will still have to restore the...
Hi.
where bite1, bite2 are dim as byte.
strng as string.
strng = strng & bite1 ' does not produce the desired concatenation, according to MsgBox Hex(strng)
the bit1 ..2 etc are binary value up to 255
I don't want to have to do it in C unless I have to.
strng can be several megabytes, but...
If you contemplate parking your hard drives on a shelf, remember that the plastic packaged ICs can absorb moisture into the plastic over time then boil, blast it out explosively and destructively. Yes we are talking extended time here but that seems to be what you are expecting. For this...
I want to be able to search windows metafiles for a few arbitrary hex string constants. this worked in the vb4 prog that I am upgrading to vb6. The unicode is interfering, I believe. I want to perform what was..
phdp = InStr(temp,Chr$(&H7D) & ChR$(&HCD) & Chr$(&HAE) etc)
InStrB doesnt help...
What error message? You may have pointed me to part of my problem. Although I really don't want to have to require my users to have to reinstall (going from VB4 to VB6) as their databases are over 600Meg and unique to each location. Why should they have to reinstall? What steps can I take to...
Help. Please.
the prog ran in vb4, (I did not write it) now in vb6 I have never seen the main form displayed. I do see the altered drop-dn menus which do function correctly. the caption defined in the form is not shown either. When the Me.show executes, the menus change to their correct...
HI.
Thanks chiph. I have gone past the crash, but theform still doesn't display, execution now follows completion of the activate. I will follow through as I had not understood that before and will study further before reposting.
Les
in "main" (VB 6, prog prev ran in VB4)
Load frmsearch 'this was the original les 11/10/02
NOTE execution continues here if the error in frmsearch is ignored
. . .
VERSION 5.00
Begin VB.Form frmsearch
. . . various buttons etc
Private Sub Form_Activate()
Dim tmpr%...
Hi.
another possibility (I realise not for you) is an undigestible lump, typically a cd image which is extremely large and defrag permits itself to only move it a tiny distance each time it cycles (usually because not enough free space to completely contain the entire lump). I have seen this...
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.