473,405 Members | 2,261 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

2 Simple Questioons

Hi There,

Can any one please help me in the following two questions,
i was developing an ASP application using VB.net (intranet application) and
my questiuons are

1- how can I use a Chart control in the Web form ?
2- Is there any was to get the windows login name of the user who is
connecting to my web form?

i hope you help me ASAP please

thanks in advance

Nov 18 '05 #1
6 1187
There are plenty of chart controls that are specifically for ASP.Net. You'll
have to create an asp.net page that simply serves the chart as a binary
stream (basically just dump it to the response object's output stream) and
make sure that there is no HTML emitted. Then you can reference this page
with the image tag just as if it was an image and the chart will be streamed
to the page. As for the chart control itself, there are lots of them. Check
out http://www.asp.net/ControlGallery/de...y=1&tabindex=2 for
a list of some of the charting controls available.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"Haitham" <h_******@hotmail.com> wrote in message
news:eX***************@TK2MSFTNGP11.phx.gbl...
Hi There,

Can any one please help me in the following two questions,
i was developing an ASP application using VB.net (intranet application) and my questiuons are

1- how can I use a Chart control in the Web form ?
2- Is there any was to get the windows login name of the user who is
connecting to my web form?

i hope you help me ASAP please

thanks in advance

Nov 18 '05 #2
Sorry, forgot to answer number two. The Request.ServerVariables has a
variable called LOGON_USER that contains the information of the mapped
username.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"Haitham" <h_******@hotmail.com> wrote in message
news:eX***************@TK2MSFTNGP11.phx.gbl...
Hi There,

Can any one please help me in the following two questions,
i was developing an ASP application using VB.net (intranet application) and my questiuons are

1- how can I use a Chart control in the Web form ?
2- Is there any was to get the windows login name of the user who is
connecting to my web form?

i hope you help me ASAP please

thanks in advance

Nov 18 '05 #3
I like this chart

http://www.asp.net/ControlGallery/Co...525&tabindex=2

--Tom

"Haitham" <h_******@hotmail.com> wrote in message
news:eX*************@TK2MSFTNGP11.phx.gbl...
Hi There,

Can any one please help me in the following two questions,
i was developing an ASP application using VB.net (intranet application) and my questiuons are

1- how can I use a Chart control in the Web form ?
2- Is there any was to get the windows login name of the user who is
connecting to my web form?

i hope you help me ASAP please

thanks in advance

Nov 18 '05 #4
It should be noted that, if the web site allows anonymous access, LOGON_USER
will be blank (anonymous). The only way to get the Windows account name of
the user accessing the web site is to disallow anonymous access, thereby
forcing the user to log in with the credentials of a Windows account.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Mark Fitzpatrick" <ma******@fitzme.com> wrote in message
news:OC**************@TK2MSFTNGP10.phx.gbl...
Sorry, forgot to answer number two. The Request.ServerVariables has a
variable called LOGON_USER that contains the information of the mapped
username.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"Haitham" <h_******@hotmail.com> wrote in message
news:eX***************@TK2MSFTNGP11.phx.gbl...
Hi There,

Can any one please help me in the following two questions,
i was developing an ASP application using VB.net (intranet application)

and
my questiuons are

1- how can I use a Chart control in the Web form ?
2- Is there any was to get the windows login name of the user who is
connecting to my web form?

i hope you help me ASAP please

thanks in advance


Nov 18 '05 #5
Haitham

In addition to all those mentioned, you can check out the ASP.NET Reports
Starter Kit. There is a free pie and bar chart included in the sample along
with other reports.

http://www.asp.net/Default.aspx?tabindex=9&tabid=47

Eric
"Haitham" <h_******@hotmail.com> wrote in message
news:eX***************@TK2MSFTNGP11.phx.gbl...
Hi There,

Can any one please help me in the following two questions,
i was developing an ASP application using VB.net (intranet application) and my questiuons are

1- how can I use a Chart control in the Web form ?
2- Is there any was to get the windows login name of the user who is
connecting to my web form?

i hope you help me ASAP please

thanks in advance

Nov 18 '05 #6
If you use the User.Identity.Name property then you get the login domain and
user name. It is a preferrable method over LOGON_USER. Like Kevin said,
though, you must have anonymous access turned off.

Dale
"Mark Fitzpatrick" <ma******@fitzme.com> wrote in message
news:OC**************@TK2MSFTNGP10.phx.gbl...
Sorry, forgot to answer number two. The Request.ServerVariables has a
variable called LOGON_USER that contains the information of the mapped
username.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"Haitham" <h_******@hotmail.com> wrote in message
news:eX***************@TK2MSFTNGP11.phx.gbl...
Hi There,

Can any one please help me in the following two questions,
i was developing an ASP application using VB.net (intranet application)

and
my questiuons are

1- how can I use a Chart control in the Web form ?
2- Is there any was to get the windows login name of the user who is
connecting to my web form?

i hope you help me ASAP please

thanks in advance


Nov 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: delisonews | last post by:
I'm looking for a simple, filesystem-based message board. (No MySQL!) Something that I could include easily in my code: include '../inc/messageboard.php'; .... so that the board shows up at...
3
by: Patchwork | last post by:
Hi Everyone, Please take a look at the following (simple and fun) program: //////////////////////////////////////////////////////////////////////////// ///////////// // Monster Munch, example...
8
by: Dan | last post by:
Using XML::Simple in perl is extreemly slow to parse big XML files (can be up to 250M, taking ~1h). How can I increase my performance / reduce my memory usage? Is SAX the way forward?
6
by: Manuel Collado | last post by:
I would like to write simple, yet well structured documents with a really simple XML DTD (or schema). Either Docbook or SDocbook are overkill for this simple case. XHTML is simpler, but...
11
by: JKop | last post by:
Take the following simple function: unsigned long Plus5Percent(unsigned long input) { return ( input + input / 20 ); } Do yous ever consider the possibly more efficent:
13
by: Michael B Allen | last post by:
Hi, I've tried to write the *simplest* memory allocator possible. I think it would be useful in many cases such as allocating memory on stack as a poor man's garbage collection perhaps. I was...
6
by: KevinD | last post by:
assumption: I am new to C and old to COBOL I have been reading a lot (self teaching) but something is not sinking in with respect to reading a simple file - one record at a time. Using C, I am...
7
by: abcd | last post by:
I am trying to set up client machine and investigatging which .net components are missing to run aspx page. I have a simple aspx page which just has "hello world" printed.... When I request...
14
by: Giancarlo Berenz | last post by:
Hi: Recently i write this code: class Simple { private: int value; public: int GiveMeARandom(void);
10
by: Phillip Taylor | last post by:
Hi guys, I'm looking to develop a simple web service in VB.NET but I'm having some trivial issues. In Visual Studio I create a web services project and change the asmx.vb file to this: Imports...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.