Получите приложение Delphi и откройте его в бесплатной версии IDA Pro , найдите, куда оно записывает файл, и декодируйте, как оно записывает файл таким образом.
Если это не текст плана.
input type="submit"
is the best way to have a submit button in a form. The downside of this is that you cannot put anything other than text as its value. The button element can contain other HTML elements and content.
Try putting type="submit"
instead of type="button"
in your button
element (source).
Pay particular attention however to the following from that page:
If you use the button element in an HTML form, different browsers will submit different values. Internet Explorer will submit the text between the
and
tags, while other browsers will submit the content of the value attribute. Use the input element to create buttons in an HTML form.
Допустим, ваше изображение - это значок размером 16x16 .png с именем icon.png. Используйте возможности CSS!
CSS:
input#image-button{
background: #ccc url('icon.png') no-repeat top left;
padding-left: 16px;
height: 16px;
}
HTML:
<input type="submit" id="image-button" value="Text"></input>
Это поместит изображение слева текста.
You're really close to the answer yourself
<button type="submit">
<img src="save.gif" alt="Save icon"/>
<br/>
Save
</button>
Or, you can just remove the type-attribute
<button>
<img src="save.gif" alt="Save icon"/>
<br/>
Save
</button>
Вы можете взглянуть на boost :: any class. Он безопасен по типу, вы можете поместить его в стандартные коллекции, и вам не нужно связываться с какой-либо библиотекой, Мне удалось заставить мою форму работать, но в результате отображается электронное письмо:
imageField_x: 80 imageField_y: 17
внизу письма, которое я получаю.
Вот мой код для кнопок.
<tr>
<td><input type="image" src="images/sendmessage.gif" / ></td>
<td colspan="2"><input type="image" src="images/printmessage.gif"onclick="window.print()"></td>
</tr>
Может быть, это тоже поможет вам и мне.
: -)