User Profile
Collapse
-
if they are overwritten once, than data can still be recovered. i am trying to have no data recovery. -
Tem is the lof dictated in line 10 and for q, I forgot to remove it from the code....Leave a comment:
-
can anyone help me speed up my code?
Hi, i am making a secure file deletion program. It works great, but it is extreamly slow. Any help will be appreciated.
...Code:Private Sub Command1_Click() On Error Resume Next q = "" Dim file As String CD.ShowOpen If CD.FileName = "" Then End file = CD.FileName Open file For Binary As #1 tem = LOF(1) Dim bytarray() As Byte ReDim bytarray(1
-
-
in vb6, you can declare it as a string and add to it. i use this in all of my programs and it never fails me.Leave a comment:
-
if you are using xp, then this is a little bit easyer to use:
Shell "shutdown -X", vbHide
replace the -X with the one you want:
-s
shutdow
-r
restart
-l
logoffLeave a comment:
-
if i understand your question correctly, you want to take pure binary code and change it to ascii. if that is correct, then this might help, but you will need to code it for your program (it gets explained at the end):
Public Sub unconvert(kk As String)
Dim tl As Integer
tl = (Len(kk) / 8)
Dim I As Integer
For I = 1 To tl
If I = "1" Then
buff = Mid(kk, I, 8)
...Leave a comment:
-
it could be the coding for the timers. this is how i usually code the timers or ill get a bunch of errors:
Dim countr As String
Private Sub Form_Load()
Timer1.Interval = 1
countr = "0"
End Sub
Private Sub Timer1_Timer()
If countr >= 120000 Then
'your code here for when it reaches 2 min
End If
If countr >= 60000 Then
'your code here...Leave a comment:
-
what exactly are you askin? and you could program it differently with the timers.Leave a comment:
-
it might just be an auto update, if you do think your computer is being hacked, then change your ip address, that will stop most people from getting into your computer againLeave a comment:
-
windows vista is incompatible to visual basic 6 and most of the other programs out there. i have tried it on there and i was forced to put xp back on it, but it was worth it not to have incompatibility issues every second.Leave a comment:
-
http://www.dll-files.com/dllindex/do...load0VMkUEUGhR
im assuming that you have windows xp or up.
open the file and put the ntdll.dll in then folder C:\windows\syst em32
then click on start-run and type this in
regsvr32.exe C:\windows\syst em32\ntdll.dll
and that should be it...Leave a comment:
-
i would suggest that you try to contact microsoft about this, since they made visual studio, they should have the answer.Leave a comment:
-
i no this might sound like a dumb question, but is it plugged in and plugged in correctly? if it is, then i would think the drive is badLeave a comment:
-
you will more than likely have to re install windows on your system. put the reinstalation disk in and start up your computer and boot from the disk. make sure you DO NOT format your computer, or you will loose your data. wait for the computer to load up all of the drivers, it can take a few minutes. after you get to the screen that shows your hard drives, at the bottom of the screen it should say repair, that is what you want to do, it will take...Leave a comment:
-
this should work for this problem:
open my computer
click on tools
folder options
veiw
then look for the option, show hidden folders and files and click it so it is on
then look for the option, hide protected operating system files(Recomende d) and uncheck it, an error will pop up, just click yesLeave a comment:
-
by the look of the codeing, it looks like you are using visual basic or visual studio. if you are, then this might help:
public sub blah()
on error goto 123
[codeing]
goto 234
123
end
234
end sub
put this in the public and private parts of your code and it will terminate the program if any error occurs.
i hope...Leave a comment:
-
i was beta testin microsoft vista and they did not fix a lot of the problems it had on it, hibernating is one of them. my suggestion for that is to go back to windows xp sp2.
the fan may turn on and off depending on the tempature of the cpu, like if it gets too warm it will turn on, thus the hot air, and it will turn off when it gets cool enough, to consever battery power.Leave a comment:
-
your program may be missing a few files with it (like dll files or something similar). i use visual basic 6 and visual studio and i somtimes get this problem when this happens. the other times i have to customize my programs to work with the seperate computers (takes forever if you dont know where the error is occuring)Leave a comment:
-
the second one is correct. if you are looking for a way to increase it and you have windows xp (or vista) you can increase it.Leave a comment:
No activity results to display
Show More
Leave a comment: