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

Search:

Type: Posts; User: dlarkin77

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: WCF - sharing a Dictionary between multiple processes

    Thanks very much Arjay - I'll have a look at those articles.
  2. WCF - sharing a Dictionary between multiple processes

    Hi,

    I have an application that populates a couple of generic dictionaries (via calls to a web service) when it starts up.
    This works fine when there is only one instance of the application...
  3. Re: Where can I find the powershell 2.0 SDK??

    That's usually a good indication that it's already installed. Check in Control Panel to see if it is already there.

    You could just let it remove the existing installation and then do a fresh...
  4. Re: Unable to run the exe created by c# application

    You're welcome. You should mark this thread as resolved if your problem is gone.
  5. Re: Unable to run the exe created by c# application

    A DirectoryNotFound exception is being thrown that you're not handling.

    Your code is looking for a directory that doesn't exist on the machine.

    So, you need to add some error handling and/or...
  6. Re: Where can I find the powershell 2.0 SDK??

    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=50633A1F-A665-425D-923C-1A269F8AC084&displaylang=en
  7. Re: Unable to run the exe created by c# application

    What error message do you get?
    Is Excel installed on the machine in question?
  8. Replies
    5
    Views
    1,078

    Re: to read csv file into text file

    Try removing the call to
    strline = sr.ReadLine();
    that you have inside your loop
  9. Replies
    22
    Views
    3,365

    Re: Write data to SQL database

    You're going to have to show some code at this point, and provide whatever details you get at the point the program crashes.
  10. Replies
    22
    Views
    3,365

    Re: Write data to SQL database

    You need to escape the backslash before the instance name:


    dataConnection.ConnectionString = "User ID = jsitz; Password= labR2o6; Data Source = DELL\\SQLEXPRESS; Initial Catalog =...
  11. Replies
    8
    Views
    764

    Re: Combobox writer

    have the loop continue while x is less than Items.Count, not less than or equal to



    for (int x = 0; x < cbBanken.Items.Count; x++)
  12. Replies
    8
    Views
    764

    Re: Combobox writer

    You are telling it to write the currently selected item each time


    writer.WriteLine(cbBanken.SelectedItem.ToString());

    You want it to print the item at the index specified by x

    ...
  13. Replies
    3
    Views
    2,301

    Re: Assembly version problem

    Try replacing that -1 with a non-negative number
  14. Re: Problem with SET and SELECT (to assign a local variable)

    My problem was how I declared @UtopiaOrderNumber.

    The following works fine:



    DECLARE @UserID INT
    SET @UserID = 1

    DECLARE @UtopiaOrderNumber NVARCHAR(3)
  15. [RESOLVED] Problem with SET and SELECT (to assign a local variable)

    Hi,

    I'm using SQL Server 2005.

    I have the following SQL which is supposed to pad an integer value with leading zeros. The problem is that it prints 0 instead of 001



    DECLARE @UserID INT...
  16. Re: Code error help.....this is my first time using c# so thisis prolly something sim

    You're also missing a 't' in System.EvenArgs.
    It should read System.EventArgs
  17. Replies
    5
    Views
    958

    Re: Visual Basic to C# Script

    how about



    public void Main()
    {
    SqlConnection conn = new SqlConnection("server=(local);Integrated Security=SSPI;database=Test");
    conn.InfoMessage += new...
  18. Re: What Sub/Function/Block of Code Produced Error

    Try this


    Public Shared Function GetCurrentMethodName() As String
    Dim frame As New StackFrame(1, True)
    Return frame.GetMethod().ReflectedType.Name & "." &...
  19. Re: Trouble with Select Distinct() FROM Sub Select

    I'm embarrassed at how simple that is :blush:.

    Thanks very much Shuja Ali.

    I would rate your post but I have to spread some reputation around before I can so I'll get you sometime later.
  20. Trouble with Select Distinct() FROM Sub Select

    Hi,

    I'm using SQL Server 2005 and I'm having a bit of trouble with something that seems like it should be pretty simple.

    I have a table with 2 fields - AccountNo and Name. Neither field has to...
  21. Replies
    7
    Views
    2,930

    Re: Threading.Timer updating UI

    Hi,

    I've changed my code so that it is more like RaleTheBlade's and it's now working fine.

    Thanks very much,

    dlarkin77
  22. Replies
    7
    Views
    2,930

    [RESOLVED] Threading.Timer updating UI

    Hi,

    I am using a System.Threading.Timer and I'm trying to update a form's UI each time the timer fires. When I push a button I start the timer, execute some task that takes a while to complete and...
  23. Changing the colour of a TreeViewNode's focus rectangle

    Hi,

    I have a treeview with HideSelection = false - so whenever I select a node I get a visual indication by way of a grey rectangle around the node.

    Is it possible to change the colour of...
  24. Re: how do i disable the cancel button on the top corner of forms in C#?

    Check out this link http://blogs.msdn.com/atosah/archive/2007/05/18/disable-close-x-button-in-winforms-using-c.aspx
  25. Re: help need in Loading forms into split container

    That's good, glad to help.
Results 1 to 25 of 207
Page 1 of 9 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center