|
Hello,
I don't find the URL in the 2nd free TSA.
Thak you verry mutch.
|
|
|
|
|
hi
I should build Windows-mobile and Webservice program
that contain 200 Windows-mobile terminals that need to download file from
WebService using WIFI connection.
Do I expect any problems of parallel file download ?
thanks
|
|
|
|
|
Apparently you didn't notice but there is a Mobile[^] forum.
Based on what you describe you are not downloading files in parallel. There will be 200 separate calls to the service.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Gali1978 wrote: Do I expect any problems of parallel file download ?
Might depend on things like available bandwidth, filesize, that kind of stuff. It's not 200 iso-files, right?
How about having ten of your companies computers each run 20 separate test-applications that download a file for a single location? That way you could simulate the event and "feel" the impact
|
|
|
|
|
thanks for the help
the main question is:
is the Webservice can deal with 200 parallel downloads from the terminals ?
the file size is 30Mb
|
|
|
|
|
Hello,
Is there any easy way to check streaming media(valid, invalid) in csharp?
for example: i have a mms stream, mms://192.10.0.11/radio, i want to check if the stream is valid or not in c#.
thanks.
It is never late to learn
modified on Tuesday, December 28, 2010 10:06 AM
|
|
|
|
|
Define what you mean by "valid". What you said have can mean anything.
|
|
|
|
|
what i mean by valid is when i open the link with media player, it should work, i did not find another word for it. maybe better word for it is "Active".
It is never late to learn
|
|
|
|
|
OK, the only thing you can do is try and download the file from the URL. Whether or not the stream actually plays is an entirely different problem which doesn't have an easy solution.
|
|
|
|
|
Gofur Halmurat wrote: when i open the link with media player, it should work
For a particular format/encoding?
That's the main reason why some streams don't "work" in the Media Player; it lacks a decoder to read it.
I are Troll
|
|
|
|
|
In a C# application I create a Process object and as Process.StartInfo.Arguments I set an environment variable like this:
Process p = new Process();
p.StartInfo.FileName = "cmd.exe";
p.StartInfo.Arguments = @"/k SET MYVAR1=HELLO";
p.Start():
But know I need to add another environment variable also valid for the cmd.exe process. The process object needs to pass a second variable called MYVAR2=WORLD . But the StartInfo.Arguments is just a string and if I try something like this:
...
p.StartInfo.Arguments = @"/k SET MYVAR1=HELLO MYVAR2=WORLD";
...
it doesn't work since MYVAR1 then gets the value:HELLO MYVAR2=WORLD .
Does anyone have a clue on how to achieve this?
|
|
|
|
|
Try seting the Arguments like this:
/K SET MYVAR1=HELLO && SET MYVAR2=WORLD
[EDIT] Added SET to the command after &&.
|
|
|
|
|
Thanks Dave, I'll try that when I'm back at the office.
|
|
|
|
|
First step is to realize that the shell, not Process is processing the env var command which you are passing.
So Process itself, as you are using it, is meaningless in the context of the question. It would require using so feature of 'cmd' itself. The other response referring to '&&' could be made to work although I doubt the exact form suggested is correct.
However ProcessStartInfo (which is the type of Process.StartInfo) has a property called EnvironmentVariables. That is probably what you want.
|
|
|
|
|
Yours is the better solution. I just kept my answer within the bounds of the code he already has.
The "&&" does work though. You can try it yourself in a simple Start -> Run line:
CMD /K SET MYVAR1=HELLO && SET MYVAR2=WORLD
When the CMD box shows up, just type SET and look for the variables.
|
|
|
|
|
Dave Kreskowiak wrote: The "&&" does work though. You can try it yourself in a simple Start -> Run line:
That would of course be a variation - as a I suggested.
Your first reply is missing the second 'set'.
|
|
|
|
|
Oh *#&$, I did screw that up, didn't I...
Thanks for the extra pair of eyes!
|
|
|
|
|
Thank you for your reply. I know that environment variables are used by shell and not Process per se, but as you saw in the example I need to start a cmd process and set more than one variable. I don't think using the EnvironmentVariables property of ProcessStartInfo will work since it seems to be readonly according to MSDN.
Anyway, it works with the previous suggestion (with a slight correction) as shown below.
/K SET MYVAR1=HELLO && SET MYVAR2=WORLD
|
|
|
|
|
Calla wrote: EnvironmentVariables property of ProcessStartInfo will work since it seems to be readonly according to MSDN.
The collection itself is readonly. The items in the collection are not.
|
|
|
|
|
I see. Thank you for pointing that out!
|
|
|
|
|
I am to create an ERP Solution in .NET and I want it to be a module base application. I am unable to figure out how can I do this.
Any suggection regarding modular approach is highly appreciatable.
Thanks
|
|
|
|
|
Umair Feroze wrote: Any suggection regarding modular approach is highly appreciatable.
Break your problem down into small modules and develop from there. This is too much of an open question to get a short answer, and you have not described what your application will do (what is ERP?).
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
Richard MacCutchan wrote: what is ERP?
Enterprise Resource Planning, probably.
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
Definitely ERP Stands for Enterprise Resource Planning and my project covers inventory management till payroll creation.
It covers inventory mangement, sales and purchase, an Accounting System, an HR system including payroll system.
Although I am developing all these as individual projects but the thing which is worrying me is how to join all these in a way that incase of adding another system I dont have to change the code for my project. I just create another project compile it and just plug into the system
|
|
|
|
|
I assume you are talking about dropping in different modules at runtime, without having to change any code to add them. If you are, then you are talking about creating a plugin based system - and I'd recommend using the Managed Extensibility Framework[^].
|
|
|
|