Question: Lets say - I am Developing Project A and already have an project B's output as an exe file.
I am using B's output (Say - B.exe) as a reference in A project.

I need to use B.exe's forms directly in A.

Example: 

```
Namespace A
{
    B.Reports.TaxReport reportForm = new B.Reports.TaxReport();
    reportForm.ShowDialog();
}

```

The problem here is, the form loads correctly inside the new Exe with all the database fetching. But if the user does any Operation such as Add / Update / Data fetch, the current exe throws an exception: 'Object reference not set to an instance of an Object'.

How can this problem be tackled? If no, is there any workaround that can help me in opening the forms from a reference EXE into the current under development project?

Answer: 
Do not include .jpeg files directly, use a wrapper. Only use `include` with other PHP files.

As for including the header, do it any way that feels natural as long as it produces valid html. There is no particular reason to declare another div element.
1) Because you are including the HTML file, you probably need to include it where you want to display it.

2) Create a function in php where you send only image URL (maybe some other parameters) and function returns the HTML code (String) which you only echo on page where you want to display it. This way you can ensure, that all images will have the same code and styling.

for example

```
function generateImage($url=null) {
    if (isset($url)) return '<img src='.$url.' style="width: 100px; height:100px; border: 1px;" />';
    else return false;
}

```

The better way is to include always a php file.