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

Search:

Type: Posts; User: MontgomeryBurns

Page 1 of 8 1 2 3 4

Search: Search took 0.02 seconds.

  1. VS2019 Setup project. x86 and x64 are not copied to target machine

    When I build my VS2019 C# application (which uses SQLite databases), I find these x86 and x64 folders containing SQLite.Interop.dll in the output folders. Like this:
    ...
  2. Replies
    0
    Views
    1,242

    using Form does not release memory

    In Microsoft Visual Studio Enterprise 2015 I have created the simplest Windows Forms Application (.NET Framework 4.5.2.):

    On the main Form1 there's a button1. When you press it the Form2 opens and...
  3. Replies
    14
    Views
    4,632

    Re: Array subset

    :D sorry for this, I copy-pasted an example code just to show how the Update might be. But the nitty-gritty is that I wanted to show that the Update function will write bytes starting from the...
  4. Replies
    14
    Views
    4,632

    Re: Array subset

    These are some library functions. I cannot imagine to rewrite anything that accepts byte[], even .Net Framework functions like FileStream.Write. It is not applicable.


    In C++ I would simply do...
  5. Replies
    14
    Views
    4,632

    Re: Array subset

    OK, what I was trying to ask is, how can I pass such a SubArray class to a function like:
    public void Update(byte[] buffer)
    {
    ...
    }:confused:
  6. Replies
    14
    Views
    4,632

    Re: Array subset

    Like CGKevin's class in first thread's reply? :) I already got exactly what you say, with an indexer too. As I explained, all of my problems are in passing that kind of object to methods that have...
  7. Replies
    14
    Views
    4,632

    Re: Array subset

    Thank you for your suggestion. Yes, there is this possibility. The thing is that that kind of change would involve a lot of different classes and would be quite challenging at this step of...
  8. Replies
    14
    Views
    4,632

    Re: Array subset

    Hi!
    one of my classes that takes care of socket communication between devices returns an array (byte []) containing a whole message. The message consists of some initial bytes and then a data part....
  9. Replies
    14
    Views
    4,632

    Re: Array subset

    Thank you for your reply.

    As you can see in my code the function I need returns a byte[], which is what I need, because I must also pass the sub buffer to methods that accept byte[], and there is...
  10. Replies
    14
    Views
    4,632

    Array subset

    Hi,
    I need to create an array subset. ArraySegment is not really what I look for, since I would like to access the subset as you access any other array. The most important thing is that the subset...
  11. Re: Windows 7 64-bit C# Build: 'Any CPU' or 'x86' ?

    Thank you guys for your answers.

    @dglienna
    I started developing my application 5 years ago, 64-bit app were not a big issue then. I never touched the 'Any CPU' property and when I first installed...
  12. Windows 7 64-bit C# Build: 'Any CPU' or 'x86' ?

    Development PC: Windows 7 32-bit, Visual Studio 2008
    C# app: .Net Framework 2.0

    My latest version doesn't work under Windows 7 64-bit (it can't find a registry path with some keys). That happens...
  13. Wow6432Node - 32-bit Application on Windows 7 64-bit

    My 32-bit application (.Net Framework 3.5 compiled with MS Visual Studio 2008) has got problems when it is installed on Windows 7 64-bit machines.
    I found this code to access a Registry path saved...
  14. Replies
    7
    Views
    2,267

    Re: Registry Keys

    Darwen, I developed a class to easily access the Registry, so I store the RegistryKey regkey as a member variable.
    I am wondering:
    How can I ensure the key is closed when I've finished with it,...
  15. Re: What are the Image coordinates when PictureBoxSizeMode.Zoom?

    PictureBox.Dock = DockStyle.Fill into the Form and that's how I wish it to appear.
    The PictureBox aims to show images from a camera and the DrawLine is needed to show a grid on the film from the...
  16. What are the Image coordinates when PictureBoxSizeMode.Zoom?

    this code draws an horizontal line on a PictureBox.
    void bigWindowPictureBoxCamera_Paint(object sender, PaintEventArgs e)
    {
    PictureBox pb = (PictureBox)sender;...
  17. Re: CommonAppDataPath and UserAppDataPath

    I've got 1Gb of files to move, so I think that this would be a useless waste of time :thumbd: , when these files could be sited always in the same place :thumb: .

    There's lots of things I could...
  18. CommonAppDataPath and UserAppDataPath

    Hi everybody,

    my application setup installs some MS Access mdb files, which will be modified during app's execution.

    I thought about installing them in Application.CommonAppDataPath or...
  19. C# App deployment Framework detection

    I created a Setup Project for my C# Application.
    Though I selected

    Download prerequisites from the component vendor's web site,

    it happens that when I launch Setup.exe the Framework 3.5 SP1...
  20. Replies
    0
    Views
    2,301

    Setup Project, folders copy

    Hi,
    I created a setup project using Visual Studio Wizard
    (Other Project Types/Setup and Deployment/Setup Project).

    I would like to copy a folder from my setup.exe location.
    I don't want to...
  21. Replies
    6
    Views
    3,670

    Re: Insert text into webpage textbox

    have you found a solution for this issue?
  22. Re: UnauthorizedAccessException when accessing Virtual COM port

    I mean that that exception is not thrown by my main thread nor any thread created from my code. I tried trapping it like this:

    [STAThread]
    static void Main(string[] argv)
    {
    try
    {...
  23. Re: UnauthorizedAccessException when accessing Virtual COM port

    That's what I'd prefer, either. But you cannot trap the exception since it is thrown by a thread created somewhere else of my code. From the link:
  24. Re: UnauthorizedAccessException when accessing Virtual COM port

    I solved my problem adding a config file to my Visual Studio C# project. My app.config file is this:
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <runtime>...
  25. Replies
    11
    Views
    15,440

    Re: ListView & flickering & DoubleBuffered

    thanks but I already tried that, only DoubleBuffered seems to solve this problem. I don't see why you all seem to dislike this solution :eek:.
Results 1 to 25 of 190
Page 1 of 8 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)