3 easy one for the beginner
Posted on 2001-08-09
1.I want to make special icon for my application.
I noticed that the application can accepts only "ico" extension.
how can i make ico image?can i convert gif,jpg,bmp to ico?
2.I opened standart exe project and i add data enivroment.
i make a connection and command.
then,i added data grid control and i set the data source and the data
member to the data enivroment to retrieve the rows to the grid.
everything works good.
now i changed the sql query in the command to " select * from tblName where id=?" (i want to assign a parameter)
how can i assign parameter to this command so i will see the selected row in the grid?
i tried :
'3 is the id
conn_name.dataenviroment_name.rscommand = 3
but i got error...
3.i have 4 rows in some database which one of it's fields is : imageName.
i want to loop over records like this and to show thumbhill's of the pictures
in my standart exe form
dim image_name as string
do while not rs.eof
image_name = rs!imageName
in asp i would do:
<img src='<%=image_name%>' border=0>
how can i do that in my exe form?
thanks in advance