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

Search:

Type: Posts; User: Dmorley

Page 1 of 21 1 2 3 4

Search: Search took 0.32 seconds.

  1. Replies
    7
    Views
    1,459

    Re: pointer to struct passing

    Don't you need to use the Interop.Marshal functions to allocate unmanaged memory to your C# client. Eg

    (This code is lifted from an article I found that allows me to use the 'Select Users or...
  2. Replies
    6
    Views
    1,223

    Re: Control Resizing

    Once way to have the IDE write the method signatures for you is as follows....


    Click on the properties tab in your IDE

    Click on the form you wish to resize controls for. The properties of the...
  3. Replies
    2
    Views
    1,357

    Re: File Explorer - Tree View Style

    Yeah, definitely do this. Just load up the information when the user requests it, you can do this in the BeforeExpand event of your treeview...
  4. Thread: Windows Icons

    by Dmorley
    Replies
    5
    Views
    1,240

    Re: Windows Icons

    There's open source stuff out there for the Office 2003 feel....check out

    http://www.codeproject.com/cs/menu/MhOffice2003Menus.asp

    ...theres loads of other articles on this, you should be able...
  5. Thread: OOP Design

    by Dmorley
    Replies
    2
    Views
    1,044

    Re: OOP Design

    Have a check on CodeProject, there are some nice articles on exactly this thing...

    This one might be useful to you.
  6. Replies
    41
    Views
    6,379

    Re: Difference between C# and C++ or Java

    lol - this one still going!! I actually agree with a few different points in this discussion...

    Some interesting reading here ... .Net vs Java

    From the above link...
    VES - Virtual...
  7. Thread: Use of this

    by Dmorley
    Replies
    10
    Views
    1,553

    Re: Use of this

    Nope, inherited members will still be shown - depends on the access modifiers they've been declared with.

    My point is in an inheritence scenario, I just prefer the scope clarity that using this...
  8. Thread: Use of this

    by Dmorley
    Replies
    10
    Views
    1,553

    Re: Use of this

    I actually use this a lot just to get at the intellisense for all my variables etc ! Why type them out when the IDE is happy to do it for you?!

    Personally, I think if you are extending a class...
  9. Re: Data Storage advice required (Was: What is the best implementation for this problem?)

    Yeah, a database is the ideal solution for what you are asking....a well designed db will be able to handle any number of files.

    If you want your program to become opensource in the end, then...
  10. Replies
    3
    Views
    3,056

    Re: How to measure memory usage? [C#]

    Check out the CLR Profiler, allows you to analyse your assemblies in great detail.

    CLR Profiler 1.1

    You can view time lines, full call stack....how much memory each object you create consumes...
  11. Replies
    0
    Views
    925

    Remoting in Citrix Environment

    Hi,

    I have a winforms app that is going to be deployed across a Citrix server farm. The application GUI uses remoting to contact a dedicated server that provides business objects & data access...
  12. Re: "Cannot find keycodev2.dll or invalid keycode" for certain user account

    SOLVED:

    I went back onto the machine, logging on as the local user account SQLServerJobs. I then reinstalled the 'CrystallInstaller' setup I had created (just all the merge modules that are...
  13. "Cannot find keycodev2.dll or invalid keycode" for certain user account

    Hi,

    I've created program that sits on a server and provides some reporting functionality. The user submits a SQL Server job that calls this program, passing in some command args.

    The SQL...
  14. Replies
    0
    Views
    904

    ListView SelectedItems problem [RESOLVED]

    Scrap this, fixed it!
  15. Replies
    9
    Views
    3,905

    Re: How do i do ini file in C#.Net ?

    Yeah, should use XML where you can.

    Pretty sure this is a link to a nice library that allows XML, INI, Registry etc editing (Couldn't confirm the link, the site is playing up..!)
    ...
  16. Replies
    2
    Views
    1,276

    Re: Unicode replace...?

    That worked - thanks...
  17. Replies
    3
    Views
    1,050

    Re: Image to to Stream of Byte[]?

    This works for me...

    Save to byte array...


    ImageConverter ic = new ImageConverter();
    byte[] imageBuffer = (byte[]) ic.ConvertTo(MyImageVariable, typeof(byte[]));


    Call a method that...
  18. Replies
    2
    Views
    1,276

    Unicode replace...?

    Hi,

    I'm retrieving a product write up from an external system, the write up often contains invalid characters that don't display correctly in my UI. The characters are GRAVE ACCENT and ACUTE...
  19. Replies
    2
    Views
    962

    Re: Assemblies on Shared Drives

    I think I've managed to look into the above enough to determine that it is the best solution with the minimum amount of administration for everyone involved.

    However, it brings me to another...
  20. Replies
    2
    Views
    962

    Assemblies on Shared Drives

    Hi,

    We are a software development team for a retail company, all of the programs
    we develop are for use internally on our network. Recently, we have moved
    towards thin-client technology with...
  21. Thread: Use Case

    by Dmorley
    Replies
    4
    Views
    4,204

    Re: Use Case

    Thanks for response - you're right, i realised soon after that what I had posted was more of a logical flow rather than a use case diagram! I've since reviewed this & cut down quite a lot out of the...
  22. Replies
    10
    Views
    3,934

    Re: Is there a function better than API SLEEP?

    SleepEx??



    Declare Function SleepEx Lib "kernel32.dll" (ByVal dwMilliseconds As Long, ByVal bAlertable As Long) As Long
  23. Replies
    2
    Views
    837

    Re: Class module size \ Memory useage

    hmmmm - kind of what i was thinking but not a task I particularly want to do...! painful code changes...will put it off for as long as possible....!

    thanks tho
  24. Re: how can i make a chart (jpg) in batch without excel

    You can use the 'Office Web Components' to create charts & graphs on the fly. Have a look at this article on ASP101 that explains how...

    http://www.asp101.com/articles/chris/aspcharts/default.asp
  25. Replies
    2
    Views
    837

    Class module size \ Memory usage

    What are the implications for a large class module and memory usage?

    We've recently inherited a project that has a huge class module that is basically a data access layer, has lots of methods for...
Results 1 to 25 of 520
Page 1 of 21 1 2 3 4





Click Here to Expand Forum to Full Width

Featured