|
-
May 8th, 2007, 06:07 AM
#1
Thread Starter
Hyperactive Member
change the display of file1
Is it possible to change the display of the files from a list to icon view. If so how do i do it.
Thanks in advance
If your question is answered then mark your thread RESOLVED and give credit to whoever answered it.
If you fail, try and try again, its the only way to success.
-
May 8th, 2007, 07:39 AM
#2
Re: change the display of file1
 Originally Posted by chris1990
Is it possible to change the display of the files from a list to icon view. If so how do i do it.
Thanks in advance
I am not sure about the API to do this. But if you track the registy change, then you can issue the vb registy codes.
Chris, it seems some registry changes are occouring.
I checked it with a before and after snaps of the registry. the diffrents are listed below:
You can check it by your self.
* Put your explore to the list view
* open regedit and exprot the HKEY_CURRENT_USER key to c:\ with the name of 'before' .
* now put your explore to the Icons view or what ever the veiw you want
* now export the same HKEY_CURRENT_USER key to c:\with name of 'after'
OPEN Your command prompt and issue the following command.
FC /U list1.txt list2.txt >new.txt
Now the diffrents are save in the new.txt in your C: Drive. open it and examin the diffreneses.
A notable change occour here.
***** before.reg
"HRZR_PGYPHNPbhag gbe"=hex:01,00,00,00,02,00,00,00,00,00,00,00,00,00,00,00
"HRZR_HVGBBYONE"=hex:cf,00,00,00,86,08,00,00,70,ae,d1,21,66,91,c7,01
"HRZR_HVGBBYONE:0k1,133"=hex:cc,00,00,00,59,01,00,00,40,f5,4f,3a,5f,90,c7,01
***** AFTER.REG
"HRZR_PGYPHNPbhag gbe"=hex:01,00,00,00,02,00,00,00,00,00,00,00,00,00,00,00
"HRZR_HVGBBYONE"=hex:cf,00,00,00,87,08,00,00,30,dc,36,51,66,91,c7,01
"HRZR_HVGBBYONE:0k1,133"=hex:cc,00,00,00,59,01,00,00,40,f5,4f,3a,5f,90,c7,01
*****
***** before.reg
"HRZR_HVGBBYONE:0k1,120"=hex:cf,00,00,00,04,06,00,00,c0,6e,d8,ec,65,91,c7,01
"HRZR_HVGBBYONE:0k4,7031"=hex:cf,00,00,00,96,00,00,00,70,ae,d1,21,66,91,c7,01
"HRZR_EHACVQY:%pfvqy6%\\Cubgbfubc\\Ghgbevnyf - Perngr Vpbaf, Fperrafniref, Phefbef.hey"=hex:02,\
***** AFTER.REG
"HRZR_HVGBBYONE:0k1,120"=hex:cf,00,00,00,04,06,00,00,c0,6e,d8,ec,65,91,c7,01
"HRZR_HVGBBYONE:0k4,7031"=hex:cf,00,00,00,97,00,00,00,30,dc,36,51,66,91,c7,01
"HRZR_EHACVQY:%pfvqy6%\\Cubgbfubc\\Ghgbevnyf - Perngr Vpbaf, Fperrafniref, Phefbef.hey"=hex:02,\
*****
-
May 8th, 2007, 10:20 AM
#3
Re: change the display of file1
 Originally Posted by chris1990
Is it possible to change the display of the files from a list to icon view.
Why would you do this? If any program changed my default view I'd delete the program immediately. The choice of view in my computer is mine.
Last edited by Al42; May 8th, 2007 at 10:29 AM.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
May 8th, 2007, 12:31 PM
#4
Re: change the display of file1
 Originally Posted by Al42
Why would you do this? If any program changed my default view I'd delete the program immediately. The choice of view in my computer is mine.
I agree with that. I'd find it pretty annoying.
But you can try the registry changes that were suggested. There's also code on www.pscode.com/vb to do just this, I think it uses SendMessage API I can't remember.
But the file list in Explorer is pretty much just a Listview control.
-
May 8th, 2007, 03:53 PM
#5
Thread Starter
Hyperactive Member
Re: change the display of file1
i dont mean some program has changed it, i am trying to make a program like explorer. In explorer you can change the view of the files. e.g - list, icons, thumbnails, details. I was wondering if i can do it with the file listbox in vb6
If your question is answered then mark your thread RESOLVED and give credit to whoever answered it.
If you fail, try and try again, its the only way to success.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|