I have a user control which exposes three properties that the user can change - ValuesStart, ValuesEnd, ValuesIncrement. The default values of these are 0, 100, 10 respectively. These are conditional in that ValueStart needs to be less than ValueEnd, ValueEnd less than ValueStart and...
I have a smart tag up and running for my user control but I also want to add a UITypeEditor collection editor to it as well. If I add the collection property to the smart tag in the usual way then I get the ellipse appearing as expected, then if you click on this you get the Collection...
I have a web site where users enter company names to use in the rest of the app. However, recently I've noticed that similar duplicates are appearing, e.g. someone will enter EastTec Solicitors another will enter EastTec Solicitors Ltd someone else will enter EastTec Solictors (missed the...
How do you display an animated gif in a picturebox on Windows Mobile 6? I have added a picturebox control and set it's image to an animated gif but it doesn't animate, it just shows the first frame... An I doing something wrong here? It works fine in a normal windows app...
I have created a web program that will import data into a SQL database. The data to be imported is just one field, but there will be hundreds of thousands to be imported at a time. At the moment I create a data table from the data in the file and then use the SqlBulkCopy command to insert...
I have a deployment project which works fine and installs my application with no problems. But I was wondering how do I go about installing patches? For example, I have just made some updates to my application and want to patch the version I installed. Also, the application contains a...
I have a program that I've written in VS2008 and I use a SQL database. I was just wondering, is there anyway that I can secure the .mdf file so that when I deploy the application people can't just attach the file in Management Studio and gain access to the database?
I have an xml file that I want to load into a dataset in Visual Studio 2008 that looks like -
If I simply create a dataset in code and call the ReadXML() method, it works as planned and the data...
I have an asp:hyperlink and an asp:ImageButton on a page and in each I add the following to the attributes to change the status bar text:-
I have a gridview which is bound to a SQLDataSource. One of the bound fields is a CheckBox field. This displays ok, it is checked or unchecked depending on the value in the datasource, but it is greyed out, I can't click on the checkbox to change it's state. I want the users to be able to...
I have a windows forms program that uses docking windows. Now, when somebody logs in, I want to display a tool strip progress bar so that the user can see that the program is doing something as it can take a good few seconds for all the docking window layouts to load and then display. I...
I have an rss feed from
and use the following xsl file:
<?xml version="1.0" encoding="utf-8"?>
<!-- Edited by Lee Sykes DNN Creative Magazine http://www.dnncreative.com -->
I have a few properties that are displayed in the property window at design time. I've noticed that you can set a property to read only in code by doing, for example, [Browsable(true), ReadOnly(true)]. But what I want to do is that when one of my properties is changed to a certain value...
I have a windows program already written that has a base windows form called Mainscreen and about 15 other forms that are all either called from Mainscreen or from one of the other forms. I've been looking into ways of how to deploy this with the easiest way of supplying updates, and have...
I have a program that I have written and am going to put it on my website for people to use. However, I was wondering what is the best way of going about providing updates to my program? I don't want to get people to download the whole program every time I issue an update, how do you go...
I have a database with a table containing data which contains a date for each entry. There will be about 5-10 entries for a day. What I want to do is display the data grouped by date plus a totals row for each day.
data1 data2 data3 data4 data5 data6
I have a set of tab pages and a datagrid on each tab. I wish to allow users to drag a row from a datagrid and drop it to a different tab page where it will appear in that pages datagrid. The problem is that the dragdrop event of the tab page does not seem to be fired when dragging a row...
On the yahoo finance section you can enter an address to get up to date share prices. For example if you enter the address -
you will get the share price of Barclays as a .csv file. I want to do this in code, so that I...
Hi, I have a datagridview which contains a row which holds percentages. What I'd like to do is if the percentage is between 0-50% then paint that cells background green, between 51-80% then paint yellow and 81-100% then the cell should be red. Can anyone help with this???