how to use html to style a vb.net desktop application? - html

I'm not trying to do ASP.NET using VB.NET applications on the desktop. I want to create a desktop application that the user can enter information and retrieve information form a interface that is styled by html, css and java script. I'm NOT trying to interact with a web page at all, i simply want to make the desktop app look and act like a web app because a similar application will be available on the web this will just be like an offline version of it.

You could use the WebBrowser control and set it's DocumentText property to the source code of a web page or set it's DocumentStream to an IOStream of a local copy of your website. You can also use the ObjectForScripting property to exchange data between the vb.net application an the web page.

Related

Add Dynamics CRM HTML Webresource in Power portal

I've created an HTML webresource in Dynamics CRM. Now I need to show it in Power Portals. I tried following below links but none of them helped me out.
https://www.youtube.com/watch?v=8XaKZUGmhEo&t=8s
https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/283638/add-html-webresource-in-portal
Please help me to add HTML web resource in Power Portal.
I'm not aware of a way to use a dynamics web resource within a portal (although you probably can). If you want to add your custom HTML to a portal I would use web templates instead.
Create a web template with the html inside
Create a page template with type = web template and select the web template that you created
Create a web page and select the page template that you just created as the page template.

Is there a way to access the HTML of an In App Browser (Themeable Browser)

I am using the ionic framework and would like to be able to read from the HTML from the current webpage and then send the selection back to my application.
I have the Theme-able Browser Plugin setup and can use it like any other web browser.
I have tried looking at ways to include my own script with the .executeScript() function but no luck.
I have also tried to read data from custom buttons that I have inserted into the tool/nav bar but that gives me the HTML of my application.
TL;DR: (Basically want access to the DOM of the current webpage and have the user use native selection to read the document.getSelection() and send that text back to my application.)
Any help would be highly appreciated.
After browsing the forums on Ionic I found the solution:
browser.executeScript({code:'window.getSelection().toString();'}).then((selection)=>{
packet.text = selection[0];});
This allows me to get the selection.

Creating an Ipad app with static html,css & javascript

Let me explain the scenario first.
I have a simple static dashboard html page with 5 simple charts created with HTML5, CSS
and javascript.
It renders data from a static Json to display the charts.
Its is not online and running in my local system.
There are no back end code which connects to a database.
Now I want to convert this to an Ipad app where I can see the dasboard page without out internet connection.
Kindly provide me a best way to do this.
Regards,
Shanmugam
You can use Apache Cordova (or phonegap) for building native web applications for all major platforms using HTML 5 , CSS and JavaScript.
You can refer to this Blog post on how to easily port existing HTML5 based application to iOS and Android.
Additionally you can also check this link for some more insights.

Hosting a WebBrowser control in aWeb Page

i am following the below mentioned tutorials to create a custom Windows forms control library. I am able to host the control in a html page and test it for the given label.text change examples.
http://weblogs.asp.net/spano/archive/2007/09/19/hosting-a-windows-form-control-in-a-web-page.aspx
http://www.codeguru.com/csharp/.net/net_general/internet/article.php/c19639/Hosting-NET-Windows-Forms-Controls-in-IE.htm
However when I use a WebBrowser control in the custom user control, it works in Windows forms application but doesnt even load in a html page, even though I am following the exact procedure as in the example.
How can we have a user control having WebBrowser control be hosted in a HTML page?
Thanks,
Anil

How do I intergrate a html document into the code

I am currently working on a new app and this is my first ever app I have attemped to make with the android os.
I am using eclipse 3.6 and using android 1.5 version as the base to make the app as compatible as I can with all android phones.
I am a newbie to java and I read a few tutorials which helped me get the app up and working but I am using webview using iframes and have the html document hosted online but I would like to have it intergrated into the app itself so that I will not have to worry if a lot of people use the app will not bring down the website.
But I also want it to be able to update all the data off the website when members want to check for updated information on the html document as I am using the html document to control the main gui.
please use PhoneGap, this will fulfil your requirements