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

Search:

Type: Posts; User: boudino

Page 1 of 69 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    3
    Views
    464

    Re: problem with comparing arraylists

    Does the order of elements matter?
  2. Replies
    1
    Views
    362

    Re: Having an issue with code

    Despite it is wrong in design because there should be loop, not a recursion, in which sense it doesn't work?
  3. Re: I have no idea why my foreach is not working.

    Can you post sample data? Maybe there are more then one answers (good and bad) for a queastion? At first look, I cannot see anything weird.
  4. Replies
    5
    Views
    1,235

    Re: Using a timer to go through a for loop.

    If I look well, you never wait for the timer.
  5. Replies
    1
    Views
    285

    Re: Events description panel

    Maybe it is sizeable (I've never tried it), so try to play with mouse on the bottom of the event if it can change to resize cursor and if so, try to drag the panel up.
  6. Replies
    6
    Views
    2,387

    Re: Duplicating class instance.

    Maybe you are interested in Object.MemberwiseClone().
  7. Replies
    1
    Views
    380

    Re: Using a derived class

    I don't know a way how you coudl replace it, especialy not in third party controls. You can only use it in your own controls (controls in your project) instead the standard one. Just drag and drop it...
  8. Replies
    7
    Views
    521

    Re: Generics conversion problem

    There is a solution, or better workaround, which is explicit interface implementation.


    public class SaleElementUpdateHandler : IElementUpdater<FooBar>, IElementUpdater<IBaseTransactionElement>
    ...
  9. Re: VS 2005 - Unable to debug on local IDE, but works fine on development server

    It is not a debugger issue, but a compiler issue. I gues, that because your local machine is 64-bit, the compiler is looking for the referenced assemblies in wrong location. Try to force compilation...
  10. Replies
    7
    Views
    521

    Re: Generics conversion problem

    It is because generics in C# don't support covariance and contravariance (althought CLR does). You can cast the instance to IElementUpdater<FooBar>, but not to...
  11. Replies
    2
    Views
    1,377

    Re: C# DLL loaded from memory during run-time

    If the dll is a common .net assembly, convert the base64 string into byte array and call Assembly.Load(byte[]) with it. It should work.
  12. Replies
    8
    Views
    827

    Re: Shrink a whole bunch of IF statements.

    That's to solution I would use too. As benefit, it is better scalable and maintainable.
  13. Replies
    1
    Views
    646

    Re: C# Firebird add user help

    Try set full path to the process image:


    p.StartInfo.FileName = Path.Combine(firebirdInstallationPath1, "gsec.exe");
  14. Replies
    5
    Views
    548

    Re: Type that doesn't use much memory?

    If you declare it as Color[,,], is is allocated as one big portion of memory. I would try to declare it as so called "jagged arrays" as Color[][][], which needs more work to deal with, but splits the...
  15. Replies
    3
    Views
    1,964

    Re: Creating folder with timestamp in name

    string filename = String.Format("archive_{0:yyyyMMdd}", DateTime.Today);
  16. Replies
    1
    Views
    331

    Re: What is the best way to approach this

    I would use Roles class for checking the access level and own implementation of RoleProvider, or choose one of framework's implemetations.
  17. Re: Increasing memory related to list allocation?

    But it is question how clear is internaly implemented. I don't know, but I can imagine (althought it doens't semm to be smart) that clear just new internal array[] as a storage without leaven the...
  18. Replies
    2
    Views
    431

    Re: Serialization Problem help please

    It si because serialization of generics are gliched. To overcome it, you have to implement ISerializable interface, but in your case, it should be sufficient to change the type of the collection from...
  19. Replies
    6
    Views
    1,922

    Re: Accessing file being used by another process

    Generally, the monitoring program must support it by not locking the file (it has to open it in shared mode). This OS/file system matter, so your options are limited. If it is possible, it would be...
  20. Replies
    3
    Views
    392

    Re: Allocate disc space

    With the respect to DataMiser's point, I've used following unmanaged methods to (de)allocate large amout of memory


    IntPtr p = Marshal.AllocHGlobal(size);
    Marshal.FreeHGlobal(p);
  21. Replies
    4
    Views
    810

    Re: convert string array to double array

    Post a sample of the string array which you are trying to convert.
  22. Replies
    5
    Views
    1,224

    Re: out of range exception (except it isn't)

    What if the end excedes lenght of the string?


    source = source.Substring(0, Math.Min(end, source.Length));
  23. Replies
    2
    Views
    576

    Re: C# Form inheritance with new controls

    Visual inheritance was allways trouble in VisualStudio, so I would prefere composition of user controls over inheritance. But if you really need it, check the z-order of the controls in the designer,...
  24. Replies
    1
    Views
    439

    Re: Sorting some XML in C#

    Just guess, but LINQ to XML wouldn't help? Because it seems to me that you don't want to sort the XML, but the XML Document buit in the memory.
  25. Re: Button Not Doing an action more then one time?

    From quick look, you are creating a new instance of the Trademan every time the button is clicked, so you always deal with turn == 1.
Results 1 to 25 of 1714
Page 1 of 69 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