Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:610252
More Search Options
RSS Available
Matching Posts
Re: IP to Country - Nearly Done!
Many apologies, I'm struggling with a really slow internet connection here in Indonesia and my formatting is being lost. I will re-post when I get a better connection. Meantime, here is the one function that is causing the problem: Public Shared Function GetCountryCode(ByVal IP As Long) As String Dim Index As Integer = Array.BinarySearch(_Ranges, IP, New RangeFinder) If Index > -1 Then Return _Ranges(Index).Country End If End Function Specifically, the 2nd line seems to cause a problem as
Posted to
Getting Started
(Forum)
by
Android
on 12/27/2008
IP to Country - Nearly Done!
I want to identify the country of my website users and, after doing quite a lot of research, have almost found a solution - but I need some help getting over one final problem. I have found a free IP-To-Country database at http://ip-to-country.webhosting.info/ and have found some vb code to use it at http://bkendall.biz/projects/iptocountrynet/. My thanks and appreciation to webhosting.info and Barnabas Kendall for getting me this far. The problem I have is with just one function, GetCountryCode
Posted to
Getting Started
(Forum)
by
Android
on 12/26/2008
Re: No E-mails to yahoo.com
In the line SmtpMail .SmtpServer = "localhost" ;, try replacing "localhost" with the name of your web host's email server. You may need to contact them to find out what this is. I found out by browsing through their online documentation. I found out that the correct setting for my web host (Zen) is "mailhost.zen.co.uk" so, if you were using Zen, you would need to change your line to SmtpMail .SmtpServer = " mailhost.zen.co.uk " ; Once I made this change
Posted to
Security
(Forum)
by
Android
on 6/6/2008
Re: Problem with Css adapters and IIS
That's exactly what I did (put files into root directory). Whilst this solves the problem, it does impose a limitation: that I can only host one website per account. Prior to that, I was able to host several websites - all in their own subdirectories. I've tried this with Zen and Orcs , but in both cases the CSS no longer renders correctly.
Posted to
CSS Friendly Control Adapters
(Forum)
by
Android
on 9/17/2007
Re: Problem with Css adapters and IIS
I had exactly the same problem: My menus rendered correctly locally, but not on my hosted web site (where they came out as tables). I finally solved this by moving my website from its own subdirectory into the root directory. The downside of this is that I am now restricted to just one website per account. Or maybe I just need to ask my host provider to somehow enable the subdirectories I want to use. Can anyone help with this?
Posted to
CSS Friendly Control Adapters
(Forum)
by
Android
on 9/15/2007
Re: Web Application Model
I've recently been through the process of using CSS Friendly Control Adapters to implement a 2-level tabbed navigation menu based on the "sliding doors" method. You can see some of my musings here . My task would have been a lot easier if there was a way to "cascade link" several menu layers together (similar to Atlas Cascading Dropdowns). A simple .Parent property would be what I'd look for. Just my 2p worth...
Posted to
CSS Friendly Control Adapters
(Forum)
by
Android
on 9/13/2007
Re: ASP.NET CSS for Horizontal Parent & Child Menus With Images
Did you solve this problem? If not, have a look at http://forums.asp.net/t/1080909.aspx
Posted to
CSS Friendly Control Adapters
(Forum)
by
Android
on 9/13/2007
Re: Parent menu (horizontal) and child menu (vertical) How to have parent show selcted when a child option is being displayed.
Or maybe we don't need to save it at all. That's what I'm hoping. Couldn't we just work it out when we need to know it? By identifying the parent of the current sub-menu item? That would seem simplest, but maybe I'm missing something.
Posted to
CSS Friendly Control Adapters
(Forum)
by
Android
on 8/29/2007
Re: Parent menu (horizontal) and child menu (vertical) How to have parent show selcted when a child option is being displayed.
I thought this was all done, but I've come across a problem: If I click on one of my main menu tabs, and then select a sub-menu item, it all works fine. But if I go away for a while (say 10 minutes) and then, when I get back, click on another sub-menu item, the main menu tab selection is lost. I guess this is to do with the session variable timing out. Presumably session timeouts are configurable, but I wonder if there may be a better (simpler) way... How about changing the OnPreRender event
Posted to
CSS Friendly Control Adapters
(Forum)
by
Android
on 8/28/2007
Re: Parent menu (horizontal) and child menu (vertical) How to have parent show selcted when a child option is being displayed.
Cancel that, I've managed to work it out. Thanks again for all your help. If anyone's interested, here is my VB.NET code: Public Class MasterPage Inherits System.Web.UI.MasterPage Protected Sub setRef( ByVal sender As Object , ByVal e As EventArgs) If ( Not (PrimaryNav.SelectedItem) Is Nothing ) Then Session( "lastTopMenuItemDataPath" ) = PrimaryNav.SelectedItem.DataPath End If End Sub Protected Sub getRef( ByVal sender As Object , ByVal e As EventArgs) Dim ldp As String = Session
Posted to
CSS Friendly Control Adapters
(Forum)
by
Android
on 8/24/2007
Page 1 of 7 (68 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part I
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online