Error: Cannot create/shadow copy ‘DotNetOpenAuth.OAuth’ when that file already exists. How I solved it: Try to re-build the solution and it should work. It worked in my case, I’m not kidding !
<!– Add the email settings to the element –> <system.net> <network host=”relayServerHostname” port=”portNumber” userName=”username” password=”password” /> </system.net> …
let’s explore the new inheritance features that you may not be aware of and see where these features fit-in well to use and how to use them effectively.Inheritance in CSS is actually very straightforward. Imagine you had to specify the font-size or font-family of every element, instead of simply adding it to the body element? … Read more
Error: ‘object’ does not contain a definition for ‘get_Range’ Line of Code: Excel.Range header = wks.get_Range(wks.Cells[1, 1], wks.Cells[1, 10]); Solution: Cast the cells as “object” in get_Range() Excel.Range header = wks.get_Range((object)wks.Cells[1, 1],(object) wks.Cells[1, 10]); Thanks!
The very first thing as you go start doing this stuff, make sure you’ve downloaded and installed Visual FoxPro Driver on your host machine. Here the link for download: http://www.microsoft.com/en-us/download/confirmation.aspx?id=14839 Use OleDbConnection to get the records into DataTable and later export/write the DataTable to Excel. Here are the complete codes: using System; using System.Data; using System.Data.OleDb; using System.IO; using Excel = Microsoft.Office.Interop.Excel; … Read more
There are four platforms of Java Programming Language: 1. Java Platform, Standard Edition (Java SE) : Java Platform, Standard Edition or Java SE is a widely used platform for development and deployment of portable applications for desktop and server environments. Java SE uses the object-oriented Java programming language. Strictly speaking, Java SE is a platform specification. … Read more
Developer Options in Android 4.2 (Jelly Bean) is hidden by default so you won’t be able to see this setting in “Settings > More > …” or anywhere in mobile settings. To enable it, you need to go to “Settings > About Device” and Tap 7 times on “Build number” and that’s all. Your Developer option is … Read more
If you don’t specify an element’s positioning type, it defaults to static. This just means “where the element would normally go.” If you don’t tell an element how to position itself, it just plunks itself down in the document.Absolute positioningThe first type of positioning is absolute positioning. When an element is set to position: absolute, it’s then positioned in … Read more
In this post we will learn four possible values of “display” property in CSS.1. block: This makes the element a block box. It won’t let anything sit next to it on the page! It takes up the full width.2. inline-block: This makes the element a block box, but will allow other elements to sit next … Read more
A pixel is a dot on your computer screen. Specifying font sizes in pixels is great when you want the user to see exactly on their screen what you designed on yours, though it assumes your screens are of similar size. What if the user is using a screen that’s a very different size from … Read more