473,583 Members | 2,873 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I put the image as icon in form?

Ajay Bhalala
119 New Member
I have created 1 form. and I want to put image as a icon of that form into the form in vb.net How can I do this?

I have an image with ".png" extension which I want to put, and I have used the "ICON" property of the form to put my image into the form, but in this property, we can use only the files which have the ".ico" extension.
I changed the extension of the file, but there is still error occured like this "Argument 'picture' must be a picture that can be used as a Icon."

What can be done in this problem? It's urgent please help. It's deadline is tomorrow morning, please help.
Nov 16 '14 #1
3 2161
twinnyfo
3,653 Recognized Expert Moderator Specialist
Save the file as a bitmap, then rename the extension to .ico.
Nov 19 '14 #2
Ajay Bhalala
119 New Member
Sorry for the late relpy. It's really works.and thank you so much for the help.
Nov 20 '14 #3
twinnyfo
3,653 Recognized Expert Moderator Specialist
Glad I could be of assistance!
Nov 24 '14 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1137
by: Steve Teeples | last post by:
Can someone tell me the proper way of adding an image to a RESX file via the IDE? I understand how text is added but I don't know how to add an icon or bitmap to the file. -- Steve
3
6392
by: David | last post by:
Hi, I am very new in the asp.net realm so this may be a very simple question for most of you. I want to put a little image icon in every button on my web form but there is no attribute in asp:Button allowing me to do this. Basically, the buttons are Text buttons except that there there is a small image icon before every button text. I am...
0
1376
by: Terry Olsen | last post by:
I think I figured out how to put an icon on a button using the imageList. Is there a way I can scale the image or icon so that it will fill the button? No matter what size I make my button, the icon remains the same. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
6
3066
by: comp.lang.php | last post by:
/** * Generate the random security image * * @access public * @param $willUseFilePath (default false) boolean to determine if you will be using a file path * @param mixed $filePath (optional) file path to store image resource object contents * @see actual_path */
1
1204
by: mensuur | last post by:
hi. i was looking at the microsoft homepage and noticed that when i hovered over the large images in the centre only the tooltip came up. normally when i hover over large images, a little toolbar appears in the top left corner of the image. but some websites dont have that e.g. the google logo or the large images on the ms website. is there a...
0
1794
by: gopal | last post by:
Hi, How to display the image icon in save button in SAveFileDialog control? Rgds JK
2
4666
by: Nhoung Ar | last post by:
Can anyone outhere advise me about a best practice of embedded the image into form or report. I have several forms and report which embedded images (logo) to the header. I observed that the database size is quickly increase its size (up to 80 MB for only 20 records). Then, I changed the picture type in all forms/reports to Linked. Now, the...
8
12078
by: libish | last post by:
hi all.., i'm new in windows mobile application... i would like to kno if there exist any way to add a background image to "form"(windows mobile). thanks in advance..
4
8316
by: rakesh005 | last post by:
i want to save the employe image with his data in the database so i want to know how to add image in form and to save in database please send me the codes thanku
0
7888
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7811
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8314
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8185
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5689
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3811
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3836
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2317
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1147
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.