Recent content by knappster

  1. K

    Properties validation error

    yep, typo should be greater than... my code in user control is as follows: Private _valuesStart As Integer <Browsable(True), DefaultValue(0)> _ Public Property ValuesStart() As Integer Get Return _valuesStart End Get Set(ByVal value As Integer) If (value <...
  2. K

    Properties validation error

    Hi, 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...
  3. K

    Using a UITypeEditor collection in a smart tag

    Hi, 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...
  4. K

    Checking for similar duplicates

    Cheers for that, could be just what I'm looking for, I'm using SQL 2005 so will have to explore the SOUNDEX() function...
  5. K

    Checking for similar duplicates

    Hi, 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...
  6. K

    Displaying animated gif in a picture box

    Hi, 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... Cheers...
  7. K

    Quickest way of imported 100,000's of records

    Cheers, looks like the sqlbulkcopy is the fastest way then... About the SqlRowsCopied event, the app I am using is a web app, I take it that the SqlRowsCopied event is for windows forms and not web apps?
  8. K

    Quickest way of imported 100,000's of records

    Hi, 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...
  9. K

    Deployment project upgrade help

    Hi, 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...
  10. K

    Question how to secure an .mdf file

    Hi, 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? Cheers, Lee.
  11. K

    XML and Dataset problem

    That's excellent, worked like a charm, didn't have a clue about the namespace property! Also that XSD.exe tool was brilliant, saved me a lot of typing! Cheers for your help...
  12. K

    XML and Dataset problem

    Hi, I have an xml file that I want to load into a dataset in Visual Studio 2008 that looks like - <MyData> <Employee> <Name></Name> <DOB></DOB> <Address></Address> </Employee> </MyData> If I simply create a dataset in code and call the ReadXML() method, it works as planned and the data...
  13. K

    window.status not working in FireFox

    Hi, 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:- Attributes.Add("onmouseover", "javascript:window.status = 'Plan Summary';return true;") Attributes.Add("onmouseout", "javascript:window.status =...
  14. K

    GridView clickable bound CheckBox

    Hi, 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...
  15. K

    Multithreading problem?

    Hi, 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...
Top Bottom