Click here to Skip to main content
15,896,154 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: HELP! How to convert msaccess bitmap image to long binary format??? Pin
Dave Kreskowiak8-Feb-06 7:56
mveDave Kreskowiak8-Feb-06 7:56 
GeneralRe: HELP! How to convert msaccess bitmap image to long binary format??? Pin
isgrom8-Feb-06 9:06
isgrom8-Feb-06 9:06 
GeneralRe: HELP! How to convert msaccess bitmap image to long binary format??? Pin
Dave Kreskowiak8-Feb-06 11:35
mveDave Kreskowiak8-Feb-06 11:35 
GeneralRe: HELP! How to convert msaccess bitmap image to long binary format??? Pin
Mekong River9-Feb-06 20:18
Mekong River9-Feb-06 20:18 
QuestionCopy data from Datagrid to form Pin
Jlawrnce7-Feb-06 10:54
Jlawrnce7-Feb-06 10:54 
AnswerRe: Copy data from Datagrid to form Pin
Jlawrnce7-Feb-06 11:53
Jlawrnce7-Feb-06 11:53 
GeneralRe: Copy data from Datagrid to form Pin
Jlawrnce7-Feb-06 13:56
Jlawrnce7-Feb-06 13:56 
QuestionSorry now in english => system.UnauthorizedAccessException during access on system directory Pin
cosma2177-Feb-06 10:28
cosma2177-Feb-06 10:28 
During looping throug the directories the program tries to access the system directory
"C:\System Volume Information". The access is denied by the system and I receive an error message.
See subject.

So far I know there are two pssibilities
1. To avoid the error with ATTRIBUTE
2. To catch the error with TRY.

If I use ATTRIBUTE I don't know how the code looks and where I have to implemente it.
If I use TRY the program does not continue the loop.

Mein Code :
Private Function FindFiles(ByRef FoundFiles As ArrayList, ByVal dirname As String, ByVal filespec As String, ByVal recurseDirs As Boolean) As ArrayList

Dim strFilter As String = filespec
Dim m_arExt() As String = strFilter.Split(";")
Dim dic As New IO.DirectoryInfo(dirname)

For Each Filter As String In m_arExt

For Each fname As String In System.IO.Directory.GetFiles(dirname, Filter)
FoundFiles.Add(fname)

Next fname

' recurse on subdirectory if so requested
If recurseDirs Then
For Each dname As String In System.IO.Directory.GetDirectories(dirname)
FindFiles(FoundFiles, dname, filespec, recurseDirs)

Next dname
End If
Next Filter

Return FoundFiles

End Function

Can anybody assist me to sove the problem ?

Best regards Theo
AnswerRe: Sorry now in english => system.UnauthorizedAccessException during access on system directory Pin
Guffa7-Feb-06 11:13
Guffa7-Feb-06 11:13 
GeneralRe: Sorry now in english => system.UnauthorizedAccessException during access on system directory Pin
cosma2177-Feb-06 11:22
cosma2177-Feb-06 11:22 
AnswerThe system directory is protected by the OS Pin
JUNEYT8-Feb-06 0:31
JUNEYT8-Feb-06 0:31 
GeneralRe: The system directory is protected by the OS Pin
cosma2178-Feb-06 4:46
cosma2178-Feb-06 4:46 
GeneralRe: The system directory is protected by the OS Pin
JUNEYT8-Feb-06 5:03
JUNEYT8-Feb-06 5:03 
GeneralRe: The system directory is protected by the OS Pin
cosma2178-Feb-06 8:36
cosma2178-Feb-06 8:36 
GeneralRe: The system directory is protected by the OS Pin
JUNEYT8-Feb-06 22:42
JUNEYT8-Feb-06 22:42 
GeneralRe: The system directory is protected by the OS Pin
cosma2179-Feb-06 16:40
cosma2179-Feb-06 16:40 
Questionsystem.UnauthorizedAccessException bei Zugriff auf Systemverzeichnis Pin
cosma2177-Feb-06 10:12
cosma2177-Feb-06 10:12 
AnswerRe: system.UnauthorizedAccessException bei Zugriff auf Systemverzeichnis Pin
Christian Graus7-Feb-06 10:59
protectorChristian Graus7-Feb-06 10:59 
QuestionA carriage Return Pin
Mark067-Feb-06 9:39
Mark067-Feb-06 9:39 
AnswerRe: A carriage Return Pin
Christian Graus7-Feb-06 9:51
protectorChristian Graus7-Feb-06 9:51 
GeneralRe: A carriage Return Pin
Mark067-Feb-06 9:59
Mark067-Feb-06 9:59 
GeneralRe: A carriage Return Pin
Christian Graus7-Feb-06 10:20
protectorChristian Graus7-Feb-06 10:20 
QuestionShowing image or icon on XP Button in VB.NET Pin
Hari Om Prakash Sharma7-Feb-06 7:42
Hari Om Prakash Sharma7-Feb-06 7:42 
AnswerRe: Showing image or icon on XP Button in VB.NET Pin
Mekong River7-Feb-06 15:05
Mekong River7-Feb-06 15:05 
Questionupgrade program to vb6 Pin
taurus7777-Feb-06 7:18
taurus7777-Feb-06 7:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.