|
There are articles about on how to do this, but it's not built in, you have to write or find code to do it.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
No need any codes
u just have to put a picture box and put ur pictures inside tht picture box , thtz all
yathu
|
|
|
|
|
I have only one picture and I added in the picture box at run time but its not animating.
Ejaz
|
|
|
|
|
did u add tht in the image property of ur picture box?
if u add it to background property of picture box , i thing it wont work ,
click on image property and browse ur picture n giv it
it shud work
, or else some problem with ur .gif animation file
coz this is the way
, i hav done a lot
good luck
yathu
|
|
|
|
|
Thanks jathoo for ur reply.
I am adding the image at run time.The code I am using to add link the image to the picture box is
Me.PicStrikeRate.Image = Me.ImageList2.Images(0)
At run time it is not working but If I added the same picture at design time it works.
Any idea how to fix this?
Ejaz
|
|
|
|
|
first of all why you going for code?(you can simply do it on GUI mode, i told u on up)
Me.PicStrikeRate.Image = Me.ImageList2.Images(0)
on this code you are puting ur image to imagelist but , as i know .gif file will only work on picturebox( i don know it may work on imagelist or not and i thing i wont work, didnt try it yet)
so. if u want u have to directly adding the image to picturebox using code
yathu
|
|
|
|
|
Hi man...to make a .gif image animation..just load it in the image option of a PictureBox and no in the Background image of it.. *you cant resize the animation
I hope I understand and solve your problem.
Kostas
|
|
|
|
|
hi all,
i want to assign alternate color for each item of checklistbox. mean
checklistboxItem1------Fore color blue
checklistboxItem2------Fore color Black
checklistboxItem3------Fore color blue
checklistboxItem4------Fore color Black
is it possible ? if yes then please suggest how can i achieve this thing ?
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
It's not supported by the standard control. You'd have to create your own version of the control, adding the custom properties and painting code to draw each item in the different color you want.
|
|
|
|
|
sir,
i never create control & no experience for adding custom properties.
can you guide me or provide some link in proper direction for create this type of control or Properties.
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
This would take a couple of chapters in a book, at least. This list[^] is about the best I can do.
|
|
|
|
|
Thanks sir,
i will try according to specification of links .
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
Hi All
Does any body know how I can skin a Windows form. Create a theme for my windows forms application is it possible?
|
|
|
|
|
|
Whats the code to implement a BHO in VB.NET , I have the dll of the bho,and i tried this code,which returned a null reference exception,
imports something
public abc as something.IObjectWithSite
.........
abc.setSite(AxWebBrowser1)
Please help me out.
|
|
|
|
|
Well, you start with Google[^] and follow some of those results to some code samples in languages OTHER than VB.NET. Then you analyze those sample and rewrite the code in VB.NET. It's possible to do, but there are very few examples, if any, posted on the web. BHO's are more commonly written in C++ for a reason.
|
|
|
|
|
Dear everyone,
i have my books and notes on classes
but still i am unable to understand that what are classes
and what are their types with realtime examples.
please guide me with an examplary material
thanks
|
|
|
|
|
Google
Ahamed Azeem
software Programmer
|
|
|
|
|
Hi,
Can you imagine a company with multi-departments and each of them do the same job, WHAT A DISASTER .... Can you imagine it now where each department do its own job only and coordinate with other departments effectively, efficiently and each one has a specific job to do, this is a Class
hope this helps
|
|
|
|
|
At its most basic, a class is a template for making objects.
(Like a mould makes castings, or a cookie cutter makes cookies)
It defines the properties and methods for that type of object
For example a class [Vehicle] might have a property for [FuelType]
Instances of that class can then be created (also known as "instanciated") with different values for the FuelType.
|
|
|
|
|
My office needs an application(in place of registers) to keep track of the day to day outgoing and incoming mails(letters). In regard to this the serial no must be generated automatically, which is quite okey but i wonder how can we make the serial no to start from 1 each year bcause every year the serail number gets restarted from 1. Please help me with any suggestion or codes.
raamay
|
|
|
|
|
Seems pretty easy. Store the date the last serial was created, and if the date is last year, reset to 1
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
i m not sure but wud u mind giving me somemore idea (in details) as to how to go about. actually i have that date field in my database but the problem is with the system time. we cannot guarantee that our system date can be right all the time; so, i cannot use the system date and time also. so, pls help me further
raamay
|
|
|
|
|
Well, if you can't use the system time, then you haven't a hope in hell, sorry.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
WEll, he could try and get it off the internet if he manages to find a way to get the date from a site like www.whattimeisit.com (looking in the source code maybe?)
|
|
|
|