Solved

how show into a hta file an existing php/mysql page ?

Posted on 2011-09-20
2
600 Views
Last Modified: 2012-05-12
Hello,

I'm preparing a little hta page that will popup at users login and I'm wondering if it could be possible to show in that hta file an existing php file who does MySQL requests or perhaps to integrate the MySQL requests into the hta file?

I saw in some forums that the php might not work at all on hta...
any ideas?
0
Comment
Question by:David_Pazos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 65

Accepted Solution

by:
RobSampson earned 500 total points
ID: 36570482
Hi, I dont think PHP would be supported by the HTA, but you could try an iFrame, although it seems a bit shaky.

<html><head>

<HTA:APPLICATION
	APPLICATIONNAME="TestHTA"
	ID="TestHTA"
	BORDER="thick"
	BORDERSTYLE="normal"
	CAPTION="yes"
	CONTEXTMENU="no"
	INNERBORDER="no"
	MAXIMIZEBUTTON="yes"
	MINIMIZEBUTTON="yes"
	NAVIGABLE="yes"
	SCROLL="no"
	SCROLLFLAT="no"
	SELECTION="no"
	SHOWINTASKBAR="yes"
	SINGLEINSTANCE="yes"
	SYSMENU="no"
	WINDOWSTATE="normal">

<script language=vbscript>
Sub SetIFrame
	MyFrame.location.href = "http://www.google.com"
End Sub
</script>
</head>

<body>
<iframe id=MyFrame application=yes scrolling=no onload="SetIFrame" height="800" width="600"></iframe>
</body></html>

Open in new window


But VBScript can query the MySQL server if you just wanted to do that....
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_DB/Q_26851466.html

Regards,

Rob.
0
 

Author Closing Comment

by:David_Pazos
ID: 36580563
Thanks =)
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question