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

Search:

Type: Posts; User: HairyMonkeyMan

Page 1 of 58 1 2 3 4

Search: Search took 0.25 seconds.

  1. Replies
    1
    Views
    624

    Re: Method RotateTheMatrix

    Not doing your homework for you
  2. Replies
    17
    Views
    13,483

    Re: Mount an read an image in c#

    You may be able to mount using hyperV then access it like a normal disk after its mounted. Unless the disk is using a file format not known to windows, this shouldn't be a problem. My guess is that...
  3. Re: XmlDocuments.SelectNodes() returns nothing!

    Can you show us some of your xml? If there is a namespace, you may need to use an XmlNameSpaceManager.

    http://msdn.microsoft.com/en-us/library/d6730bwt(v=vs.110).aspx
  4. Replies
    11
    Views
    2,613

    Re: C++ callback to C#

    I'll not be online for a while, but have a look at the following (its not complete, but should be able to help)

    http://msdn.microsoft.com/en-us/library/4xwz0t37(v=vs.90).aspx
  5. Replies
    11
    Views
    2,613

    Re: C++ callback to C#

    try defining your struct as follows:



    [StructLayout(LayoutKind.Sequential)]
    public struct ST_EACH_CAMERA_INFO
    {
    [MarshalAs(UnmanagedType.LPStr)]
    ...
  6. Replies
    11
    Views
    2,613

    Re: C++ callback to C#

    Hi Marco,

    I changed the DVR_OnCameraCallback delegate in Interop.cs as follows;



    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
    public delegate void DVR_OnCameraCallback(UIntPtr...
  7. Replies
    11
    Views
    2,613

    Re: C++ callback to C#

    can you upload a repro in a zip?
  8. Replies
    11
    Views
    2,613

    Re: C++ callback to C#

    change 'out' to 'ref'. Output parameters are not passed by reference.

    Hope this helps
  9. Re: Calling C# methods from a matlab script

    There are lots of options;
    Web Services
    Console Application

    what are the requirements?
  10. Replies
    1
    Views
    4,980

    Re: How to hide button in GridView?

    You cannot access the button control rendered by the ButtonField in this way. There are 2 ways you can do this. Both involve using a TemplateField;

    Declaratively bind the visible property of the...
  11. Re: JavaScript functions calling C# functions and viceversa

    I would go a step further and suggest that you check out signalr which is an amazing new family member for asp.net. It enables 2 way comms for .net outside the traditional request response paradigm....
  12. Replies
    2
    Views
    1,306

    Re: ASP.NET not showing up

    do you have the .net framework installed on the server? asp.net pages need a compiler. htm is what the browser sees when an aspx file is compiled.
  13. Inversion of control and AOP frameworks

    Hello community, I haven't posted in a long time..

    A question that is milling over in my mind is what is the best most flexible inversion of control framework? Two that jump to the top of the...
  14. Re: Anyone to ensure functions get run consecutively (and not simultaneously)?

    unless the main thread is kicking off async stuff in other threads. Really no way to know without seeing any code.
  15. Re: Charting package for financial application

    Have you thought about using crystal reports... or maybe the google charts api?
  16. Replies
    2
    Views
    1,774

    Re: Crystal Report Prompts for Password

    Fill a datatable and bind that to the report rather than letting crystal log in to your db.
  17. Replies
    5
    Views
    972

    Re: Protect component library

    Have you tried this?


    if debugger.IsAttached then
    ' An IDE is attached (may be on remote machine)
    end if
  18. Re: dataview filter applies automaticly in defaultview - avoid this?

    Instead of
    playerview = players.DefaultView try
    playerview.Table = players
  19. Replies
    5
    Views
    1,935

    Re: Monitoring a Variable [VB.net 2008]

    The UI is handled by a seperate thread, so you have to either have
    application.doevents inside your loop or place your loop code in a background worker thread.
  20. Replies
    3
    Views
    969

    Re: Displaying an MDIChild form

    I don't think the reference to frmMain is in scope. Try it like this:



    SecondForm.MDIParent = Me.MDIParent
  21. Replies
    42
    Views
    38,476

    Re: Hotspots in .Net

    It is going be a bit more complicated if you are using irregular shaped hotspots.

    Using the mouseup event will give you coordinates clicked in the picbox. You will need a way to determine which...
  22. Re: Starting a Windows Service Programattically

    It comes with the territory, don't worry about it.. at least you found the problem :)
  23. Re: Starting a Windows Service Programattically

    I just tried this:


    Private scnService As ServiceProcess.ServiceController

    Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    ...
  24. Replies
    8
    Views
    2,211

    Re: Father Christmas Arrived early.

    Very nice Grem!!..

    I'm driving around in a big van that gets about 45 miles to gallon. I'm going to get a motorbike :)
  25. Replies
    1
    Views
    709

    Re: Event Viewer Program

    click this and this
Results 1 to 25 of 1435
Page 1 of 58 1 2 3 4





Click Here to Expand Forum to Full Width

Featured