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

Search:

Type: Posts; User: dazibao

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    1,079

    Re: Some find work input please

    Not sure what you mean but I think you could use :


    and then parse it as CSV
  2. Replies
    2
    Views
    1,139

    Re: Question about methods and classes

    Generally breaking code into functional pieces have to do a) with reusability b) with readability

    When you will revisit this code instead of seeing this block of code you'll have a forexample...
  3. Replies
    2
    Views
    1,180

    Re: About Paths and path reference

    Anyway. Used to be the "./". In .net I used the Environment.Currentpath, but I noticed that this path changed whenever you call a FileDialog. I just save Environment.CurrentPath +"directory"...
  4. Replies
    12
    Views
    3,108

    Re: Pointers - Unsafe

    d4mn!
    Not sure if I'm completely anti-OOP or just the common C++ past. :p

    I went with the second way. Why messing with all these? no need anymore..
  5. Replies
    0
    Views
    3,412

    Custom colors in wpftoolkit pies?

    Is there anyway to assign specific colors for <PieSeries> pieces of pie?
  6. Replies
    12
    Views
    3,108

    Re: Pointers - Unsafe

    Hi Again.

    I'm trying to pass a pointer to a string from one form to another.



    It doesnt change the string back to the caller. I guess the new value can only be assigned in that method that...
  7. Replies
    2
    Views
    1,180

    Re: About Paths and path reference

    Ah. I want to add this path in the Settings file
  8. Replies
    2
    Views
    1,180

    About Paths and path reference

    How is it possible to declare a path to a source within the app folder?

    For example if a add a assembly that is somewhere in the project dir, though that the path declared is the full path, if I...
  9. Re: Exporting from access to excel with .net (c#)

    In case someone needs it this is it:


    oAccess.DoCmd.TransferSpreadsheet(Microsoft.Office.Interop.Access.AcDataTransferType.acExport,
    ...
  10. Exporting from access to excel with .net (c#)

    Hi

    The problem is that I have big files (50k lines +) from merging different excel sheets (through c# and little manipulation in datagrids) and I want to export them in excel again.

    All methods...
  11. Replies
    0
    Views
    836

    Reading Excel Files

    I used this code:


    DtSet = new System.Data.DataSet();
    MyConnection = new System.Data.OleDb.OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0;Data

    ...
  12. Replies
    12
    Views
    3,108

    Re: Pointers - Unsafe

    very enlightening posts GreatKthulu!! :thumb:
  13. Replies
    12
    Views
    3,108

    Re: Pointers - Unsafe

    I use it to pass by reference. Can I overpass this too??

    for ex:
    void Change(ref string xy) { xy="hi";}

    string x = "hello"
    Change(ref x);
    //now x= "hi"';
  14. Replies
    4
    Views
    1,871

    Re: Typecasting Object to Struct.

    holly ****

    Sorry Cthulu, my fault.
    Somewhere in one of the node's constr. I missed to pass the obj corectly .
    Works fine now :blush:
  15. Replies
    4
    Views
    1,871

    Re: Typecasting Object to Struct.

    I'm not sure if I get what youre saying. The Data object has been passed a Vals.

    Here's the code -if it's the first entry-:



    so when you take it back:
  16. Replies
    4
    Views
    1,871

    Typecasting Object to Struct.

    I have a linked list that takes any object, and puts it a struct with some other params:

    Let's say:



    So when you want to retreive it you create a struct, pass it as a ref, and take the...
  17. Replies
    12
    Views
    3,108

    Re: Pointers - Unsafe

    Thanks to all of you guys.

    I did it without any unsafe, no real need, since there are "ref"s.
  18. Replies
    12
    Views
    3,108

    Pointers - Unsafe

    Hi

    I'm rewriting some of my libraries in C#.

    I've read the manuals and tutorials but I cannot make it work.
    I specifically have the declaration of a node of a link list

    ie:
Results 1 to 18 of 18





Click Here to Expand Forum to Full Width

Featured