- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 15
- Posts with Upvotes
- 14
- Upvoting Members
- 12
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
- Interests
- Realtime technology, PHP, Node
Re: Add your site on Google Webmaster Tools, there you can submit a sitemap (which you can generate for free at http://www.xml-sitemaps.com/) After this, you should start to see some of your pages getting crawled. You can manually submit to search engines too, but you may have to wait a little … | |
Re: When a websocket connection gets disconnected it's usually because of an error with the websocket server. I would use an external provider like [PushRadar](https://www.pushradar.com) to handle websocket connections. | |
Re: If you want to code it yourself: 1) Store all posts in a database 2) For your first page, select posts from the database, with an 'ORDER BY time DESC' clause where time is the time the post was produced (order the posts newest first) and a 'LIMIT 6' clause … | |
Re: You could convert the JPG to PNG using any imaging software and then follow the instructions listed here: http://www.ehow.com/how_12197002_convert-png-wad.html | |
Re: To align their left edges with the parent menu item, first remove the style `a.sub_menu span {margin: 20px;}` Then to style the submenu items (in this example, creating a 20px space before each submenu item), add this style: `ul.menusub li { margin-top: 20px; }` Hope this helps! | |
Re: Your problem is most likely caused by the fact that the url you posted leads to a 'Page not found' error page, rather than a wav file! | |
Re: Making a website dynamic means pulling in data from sources such as a database using a server-side language such as PHP. An HTML page by itself is static, but by using, say, PHP, you can connect to a data source and print the classes onto the page. When you update … | |
Re: You are executing lines such as `var a = document.getElementById("insert").value;` as soon as the document loads, instead of after the Enter button is clicked. The solution to this is to create another function, I've called it setup(), which you call when the Enter button is clicked and it sets up … | |
Re: If there is no connection string in the file where you expect it to be, just open a dialog box with fields for everything you want, and when the user clicks OK (and you have done a bit of validation), write it to the same file so that next time … | |
Re: From [this article](http://stackoverflow.com/questions/141626/how-can-i-access-postdata-from-webbrowser-navigating-event-handler), in VB.NET but also applies to C#: > That functionality isn't exposed by the .NET WebBrowser control. Fortunately, that control is mostly a wrapper around the 'old' control. This means you can subscribe to the BeforeNavigate2 event... using something like the following (after adding a reference to … | |
Re: Have you updated to the latest version of IE? Also, have you got all the latest patches etc. installed through windows update? | |
Re: Does this help? https://community.flexerasoftware.com/showthread.php?184282-Hide-SQL-Connection-Dialog | |
Re: Have you tried to change the extension to something recognisable like ".txt", then edit the file, then change the extension back to ".sii"? | |
Re: Use a web service. Your app makes a request by using the service's API (essentially you just send the required data to a script on their server), and then the web service takes care of delivering the SMS. You can find a lot of subscription services on Google, a quick … | |
Re: You can find some useful information at this link, it's intended for small businesses, but it can be applied to a variety of scenarios: http://www.simplybusiness.co.uk/microsites/google-adwords/ | |
Re: How about this? NextCommand = New DelegateCommand(Function(p) FindItem(SearchType.ForwardSkipCurrent), Function(x) Not String.IsNullOrEmpty(SearchTerm) AndAlso Not NoResults) | |
Re: You need to check if part of the time periods overlap. In general, with events a and b: `overlap = a.start < b.end && b.start < a.end;` | |
Re: For a web server, you can use a `web service` and pass the image as a binary stream by encoding it using base 64 and decoding it on the other side | |
Re: Here's an article on parsing XML with PHP5, should help you out! http://blog.teamtreehouse.com/how-to-parse-xml-with-php5 | |
Re: What exactly are you trying to achieve with the function? | |
Re: Could be to do with Windows not correctly remembering the user settings. There's a similar situation and solution here, which involves instructing Windows to save settings when logging off/shutting down: http://www.technize.info/solution-quick-launch-disappears-after-restart-in-windows/ | |
Re: From MSDN: Bind your `DataGridView` control to a `BindingSource` component and bind the `BindingSource` component further to your data source (`IList` or `IBindingList`). Code snippet: Public Partial Class Form1 Inherits Form Private personsList As New List(Of Person)() Private bindingSource As New BindingSource() Public Sub New() InitializeComponent() personsList.Add(New Person("Jacob", "Male", 25)) … | |
Re: You can use the `ColorMap` tool to map the old color to the blue color. Check out http://msdn.microsoft.com/en-us/library/4b4dc1kz.aspx About overlapping images, you make a graphics object out of the first image and draw onto it the second image. Check out http://stackoverflow.com/questions/2687820/how-to-merge-two-images-into-a-single-jpeg | |
Re: It's treating the + as a concatenation operator (&) because all the txtAssignment.Text properties are of the `String` data type. Since you have already put all the txtAssignments into `Double` variables, try: lblFinal.Text = "Final Grade is: " + (dblAssignment1 + dblAssignment2 + dblAssignment3 + dblAssignment4 + dblMidterm + dblFinalExam).ToString() | |
Re: To get the IP address of a visitor (ASP.NET): protected string GetIPAddress() { System.Web.HttpContext context = System.Web.HttpContext.Current; string ipAddress = context.Request.ServerVariables["HTTP_X_FORWARDED_FOR"]; if (!string.IsNullOrEmpty(ipAddress)) { string[] addresses = ipAddress.Split(','); if (addresses.Length != 0) { return addresses[0]; } } return context.Request.ServerVariables["REMOTE_ADDR"]; } To get local IP address: public string LocalIPAddress() { IPHostEntry … | |
Re: Well first you would design the overlay window using HTML and CSS, something along the lines of: <div id="overlay-window"> <input type="checkbox" id="view-opt-1">View option 1</input> <input type="checkbox" id="view-opt-2">View option 2</input> </div> #overlay-window { position:absolute; top:0px; bottom:0px; left:0px; right:0px; z-index:100; } You can modify the top, right, bottom, left to position the … | |
Re: The best way to do it is send the redirect parameter in the url to the login screen from the page that the user is currently on, and then when successfully logged in, check for the redirect and adjust the location header. e.g. on plan1.php: header('Location: login.php?redirect=plan1.php'); on login.php after … | |
Re: What line does Visual Studio tell you it's on when you run it? | |
Re: Check out 301 (Permant redirect) [here](https://kb.mediatemple.net/questions/242/How+do+I+redirect+my+site+using+a+.htaccess+file%3F) Change `[nc]` to `[R=301,NC,L]` and that should do the trick :) | |
Re: Check out [InnoSetup](http://www.jrsoftware.org/isinfo.php), it's free and easy to use. They give example scripts and it is very customisable. I use it for all my projects :) |