User Profile

Collapse

Profile Sidebar

Collapse
RobyV
RobyV
Last Activity: Nov 23 '10, 05:08 PM
Joined: Feb 9 '10
Location: Italy
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How to release db file updates without the client loosing its records?

    I'm struggling to find a solution with the release of updates of a windows application. When I modify the SQL database (integrated mdf file) adding maybe new tables or stores and I publish the new version of the app, the client correctly updates the program but looses all its records (the database seems to be totally replaced).
    I'm wondering if anyone knows how to avoid the client loosing its records, but at the same time get the database...
    See more | Go to post

  • RobyV
    replied to Enable/Disable TextBox Scrolling?
    What about changing the TextBox with a RichTextBox? AFAIK with the RichTextBox you can handle the ScrollToCaret which enables the RichTextBox to scroll to the bottom. Then if you fire a function on the MouseOver event of the RichTextBox you can enable or disable the scroll as you wish.

    Hope it fixes.
    See more | Go to post

    Leave a comment:


  • RobyV
    replied to ExecuteNonQuery always 0 :(
    Why don't you try to run the procedure directly in the code of the form? Doing this you can check step by step what's wrong while deploying.
    You can state a simple function like below (of course you need a valid SQL connection-> in my example is named cnSQL):
    Code:
    private void DeleteFunction()
            {
                string YOURVARIABLE = ""; //WHAT YOU WANT TO DELETE
                string sQuery = "DELETE
    ...
    See more | Go to post
    Last edited by tlhintoq; Feb 10 '10, 12:37 PM. Reason: [CODE] ...Your code goes between code tags [/CODE]

    Leave a comment:


  • Current Deployment Version on Windows Form Title (C#)

    I was checking online how to get the deployment version to put in the title of the main form, and the thread I found here on Bytes just missed few things.
    That is the main why I registered and join this really useful community.

    Here below is how to get the deployment version on the title of the main form (at least the solution I found :)):
    In the load event of the form:
    try
    {
    ...
    See more | Go to post
No activity results to display
Show More
Working...