473,473 Members | 1,415 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

loadpicture in vb6 is ??? in vb.net ?

1 New Member
Hello,

I need to build a little project that has to load in runtime a picture from a file.
This picture can be bmp, jpg, gif.
How do I do this in the most economical way.not to use much memory ?

thank you,
Anomis
Nov 28 '06 #1
1 2594
AricC
1,892 Recognized Expert Top Contributor
Use a picture box. Do a google search there are a ton of examples.
Nov 28 '06 #2

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

Similar topics

0
by: KBrq | last post by:
I use an ActiveX control that accepts a StdPicture in some of it's properties. My question is: how do I load a bitmap from a file and get a StdPicture out of it. In VB6.0 I used LoadPicture. Is...
3
by: cullens_aust | last post by:
Can anyone help me with this code for vb I am trying to access different pictures at different times Dim pic As String Static x As Integer Picture1.Visible = True 'If x = File1.ListCount...
5
by: Shelby | last post by:
Hi, when I try to use LoadPicture(myFilePath) in my vb.net project, it says "LoadPicture" is not declared. Dim pic as stdole.IPictureDisp pic = LoadPicture(myFilePath) Do I need to add any...
1
by: peterggmss | last post by:
This is a slot machine game, 2 forms. One is the actual game (frmMachine) and the other is in the background and randomizes the images shown on frmMachine. I need to make frmMachine wait for...
1
by: samadams_2006 | last post by:
Hello, I'm using "Visual Studio 2005" and VB.NET to be more exact. I have the following article which shows me how to set the mask and picture properties for Office XP Commandbars: ...
5
by: Iulian Ilea | last post by:
Hello! I've created a PDF report and trying to load a picture using LoadPicture fucntion. It works fine on my computer but it gives an error on some other computers - permision denied, or...
1
by: Shinkn | last post by:
Hi I am using this code in Excel to display an ID image based on the ID number. Code also checks the expiry date of the ID and diplays a message. Everything works properly except that message box...
14
lotus18
by: lotus18 | last post by:
Hello World I'm back again. LOL How to make an image arrays? I have 6 images named Button (Index from 1-6). I'm working on MouseMove events these images. So far I have these codes: Public...
2
by: vaniKanabathy | last post by:
hi, I need a help regarding crystal report in vb6. I need to retrieve data from 3 tables in 1 report.I have do data and image retrieving from single table but now i need to display data from 3...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.