Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Calling Windows Explorer From A VB Application


Hi all,
I am using the following command in my VB program to call "Windows
Explorer":
Dim Det as Long
Det = Shell("explorer.exe " & "C:", vbNormalFocus)
It works fine.
I have two questions:
1) It is possible to open Windows Explorer inside a form ? How ?
2) It is possible to open Windows Explorer with both columns (Files &
Names) How ?
Thanks in advanced




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Calling Windows Explorer
guys help me on this one....
i have a textbox... it contains the
file path of a certain file
(ex. C:Program Files)
i also have a command button.
what i want to do is that when the
user clicks on the command button, my
program will call windows explorer and will
open the path written on the text box.
how can i go about it???
please help!!!!
thank you guys in advance...

Calling Internet Explorer/Netscape On My Application
Hi! How can you call the default browser
(Windows IE or Netscape navigator) in your application
during runtime and specify the location you want to browse?

Thanks for any help.

- I'm using VB 6.0 Enterprise Edition

Calling Specific Internet Explorer Address On My Vb Application
hello!

how could i redirect my users to go to my profiles when they click my menu about the author? i want them to redirect the users on my homepage @ www.homepagesomething.com

is that possible? calling internet explorer on my vb application? help me please

My Application In Windows Explorer
Hi,
I want to know the proces by which I can add my application to Windows menu in File menu.
I'm using vb6.0.
Please provide me with some coding

thanks
Satti Charvak

Windows Explorer Type Application
Hi all,
I need to write an application which just resembles the windows Explorer can
any one help me to develop this, i aslo need the related icons of the file
types to be displayed in front of the file name same as like that displayed
in windows explorer.
thanks in advance

Add Application To Windows Explorer Context Menu
Could someone help me please?

I need to add an application to the Windows Context Menu (right-click file --> Open with MyApp). I have Googled, VBCity'd, MSDN'd and Yahoo'd for the answer, but to no avail

Maybe someone has a snippet they have used?

Thanks

(VB6 please)


Criticism comes easier than Craftmanship

Whilst I try and answer every thread there is, I find most of my answers to your posts here:

[Posting Guidelines] | [FAQ's] | [The Chosen One] | [Knowledge Search] | [Richie's Wisdom Forum]


Edited by - rjhare on 4/11/2007 5:44:32 AM

How To Display Large Icons W.r.t Application Just Like In Windows Explorer ?
Hi,

How to display Large Icons for Application Specific. Just as we get in Windows Explorer. How to get the icon for that application from the registry.

Please let me know imeediately

contact : Kpra24@hotmail.com

Regards

Prasad

How Can I Know User Visited A Site Using Windows Explorer( Not Internet Explorer)
I have made a program which keep track of site visited by users through internet explorer but I am unable to get it when user visited it through windows explorer. can I get any function which gives the information when user visited a site using windows explorer or whether it's possible to stop user to visit a site using windows explorer he will only visit a site using internet explorer only.

Please help me out .

Thanks

Calling Internet Explorer
hello all,
can anyone tell me how to pass proxy username and password to internet explorer. im using CreateProcess function to call internet explorer from visual basic.

Thanks

Differentiating Between IE Windows And Explorer Windows[RESOLVED - I THINK :)]
Hi all,


I'm using the following code to add all the open IE windows to a collection:



Code:

Dim SWS As New SHDocVw.ShellWindows
Dim IEW As SHDocVw.InternetExplorer
Set IECol = Nothing
Set IECol = New Collection
For Each IEW In SWS
Add IEW
Next




This works great , apart from the fact it also registers normal explorer windows. Just wanting to know if there is anyway of differentiating between the two types.


Thanks in advance


Paul

VB Application Calling A JAVA Application
Hi,

Basically I know virtually nothing about VB, however I have been assigned a task to update an existing VB application.

What i need to do is have a button on this VB application somehow get a small JAVA application (which basically is just a window which displays a web page) i have created to run. The two applications do not share any data or anything like that. I merely need the VB to get the JAVA to run when the VB Button is pressed.

How difficult is this? I was hoping I dont need to use any bridging using ActiveX etc... is this possible?

Any code solutions would also be greatly appreciated, thanks.

Windows Explorer
Hi Guys,

Whenever you launch windows explorer, it open My documents folder. How can you set it up so that it always opens a different folder?

Thanks

VB Windows Explorer
Greetings,
I attach a .zip file with this post. It contains the source code for a windows explorer (some sort of anyway).
I have been working with it for the past two days trying to make an adjustment to fit my needs.
This application has this option called when clicking (File -> Change Root File). You are then prompted a dialog box to select a folder. The application then explores this folder (and its subfolders) only.
What I wish to do is restrict the exploring in a single Folder (and its subfolders) by default (on form load) (hence, use the Change Root Folder option on load)

in short, I have a folder App.Path & "Logging" , containing log files in pdf and I would like to browse only this folder and not all as the application does.

Any help or recommendation would be appreciated,
thank you much
Nikolas

Windows Explorer
Does anybody have any idea how I would manipulate Windows Explorer using Visual Basic.
I would want to Change Right Click menus, add and Remove Icons to the explorer tree at will amongst other things. I know it's possible as i've seen some apps do it but I want to be able to do it myself.
One possible example of use would be to have a folder added called "Projects" and under this folder a list of a companies active projects would be listed.

Cheers

Windows Explorer Is An MDI
I have a MDI program and I want to show the directory of an FTP server in an MDI Child form. Is there anyway to incorporate Windows Explorer into a form and point it to ftp://username: password@www.ftpserver.com/directory . If not Explorer, any other programs or methods of displaying the directory? If possible i would like to be able to edit the files there as well (given the ftp permissions). ie. upload and download them.

Thanks

Windows Explorer Fix?
A couple of months ago I stumbled on a great little vb6 program (on this forum) that made Windows Explorer behave in a civilised way – opening where it was last closed. I thought it was by Martin Liss; but I may be wrong. Anyway, I’ve just changed PCs and I’ve managed to lose it. I’ve tried the search function on here without success.
Would someone please point me in the right direction?

TIA
Dave

Windows Explorer In App?
Hi,
I've noticed that many programs, even small shareware ones, manage to have a 'Windows Explorer' like function in them, whereby the user can browse directories etc.

Can this be done in VB6? The type of explorer I have in mind is much more sophisticated that file/drive list boxes or tree view controls...

Cheers,
Lithic

Windows Explorer
Please go through my attached document and help me.

Windows Explorer
I am trying to reproduce something similar to that. The line between the treview and the list that allows you to resize(se screenshot): Is this a control or do I have to this all by code ? Thanks

Windows Explorer
Hi,
How can attach my program such that each time windows explorer is started by the user, my program shd also start.

I dont want a continously running app. which monitors using findwindow thing.

Thanks you.

Windows Explorer
Aight peep this out..

I'm runnin Windows XP.. thats the best version of windows to all the retared 95 users that haven't heard of it.

Anyways.. when i pull up a folder.. like desktop or what not.. and i do a search.. i have to click a bunch of **** to type something in.. its supposed to make it easier for all the retard rednecks that are actually stupid enuf to buy an NT based machine, let alone a computer. Anyways.. i liked the whole win2000 search pane, of click search, start typin the filename.. it was simple then.

So, one of the following please:

1) Lemmie know how to change it to the old search pane
2) Tell me what i need to design my own search pane in VB that will actually SIT INSIDE explorer and will have a button on the toolbar.. that would really be helpful


Thanx!

Windows Explorer??!
is there any controls that enables me to use windows explorer in my program? I want to make a little file browser, is there any way other than doing everything manually with a treeview and a listview?

MSN Explorer And Windows XP GUI
does anyone know how to achieve a GUI that might resemble that of MSN explorer or Windows XP? The standard VB "box" look has grown kind of old and I am looking for something to spice up my apps. Any sort of GUI tip would be helpful.

Windows Explorer Example?
I'm trying to find a Windows Explorer like app.

Does anyone know where I could find one?

Regards

Windows Explorer...
I know this may sound stupid, but does anyone know what component Windows Explorer uses for browsing the files? I have been looking all over for it in Visual Basic and C++, but nothing. I think it is named something like SysTreeView32 or something like that.

This is really important that I have this, so any help would be appreciated.

Windows Explorer
Does anyone know if there is a control or API call that lets me place a directory/file list box like that of Windows Explorer? I've been looking for this control/code for a while now. I'd like to show the folder and files in a directory using icons instead of just a list or tree. Thanks in advance.

Use Windows Explorer
i want to put explorer onto a form so i can handle the events.
Is this possible?
is there something like the iexplorer ocx i can use

thanks for looking
Deepdraw

Windows Explorer Help!!!!!
Hi,

Does anyone know how to add a option to the popup menu that displays when you write mouse click in windows explorer?

So I can add my own option to their popup menu, which when clicked, performs a function specified by me.

Thanks Heaps.

Windows Explorer
Hai,

I would like to create an application just like Windows Explorer.

Any sample code is avaible?.

Thanking you in anticipation

Ravi

Windows Explorer
Does anyone know how WINDOWS EXPLORER attaches information when drag and drop occurs. I am creating a program that requires the same functionality of EXPLORER's drag and drop features. I have tried setting the data with the full path name of the file and this does work, but it does not act like EXPLORER does when I drag and drop the same file in my program. Anyone know how EXPLORER sets its data?


Thank you!!!

FTP Windows Explorer-like GUI
Hello,

I am looking for information on how to create a Windows Explorer-like GUI that can read and displays the files and folders on our web site.

And I would like to allow for the selection of the files or folders using checkboxes next to each folder/file listed.

I've done some searching and have only found bits and pieces of possible solutions, but they ended up being too complex.

What do you suggest?

Thanks,
Bruce
========

Explorer Application
Hi,
i wanted to make my application run as the Windows 2K OS shell.
i.e. After successful login to the Win 2K system, my application should launch instead of Windows's Explorer(which displayes "Start", Task bar, Desktop, etc).

When my application is running user should not be able to view the desktop, run any application..

after i close my application, it should logoff and takes to login prompt.



Plz help me out in achieve this.

thanks in adv.

Venu Bharadwaj

Problem Running VB6 Application In Windows XP && Windows 2003 Server
I have installed a program written in VB6 and Crystal Reports 8.

When I run the program in Windows XP Professional, once a while I encounter "Illegal Operation" for SslstBar.ocx, Ssdw3a32.ocx and Ssdw3b32.ocx.

When I run the program in Windows 2003 server (program and database in the server), frequently my program seems like hang and I can only close my program using "Endtask".

I need to your help to resolve the above problem soonest possible.

Thank you very much.

Have a nice day.

How To Handle Size && Position Of Console Application With Windows Application In VB6
Hi Dear All,

I am facing a major problem in VB6. I wants to create an application in VB6 which contains one OLE control and one Picture box. OLE control contains the Word Document and in Picture box a DOS based application which is already developed should show. I am using shell function to call the DOS application but unable to set its Size and Position. So please help me to solve this problem. I have already used some of the API's like ShowWindowPos(), MoveWindow(), DeferWindowPos() but thease function works only for Windows based exe not for DOS based exe. Please tell me the way to solve the problem.

OR If somebody tell me how to convert a DOS based exe program into Window based exe program so that I can call DOS Application as a Window based application.

So please help me asap.

Thanks
Deependra Pathak

Copy From Windows Explorer
I am trying to copy from windows exlporer and paste into an image control but when I go back into vb and try the clipboard command (Clipboard.getData) i get a 0 if I could get some help I would greatly appreciate it.

Windows Explorer Replacement
I am new to vb and I am trying to create a windows explorer like application that I can run at boot-up instead of windows explorer(desktop).

The app will basically be able to access a list of specified intranet or internet sites

I had that I can call an IE api from shell to do something similar but I don't know where to start from

Any help will be appreciated

Listview Like Windows Explorer
Hi,

I have a form with two main controls a treeview and a list view. I have used OLE drag and drop to move/copy items from the listview to the treeview. The listview contains a list of products and product descriptions. I would like to see the product/description when I drag an item from the list view to the treeview (as happens when you drag a file accross the panes in windows explorer, the name of the file can be fainlty seen). Is there some facet of the dragicon property I am not understanding?
TIA

G

Windows Explorer Behavior
Just want to know how I can make my form act like windows explorer...combination of treeview and list view but the thing is what is it in between them that when you place your cursor over it, it allows you to resize the treeview...Is it an ocx or something?Thanks

Refreshing Windows Explorer
Hello,

I am looking for a way to create a program, that once started, will automatically refresh my windows explorer session every minute or so; this is not Internet Explorer, but Windows Explorer (My Computer).

I have been searching through the forum and found I can use a KeyEvent or SendKeys.

Still being a beginner I haven't a clue how to use the KeyEvent option, but SendKeys makes sense to me, and that is what I am likely to use.

What I have no idea about is how do I make the program know that I want to refresh a screen within Windows Explorer. I am willing to do some reading and try to figure it out for myself, but I don't know what to look for. Can someone point me in the right direction?

Thank you in advance,

IF

Getting Filenames From Windows Explorer Into Vb App
How can I get a list of selected filenames from Windows Explorer into a vb app? When I select the file(s) and choose my app from the context menu, the app uses COMMAND$ to get the commandline argument, but it only gets the first file. How can I get the entire list of selected files into a vb app?

I want to be able to simply select one or more files from Windows Explorer, then right-click and choose my app from the context menu (which I already have set on the context menu), which then launches my app and process ONLY the selected files. I use COMMAND$ to grab the commandline but COMMAND$ only gives me the first file from the list of selected files. I know this is possible because some programs do this, for example, selecting a bunch of files and then right-clicking and selecting, for example, Zip with Winzip, and it process all the highlighted files (zips them).

Windows Explorer Within My Form.... Possible??
Hi,

Is there a windows explorer control like internet explorer control?
What i need is to display a Folder in my Form with all Windows Explorer Functions if possible...
I dont want to open a new Explorer Window because i want to control the ZOrder an Size of the Window.

Thanx

Stefan

Making Windows Explorer Pop Up On Top
Hi,

I am calling windows explorer and that works well. However it becomes active as an item on my task bar. How can I call it and put it on top of my application?

Thanks,

JP

Windows Explorer Window...
Currently, when a user clicks upon a button within my program, it opens up a location in the standard windows environment e.g. C:My Documents is opened when the "My Docs" button is clicked upon. However, I need to get the contents of the window to be embedded within the VB form, without the toolbar at the top - so contents only are displayed. I am still learning VB so please make the explanation simple
btw - i am currently getting the window to open using the following code;

Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _
(ByVal hwnd As Long, ByVal lpOperation As String, _
ByVal lpFile As String, ByVal lpParameters As String, _
ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long

(at the top of the form)

and...

Dim ret As Long
ret = ShellExecute(Me.hwnd, vbNullString, "c:My Documents", vbNullString, CurDir, 1)

on the command button

Many thanks for any assistance

Opening Windows Explorer...
I want to be able to open windows explorer to a specific location from my VB program but I am not sure how to do it... (for example to: c: emp)

Windows Explorer And CommonDialog
This thread is concerning 2 issues, one about Windows Explorer and the other about the CommonDialog control. They are both concerning the same thing.

Windows Explorer - I just realized that I can use Windows Explorer like an FTP program. Files can be copied and pasted or drag and dropped between a local and remote computer. Delete, rename, add folders etc. is also available using Windows Explorer. You are asked for the user name and password before you are allowed to access a remote computer.

CommonDialog - This control appears to allow me to look at the directory of a remote computer by selecting MyNetworkPlaces however when I look at CommonDialog1.FileName after selecting a remote file I see something like C:UserDocuments and SettingsIE5Temporary Internet Fileslah blah blah. It is clearly looking at temporary files (offline content).

Although I knew it was there I had just never considered the ability to save a Word document to a remote computer via the CommonDialog control that is used in all of Microsoft software. Word allows me to save a document to a remote location however VB6 does not. If Word is able to do this then surely the CommonDialog control is able to access remote computers.

Is there a way to set the path for a CommonDialog control to look at a remote computer in much the same way that Word does?

Can the path be set programatically to go to a specific website or computer before the control is opened?

Can the username and password be set programatically for the remote computer?

Why does this work in Word but not in VB6 or even in Notepad?

The difference I see between the CommonDialog box used in Word and the one used in VB6 and Notepad is the bottom of the opened box appears to be chopped off and only the top of the icon of the MyNetworkPlaces icon is visible.

Windows Xp Explorer Style IN VB6?
How do i get Windows XP style directory, drive, and file list boxes?

Windows Explorer View
Hi Everyone,

I was wondering if there is a way to make a tree view hierarchy of my local file system that looks like the hierarchy in Windows Explorer XP.

If so, is there a way to double click a certain file or folder in this tree view and move that directory address to a listbox? Thank you all in advance. These forums look awesome and I'm looking forward to learning and helping everyone. THANKS!

Open Windows Explorer
I am using the WebBrowser control. What I want is when users click a menu item, the Windows Explorer window (which can be invoked by pressing Win+E keys from the keyboard) should come up & the Windows Explorer window should open in my browser window. How do I go about it?

Thanks,

Arpan

Windows Explorer TreevIew!
Since last 2 hours, I have been searching the Net (including this forum) on code samples on how to create a Windows Explorer TreevIew control that lists all the drives along with their folders & sub-folders but couldn't lay hands on any sample code except for one at http://vbnet.mvps.org/index.html?cod...renumbasic.htm. The problem with the code at the URL cited is that it takes considerable time to load all the folders & sub-folder when a drive is opened.

Can any one link me to a good example or give me the code to create such a TreeView?

My patience has been tested enough today!

Thanks,

Arpan

Copyright © 2005-08 www.BigResource.com, All rights reserved