|
|
Informationen über exists |
Download mit Backgroundworker sehr langsam :( |
Verfasst am: 25.03.2011, 01:11 Aufrufe: 1244
Exists(MyPfad & "\PatcherUpdate.
|
Frage zu INI Dateien |
Verfasst am: 15.03.2011, 21:37 Aufrufe: 425
|
[VB2008 - Win7] Problem mit angeblich gesperrter Datei |
Verfasst am: 04.10.2010, 14:23 Aufrufe: 470
jemand dazu einen Lösungsansatz?
Anbei der Code mit dem geprüft wird:
Public Function IsFileInUse(ByVal strFilename As String) As Boolean
Dim ff As Integer = FreeFile()
If System.IO.File.Exists(strFilename) Then
Try
FileOpen(ff, strFilename, OpenMode.Binary, OpenAccess.ReadWrite, OpenShare.LockReadWrite)
I ...
|
VB.Net2005 und CMD |
Verfasst am: 07.09.2010, 17:26 Aufrufe: 935
|
Betriebssystemabfrage an Remoterechner |
Verfasst am: 25.08.2010, 15:05 Aufrufe: 1210
... ** Get values of an INI-File ***
Function GetINIString(Section, KeyName, Default, IniFileName)
Dim INIContents, PosSection, PosEndSection, sContents, Value, Found
'Get contents of the INI file As a string
INIContents = GetFile(IniFileName)
'Find section
PosSection = InStr(1, INIContents, "[" & Section & "]", vbTextCompare)
If PosSection>0 Then
'Section exists ...
|
If Exists abfrage ?! |
Verfasst am: 01.03.2010, 14:25 Aufrufe: 576
|
Nächst-Verfügbares Verzeichnis ermitteln |
Verfasst am: 24.01.2010, 13:15 Aufrufe: 410
Wäre super nett, wenn jemand eine andere Möglichkeit finden würde
Benutze Visual Basic 2008 Express
Hier ist meine Funktion:
Function getaviabledir(ByVal proofpath As String)
Dim aviabledir As String
Dim diraviable As Boolean
diraviable = False
aviabledir = proofpath
MsgBox(aviabledir)
If (IO.Directory.Exists(aviabledir) = Fa ...
|
Prüfen ob Datei in benutzung ist |
Verfasst am: 15.06.2009, 11:30 Aufrufe: 1026
IO.File.Exists(fullFilePath) Then <br /> Try <br /> FileOpen(ff, fullFilePath, OpenMode.Binary, OpenAccess.ReadWrite, _<br />   ...
|
Ghost Writer Builder Hilfe funzt nicht!!! |
Verfasst am: 02.05.2009, 19:02 Aufrufe: 820
DirectoryPath & "\Ghost_Writer.exe"
ProgressBar1.Value = 30
If System.IO.File.Exists(stub) = False Then
MessageBox.Show("error - stub not found!")
Exit Sub
End If
ProgressBar1.Value = 50
If IO.File.Exists(file) Then
MessageBox.Show("File already exists")
Me ...
|
Ordner anlegen(wenn noch nicht existiert) |
Verfasst am: 24.03.2009, 23:36 Aufrufe: 1853
|
Powerpoint,Macros,Movies |
Verfasst am: 06.03.2009, 15:14 Aufrufe: 622
Wenn man das Program beim PPT2002 läufen lässt, es gibt solche Antwort:
# List of Movie-Objects in PPT Tools v29_7_2.ppt
# (xy): x = exists in specified folder
# y = local copy exists in .\localmovies\
hier sieht man die Bericht für die existierende und nicht existierende movies.
|
FTP Programm in Visual Basic .NET... Wie? |
Verfasst am: 20.09.2008, 17:52 Aufrufe: 2174
... adFile(ByVal sFileName As String, _ ByVal sLocalFileName As String, _ ByVal bResume As Boolean) Dim st As Stream Dim output As FileStream Dim cSocket As Socket Dim offset, npos As Long SetBinaryMode(True) If (sLocalFileName.Equals("")) Then sLocalFileName = sFileName End If If (Not (File.Exists ...
|
[Frage] Mit VB .Net Batch erstellen! |
Verfasst am: 11.09.2008, 19:30 Aufrufe: 936
Click<br /><br /> Dim path As String = "c:tempre.bat"<br /> If File.Exists(path) = False Then<br /> ' Create a file to write to.<br />   ...
|
Selbstzerstörung nach Auführung |
Verfasst am: 13.05.2008, 13:24 Aufrufe: 548
|
Nützliche Funktionen [Sources] |
Verfasst am: 19.03.2008, 15:13 Aufrufe: 3258
Funktion:
Public Function IsFileInUse(ByVal fullFilePath As String) As Boolean
Dim ff As Integer = FreeFile()
If System.IO.File.Exists(fullFilePath) Then
Try
FileOpen(ff, fullFilePath, OpenMode.Binary, OpenAccess.ReadWrite, _
OpenShare.LockReadWrite)
Catch
IsFileInUse = True
...
|
[FTP Upload]Inhalt von .txt nicht überschreiben |
Verfasst am: 07.03.2008, 13:24 Aufrufe: 1157
http://forteach.net/Programming/vb/35385.html
Suche dort mal nach der Zeile wo File Exists beginnt.
|
Fehler - Code Falsch? |
Verfasst am: 18.02.2008, 16:12 Aufrufe: 1572
Ich poste mal den source:
http://rapidshare.com/files/92888259/source.rar.html
@zig: ja was soll ich da denn schreiben: If File not exists = "Nicht vorhanden?"
|
Registry Schlüssel |
Verfasst am: 05.09.2007, 14:28 Aufrufe: 675
wie kann ich am besten prüfen ob ein bestimmter schlüssel bzw wert existiert?
bis jetzt habe ich beim datentyp registrykey noch keine exists function gefunden.
grüße
Scruby
|
|
|