Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15705

CTD using CommonDialog

$
0
0
Hi All,

I have a really strange problem occuring from code that used to work but will now only work in the IDE. Compiles fine but when I run the exe it will CTD before anything is displayed. No error message at all but I've traced it to being the ShowOpen where the CTD occurs. Can't see anything in Event Viewer either.

With CommonDialog
.DialogTitle = "Select your choice..."
.CancelError = True
.InitDir = "C:\Temp"
.Filter = "All Files (*.*)"
.FilterIndex = 1
.ShowOpen
Filename = .Filename
End With

I'm beginning to think it's something on my system causing the problem... I've tried rebooting but still the same problem! Any ideas what could be causing it.

Any help would be very much appreciated coz I'm stumped where to go next!

Thanks

Viewing all articles
Browse latest Browse all 15705

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>