|
Hi Guys,
I have posted a question about the ASP.Net Web Site Administration Tool prior to this. But my question now is how can I get the value of User Name and E-mail thru VB Code-behind?
Thanks in advance Guys
hifiger2004
|
|
|
|
|
Dim userName, email
Dim user As MembershipUser = Membership.GetUser
If Not user Is Nothing Then
userName = user.UserName
email = user.Email
End If
|
|
|
|
|
Thanks szukuro
hifiger2004
|
|
|
|
|
I am extremely happy with my involvement at www.freedom.ws/yahooi . It is an extremely simple, and anyone can do it. I have built quite a very objective income . It is fantastic! I love it. www.wbesite.ws/yahooi
I am extremely happy with my involvement at www.freedom.ws/yahooi . It is an extremely simple, and anyone can do it. I have built quite a very objective income . It is fantastic! I love it. www.wbesite.ws/yahooi
|
|
|
|
|
Hi,
I would like too know, from where i will be able to download the Interop.MSXML2.dll. i have to refer that in my project. i have tried the following link, http://download.microsoft.com/download/7/a/7/7a72ca2e-39cc-4600-ab36-bf3fea876a65/msxml3.msi[^]
but after installing that msi i didn't find the required dll in my machine.
pls guide me,
Thanks in advance
sebastian
|
|
|
|
|
go to add reference select "com" tab their you can find Microsoft XML, V3.0 select that and click on ok button MSXML2 introp will automatically loaded in your reference.
I think i have solved your problem
Thanks
Warm Regards
Prakash-B
|
|
|
|
|
HI Prakash
i got it, Thank you very much. Now its working fine.
Sebastian
|
|
|
|
|
I was hoping that someone can point me towards a resource showing how to create a popupmenu that is displayed on a right click of the mouse...ie contextmenu. I am not after a working example that I can just import, I am looking for a tutorial I can follow that will show me how to do this myself.
Cheers
Ian
|
|
|
|
|
|
Thanks for the link but thats not really what I am after, I mean yes its a popupmenu but I am looking for a tutorial that will show me how to create my own and explain to me what it is doing. So I can recreate it all myself. I am just learning DHTML and Javascript and I am finding it a bit tricky following the code through :-S Hence me wanting a good old explanation!
Cheers
Ian
|
|
|
|
|
|
mozilla is not supporting --
document.form1.text1.focus.
&
text1.value
where text1 ia an input type..can any one tell me the alternate plzzz
hiiiiii
hiiiiii
|
|
|
|
|
hkchauhan wrote: focus
focus is method right. Can you refer as focus() ?
|
|
|
|
|
This is not a Mozilla problem. The problem is that you are using non-standard code that is only supported by Internet Explorer.
hkchauhan wrote: mozilla is not supporting --
document.form1.text1.focus.
&
text1.value
If you write it correctly, it sure does.
Example:
<body onload="document.form1.text1.focus();">
<form name="form1">
<input type="text" name="text1" />
<input type="button" value="show" onclick="alert(document.form1.text1.value);" />
</form>
</body>
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi Friends,
Scenario is
I have hosted a website and asked hosting company for SSL.
they told us that SSL is working. there is a folder call htdocs to put pages in.
When we type URL http://www.abc.com/catalog/default.aspx it doesnt show SSL lock on I.E and Other browsers but allows us to view pages. Also when we type
https://www.abc.com/catalog/default.aspx it show pages and also shows SSL lock on the broswer.
My Question is:
Is there a way to restrict users that if they do not type URL with "https" then they should not see the page.?
|
|
|
|
|
|
This article is for IIS while I asked you that my website is hosted with another company. We havn't got access to IIS.
|
|
|
|
|
Hi Guys,
Is there a way to add another fields in ASP.Net Web Site Administration Tool? How am I going to do it if I will add "customerid", "firstname", "lastname", and "address" fields?
I hope that there's a way on how to do it.
hifiger2004
|
|
|
|
|
u can use the web.config file to add the custom tags.
Thanks
Warm Regards
Prakash-B
|
|
|
|
|
Yes we have the same thinking.
It can be done thru web.config, but the question is how to do it?
hifiger2004
|
|
|
|
|
inside the <configuration> tag add
<appsettings>
<add key="customerid" value="cust1">
<add key="firstname" value="first name">
<add key="lastname" value="last name">
<add key="address" value="address">
Thanks
Warm Regards
Prakash-B
|
|
|
|
|
Hi Prakash,
I don't exactly know if how to do this. It's like this...
Kindly open your ASP.Net WebSite Administration Tool, then goto Security Tab, then click link - Create User. Here you can see the different fields for the user to enter.
These are the default fields that will display - User Name, Password, Confirm Password, E-mail, Security Question, and Security Answer.
My problem is how to add a field next to User Name? Let's say I will going to add the Address field right next to User Name so that when I use the "CreateUserWizard" control the Address field will also be used.
I hope there's a sample of doing it
Thanks Prakash
hifiger2004
|
|
|
|
|
Hi!
i am having problem in window service that has to send an email using "System.Net.Mail.SmtpClient". the service code stops unexpectidly when email code runs, in the event log following entry is made:
Event Type: Error
Event Source: .NET Runtime 2.0 Error Reporting
Event Category: None
Event ID: 5000
Date: 6/21/2007
Time: 8:07:28 AM
User: N/A
Computer: xyz
Description:
EventType clr20r3, P1 ejadspmscheduler.exe, P2 1.0.0.0, P3 467a6ece, P4 ejadspmscheduler, P5 1.0.0.0, P6 467a6ece, P7 19, P8 1a13, P9 system.nullreferenceexception, P10 NIL.
The email is using network authentication, if we run service under "network service" then the execution stops at email code, and rest of code is never executed and service dose'nt terminates.
Kindly help me in solving this prbolem. also guide me if i posted this question in wrong forum..
Thanks in advance...
Regards,
Affan Ahmad Toor
..................
QUAIDIAN FOR ONCE, QUAIDIAN FOR EVER!
|
|
|
|
|
First you should put a Try Catch around your email logic so you can catch the expection and log it and keep your windows service from going into a bad state. You can even choose to stop the service in the Catch code if that makes sense for you. Anyway, Usually with the mail componants you need a valid email address to be used to authenticate to the email server. Often you can do it from using the correct email address in the from address of your email address. Based off your error message I am guessing that you perhaps didn't even add a from address to the email message. If you want to post your email code we might be able to help more.
Hope that helps.
Ben
|
|
|
|
|
Hi!
Thanks for reply,
I have done extensive logging and debugging. the email code is b/w 4 nested try catch statements. but this exception is not cathed by try/catch block, it straight away blocks the application and exists.
i found that the service stops when email is to be sent to any email address that is not local (email account not on the server) like gmail,hotmail, etc. if email is to be sent to local email address it works fine.
any ideas? any kind of help or guidence is appriciated...
Regards,
Affan Ahmad Toor
..................
QUAIDIAN FOR ONCE, QUAIDIAN FOR EVER!
|
|
|
|