|
I have an ethernet connection with a shared connection. My gateway uses NAT for translating ip addresses. Hence i have a local ip address and my gateway having a global ip. Is there any way by which i can host web pages on my server and enable others to see them over the internet?
..._ _........o.
I ( V ) MY INDIA
\ /
v
|
|
|
|
|
I think you might be able to use "port-forwarding."
That is to say - create a rule on your router to direct any requests to port 80 on your external IP to your web server.
I think it depends on what kind of router you have, and it would make your NAT network less secure.
It might be better to go to a NoNAT configuration on the gateway, and have a Local NAT Zone and a DMZ for the webserver.
Sorry I can't be more specific on the port forwarding thing - but hopefully it might help you a little.
Best Wishes
Steven
let the stormy clouds chase everyone from the place
|
|
|
|
|
Hi,
I have both AOL and IE browsers in my system. We are developing one chat application .I have to detect the AOL browser. To detect the AOL I used "Request.Browser.AOL" .But it's always returns false even when I’m using AOL browser also. How can I detect the AOL?
I'm using xml Dom to display the messages. When I’m trying to run the chat using AOL messages are displaying frequently it's taking few minutes to refresh. But I’m not having problems with IE.
Thanks in advance
Satya
|
|
|
|
|
|
Perhaps check this out:
How do I prompt a "Save As" dialog for an accepted mime type?
http://www.aspfaq.com/show.asp?id=2161
J. Paul Schmidt, Freelance ASP Web Designer
www.Bullschmidt.com
ASP Designer Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
|
|
|
|
|
thanx for the help, now I know how to do it
|
|
|
|
|
Sorry is this is the wrong place to ask this question but no category seems to fit
Has anyone got the IElementBehaviorLayout inteface to be executed properly. I have created a simple behavior which needs to draw itself and therefore needs to specify its size to the IE layout engine. The GetLayoutInfo() method is called but no other unless I set the width/height in style. I can set them to 0, any value will do. It also works by setting position to absolute but I don't want this. Setting the style values programatically in the behavior init method also works. None of the MS samples show usage of the IElementBehaviorLayout interface.
If anyone has any clues I would be most grateful
Andy H
|
|
|
|
|
How To REgister MTS in My Personal PC it's referance is not comming in the VB.
My OS is win 2000 and IIS Server is also installed in it.
Pls. Send me reply ASAP.....
thanks
This is naresh
|
|
|
|
|
naresh in 2000 its com+ and not mts, hence generally its already provided and u have to look into reference com+ in vb (project-reference) if u do not find it there as com+ services, check for file comsvcs.dll in system32 directory and try registering it.
vikash
|
|
|
|
|
I would like to resize an iframe to the offsetWidth and offsetHeight of the contents in the iframe. However, It requires me to set a timeout so that the offset sizes can be determined. If I dont set a timeout, it seems that IE has not fully deteremined the offset sizes and therefore the iframe gets sized to be too small. Especially when there are images in the contents of the iframe.
But if I wait one second, IE has by then rendered everything and it knows the actual offset sizes of the contents of the iframe.
This seems like a horrible way to achieve this functionality. Is there any javascript event that fires once the actual layout has been determined?
function ResizePage(WaitASec)
{
if (window.frameElement)
{
if (WaitASec)
{
window.setTimeout("ResizePage(false);", 1000);
return;
}
window.frameElement.style.height = document.getElementsByTagName('div')[0].offsetHeight;
window.frameElement.style.width = document.getElementsByTagName('div')[0].offsetWidth;
}
}
|
|
|
|
|
iframes are inline elements so u cant "redraw" them after the page has drawn ... they are drawn inline period afaik
thats why iframes can be tricky to work with
"there is no spoon" biz stuff about me
|
|
|
|
|
I have a form with two input text boxes and two buttons. Each button performs a different action, and uses one of the corresponding input text boxes as an input parameter. Example: enter text in box 1, click button 1, get a result. enter text in box 2, click button 2, something else happens.
A frequent request of users is "I want to type something in box 1 and just click Enter to perform action 1" or "type something in box 2 and click Enter to perform action 2".
How can this be accomplished? I'm assuming there is some DHTML tactics I need to use, but I don't know where to start.
- Mike
-------------------------
"No human being would stack books like that." - Dr. Venkman
|
|
|
|
|
Assuming you can use client side javascript, one way to do this is to add a handler for the document.onkeyup event. Within your function, check to see if the enter key was hit. If so, look at the contents of text box 1 and if it is not empty, call button 1. Do the same for text box 2.
document.onkeyup = MyHandler;
function MyHandler()
{
if (window.event.keyCode == 13) // enter key pressed...
{
// add your logic here
}
}
|
|
|
|
|
I'm at my wits' end trying to write a Calendar as part of an online booking system for a client, he wants two little buttons on it to step forward and back a month. I have written a javascript to write the current month calendar into a html document highlighting the current day etc etc but can't figure how to implement these buttons. My Calendar script allows for the forward and back thing but I've tried writing the buttons in as part of the script and they don't work (as in rewriting the whole page). Essentially I want a table I guess, button in top row, Calendar in merged cell underneath or even frames but I can't figure how to do it. Any bright ideas or suggestions gladly accepted, if this doesn't make any sense please ask questions :P
|
|
|
|
|
http://www.rainforestnet.com/datetimepicker.htm
"there is no spoon" biz stuff about me
|
|
|
|
|
Have you tried . I think they can effectively solve your problem.
Any tool is only as good as you can use it!!
(http://www.pascalnet.tk)
|
|
|
|
|
Hi frnds,
I want to develop one component Alert Manager. Which must be able to give alerts like email, popups, message on login etc..etc.. on certain events..
I have only 5-6 predefined events like File Upload, Workflow type Transaction and Report related etc...
Problem is: I want to make such a generic architecture so, tommorrow event can be created by administrator at client site without developing or changing code. Because client is also unaware with type of alerts. And requirement always grows !! How can I achieve this??
Anybody can help me on this issue?
-Bhavin
|
|
|
|
|
I have a real big problem plz help me ... when I use file system objects in my ASP pages, and I use the method: GetFile() to get the file selected,
forexample:
set f=fs.GetFile(tmpSWave)
where swave is the file full path (e.g. c:\files\nnn.wav)
this code works properly on my computer from my IIS, but when I inter the same page from another computer to my computer over the network, a confusing error appears:
Error Type:
Microsoft VBScript runtime (0x800A0035)
File not found
/MediaPhone/addSong.asp, line 74
Browser Type:
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; (R1 1.5); .NET CLR 1.1.4322)
Page:
POST 90 bytes to /MediaPhone/addSong.asp
POST Data:
song=%C7%E1%E5%E6%EC&singer=104&lang=A&swave=C%3A%5Csss%5Cmelhim-z5.wav&accent=GLF&cat=001
where swave from above is the field which is
(File not found) !!!!
please help me ...
urgent
SSS
|
|
|
|
|
Hello all,
I have a problem with using the arabic characters in my web application using ASP and SQL Server as the backend database. when I want to insert arabic characters in the database from my .asp page using a stored procedure in SQL Server, I get an error as follows:
ERROR:
Application uses a value of the wrong type for the current operation.
song=%26%231587%3B%26%231575%3B%26%231581%3B%26%231585%3B%26%231606%3B%26%231610%3B+%26%231608%3B%26%231594%3B%26%231604%3B%26%231594%3B%26%231604%3B+%26%231601%3B%26%231610%3B%26%231610%3B
where (song) is the field from my web application which I try to insert arabic letters into.
I have tried the charset from the .asp page set to 1252 and 1256 ... but nothing worked successfully. plz help me cause It's urgent.
Any help from you would be appreciated.
My best regards
Sam
|
|
|
|
|
can you post some code and the line that caused the error ?
|
|
|
|
|
For SQL database to recognize Arabic Characters you will have to insert it as unicode characters. Your string in 1256 has to be inserted as a Unicode character string. Although VB6 internally uses unicode, the controls do not.
There are ActivexControls that does this conversion as well.
|
|
|
|
|
hi,
i'm accessing .net web service.
for that i'm using winInet.
but when i'm sending request for method with out parameter.
it giving error ,method name invalid.
sample Http request is not available for such class.
what changes are required in http request.
thanks,
prasad
prasad
|
|
|
|
|
i want to make a chat room. i don't know where to start from.What should i learn to make a chat room.
|
|
|
|
|
You could learn about Socket programming and threading. Create a Chat server and a chat client. So all the clients will get data from the server. You could manage things from your server.
Your client just needs 2 listboxes for the Chat window, for the user window and a multiline textbox for the send message. Send the data to the server, and let the server broadcast to all the clients connected.
This could be a start for you.
Tarakeshwar
CCIE Q(Routing and Switching), MCSE Security
|
|
|
|
|
Hello all,
I have a real big problem, which is my IIS does not work with file system objects !!!! when I make a simple code to create forexample a folder like what shown below, it even does not work. what shall I do !!?? i spent alot of time searching the net for a solution but I could not find anything.
plz help me ... the example code for the file system object is:
set f=nothing
set fs=nothing
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.CreateFolder("c:\asp")
set f=nothing
set fs=nothing
and there is no error, only the web page keeps loading until the time is out. !!!!
Yours sicerely
Sam
|
|
|
|