Asp.net - Host A Website Under An Old One?
Nov 24, 2010
I have a website has already hosted on EasyCgi (suppose that it's called website1). I have to host another one (website2). So I created a folder called "website2" under the website1 root folder. then I FTP all the content of website2 to the "website2" folder.
[Code]...
View 1 Replies
ADVERTISEMENT
May 26, 2009
How can I either create a new website or add a host header to an existing IIS 7 server from code?
View 4 Replies
Aug 23, 2010
I have created a web application in that application i have added two folder. one is admin folder and under admin i have added a upload folder. In upload folder i have three different audio's. And also i have imported DLL for Windows media player. Through this media player im able to play the audios in local host.By giving Direct path like MediaPlayer1.Filename="C:Usersamwaka.mp3".But when i host the website im getting problem the page is getting refreshed but the audio is not getting played.I have tried this path Server.Mappath("..uploadwaka.mp3") and Server. Mappath ("~adminup loadwaka.mp3)the above both paths are not working when i host the website please reply.
View 1 Replies
Apr 24, 2011
I am working on an app that searches my network and retrieves ips and host names, but when using this.[code]
View 2 Replies
Feb 19, 2010
What Im making is like a face book and tagged login from my app
1. I have Combobox with 3 urls in there ( Facebook.com Tagged.com and Bebo.com )
2. I have a Form2 with webbrowser
3. I have a Button when clicked it should open up my form 2 and preview of the website which I selected in my combobox in form1
All I'm trying to do is when I select lets say facebook in my form 1 and click load it should open up my form 2 with facebook website in it.[code]Now when I click my button in form 1 it will load Form2 ( named Explorer1) but my form2 is not showing me facebook or tagged page for some reason
View 13 Replies
Feb 26, 2011
i'm creating a website that allows people to upload images to the website in a folder called images on the Site. But I don't know how to upload a file and I'v searched everywhere Please Note: In this Website were not Using the asp:fileupload, were developing our own interface
View 1 Replies
Apr 6, 2009
What I want is: To scan a website every 15 mins or so, (craigslist in this case), and email myself any new posts that come up. I know I need to use WebClient, but I never used that before. Another question would be how to only email when a new post is up and not receive the same email every 15 mins.
View 2 Replies
Sep 9, 2009
How can I dynamically create a host name in ASP.NET? Like if people come to my site, I want to be able to dynamically create them a .Mysite.Com host name. I've seen this done at other sites before but can't seem to find documation on how to do it.
View 2 Replies
Feb 12, 2011
i need some help i want to create a chat but how to make it like you have winsock but are there none others and i got also a question im planning to buy a domain and if u use the dedicated ip can i host my chat then of that ip
View 5 Replies
May 21, 2009
I want to get the absolute host name from a URL that's in the format of a string. So far I have done it like this:[code]I need the host without the www for comparision purposes.If I have two strings "url...m" and "url...m" I'm interested in only seeing that they are both on the domain "url...m". Is there some fairly simple way to do this?
View 5 Replies
Nov 6, 2009
I have an application that I've set default language to c#, is it possible to run a .vb class inside of this IIS application?
View 3 Replies
Dec 21, 2011
I'm making a winforms app in vb.net that connects to a mysql database on my webserver to read and write data, this all works fine.But i have to allow the users ip to remote connect to the database.Is it possible to give everyone access to the database? The user account will not have all rights an the data isn't very important if it got lost.The user account and connection details are hard coded.
View 3 Replies
Aug 3, 2009
I need to get the host out of the Request object. Which property should I use and why?
From MSDN:Uri.DnsSafeHost Property A String that contains the unescaped host part of the URI that is suitable for DNS resolution; or the original unescaped host string, if it is already suitable for resolution.
vs
Uri.Host Property A String that contains the host name. This is usually the DNS host name or IP address of the server.
My testing has been with the ASP.NET Development Server. Both of these always return localhost. Even when I put in 127.0.0.1, both return localhost.Reading on, the DnsSafeHost property will handle IPv6 addresses, as well as Unicode to ASCII conversion if needed. It can also account for IRI and IDN. Even though I currently don't care about these things, should I just use the DnsSafeHost property to be safe?
View 1 Replies
Aug 25, 2009
In my ignorance, I thought I could subscribe to any host, so I chose hostmonster, and copy files from Visual Web Developer to it, thereby creating my first website. Wrong! Hostmonster is linux-based, so the files won't copy without assigning an index page at the site. The rep at the host said that linux doesn't read the language(s) I've been using to develop pages, Visual Basic and C#.
View 1 Replies
Mar 3, 2008
Does anyone know if can I connect a db2 database with vb.net 2005 ? some example or web site?
View 9 Replies
Aug 16, 2010
I need to get the host name currently running the application.
View 4 Replies
Aug 28, 2009
Im trying to get the Ip address of the local host.. but I'm Getting an Socket Exception in the Dns.GetHostEntry..
Public Sub SetUp()
Try
Dim hostname As IPHostEntry = Dns.GetHostEntry(Dns.GetHostName)
[Code].....
View 2 Replies
Feb 20, 2009
How to get a current host mac address using vb.net code
View 2 Replies
Sep 30, 2009
How can I set a host IP address and port.. and then detect if the port is open (accepting connections)or closed (denying connections)I came across this while searching, but it doesn't seem to function all that well..Using the port 80 and the host [URL] The result it gave me was closed... which is obviously wrong.So what can I do?Code: ( I have also imported "System.Net" and "System.Net.Sockets" )
Dim host As String = "www.google.com"
Dim port As Integer = 80
Dim addr As IPAddress = CType(Dns.GetHostAddresses(host)(0), IPAddress)
[code]....
View 3 Replies
Apr 27, 2009
is there a way to use my tcpclient and listener to use a no-ip host because i am on a laptop
View 5 Replies
Dec 2, 2010
VB: programming a script host?
View 4 Replies
Dec 14, 2009
Right now, my app connects to a free file hoster to get some data. What are some better ways to host this "data"?
View 5 Replies
Jan 25, 2011
I have a ASP.NET 2.0 website created in C# that acts as a completely independent site and I am looking to integrate this into an existing ASP.NET 2.0 website created in VB.NET. Unfortunately I just don't know much about the server management side of ASP.NET yet so too much I'm unaware of when it comes to IIS configuration etc. Does anyone have any advice as to how I can go about integrating this? Basically I want to host it in a subdirectory from root so when you hit example.com/myindependantsite/ it will pull up my C# site.
One possible solution I came across mentioned just dropping the project folder into the root directory and setting up that directory as an application virtual directory in IIS? A few other random questions were small things like would my application relative links (~/for-example.aspx) stay relative to my root subdirectory if it's made into an application virtual directory? Just trying to get this running on their site but like I said it's completely independent so want to preserve my websites environment.
View 4 Replies
Oct 1, 2009
I've been trying for a long time to do what seems to be the most simplest of things..I have a remote host and I need to know if certain posts on that host are open or closed.Many examples on the net that I have found arent complete, and because I havent worked with VB.net for long I dont knowhow to complete them.Here is my code:: The issue is with this it tell me the target port is always closed, when I know that it is open.Code:Dim host As String = "www.google.com" Dim port As Integer = 80 Dim addr As IPAddress =CType(Dns.GetHostAddresses(host)(0), IPAddress) Try Dim tcpList As New TcpListener(addr, port)tcpList.Start() Catch sx As SocketException MessageBox.Show("port is closed") End TryA friend of mine suggested using WinSock.. I've not dealt with it before so I don't know what he's on about.
View 2 Replies
Nov 5, 2009
Code:
If ResolveHostNames = True Then
Try
[code].....
The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for
View 2 Replies
Sep 28, 2010
I've never tried accessing a database on a remote computer, across the internet. A few questions though.
1) Do I just change the connection string address from a local path to a web address?
2) Do I still need to install the local driver? In my case I believe I'll be using Connector/Net to connect to my MySQL database url...
View 1 Replies
Apr 27, 2012
I'm trying to show a small DataGridView in my ContextMenuStrip that I have built. The DataGridView will show a unique list of values in a DataGridViewTextboxColumn "Sample ID" when its column header is right-clicked. I can get the unique values just fine, but I'm having trouble displaying the small DataGridView in the ContextMenuStrip. It currently looks like this.Notice, there is no data in the DataGridView. I have confirmed that the DataGridView.DataSource has several rows in it, yet the DataGridView shows nothing. Plus, I need to increase the size of my DataGridView, thus increasing the size of the ContextMenuStrip to show the DataGridView.
Public Class ContextMenu_Column_String
Inherits ContextMenuStrip
Private dvs As DataGridViewSettings
[code]....
View 6 Replies
Apr 6, 2012
In the process of converting a page from normal postbacks to AJAX-calls (using JavaScript to load/control the UI entirely and use ASP.Net strictly as a backend), I found myself wanting to replace a GridView with a AJAX-sourced dataset.
[Code]....
View 2 Replies
Jan 9, 2012
I have two windows application in my solution.I have a screen left is a button and right is a panel
Now on button click i want to open another application(in my solution) in that panel as a parent of that app.
View 4 Replies
Sep 30, 2009
I've done simple preliminary research without success--I'm posting now simply because time is an issue. I wanted to see if I could use the on-form web browser to pull up forms not on the server or internet, but locally hosted in the solution. Based on what the user selects in a combo box, I need certain parameters (any 5 are relevant out of approx 100 total). I was hoping to do this without a button--pulling up a form with command button is a last resort. Is this possible?
View 7 Replies