Connecting Tech Pros Worldwide Help | Site Map

2 Simple Questioons

Haitham
Guest
 
Posts: n/a
#1: Nov 18 '05
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



Mark Fitzpatrick
Guest
 
Posts: n/a
#2: Nov 18 '05

re: 2 Simple Questioons


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_salama@hotmail.com> wrote in message
news:eX%23wvbrWEHA.712@TK2MSFTNGP11.phx.gbl...[color=blue]
> Hi There,
>
> Can any one please help me in the following two questions,
> i was developing an ASP application using VB.net (intranet application)[/color]
and[color=blue]
> 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
>
>
>[/color]


Mark Fitzpatrick
Guest
 
Posts: n/a
#3: Nov 18 '05

re: 2 Simple Questioons


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_salama@hotmail.com> wrote in message
news:eX%23wvbrWEHA.712@TK2MSFTNGP11.phx.gbl...[color=blue]
> Hi There,
>
> Can any one please help me in the following two questions,
> i was developing an ASP application using VB.net (intranet application)[/color]
and[color=blue]
> 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
>
>
>[/color]


Tom Bray
Guest
 
Posts: n/a
#4: Nov 18 '05

re: 2 Simple Questioons


I like this chart

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

--Tom

"Haitham" <h_salama@hotmail.com> wrote in message
news:eX#wvbrWEHA.712@TK2MSFTNGP11.phx.gbl...[color=blue]
> Hi There,
>
> Can any one please help me in the following two questions,
> i was developing an ASP application using VB.net (intranet application)[/color]
and[color=blue]
> 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
>
>
>[/color]


Kevin Spencer
Guest
 
Posts: n/a
#5: Nov 18 '05

re: 2 Simple Questioons


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" <markfitz@fitzme.com> wrote in message
news:OCDFVtrWEHA.1104@TK2MSFTNGP10.phx.gbl...[color=blue]
> 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_salama@hotmail.com> wrote in message
> news:eX%23wvbrWEHA.712@TK2MSFTNGP11.phx.gbl...[color=green]
> > Hi There,
> >
> > Can any one please help me in the following two questions,
> > i was developing an ASP application using VB.net (intranet application)[/color]
> and[color=green]
> > 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
> >
> >
> >[/color]
>
>[/color]


Eric Cherng
Guest
 
Posts: n/a
#6: Nov 18 '05

re: 2 Simple Questioons


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_salama@hotmail.com> wrote in message
news:eX%23wvbrWEHA.712@TK2MSFTNGP11.phx.gbl...[color=blue]
> Hi There,
>
> Can any one please help me in the following two questions,
> i was developing an ASP application using VB.net (intranet application)[/color]
and[color=blue]
> 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
>
>
>[/color]


DalePres
Guest
 
Posts: n/a
#7: Nov 18 '05

re: 2 Simple Questioons


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" <markfitz@fitzme.com> wrote in message
news:OCDFVtrWEHA.1104@TK2MSFTNGP10.phx.gbl...[color=blue]
> 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_salama@hotmail.com> wrote in message
> news:eX%23wvbrWEHA.712@TK2MSFTNGP11.phx.gbl...[color=green]
> > Hi There,
> >
> > Can any one please help me in the following two questions,
> > i was developing an ASP application using VB.net (intranet application)[/color]
> and[color=green]
> > 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
> >
> >
> >[/color]
>
>[/color]


Closed Thread


Similar ASP.NET bytes