Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows Vista > Windows Vista Administration

Notices

Reply

VB6 and Vista

 

LinkBack Thread Tools Display Modes
Old 02-09-2007, 11:30 PM   #1 (permalink)
Default VB6 and Vista

I have a very simple code in VB6 project. It opens the file on the mapped
drive:

strSourse = "S:\Coordinator"
Open strSourse & "\InitialData.txt" For Input As #intFileNumber

While on XP it works fine on Vista it produces an error 76 'Path not found'

I mapped S: drive on both machines the same way. I can explore that drive
manually and open the file with no problem.
I think there is something I'm missing with the new security on Vista. But
what?
I tried to run my app as a regular user, as admin. The same problem.

Thank you
Vovan


vovan
Guest
 
Posts: n/a
Reply With Quote  
Old 02-09-2007, 11:42 PM   #2 (permalink)
Default Re: VB6 and Vista

I've noticed that most folder browser dialogs and file open dialogs do not
include mapped drives in Vista. Weird. I haven't figured it out yet but it
is a real pain.

Dale

"vovan" <someone@vovan.com> wrote in message
news:%23bnJ8qKTHHA.4404@TK2MSFTNGP03.phx.gbl...
Quote:
>I have a very simple code in VB6 project. It opens the file on the mapped
>drive:
>
> strSourse = "S:\Coordinator"
> Open strSourse & "\InitialData.txt" For Input As #intFileNumber
>
> While on XP it works fine on Vista it produces an error 76 'Path not
> found'
>
> I mapped S: drive on both machines the same way. I can explore that drive
> manually and open the file with no problem.
> I think there is something I'm missing with the new security on Vista. But
> what?
> I tried to run my app as a regular user, as admin. The same problem.
>
> Thank you
> Vovan
>
Dale
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Problems upgrading from Vista Home Basic to Vista Business Guest Windows Vista 0 03-05-2008 02:20 PM
0x80070035 Vista Ultimate and Vista Home Premium error jayboi2005 Windows Vista Networking & Sharing 2 01-18-2008 02:05 AM
Printer Sharing - Vista Home Preminum/Vista Business Ernie Windows Vista Networking & Sharing 3 04-24-2007 03:03 PM
Vista-2-Vista Remote Desktop using a secure Windows Internet Computer name Sooner Al [MVP] Windows Vista Networking & Sharing 4 04-12-2007 09:59 AM
Upgraded from Vista to Vista (ps. Wacom Tablet Drivers Released) iam bennu Windows Vista Performance & Maintenance 0 07-25-2006 07:18 AM


All times are GMT. The time now is 07:35 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90