| | |
HTML with VB.NET need help urgent
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jan 2008
Posts: 24
Reputation:
Solved Threads: 0
Hi all
i am working with VB.NET for mobile application.
I want to open a HTML page in the internet explorer from my form and the size of the internet explorer should be limited to the Pocket Pc size.
How can limit the size of internet explorer and how can i run the html code in the internet explorer which is limited in size.
Here no link label tool is available.
Also do you have any idea on the following code if so explain it.
CreateProcess("iexplore.exe", "www.microsoft.com/mobile/pocketpc/default.asp", IntPtr.Zero, IntPtr.Zero, 0, 0, _IntPtr.Zero, IntPtr.Zero, New Byte(127) {}, pi)
if i give the above code form Pocket Pc i can open the web site www.microsoft.com in it, the iexplorer size is limited to the pocket pc.
But with the same if i try the following code
CreateProcess("iexplore.exe", "\My Documents\product types.html", IntPtr.Zero, IntPtr.Zero, 0, 0, _IntPtr.Zero, IntPtr.Zero, New Byte(127) {}, pi)
it shows error. unable to open it
Please help thanks
i am working with VB.NET for mobile application.
I want to open a HTML page in the internet explorer from my form and the size of the internet explorer should be limited to the Pocket Pc size.
How can limit the size of internet explorer and how can i run the html code in the internet explorer which is limited in size.
Here no link label tool is available.
Also do you have any idea on the following code if so explain it.
CreateProcess("iexplore.exe", "www.microsoft.com/mobile/pocketpc/default.asp", IntPtr.Zero, IntPtr.Zero, 0, 0, _IntPtr.Zero, IntPtr.Zero, New Byte(127) {}, pi)
if i give the above code form Pocket Pc i can open the web site www.microsoft.com in it, the iexplorer size is limited to the pocket pc.
But with the same if i try the following code
CreateProcess("iexplore.exe", "\My Documents\product types.html", IntPtr.Zero, IntPtr.Zero, 0, 0, _IntPtr.Zero, IntPtr.Zero, New Byte(127) {}, pi)
it shows error. unable to open it
Please help thanks
•
•
Join Date: Jan 2008
Posts: 34
Reputation:
Solved Threads: 0
To control the size of primary and secondary IE windows, close all IE windows. Launch webpage in Internet Explorer, right-click some weblink, and choose Open in New Window. Size the secondary window the way you want your windows to be, then close it by clicking on the X icon in the top-right corner while holding down the Shift key. Repeat this for the primary window that remains. You may have to repeat the process at times.
However, If you always want your webpage to open in precisely with the same size and position, you can add a JavaScript to the main page URL. Select Internet Options from the Tools menu and edit the Address line in the Home Page panel so it looks something like this: javascript:resizeTo(750,400); moveTo(0,0);document.location.href='http://www.yourwebsite.com'.
Maybe just a workaround for a time being...?
However, If you always want your webpage to open in precisely with the same size and position, you can add a JavaScript to the main page URL. Select Internet Options from the Tools menu and edit the Address line in the Home Page panel so it looks something like this: javascript:resizeTo(750,400); moveTo(0,0);document.location.href='http://www.yourwebsite.com'.
Maybe just a workaround for a time being...?
![]() |
Similar Threads
- How To Hyperlink Normal HTML page with ASP.NET Page? (ASP.NET)
- How to print directly from CyrstalReportViewer? Urgent!! (ASP.NET)
- Adding Controls Dynamically (URGENT) (ASP.NET)
- Need urgent help with about:blank, home search assistent, shopping wizard, search ext (Viruses, Spyware and other Nasties)
- Urgent, please help (Viruses, Spyware and other Nasties)
- I Need Help Immediately! Very Urgent! (Viruses, Spyware and other Nasties)
- URGENT! Loading Roles From ticket.UserData (ASP.NET)
- how to print datagrid only? (ASP.NET)
- PHP .tpl format template help! URGENT! (PHP)
Other Threads in the VB.NET Forum
- Previous Thread: Help me OK?
- Next Thread: urgent help for Vb.net Login page using sql statement
| Thread Tools | Search this Thread |
"crystal .net .net2005 2008 access add advanced application array assignment basic beginner box button buttons center click code combo convert cpu data database datagrid datagridview designer dissertation dissertations dissertationthesis dosconsolevb.net editvb.net employees excel exists firewall forms html image images isnumericfuntioncall listview login map math memory mobile module msaccess mssqlbackend mysql navigate net number opacity open pan pdf picturebox picturebox2 port print printpreview record regex reports" reuse right-to-left save savedialog search serial socket sorting sql sqldatbase sqlserver storedprocedure string temp textbox timer txttoxmlconverter upload useraccounts usercontol usercontrol vb vb.net vb.nettoolboxvisualbasic2008sidebar vba vbnet vista visual visualbasic visualbasic.net visualstudio.net web wpf wrapingcode xml





