- Help Please, I am sending an HTML Form with graphics from a VB5 .exe graphics don't show? (0/1) 
Author Message
 - Help Please, I am sending an HTML Form with graphics from a VB5 .exe graphics don't show? (0/1)

I have written a VB5 program which when executed from my main page
should have a nice background graphic with a logo in the corner and
some text.  When I run the exe from my browser (IE4) the document
generated has all the text but the graphics don't work.?

The weird thing is that when the HTML is generated by the executable
it goes to the browser in the right format.  I checked by viewing the
source code and it seems right.  If I save it from the notepad as an
HTML document and put it into the same directory as the executable.
Then I open the HTML doc with IE it comes up the way it should this
doesn't make any sense...  

I below is the VB code I used to generate the HTML Form, as well, I
have included a capture of the screen from the form generated VB5 as
it comes up in IE and overlaying it is a capture of the HTML Source
code(TestPageFromVB).  Also, I have included a capture of the form the
way it should be (TestPageFromHTML)

VB5>

            Send ("<HTML>")
            Send ("<BODY BACKGROUND=""..\IMAGES\MOVBG.GIF"">")
            Send ("<P> This Is A Test</P><HR>")
            Send ("<IMG SRC=""..\IMAGES\BG.GIF"" ALIGN=RIGHT>")
            Send ("</HTML>")
            Send ("")

code from the View Source Option in IE4

<HTML>
<BODY BACKGROUND="..\IMAGES\MOVBG.GIF">
<P> This Is A Test</P><HR>
<IMG SRC="..\IMAGES\BG.GIF" ALIGN=RIGHT>
</HTML>



Thu, 18 Oct 2001 03:00:00 GMT  
 - Help Please, I am sending an HTML Form with graphics from a VB5 .exe graphics don't show? (0/1)
I would look at where you are storing the graphics files (are they in the
same place as the HTML pages?).  This is important because the paths listed
in the HTML must lead to the place on the end users system where the
graphics are located/or you must not include a path with the graphics if
you're assuming they're in the same folder as the HTML page itself.

Good luck.

**** Posted from RemarQ - http://www.remarq.com - Discussions Start Here (tm) ****



Fri, 19 Oct 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Need help : vb graphics making EXE

2. Help using ICP Beta2 for sending graphics over the net

3. Graphics, OnPaint : Help please!!!

4. Graphics Problems - PLEASE HELP!!!!!

5. Please help: Graphic Put statement problem

6. Printing Graphics - Help, please!

7. Graphics Help Please

8. Graphic on a button (please help!)

9. Screen Graphics Help... Please

10. Overlapping Graphics - Please Help

11. Graphics help please

12. Printing Graphics - Help, please!

 

 
Powered by phpBB® Forum Software