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

Search:

Type: Posts; User: mariocatch

Page 1 of 17 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    2,262

    Re: AssemblyInstaller

    Nothing calls out to me at the moment. I may take some time today to replicate a simple use case of this and see if I can repro it.

    I also suggest you write a simple test case for this scenario as...
  2. Replies
    6
    Views
    2,262

    Re: AssemblyInstaller

    Where is the code that handles the uninstallation of the wservice? Is it correctly releasing handles to the file after deletion (ie: using())?
  3. Replies
    5
    Views
    15,107

    Re: C# Excel Workbook Open

    It sounds like you didn't do as I suggested. You only want the workbook to open once, so don't move the workbook open to your button_Click event. Keep it in your forms constructor. But, move the...
  4. Replies
    5
    Views
    15,107

    Re: C# Excel Workbook Open

    First, use [ code][ /code] tags please.

    Second, you're declaring the 'excelWorkbook' variable inside of a method. Therefore, it has no scope outside of the method.

    In your Constructor:

    ...
  5. Replies
    1
    Views
    293

    Re: Custom Attribute Help

    If you have the Assembly object loaded and pointing to your assembly in question, you can use the GetCustomAttributes() method to get all custom attributes on it.

    This should get you started.
  6. Replies
    5
    Views
    4,176

    Re: MessageBox in C#

    Btw SomersetBoy, in Visual Studio you can right click on Types that you know should be right, but aren't scopped, and go to Resolve->Include namespace. It will automatically add the namespace using...
  7. Replies
    22
    Views
    3,346

    Re: Numbers Only Textboxes!!

    What sort of validation?

    You can handle the OK button press event, and do conditional checks there. Perhaps a regex validator. Plenty of options.
  8. Replies
    4
    Views
    920

    Re: late binding and overloaded methods

    ah, well if you're being forced to do it that way since it's an assignment for class, then I suppose you have no other choice.

    As long as you know what's wrong and right :)
  9. Replies
    1
    Views
    330

    Re: How to find duplicates?

    You've created this same thread 3 times on this forum. Stop.
  10. Replies
    4
    Views
    920

    Re: late binding and overloaded methods

    Your calling code has to know about the parameter types to use if you plan to reflect them.

    Your solution is a little ugly, but this link has the proper solution for calling overloaded methods...
  11. Replies
    11
    Views
    727

    Re: Creating helpfiles, what to use?

    If it's for basic users, just write a wiki page, or a word doc. There's no software that takes code and translates it into user friendly how-to's for regular end users of your application.
  12. Replies
    11
    Views
    727

    Re: Creating helpfiles, what to use?

    I'm not sure I understand the difference... Your documentation IS a help file. Are you writing a help file for users or other engineers of your code?

    If it's for users, then you should make a word...
  13. Replies
    11
    Views
    727

    Re: Creating helpfiles, what to use?

    If you're using Visual Studio, this is built in for you btw.

    http://msdn.microsoft.com/en-us/magazine/cc302121.aspx

    Use XML tags for your comments and you can generate a help file directly from...
  14. Replies
    11
    Views
    727

    Re: Creating helpfiles, what to use?

    A lot of major corporations use doxygen:
    www.doxygen.org/
  15. Replies
    3
    Views
    1,219

    Re: Font linking for a unicode string

    What you want is the MaskedTextBox.

    Some links to get you started:
    http://www.microsoft.com/middleeast/msdn/WinFormsAndArabic.aspx...
  16. Re: Rearrange position of tab controls

    You could modify the TabPages collection which is a member of your TabControl instance.

    Just like any other array, you can modify the index of its children.
  17. Replies
    8
    Views
    1,390

    Re: Composition/Aggregation law of demeter

    Reposting the original code from the original post.. I was going crazy trying to read it without code tags...



    public class House
    {

    public House()
    {
    Room = new Room();
  18. Re: how to find and count specific word from txt file in C#

    Just want to say that HashTable is considered deprecated and has been replaced by the more generic solution of Dictionary<T,T>.

    From MSDN:
  19. Re: Rearrange position of tab controls

    TabIndex is the order in which a control will be tabbed to (tab in the sense of hitting the tab key on your keyboard). Is this what you want? Or are you trying to modify the order in which TabItems...
  20. Replies
    4
    Views
    2,157

    Re: Sharing data between threads

    john_avi,

    There is no 'clean' way to cancel a thread on-demand. The only way to cancel threads is to signal for cancellation. When the thread receives the signal, it can then clean up and return...
  21. Replies
    5
    Views
    411

    Re: Need help with a program. Pls

    The best way to do this is to create the string before-hand, and use that string in the Console.WriteLine and the MessageBox.Show().

    ie:



    string myString = "foobar";...
  22. Replies
    5
    Views
    411

    Re: Need help with a program. Pls

    Console.WriteLine returns void (meaning, it does not return anything).

    You can not cache the return of WriteLine to anything since it doesn't return anything.
  23. Re: CS0246: The type or namespace name 'DataSet' could not be found

    i can keep asking you questions and get one line responses, or you can give us more details of the problem. perhaps the entire config file?
  24. Re: CS0246: The type or namespace name 'DataSet' could not be found

    is it in a <configuration> group? is this for a webpage? what's the context?
  25. Re: CS0246: The type or namespace name 'DataSet' could not be found

    See MSDN for proper usage of connectionStrings tags in app.config files:

    http://msdn.microsoft.com/en-us/library/ms254494(VS.80).aspx
Results 1 to 25 of 405
Page 1 of 17 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