![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
|
VB6 Drivelistbox problem on WindowsVista
Hi,
currently i am placed in Bugfixing on a Vb6 project,i am reported with the product is not properly working in Windows Vista,later i found that problem is with the drivelistbox,that doesnot shows the mapped drives while running the EXE(It works properly while running from the Code). and i tested the drivelistbox behavour on a seperate project it works properly(show all drives includes mapped drives) in both the code and EXE. Is anybody there to notice me that what could be the Problem... Thanks & Regards Venkatramasamy SN |
|
|
|
|
|
#2 |
|
Professional Programmer
Join Date: Jun 2005
Location: India, The great.
Posts: 435
Rep Power: 4
![]() |
Re: VB6 Drivelistbox problem on WindowsVista
The problem probably is with the code and not windows vista. You need to provide more information in order to get help. Showing relevant portions of the code may help.
__________________
PFO - My daily dose of technology. |
|
|
|
|
|
#3 |
|
Not a user?
Join Date: Sep 2007
Posts: 245
Rep Power: 1
![]() |
Re: VB6 Drivelistbox problem on WindowsVista
When I installed VStudio 6 on my Vista machine, it reported several problems and didn't want to install it. Could be you need to reinstall VB or it could be a compatibility issue with Vista. Could be a coding error; Infogeek is right, you need to provide more information.
|
|
|
|
|
|
#4 |
|
Hobbyist Programmer
Join Date: May 2006
Location: West Jordan, Utah, United States
Posts: 176
Rep Power: 3
![]() |
Re: VB6 Drivelistbox problem on WindowsVista
If those drives are networked drives, there are two possiblilities off the top of my head:
1) You're running Samba. 2) You don't have proper permissions. The latest versions of Samba have had real problems with drive mapping. If that's the case, you'll have to fix Samba. The second one is easy to solve. |
|
|
|
|
|
#5 |
|
Not a user?
Join Date: Sep 2007
Posts: 245
Rep Power: 1
![]() |
Re: VB6 Drivelistbox problem on WindowsVista
...guess that would depend on if he's the admin...if not, they might not want to give permissions.
But that reminds me of my last project. I kept running into permission problems trying to grab some folders in the Window's and Documents and settings folder, even though I'm set up as admin on my domain. I finally excluded those folders from my list, maybe later I'll work out the permissions issue and learn something. Probably a good thing that I didn't include them considering what my program's intention was. |
|
|
|
|
|
#6 |
|
Newbie
|
hi to all,
Thanks for all who viewd and replied Some more info about the Drivelistbox problem environment 1. I am working with AdminRights 2.The Exe working Properly on other versions of Windows(Shows all derives and maped drives) 3.While running the EXE in Windows Vista the problem rise 4.if any of code restricts means then, it mightnotwork on the Code itself too right...!but it works properly while running from the source code... |
|
|
|
|
|
#7 |
|
Not a user?
Join Date: Sep 2007
Posts: 245
Rep Power: 1
![]() |
Re: VB6 Drivelistbox problem on WindowsVista
Windows Vista has UAC, or User Access Control, a new feature that pretty much requires confirmation of any program that runs, even if you are an administrator. If you're not seeing the prompts, then that shouldn't be the problem. When running your code inside of the IDE, you won't see the prompts because your program runs as part of the IDE, whereas if you run the program outside of the IDE, it runs as a separate program and would therefor be handled by the UAC as such and you would be prompted to allow it to run.
It could possibly be your program is trying to access a protected part of the OS, such as memory, and Vista most likely has a new memory scheme. I haven't done any research as to what Vista requires programmatically, as I'm still learning to program, but you can find out what Vista expects from code in MSDN; I remember seeing a topic concerning this a while back. |
|
|
|
|
|
#8 |
|
Newbie
|
hi,
thanks jabo... Your information is very useful.... The program didin't rise any boxes n' asking for any rights Venkatramasamy SN |
|
|
|
|
|
#9 |
|
Newbie
|
Hi to all,
i diagnised that,it rises the error number 259 while it fails,somewhere i heared that is an win32 error, is anybody there to give more information regarding this porblem. Thanx in advance venkatramasamy SN |
|
|
|
|
|
#10 |
|
Newbie
|
Hi to All
Thanks Jabo, Ya, the problem is with the UAC,problem solved with turn off the UAC Thank you once again Venkatramasamy SN |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing icons problem | Pedja | C# | 8 | Mar 25th, 2006 8:03 AM |
| Huge arrays in C (game-oriented problem theme) | Rather Generic | C | 6 | Mar 19th, 2006 1:09 AM |
| cgi/perl script + IE problem | joyceshee | Perl | 2 | Jan 24th, 2006 11:10 AM |
| Variable array problem | Hintshigen | C | 6 | Apr 10th, 2005 2:35 PM |
| help with recursion problem | the_new_guy_in_town | Java | 3 | Apr 7th, 2005 3:04 AM |