954,560 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to make animation bar in vb.net

hi every one

i need to use animation bar(label) in the vb.net and desplay information

connecting with sqlserver 2000

please advice and tell me how

thank you

fineline
Newbie Poster
19 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

VS.NET does not provide the facilities to create an animation bar..or animated lables..
If you want to create animation buttons or lables you gotta use an external software like Adobe Photoshop,Image Viewer,etc..
The animation image is usually in .GIF format..

Workaround:
1.What I do for my application for simple color change for buttons or lables..I kinda use two images and Swap the image when the user points his mouse at the buttons..

2.You gotta do that in Javascript and each webcontrol has it own properties .. Onmouse over help you to get a different image when the user points the Mouse over the button or the lable..

3.Other way of doing this is by using a timer and swap the images after particular time intervals..(I generally dont advise this)

Letscode
Junior Poster
175 posts since Feb 2005
Reputation Points: 11
Solved Threads: 6
 

thank you Letscode you always help me

i find a code for java script for animation label and i can use it ... but the problem is HOW to connect the information that i want to display with sql server .... i dont know if java script can provide this .

please advice me if you have an idea .... i have to make it quicly b-cuse my boss need it and i dont know how to make it

thank you again

fineline
Newbie Poster
19 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

Can you be specific?
The values that you get from the Database..You want to animate those values..Is this what you are asking..

Letscode
Junior Poster
175 posts since Feb 2005
Reputation Points: 11
Solved Threads: 6
 
Can you be specific? The values that you get from the Database..You want to animate those values..Is this what you are asking..

yes this way i mean

if i can use this animation pure vb.net beter than use by javascript

what can i do ????

fineline
Newbie Poster
19 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

What kind of code are you using in Javascript...

Letscode
Junior Poster
175 posts since Feb 2005
Reputation Points: 11
Solved Threads: 6
 

If you want an animated STATUS BAR, or PROGRESS BAR, something that dynamically informs the user that the database query or update is 50% done, you simply cannot.

The web, even ASP.NET, is challenge-response. The user only sees something new when the server-side code is complete.

One workaround is to spawn a new process, which periodically updates a table to indiciate it's progress. You set the browser to refresh every so often, each time it does, the server-side code checks the progress by reading the "update" table value.

When it's complete, the user gets the results.

Sorry if this didn't answer your question; I didn't quite understand the question.

tgreer
Made Her Cry
Team Colleague
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
 

thank you for your answers but i can explain what i should do in my project :

1- the project for student in the school .
2- every one has ana private account and can use it for many things
3- every account has a table of student that contain username , password and some information .
3- the idea of animation bar is to display the student name and when i click to the name you can git information about the sudent as a profile .
i know that this way not suitable or good but the manager tald me to do this.

iam thinking to do it by timer but i dont know how it can work

please if you have idea tell me ..

finaly i would like to tell you that iam new programmer in VB.NET and i should do the best for my manager
thank you for intersting

fineline
Newbie Poster
19 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

I think I understand. You want to

1) query the database for a recordset
2) retrieve the student's name from a field in the recordset
3) display that name on the web page
4) the name should somehow "move", perhaps scrolling across the screen?

You do the first 3 steps in ASP.NET. Someone here can help you with that. I code ASP.NET, but only in C#.

You'd have to do step 4 with client-side code. JavaScript. Post a separate question in the JavaScript/DHTML forum.

tgreer
Made Her Cry
Team Colleague
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
 

last question please if i want to use a timer what event of page loader i choose i mean that i want to refresh the page every one second

fineline
Newbie Poster
19 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 
Letscode
Junior Poster
175 posts since Feb 2005
Reputation Points: 11
Solved Threads: 6
 

Just copy the above Javascript code and paste it...
It should work fine..

Hope it helps

Letscode
Junior Poster
175 posts since Feb 2005
Reputation Points: 11
Solved Threads: 6
 

Hi Friends .....
This is uday.
I want an animated STATUS BAR, or PROGRESS BAR, something that dynamically informs the user that the database query or update is 50% done. using vb.net

Is it Possible n if possible how to do it ??????

Plz Help me i am searching it from last 3 days.

Plz Help Me???????????????

Uday

udayshelar
Newbie Poster
3 posts since Nov 2005
Reputation Points: 10
Solved Threads: 0
 

hiiiiiiiiiiiiiiiiiiiiiiii

sharrmee
Newbie Poster
4 posts since Jul 2008
Reputation Points: 10
Solved Threads: 0
 

hiiiiiiiiiiiiiii

sharrmee
Newbie Poster
4 posts since Jul 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You