how to make animation bar in vb.net

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2005
Posts: 19
Reputation: fineline is an unknown quantity at this point 
Solved Threads: 0
fineline fineline is offline Offline
Newbie Poster

how to make animation bar in vb.net

 
0
  #1
Jun 15th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 175
Reputation: Letscode is an unknown quantity at this point 
Solved Threads: 6
Letscode's Avatar
Letscode Letscode is offline Offline
Junior Poster

Re: how to make animation bar in vb.net

 
0
  #2
Jun 16th, 2005
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)
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 19
Reputation: fineline is an unknown quantity at this point 
Solved Threads: 0
fineline fineline is offline Offline
Newbie Poster

Re: how to make animation bar in vb.net

 
0
  #3
Jun 16th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 175
Reputation: Letscode is an unknown quantity at this point 
Solved Threads: 6
Letscode's Avatar
Letscode Letscode is offline Offline
Junior Poster

Re: how to make animation bar in vb.net

 
0
  #4
Jun 16th, 2005
Can you be specific?
The values that you get from the Database..You want to animate those values..Is this what you are asking..
Save White Tiger
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 19
Reputation: fineline is an unknown quantity at this point 
Solved Threads: 0
fineline fineline is offline Offline
Newbie Poster

Re: how to make animation bar in vb.net

 
0
  #5
Jun 16th, 2005
Originally Posted by Letscode
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 ????
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 175
Reputation: Letscode is an unknown quantity at this point 
Solved Threads: 6
Letscode's Avatar
Letscode Letscode is offline Offline
Junior Poster

Re: how to make animation bar in vb.net

 
0
  #6
Jun 16th, 2005
What kind of code are you using in Javascript...
Save White Tiger
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: how to make animation bar in vb.net

 
0
  #7
Jun 16th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 19
Reputation: fineline is an unknown quantity at this point 
Solved Threads: 0
fineline fineline is offline Offline
Newbie Poster

Re: how to make animation bar in vb.net

 
0
  #8
Jun 16th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: how to make animation bar in vb.net

 
0
  #9
Jun 16th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 19
Reputation: fineline is an unknown quantity at this point 
Solved Threads: 0
fineline fineline is offline Offline
Newbie Poster

Re: how to make animation bar in vb.net

 
0
  #10
Jun 16th, 2005
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC