I tried changing that as well as:
EnableAutoDepthStencil=0
(and all combinations of the two) but still am having no success. By the way i also changed:
d3dpp.AutoDepthStencilFormat = D3DFMT_D24X8
for the commented out
d3dpp.AutoDepthStencilFormat = D3DFMT_D16
but that didnt help either...
i know i am digging up an old thread here, but i have been using strongm's code as a great starting point for getting into directx for quite a while now. Everything works great on my XP computer, the problem is i keep getting an automation error on my win98 machine. The error occurs at the...
something was wrong with the computer i was using, the processor was getting all used up, once i solved that problem everything else worked fine. Thanks to everyone who tried to help!
I am trying to programm in java on my laptop. my program needs to interact with a webcam.
Everything was working fine on my desktop computer(windows XP) but when i tried to get it workiing on my laptop I began having problems. I installed everything(including JMF, J2SE, my webcam) and...
after the form2.show add the form2.hide (or unload form2 depending on what you are really trying to do). so the new form1 code would look something like this:
Private Sub cmdProcess_click
form2.show
form2.hide 'or: unload form2
end sub
oh, and you can take out the me.hide.
first of all to convert milli-seconds to seconds divide by 1000. Then if u want to convert to minutes divide by 60.
Example: interval=60000 so u would do 60000/1000 = 60 seconds, 60/60 = 1 minute.
as for the other questions i dont think i can help as much.
To close everything, however...
I am suspecting that you have the option: Break on All errors turned on. This means while in debug if there is an error it will break. To fix this problem go to tools -> options -> click the General Tab and make sure break on all errors is not checked.
But the solution that vb5prgrmr...
I do not know how to check if the file is already open, but you could use error handling to trap the error.
Private Sub openfile()
On Error GoTo errorhandler
'Code
Exit Sub
errorhandler:
'If error = file already open then do whatever
end sub
Name works for me without any extra references, are you sure you have a folder at the location your trying to rename?
if you dont have a folder at "C:\folder\folder\foldertorename" (the path you are using) tehn Name will return a file not found error (53).
If I understand you question correctly then you may want to look into the ubound command and do something like
if ubound(MyTempStr)<5 then
'Not a valid line DO SOMETHING DIFFERENT
else
'normal value
end if
OK so I'm guessing your setup probably looks something like this:
Private Sub LoadFile()
Open "C:\myfile.txt" For Input As #1
'Code
'Code
'Code
Close #1
NoFile:
MsgBox "No FileFound"
End Sub
The problem is Just because you have the "NoFile" label does not mean the code is going to exit the...
The txtusername must be outside of the quotation marks if you want to print the value of the variable.
Here's an example:
Open "C:\login.log" For Append As #1
Print #1, "login succeeded " & txtusername
Close #1
OK, that sounds good. For now at least a bounding box wouuld work Great.
It seems so simple now, but before your post i just couldnt get my head around it...
Thanks a lot!
No ideas anyone?!?
Does somebody have a suggestion about the theorey behind 3d collision detection (it doesn't have to be code)?
Right now my only thought is to use the equation for planes and find where (or if) they intersect, but it seems there must be a better way...
Anything to get me...
Thanks for the fast reply, but my game is in 3D. I did a search in this forum but only came up with ways to do it in 2D. Is there any good way to use any of these ideas in 3D. Thanks a lot!
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.