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

Search:

Type: Posts; User: RogerD

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Re: Rookie query about short and byte arithmetic/bitwise ops

    Thanks Wolle. The project I was working on (some six years back) is for processing and displaying 16 bit astronomical images which are stored in 4x 6Mpixel 16 bit arrays. Process involves...
  2. Re: Rookie query about short and byte arithmetic/bitwise ops

    Strange!
    I have gone back to VC# 2010 and that was the same so M.S. must know and presumably have a reason so I suppose I will have to ask them but thanks VictorN anyway.
  3. Rookie query about short and byte arithmetic/bitwise ops

    VS19 16.9.688.6828
    Writing a simple C# app as an exercise to try to get my brain working after six years I hit a problem I don't recall. I ran some simple code and it seems that C# doesn't allow...
  4. Re: Problem with user controls in 16.9.2

    As I thought it was a setting in tools-options of course.
  5. Re: Problem with user controls in 16.9.2

    Thanks for that. I have now reported as suggested and will post any outcome.
    Regards
    RD
  6. Problem with user controls in 16.9.2

    I just updated to 16.9.2 from 16.7.2 (VS2019 community) and I can't see my user controls in the toolbox. I have re-installed and tried repair but still no-go.
    The controls work (with some cosmetic...
  7. [RESOLVED] Problem with user controls in 16.9.2

    I created a user control with 32 buttons and loaded 16 into my main form. I couldn't get the buttons to visualize how I wanted them so changed them to panels. However I forgot to remove the...
  8. Replies
    3
    Views
    1,253

    Re: Setting default file type associations

    I built install using Publish in properties and ran the installer. Don't know if I set it up correctly but the program installed and appeared in Installed Programs. As anticipated it didn't hook...
  9. Re: VS2015 Express crashes when stopping at breakpoint.

    I had a similar problem which only showed up debugging a background worker. Eventually I uninstalled and re-installed VS which cured the problem although I have a nagging suspicion it is going to...
  10. Replies
    3
    Views
    1,253

    Re: Setting default file type associations

    Thanks Arjay
    I'm not looking to create an installer just yet - first I would like to get file associations working manually under windows. As I said this works with C++ (and all other non-installer...
  11. Replies
    3
    Views
    1,253

    Setting default file type associations

    I have converted a project from VC++2010 to VC# 2015 but can't get the new version to run on clicking the files in file explorer. I have built a release version but after I browse to the file in...
  12. Replies
    2
    Views
    1,153

    Re: Background worker bug in VS2015?

    Thanks for the response and apologies for delay in replying but I didn't get a notification...
    I re-installed a couple of times then cleaned and separately re-built the user components and...
  13. Replies
    2
    Views
    1,153

    [RESOLVED] Background worker bug in VS2015?

    I've converted a VC++ (2010) project to C# (Community 2015) and find I can't debug in a Background worker. I set a breakpoint, even on the entry point and when it reaches I get a hourglass for about...
  14. Replies
    6
    Views
    1,778

    Re: USB guidelines for c++/cli

    What's the hardware interface, USB or a rs232 type serial? Either way configure your USB port as a COM port and use the serial I/O classes - System::IO::Ports::SerialPort in c++/cli. If you only...
  15. Replies
    18
    Views
    7,437

    Re: Capture a window

    I'm a electronics engineer (retd) and have done a bit of assembler both on microcontroller and previously on DOS /Borland C++ for apps supporting my electronics designs and then on Borland Builder...
  16. Replies
    18
    Views
    7,437

    Re: Capture a window

    Thanks for the update Eri. That's a neat way and not obvious from what documentation I've read.Ok but I didn't use dynamic allocation to mimic your example but because the help I read for...
  17. Replies
    17
    Views
    10,386

    Re: how to pass value from one form to another?

    Sorry everyone - I forgot that was in there :blush: have deleted attachment. By the time I realised my mistake and prepared a correction I didn't have internet :mad:
    Thanks for the example project,...
  18. Replies
    17
    Views
    10,386

    Re: how to pass value from one form to another?

    I can second that wholeheartedly! From my experience I know for sure that without your help in particular I would have given up on codeguru long ago. For non-pro VC++ users like myself a simple...
  19. Replies
    18
    Views
    7,437

    Re: Capture a window

    You have practically written the whole thing for me! :D Just left the bit that gets the window size and repo's to the centre of it (NO I'm not hinting you should have done that also - leave me...
  20. Replies
    18
    Views
    7,437

    Re: Capture a window

    Thanks for that - the demo is almost perfect as it is - even the right colour!
    I have adapted it slightly and using your example discovered the GraphicsPath class which should be more efficient. ...
  21. Replies
    18
    Views
    7,437

    Re: Capture a window

    So how do I use the Win32 functions? A quick try revealed I need to include windows.h where HWND and HANDLE are defined but that throws errors in the standard library files presumably because /clr...
  22. Replies
    18
    Views
    7,437

    Re: Capture a window

    Thanks Eri523.
    Sorry I should have made it clearer that by existing window what I meant to say was one pre-existing i.e. not owned by my program. NB Paintshop Pro screen capture can select a range...
  23. Replies
    18
    Views
    7,437

    [RESOLVED] Capture a window

    Is there any way of capturing an existing window to a bitmap or at least finding it's size and position on screen. It has to be quick by clicking or hovering the mouse over the window (as in screen...
  24. Re: date & time (non static) in statusbar

    Add a timer component and put your code in the timer tick event. I think I saw an example of just this in VS walkthroughs.
    You don't want to put it in a loop or you won't be able to do anything...
  25. Re: A better way to write / read dozens of textboxes?

    I'm a bit lost now! This is purely about the generic form which is restricted to the standard event signature (i.e. EventArgsType), right? If you want to use the non-standard parameters list you...
Results 1 to 25 of 40
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)