|
-
Sep 10th, 2003, 04:21 AM
#1
Thread Starter
^:^...ANGEL...^:^
VB.NET with ASP.NET
Hi,
I made an ASP.NET app using code in vb which shows me how long a computer is been on.
Now I kept a link of it on my webpage and then I told my friend to try it and he got my computer's up time not his.
I understand that it needed to be run on client and I think my one runs on server which is my computer and shows my time.
Is there anyway to specify that that page or what whole app should run on client..? Do I need to do that in VB code...???
Cheers.
-
Sep 10th, 2003, 06:09 AM
#2
Thread Starter
^:^...ANGEL...^:^
-
Sep 10th, 2003, 02:22 PM
#3
PowerPoster
ASP.NET is a server side technology, not client-side.
-
Sep 10th, 2003, 06:33 PM
#4
Thread Starter
^:^...ANGEL...^:^
Is there anyway that I can use it to get client's computer time..??
-
Sep 11th, 2003, 01:28 AM
#5
Frenzied Member
If you want the current time the clock on the users computer says it is then you need to run something on the client side like JavaScript. If you want to know how long their computer has been on, then make a Windows Forms VB application and have your friend install it. The code needs to run on his machine one way or another.
-
Sep 11th, 2003, 01:57 AM
#6
Thread Starter
^:^...ANGEL...^:^
Originally posted by blindlizard
If you want the current time the clock on the users computer says it is then you need to run something on the client side like JavaScript. If you want to know how long their computer has been on, then make a Windows Forms VB application and have your friend install it. The code needs to run on his machine one way or another.
I already have a windows application. What I want is a small button on my website which says know how long ur computer is ON and when they click on it they get their computer's on time. I know nothing about JAVA and java scripting.
-
Sep 11th, 2003, 02:01 AM
#7
Frenzied Member
The user would have to install your program on their machines. The code you run in an asp.net application runs on the server. Think of it as the old mainframe environment with a little extra. The code all runs on the server except for some javascript that runs on the users machine. The client side javascripting is limited in what it can do because of security reasons. To do what you want requires compiled code installed on the users machine regardless of what you write it in VB6, VB.net, C++, Java, etc...
-
Sep 11th, 2003, 02:16 AM
#8
Thread Starter
^:^...ANGEL...^:^
You mean kinda active x component and then it will install it on user's machine. Do I have to Digitally Sign it...???
Cheers.
-
Sep 11th, 2003, 02:17 AM
#9
Frenzied Member
Exactly. I have no idea how to go about it in .Net though as I am just starting to learn it
-
Sep 11th, 2003, 03:38 AM
#10
Thread Starter
^:^...ANGEL...^:^
Originally posted by blindlizard
Exactly. I have no idea how to go about it in .Net though as I am just starting to learn it
Which one are you planning to learn. I mean VB, C#, J# or C++
I am sure that in VB 6 there was an option of making an active x control while we open a new project. I hope it's same in VB.NET though.
Cheers.
-
Sep 11th, 2003, 03:42 AM
#11
Frenzied Member
I started playing with it about a year ago. I was determined to learn C#. It seemed to be the way everyone was going, but I got to busy on stuff with VB6. I still use it every day, and can get stuff done quickly in it. Just in the last week or so I decided it was time to really dive into .Net. This time I am going VB. I think the learning curve will be less, and hopfully keep my interest long enough to get an actual client project done with it.
-
Sep 11th, 2003, 04:30 AM
#12
Thread Starter
^:^...ANGEL...^:^
Originally posted by blindlizard
I started playing with it about a year ago. I was determined to learn C#. It seemed to be the way everyone was going, but I got to busy on stuff with VB6. I still use it every day, and can get stuff done quickly in it. Just in the last week or so I decided it was time to really dive into .Net. This time I am going VB. I think the learning curve will be less, and hopfully keep my interest long enough to get an actual client project done with it.
Just to let you know that it's a good choice.
I have a very close friend who is MCT and trains for MCSD, MCSD.NET in VB and C# both.
When I asked him that should I keep my MCSD in VB 6 and go for MCSD.NET in VB or C#. His openion was if I already know VB then I should go for VB.NET since VB.NET and C# are pretty much the same and only syntex changes and remaining are same and they both are true object oriented this time so I also decided to go with VB.NET and just started a week ago but I am also stuck with a stuff in VB 6 and may be my boss wants me to learn Delphi.
Cheers.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|