Search:

Type: Posts; User: AngKar

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,769

    placing user controls in a form...

    I created a user control and want to add it in a form using:


    this.Controls.Add(attachmentControl);
    attachmentControl.Visible = true;


    But the next time I wish to add another one I find...
  2. Replies
    6
    Views
    3,672

    Thanks a ton guys...but I cannot get the mime...

    Thanks a ton guys...but I cannot get the mime type like this.Right?
  3. Replies
    6
    Views
    3,672

    open file dialog

    Can anyone please tell whether I can find the filesize, extension, mime type of a file using open file dialog ctrl?
  4. Thread: collection

    by AngKar
    Replies
    1
    Views
    1,499

    collection

    I want to build a data structure having a collection of array of streams. How can I make that?
  5. Replies
    1
    Views
    1,818

    memorystream query

    Can I create an array of memorystreams of flexible size?
  6. Replies
    1
    Views
    1,980

    More specifically now I try writing this: ...

    More specifically now I try writing this:


    public void contextFTP()
    {
    System.Diagnostics.Process proc = new System.Diagnostics.Process();
    ...
  7. Replies
    4
    Views
    1,424

    Thanks Piano

    Thanks Piano
  8. Replies
    1
    Views
    1,980

    A basic shell question

    Hi,

    I've downloaded a .exe and I want to run it from within C# with different parameters...
    I've seen examples with proc.Start and Run functions.
    Which one to use?
    What is the difference?

    ...
  9. Replies
    4
    Views
    1,424

    So is this valid? I want to do something like...

    So is this valid? I want to do something like this....




    public Stream getStream(Stream stream)
    {
    MemoryStream ms;
    .
    .
  10. Replies
    4
    Views
    1,424

    A couple of stream questions

    1. How can I convert a memorystream/filestream to a stream?
    2. How to create an array of streams?

    AK
  11. Thread: remote dirinfo

    by AngKar
    Replies
    0
    Views
    1,346

    remote dirinfo

    Hi,

    Can I use dirinfo with a remote m/c?
    I mean suppose I establish a ftp connection with a remote m/c and then wirte:


    DirectoryInfo dir = new DirectoryInfo(remotePath);


    It doesnt work!
  12. Replies
    5
    Views
    4,047

    I've tried that but the main problem with it is...

    I've tried that but the main problem with it is that I cannot name the zipped file using that class.What I mean is say I want to zip abc.txt , this deflatestream class will create one abc.zip but...
  13. Replies
    5
    Views
    4,047

    The code is running for 3Kb zip file but the EOF...

    The code is running for 3Kb zip file but the EOF error shows up when I try to run a 37Kb zip file :(
  14. Replies
    5
    Views
    4,047

    You rock piano :) Actually what I want to do is...

    You rock piano :)
    Actually what I want to do is write a stream-decompress fn in C#. I've written it as:


    public MemoryStream decompressStream(Stream sourceStream, String path)
    {
    ...
  15. Replies
    5
    Views
    4,047

    Stream to Sbyte[]

    Hi,

    I'm trying a stream to sbyte conversion as follows:




    private SByte[] streamToSbyte(Stream stream)
    {
    sbyte[] sbuffer = new sbyte[stream.Length];
  16. Thread: vpn lib

    by AngKar
    Replies
    6
    Views
    2,652

    I want to implement a Connect and a Disconnect...

    I want to implement a Connect and a Disconnect Function in VPN and the client m.c is Win Xp.
  17. Thread: vpn lib

    by AngKar
    Replies
    6
    Views
    2,652

    Thats a great direction Mario. Actually I'm new...

    Thats a great direction Mario.
    Actually I'm new to networks stuffs and so that if I find one ready-made lib it will be easy to just build a wrapper around.
    But as you say it may take me a few more...
  18. Thread: vpn lib

    by AngKar
    Replies
    6
    Views
    2,652

    :) I wanted something more specific ... I...

    :)
    I wanted something more specific ... I googled but in vain :(
  19. Thread: vpn lib

    by AngKar
    Replies
    6
    Views
    2,652

    vpn lib

    Hi,

    I want to build a wrapper around a C++ library which exposes vpn connection functionalities.
    Could anyone please let me know of any url where I can find such a lib?

    Appreciate your...
  20. Replies
    1
    Views
    4,237

    stream conversion

    Hi,

    Can anyone please show me the path to proceed in order to convert memorystream to filestream and vice versa?

    Thanks,
    AK
  21. Replies
    4
    Views
    3,888

    Thanks guys...got it :)

    Thanks guys...got it :)
  22. Replies
    3
    Views
    16,555

    I need to do a conversion since I use a .dll...

    I need to do a conversion since I use a .dll present in Java which is not in C#
  23. Replies
    4
    Views
    3,888

    Regex for path parsing

    Hi,

    I want to use regex to parse a path. Say I want to extract test.zip from /Test/test.zip.
    Could you please let me know how to proceed?

    Angkar
  24. Replies
    3
    Views
    16,555

    memorystream to java.io.ByteArrayOutputStream

    Hi,

    I've written a function to convert a java.io.ByteArrayOutputStream to a Memorystream and it works. As:



    public MemoryStream baosToStream(java.io.ByteArrayOutputStream baos)
    {
    ...
  25. Replies
    1
    Views
    1,669

    C# to connect to a site

    Hi,

    Any urls which I can use to start to learn on how to connect to a site using C# and fetch info from it.

    AK
Results 1 to 25 of 141
Page 1 of 6 1 2 3 4