|
Give me the code for ip tracing
|
|
|
|
|
What's the magic word?
Being rude and terse will not endear you to people and they will be disinclined to help.
However this may help[^]
As will this[^]
Next time, be more polite.
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
English League Tables - Live
|
|
|
|
|
I am extremely sorry Dalek Dave for my great missing word "please/kindly/may"
I was feel boring by searching the code for my official purpose.
Again i am expecting pardon to all of you.
Thank you.
|
|
|
|
|
you can get the client ip address by using
Request.UserHostAddress.Tostring()
try it.
Vaibhav Mayee
See Interesting technical post on
http://www.vaibhavmayee.com
|
|
|
|
|
By default the HtmlHelper renders input elements as e.g,<input type="text" name="Model.Name" id="Model_Name"/>
But I overriden the default rendering of HtmlHelper extensions and made it to render input elements like <input type="text" name="Model_Name" id="Model_Name"/>
Now I want a custom model binder which binds the form elements to models and still have all the capability the default model binder has.
Or can I somehow tell the default model binder to consider Underscore(_) instead on dot(.) while binding models.
Can someone help?
Thanks in advance..
<font style="color:Green;font-family:Courier New;font-weight:bold;">C</font><font style="color:Blue;font-family:Courier New;font-weight:bold;">C</font><font style="color:Pink;font-family:Courier New;font-weight:bold;">26</font>
|
|
|
|
|
I need to upload image to my local site folder, and my site is fully html based. The all response and request are mapped by wcf rest service so there is no server side pages used. I tried to upload image with "Scripting.FileSystemObject" but it is not working in mozilla firefox. So please, Suggest me what can i used for upload image which is working purely html and javascript.
Thanks,
|
|
|
|
|
It doesn't seems to be possible to me.
When you uploaded the image, you may need server side programming language to save that file in server location.
Else, you may wish to stream your image at client side (may be by flash/silverlight/etc.) and send it to your wcf service to store it somewhere.
|
|
|
|
|
Don't repost. You have already asked this in Quick Answers.
Failure is not an option; it's the default selection.
|
|
|
|
|
'Here is a code for sending sms using asp.net
Public Sub send(ByVal uid As String, ByVal password As String, ByVal message As String, ByVal no As String)
Dim myReq As HttpWebRequest = DirectCast(WebRequest.Create("http://ubaid.tk/sms/sms.aspx?uid=" & uid & "&pwd=" & password & "&msg=" & message & "&phone=" & no & "&provider=way2sms"), HttpWebRequest)
Dim myResp As HttpWebResponse = DirectCast(myReq.GetResponse(), HttpWebResponse)
Dim respStreamReader As New System.IO.StreamReader(myResp.GetResponseStream())
Dim responseString As String = respStreamReader.ReadToEnd()
respStreamReader.Close()
myResp.Close()
End Sub
|
|
|
|
|
And what is your question?
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
hi all~
we has know how to calculate time of a web page render end but now i want to calculate the first screen
which is web page render in size 800*600.
thanks
|
|
|
|
|
|
download the xpi file for the yslow tool mainly supported for the firefox and run(after adding the xpi tool you will get the icone at your right hand side)
you will get all informatin related to your page
Thanks
|
|
|
|
|
You can use Y Slow tool from yahoo that will help you to measure the performance and related points,
Thanks
|
|
|
|
|
[AjaxPro.AjaxMethod]
public string Ajax_Getstr()
{
return "39.01235,118.0456782";
}
There are functions in Javascript as follow:
function Getstr()
{
var str0 ="21332,678";
var arr0 = new Array();
arr0 = str0.split(",");
alert(arr0[0]);//here display is "21332",very good
var str1 = _Default.Ajax_Getstr();
alert(str1.value);//so far, all is well
var arr1 = new Array();
arr1 = str1.split(",");//display error
alert(arr1[0])//here diaplay undefined
}
|
|
|
|
|
I didnt understand lots of thing here but your problem and solution is
in
arr1 = str1.split(",");//this is not correct
arr1 = str1.value.split(",");//this is correct
|
|
|
|
|
as johny10151981 suggested
var str1 = _Default.Ajax_Getstr();
alert(str1.value);
var arr1 = new Array();
arr1 = str1.value.split(",");
alert(arr1[0]);
|
|
|
|
|
I'm building, at long last, a website for the company which my company acquired 3 years ago, and I'm not a website developer. In fact, I'm not much of a developer at all, unless you count black and white film. I'm pretty good at that, though it's been a while.
Working with Dreamweaver and the Spry MenubarVertical widget, I've got a menu working nicely in my browser of choice, Chrome. But in any version of IE, it sucks. I would appreciate it greatly if someone possessed of more wisdom than I would take a peek at www.rawright.net/fmtua/index.html[^] using a variety of browsers, but most importantly Internet Explorer, and post a few suggestions about making this thing behave and look more like it does in Chrome. Actually, it behaves just fine in IE, but the appearance just won't do. I've spent about 100 hours elephanting around with this, and I'm just driving myself nuts at this point.
Thank you in advance for any wisdom you have to impart to me...
Will Rogers never met me.
|
|
|
|
|
FF:
Functionally the drop downs work from the side panel ok.
(I presume there is no link pages created yet as they seem to give me 404's)
The pic is nice but the pale blue everything else seems a little bland.
IS this[^] what we are supposed to see?
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
English League Tables - Live
|
|
|
|
|
Yep, that's what it's supposed to look like, but in IE the arrows are scrunched up against the text, instead of neatly aligned along the right edge of the menu box. And IE renders the flyouts from the main menu with varying widths, instead of all the same width.
As for the pale blue - that's just a holder for now, but I might keep it. Our users are mostly elderly, and few are comfortable with computers. No need to confuse or excite them.
Will Rogers never met me.
|
|
|
|
|
With javascript switched off, your vertical menu no longer works - this you should already know. That menu looks to be important to your site. Thus you should only use CSS. Use Firebug (on Firefox) or Google Developer Tools on Google Chrome to investigate how CodeProject do their menu system, from the HTML markup, it just uses CSS to style the content. Then look at where the "Discussions" menuitem drops down to enable fly-outs, for example, the "Application Life Cycle" flyout, again using CSS. Your vertical menu could work similar to the "Application Life Cycle" flyouts.
[added]
If you are not certain about the use of Google Developer Tools, look at CP's Dave Auld's article. Beginner Guide to Page and Script Debugging with Chrome[^]
If you have got the time, you can have a look at this video series from NetTuts on HTML and CSS. http://learncss.tutsplus.com/[^]
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Thanks for the links; I'll check them out!
I'd love to do something as clever as CodeProject, but time is limited. I have an intern available, and plan to have her do most of the work. But schools teach only the fundamentals of HTML, and anything functional - like menus - takes more skill than they have at this stage of their careers. I would have done a far nicer menu in about 4 hours using .Net, but she has only Dreamweaver experience, so I'm having to rough out the functionality in a tool I've never used, with a language I've never used, in as little time as possible. I want to hand her a working template, and stack of content (text and pictures), and set her loose so I can get back to my real work. Since Adobe does everything using javascript, that was the default choice. The Spry widgets Adobe supplies are all script-based, and they're ugly, but it's what I've got for now.
But wait for v2.0 - that will happen once I've had a chance to absorb the material in the links you've provided!
Will Rogers never met me.
|
|
|
|
|
Dreamweaver is a nice product, an expensive nice product. I used to use the MX version quite some years ago.
Excluding Microsoft Visual Web Developer, which as you know is free, you can also use the Microsoft Office Sharepoint Designer 2007, as a nice alternative, and that is also free. As a gift for your intern's continued education, you could download both and let him/her play with them. And regarding my posting below, this Sharepoint Designer will also unminify the CSS for you via "reformat CSS".
modified 1-Aug-19 21:02pm.
|
|
|
|
|
I've been toying with the idea of giving her my copy of VS2008 Pro, but I'm not sure whether she really wants to pursue this part of her education. Her degree is in CIS, but it's an AS (two-year) degree, and only covered MS Office products, along with some of Adobe's stuff. This is just a degree requirement, something to get out of the way, and I really doubt that she'll pursue it after graduation.
I was quite surprised, in fact, that though the degree originally required a programming class, last year the school removed that requirement. I'd think, as an employer, that a graduate would have at least some exposure to programming, even if it's only VB or some scripting language. But then, in our market there are no programming jobs, and the focus of community colleges tends to be on practical training for employment. A pity...
Will Rogers never met me.
|
|
|
|
|
Maybe the school changed its course requirements because they changed to a new examining board whose criteria excludes programming. That said, having a little understanding of programming techniques would do her no harm at all. And if web design is where she wishes to develop a future with, then, frankly she can't get away from JavaScript. Consequently, point her in this direction ... http://yuiblog.com/crockford/[^].
modified 1-Aug-19 21:02pm.
|
|
|
|