Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: sknake

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    1,905

    Re: Exposing C# types from a windows service

    If you can get ahold of the assembly where the types are defined you could load them but this is not ideal and I do not recommend it. You can rename the Service.exe to Service.dll and add it as a...
  2. Replies
    2
    Views
    1,196

    Re: How to backing up dataBase using C# Code ?

    BACKUP DATABASE [DataBaseName] TO DISK = 'C:\Program Files\...\db.bak' WITH INIT , NOUNLOAD , NAME = N'DataBaseName backup', NOSKIP , STATS = 10, NOFORMAT
  3. Thread: Encryption

    by sknake
    Replies
    4
    Views
    1,150

    Re: Encryption

    I agree with Scott on this -- it is hard to recommend a good approach without understanding what you mean.

    To implement encryption you should take a look at: System.Security.Cryptography.Rijndael
  4. Thread: CheckBox

    by sknake
    Replies
    1
    Views
    651

    Re: CheckBox

    Isn't this the same question you asked in http://www.codeguru.com/forum/showthread.php?t=481058 ?
  5. Replies
    1
    Views
    1,125

    Re: Repeater Control

    I have done something similar:




    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucAllergyGroup.ascx.cs" Inherits="OnTheRoadMd.Web.ctrls.ucAllergyGroup" %>
    <label><span...
  6. Re: make another safety thread while asychronous operation running!!!

    If you declare an instance of a class inside of a thread then it is thread safe. It might not be thread safe if you call it from ANOTHER class but from what you said that doesn't appear to be the...
  7. Re: Invalid attempt to read when no data is present

    Try using this approach:


    private void button2_Click(object sender, EventArgs e)
    {
    string connStr = BuildSqlNativeConnStr("apex2006sql", "Leather");
    const string query =...
  8. Replies
    1
    Views
    552

    Re: Two Installation of the same Package

    Create a new installer with new installation paths, product names, etc so nothing conflicts on the filesystem then run the second installer. On the installer you have a "ProductCode" property that...
  9. Replies
    9
    Views
    949

    Re: viewing images in a picturebox P2

    What do you mean by "it doesnt work right"?
  10. Replies
    11
    Views
    4,257

    Re: Debugging 100% CPU Use

    Why don't you fire visual studio up and attach a debugger to it and see what is going on? Also depending on how you have written your service you should split it out to a command or form application...
  11. Thread: Cutting String

    by sknake
    Replies
    6
    Views
    740

    Re: Cutting String

    It seems I answered this question yesterday on another forum. Don't you love cross posters? :(
  12. Replies
    4
    Views
    853

    Re: Enumerating Colours

    You also have a few more colors defined in the SystemColors for form display colors. I hope that helps.
  13. Thread: Testing

    by sknake
    Replies
    0
    Views
    1,479

    Testing

    I wanted to create a thread to see what the options are
  14. Replies
    3
    Views
    2,325

    Re: Import Excel Data to Dataset

    Why don't you open the Excel sheet with an OleDbConnection and query with an OleDbCommand instead of doing excel automation? Since you obviously want to use this in a dataset you could load the data...
  15. Replies
    2
    Views
    1,723

    Re: LINQ queries and extension methods

    1) Yes. It is a matter of convenience and readability for calling the methods. Some people don't like to use lambda operators and might favor the former.

    2) As far as I know you have to call...
  16. Replies
    2
    Views
    786

    Re: Convert double to 4 decimal

    You can also use string.Format()



    string.Format("Value: {0:F4}", unitPrice);
  17. Re: Can C Sharp the best choice for securities firm web application

    It is a matter of preference -- I don't know that one is better than the other. I would recommend C#.
  18. Replies
    5
    Views
    1,164

    Re: datetime C# equvalent

    DateTime maps to SQL's datetime, but the valid range is different. To initialize a DateTime with the minimum value use:
    System.Data.SqlTypes.SqlDateTime.MinValue.Value
Results 1 to 18 of 18


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center