Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 17th, 2007, 12:03 AM   #1
venkatramasamy
Newbie
 
Join Date: Oct 2007
Location: INDIA
Posts: 19
Rep Power: 0 venkatramasamy is an unknown quantity at this point
Send a message via AIM to venkatramasamy
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
venkatramasamy is offline   Reply With Quote
Old Nov 17th, 2007, 7:55 PM   #2
InfoGeek
Professional Programmer
 
InfoGeek's Avatar
 
Join Date: Jun 2005
Location: India, The great.
Posts: 435
Rep Power: 4 InfoGeek is on a distinguished road
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.
InfoGeek is offline   Reply With Quote
Old Nov 17th, 2007, 10:33 PM   #3
Jabo
Not a user?
 
Join Date: Sep 2007
Posts: 245
Rep Power: 1 Jabo is on a distinguished road
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.
Jabo is offline   Reply With Quote
Old Nov 18th, 2007, 2:58 AM   #4
Harakim
Hobbyist Programmer
 
Join Date: May 2006
Location: West Jordan, Utah, United States
Posts: 176
Rep Power: 3 Harakim is on a distinguished road
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.
Harakim is offline   Reply With Quote
Old Nov 18th, 2007, 3:00 AM   #5
Jabo
Not a user?
 
Join Date: Sep 2007
Posts: 245
Rep Power: 1 Jabo is on a distinguished road
Re: VB6 Drivelistbox problem on WindowsVista

Quote:
Originally Posted by Harakim View Post
The second one is easy to solve.
...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.
Jabo is offline   Reply With Quote
Old Nov 19th, 2007, 3:34 AM   #6
venkatramasamy
Newbie
 
Join Date: Oct 2007
Location: INDIA
Posts: 19
Rep Power: 0 venkatramasamy is an unknown quantity at this point
Send a message via AIM to venkatramasamy
Smile Re: VB6 Drivelistbox problem on WindowsVista

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...
venkatramasamy is offline   Reply With Quote
Old Nov 19th, 2007, 3:45 AM   #7
Jabo
Not a user?
 
Join Date: Sep 2007
Posts: 245
Rep Power: 1 Jabo is on a distinguished road
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.
Jabo is offline   Reply With Quote
Old Nov 19th, 2007, 3:59 AM   #8
venkatramasamy
Newbie
 
Join Date: Oct 2007
Location: INDIA
Posts: 19
Rep Power: 0 venkatramasamy is an unknown quantity at this point
Send a message via AIM to venkatramasamy
Smile Re: VB6 Drivelistbox problem on WindowsVista

hi,
thanks jabo...

Your information is very useful....

The program didin't rise any boxes n' asking for any rights

Venkatramasamy SN
venkatramasamy is offline   Reply With Quote
Old Nov 20th, 2007, 1:07 AM   #9
venkatramasamy
Newbie
 
Join Date: Oct 2007
Location: INDIA
Posts: 19
Rep Power: 0 venkatramasamy is an unknown quantity at this point
Send a message via AIM to venkatramasamy
Exclamation Re: VB6 Drivelistbox problem on WindowsVista

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
venkatramasamy is offline   Reply With Quote
Old Nov 20th, 2007, 3:53 AM   #10
venkatramasamy
Newbie
 
Join Date: Oct 2007
Location: INDIA
Posts: 19
Rep Power: 0 venkatramasamy is an unknown quantity at this point
Send a message via AIM to venkatramasamy
Thumbs up Problem Solved

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
venkatramasamy is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not 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
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:30 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC