Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / September 2007

Tip: Looking for answers? Try searching our database.

Explorer window with close button.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Praveen - 05 Sep 2007 10:43 GMT
Opening a new explorer window.

IE = new InternetExplorerClass();
vHeaders = "Content-Type: application/x-www-form-urlencoded" + "\n" + "\r";
vPost = ASCIIEncoding.ASCII.GetBytes(strPostinfo);
IE.Navigate2(ref oURL, ref oEmpty, ref oEmpty, ref vPost, ref vHeaders);

Trying to get a window like a dialogue box, not resizable.
Window with  close button only. No minimize/restore button on right top.

thanks,
Praveen
Franck - 05 Sep 2007 13:34 GMT
> Opening a new explorer window.
>
[quoted text clipped - 8 lines]
> thanks,
> Praveen

JavaScript is your friend.

Because i guess u plan to create a login or info page, just create
your body with JavaScript to remove all things you don't need in the
visual and use a frame at 100% width and height to show the page you
need or if your building the page by code then you can put it directly
the JavaScript code inside.
if you still have problem create your own browser with ie object on a
form and create the form size you want and lock his ability to resize
and tada. youll just need to pass url to the ie object. if its locally
on the computer a path is something like : file:///path (it's 2 or 3
slash not sure)
Ignacio Machin ( .NET/ C# MVP ) - 05 Sep 2007 14:34 GMT
Hi,

> Opening a new explorer window.
>
[quoted text clipped - 6 lines]
> Trying to get a window like a dialogue box, not resizable.
> Window with  close button only. No minimize/restore button on right top.

Is this a web app?
I'm kinda lost , if not a web app, why don't simply use a regular dialog?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.