Greetings,
I am using a web browser control to browse windows explorer. I give it a
default address as below and then click on some folder. The question is:
how do I retrieve the address of the folder I clicked on so that I can
display it in a textbox similar to windows explorer?
object loc = "W:\\EP 2005";
object null_obj_str = "";
System.Object null_obj = 0;
this.axWebBrows er1.Navigate2(r ef loc , ref null_obj, ref null_obj, ref
null_obj_str, ref null_obj_str);
While I am at it, is there a back button mechanism that is already built
into .Net 2.0? Or do I have to go with my plan of noting all the addresses
that have been visited and then just navigating backwards from the list of
visited address that I store?
Thanks,
Rich 1 1611
On Sep 26, 10:56 am, "mpetro...@gmai l.com" <mpetro...@gmai l.com>
wrote:
Back to your original issue: since you say you're using .NET 2.0, I
strongly suggest you use the native WebBrowser control
(System.Windows .Forms.WebBrows er) rather than the ActiveX-wrapped
kludge. It's more robust and easier to use.
("Native" is the wrong word - there's still an ActiveX control being
wrapped, but it's the Framework WebBrowser class doing the wrapping
for you.)
Michael This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: gokul |
last post by:
Hi,
Iam a newbie to dotnet and I experience problems in using the Browser
control in VB .net. Though Iam able to use it with its basic features,
I need to customise it.
http://www.codeproject.com/books/0764549146_8.asp
The above link shows where what I want is achived in C#, but I need t
oa cjhive the same in VB .net.
Someone help and guidance would be much appreciated.
|
by: Kai Grossjohann |
last post by:
It seems that Ctrl-N in Mozilla opens a new empty browser window.
That's fine, I don't need to do anything about it.
But Ctrl-N in IE appears to clone the current window. Is there a way
to intercept the key so that I can do stuff on the server side to make
the new window behave correctly?
(We have a JSP-based webapp which stores state in the session. Now if
two windows access (and modify!) the same session, then madness will
result....
|
by: anonieko |
last post by:
> Use x = window.Open(...) x.document.write( yourhtml)
> How to print from javascript using .print
> How to use ContentWindow
>
> How t use getElementById
> How to get HTML of document using document.body.innerHTML
// mail.js
var viewMode = 1; // WYSIWYG
|
by: santiago538 |
last post by:
Hi,
Is there any way to specify which monitor a Window.open() will launch a
new browser window in on systems with more than one display. It would
only need to work with Mozilla browsers, and not IE. Thanks!
|
by: Mark Johnson |
last post by:
I wonder if anyone has a solution? I wanted to use the web browser
control as a 'zoom' box for a smaller textbox. I can format in the
control, and save whatever formatting as HTML code back to the textbox
when the web browser is closed. The only problem comes in the use of
numeric entities to specify Unicode. The web browser control is fine
when it comes to named entities, like . And there are a lot of
named entities, just...
| |
by: crjunk |
last post by:
I'm trying to write a piece of code that will programatically save a
record automatically without me having to add a new ' Row.Item("ADD1")
= txtAdd1.Text.Trim.ToUpper ' type command each time I add a new
textbox. I've named all my textboxes in the following format txtAdd1
and I've named all my field in the SQL table the same way minus the
txt at the beginning.
This code scans the form for textboxes. If it finds a text box that
is not...
|
by: Stefke |
last post by:
Hi,
I want to write a little application with a textbox in which I can enter a
systems host name or ip address.
After clicking on a button Get Info, I want to display an overview of the
systems information in an rtf textbox.
Like CPU, Memory, HDD Info, Operating System, Service Pack, computer name,
Domain or workgroup name, ...
The application is meant to run in a network with +/- 250 systems, so if
|
by: Frank |
last post by:
Can I do this?
I add a session var in C# and ultimatly want to pass it into a vbscript
client side activeX control. This is what I have so far but get " Object
Required:'name2' " error.
Can anyone suggest a btter way of passing a session var into a vbscript
function?
<%@ Page language="c#" debug="true" ContentType="text/html"
|
by: ndippolito |
last post by:
In my application I want to allow the user to "browse" to a section of the Subversion repository and select any location and have the URL display in a message box. Navigating through a Subversion repository is a lot like navigating in Windows Explorer, except you use a web browser.
I have created a VB.Net application VS 2005 and added the WebBrowser control to the form, named WebBrowser1. I have set the default URL in the properties. I'm...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |