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...
Type: Posts; User: AngKar
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...
Thanks a ton guys...but I cannot get the mime type like this.Right?
Can anyone please tell whether I can find the filesize, extension, mime type of a file using open file dialog ctrl?
I want to build a data structure having a collection of array of streams. How can I make that?
Can I create an array of memorystreams of flexible size?
More specifically now I try writing this:
public void contextFTP()
{
System.Diagnostics.Process proc = new System.Diagnostics.Process();
...
Thanks Piano
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?
...
So is this valid? I want to do something like this....
public Stream getStream(Stream stream)
{
MemoryStream ms;
.
.
1. How can I convert a memorystream/filestream to a stream?
2. How to create an array of streams?
AK
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!
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...
The code is running for 3Kb zip file but the EOF error shows up when I try to run a 37Kb zip file :(
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)
{
...
Hi,
I'm trying a stream to sbyte conversion as follows:
private SByte[] streamToSbyte(Stream stream)
{
sbyte[] sbuffer = new sbyte[stream.Length];
I want to implement a Connect and a Disconnect Function in VPN and the client m.c is Win Xp.
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...
:)
I wanted something more specific ... I googled but in vain :(
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...
Hi,
Can anyone please show me the path to proceed in order to convert memorystream to filestream and vice versa?
Thanks,
AK
Thanks guys...got it :)
I need to do a conversion since I use a .dll present in Java which is not in C#
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
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)
{
...
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