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

Search:

Type: Posts; User: RobR

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Visual Studio: Can I control where invisible controls go?

    Greetings!

    In MS Visual Studio (I'm using 2008, but I've seen this in other versions), I can drop an invisible control, such as a update timer or a file open dialog box, onto a form. It will show...
  2. Re: Can I stop Visual Studio 2008 from overwriting my application configuration file?

    There are read-only settings, but they need to be changed for different test configurations. App.config and its automatic overwriting of myprogram.app.config makes it unsuitable for that purpose.
  3. Re: Can I stop Visual Studio 2008 from overwriting my application configuration file?

    Thank you for that reply.

    Unfortunately, that is not going to help. I think that the use of app.config in this application was a poor choice. The problem is that the configuration parameters are...
  4. Replies
    4
    Views
    1,571

    Re: Help using SQL in C#

    Here's a very rough pseudocode example using old-style coding (not using ADO.Net):



    SomeDatabaseClass db = SomeDatabaseClass.Open("my database name");
    SomeTableClass table = db.Open("my table...
  5. Can I stop Visual Studio 2008 from overwriting my application configuration file?

    A colleague wrote an application named "cranesimulator" in C# and Visual Studio 2008 that contains settings in a configuration file. There is a file in the project named "app.config". When the...
  6. Replies
    0
    Views
    1,279

    Looking for automatic build tool

    Greetings!

    I am looking for an automatic build testing application that meets the following criteria:
    1. Well-written, comprehensive manual
    2. Easy setup of the tool itself
    3. Easy...
  7. Thread: foreach loop

    by RobR
    Replies
    1
    Views
    497

    Re: foreach loop

    Please put code inside a code block ("[ c o d e ]" (no spaces) in front of it and "[ / c o d e ]" (again, no spaces) behind it), and please indent your code. Without those, it is very difficult to...
  8. Can a WebBrowser just show data in a CSV file instead of opening Excel?

    Greetings!

    Visual Studio 2012 Express

    I want a WebBrowser control to show data contained in CSV format on a web page. I just want it to show the data (so I can import it as text into my C#...
  9. Re: Lambda expression to get a list of members from a list of objects?

    Many thanks for your clear answer!

    RobR
  10. Lambda expression to get a list of members from a list of objects?

    I don't even know how to come up with a good title for this question.

    I am using VS 2008. I have a little user control that has a method whose argument is of type List<String>. I have a list of...
  11. Replies
    1
    Views
    746

    Is this control included in Visual Studio?

    I often see a control that consists of two vertical lists side by side with arrows on buttons between them. The left list typically shows available items and the right list typically shows active...
  12. Re: InvalidCastException when getting first result from LINQ query

    Update: If I do not specify an explicit list of fields, I can pass the query object into a data view control, and the control will display the contents of the table as expected. If I want to use...
  13. InvalidCastException when getting first result from LINQ query

    Greetings!

    I am a complete newbie at LINQ. I am trying to get my first simple little application using it to run. It's built in Visual Studio 2008, using DevArt's LinqConnect product to talk...
  14. Replies
    3
    Views
    373

    Re: Why isn't a base class function visible?

    Thanks very much for your reminders and suggestions.

    RobR
  15. Replies
    3
    Views
    373

    Why isn't a base class function visible?

    Greetings!

    I have the following code:

    Base class header file:


    class ADODIRECT_API CADODirectRecordset : public CADORecordset
    {
    public:
  16. Re: How to generate a class with properties from an ActiveX control?

    Which do you recommend I use? I mainly ask out of curiosity, since I already found an answer. I don't know if it's the best answer. I had been using "MFC Class from ActiveX Control". That gave me...
  17. How to generate a class with properties from an ActiveX control?

    Accidental double-post. I don't see how to delete the second one.
  18. How to generate a class with properties from an ActiveX control?

    Greetings!

    I am using Visual Studio 2008.

    I need to generate a wrapper class for an ActiveX control that has public methods and a public property. The generated class has no methods for...
  19. Re: Registry can be read in debug, not in release

    Here is sample code that demonstrates his behavior:




    public System.Collections.SortedList GetSystemDataSourceNames()
    {
    System.Collections.SortedList dsnList =...
  20. Registry can be read in debug, not in release

    Greetings!

    I am using VS 2008 on a Windows 7 64-bit operating system.

    I have written a helpful tool whose first step is to read a list of 32-bit ODBCs from the registry. In debug mode, it...
  21. Re: Inconsistent exception behavior in FirstOrDefault() method with lambda expressiio

    Hmmm... It seems there is something else going on in the program that first seemed to show me this problem. In this code:



    private void button1_Click(object sender, EventArgs e)
    {...
  22. Re: Inconsistent exception behavior in FirstOrDefault() method with lambda expressiio

    I think Richardson's Second Law of Computational Unpredictability comes into play here: the word "should" has no meaning.

    I'll have to put together a tiny test program that I can paste here.
    ...
  23. Re: Inconsistent exception behavior in FirstOrDefault() method with lambda expressiio

    I mean that the list is empty. The List<Field> object had been created, but no Field objects had ever been added to the list. The List<Field> object's Count property is zero.

    RobR
  24. Re: Inconsistent exception behavior in FirstOrDefault() method with lambda expressiio

    Tal,

    Thank you for your reply. In one case, the collection did indeed contain an element whose value was null. I'm not sure why that happened, but of course it would explain the exception. I...
  25. Inconsistent exception behavior in FirstOrDefault() method with lambda expressiion

    Greetings!

    I am working with the following code in MS Visual Studio 2008:



    SimpleADONetField foundField = null;
    foundField = fieldList.FirstOrDefault(field => field.m_name ==...
Results 1 to 25 of 132
Page 1 of 6 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