|
Hello,
Do anyone have an idea how to block a file downloading by a c# application while the client download their files using IE and not the same c# application.
best regards
dghdfghdfghdfghdgh
|
|
|
|
|
You can create a aspx file or a webservice which returns the file or the location to the file. In the aspx or webservice you can check the client which does the request for that file. If the client is accepted, return the file...
|
|
|
|
|
Hello
10x for ur answer but i have some changes to request
it is possible to create a windows services that run on computer start up and for each download made by the user this service check the file and delete them if it is not the good file.
best regards
dghdfghdfghdfghdgh
|
|
|
|
|
Erhm, you may want to develop a WebService or something. I'm not sure what you mean, but if I understand you correctly, you want to check if a certain file may be downloaded at the time it's being requested, and remove the file if the check fails?? Erhm... don't think you can do that... It's possible in loads of other ways but don't think you can do it the way you want...
|
|
|
|
|
hello
All what i have a receivers that client can activate them from a downloded file through internet.So for that reason i have talking with the isp of my state to block such file.But o do that i have to present a small demo of that application to the ISP.So any idea???
10x regards
dghdfghdfghdfghdgh
|
|
|
|
|
She's been asking this for days. She wants to write an app that an ISP runs to block certain file types.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
You have been asking this question for days. You have been answered many times. If you still don't get it, contact your client and let them know that the job is beyond you.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Christian Graus wrote: You have been asking this question for days.
Thought I saw this question before.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
and before and before and ...
Well you get the picture. I couldn't even be bothered to tell her off - it's obvious she just wants somebody to write the whole bloody thing for her.
|
|
|
|
|
Hi All,
I want to develop a application to send SMS messages using a SMS gateway. I saw the Ozek ing SMS gateway, bud can anyone tell me whether there is a another alternative????
Thanx.
|
|
|
|
|
Justim wrote: can anyone tell me whether there is a another alternative
I'll bet you a beer that Google can tell you
led mike
|
|
|
|
|
I will give you the beer withou betting if you tell me what you know...i searched google before i asked my question here, but no succes ![Frown | :(](https://www.codeproject.com/script/Forums/Images/smiley_frown.gif)
|
|
|
|
|
Justim wrote: tell me what you know
I did this[^]
led mike
|
|
|
|
|
Thanx,
Bud the only one i found that supports C#.net, is still Ozek ing.
|
|
|
|
|
|
Hi,
1. whats the fastest/easiest way to get all points that a graphics path would render when drawing with a 1px Pen?
2. Is there some way how to compare two graphics paths?
thank you
zilo
|
|
|
|
|
1. Take a look at GraphicsPath.PathData.Points. I don't think it will give you every point that will be drawn.
2. Could compare the PathData.Points.
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
Hi,
I have an ASP page which when called returns an XML page. I also have an application I'm working on with C# which I need to connect to that page. How can this be done?
I need to call the ASP page, read the data it returns and work with it.
Thanks.
In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)
|
|
|
|
|
The easiest way is to open the URL in a WebRequest and create a dataset from the result
<br />
DataSet dsFeed = new DataSet();<br />
WebRequest wq = WebRequest.Create(Url);<br />
WebResponse ws = wq.GetResponse();<br />
dsFeed.ReadXml(ws.GetResponseStream());<br />
ws.Close();<br />
wq = null;<br />
<code> <br />
<br />
<div class="ForumSig">.: I love it when a plan comes together :.<br />
<a href="http://www.zonderpunt.nl" target="_blank">http:
|
|
|
|
|
Your application should initiate a web request. This[^] article might help.
|
|
|
|
|
I have tried my application on Vista. it installs without any problem but whenever I try to run it I get this error message
"APD.exe has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available"
My application is developed in C# and .NET framework 2.0 .
it works fine on Windows XP so what is the solution to this problem?
|
|
|
|
|
In your solution did you set it to allow later versions of .Net?
As far as I understand Vista comes with .Net 3 and if you restrict your application (there is a little tick box in the setup project) to .Net 2 your application will not work.
You always pass failure on the way to success.
|
|
|
|
|
.NET 3 is an adjunct to .NET 2. In other words, Vista comes with 2 as well as 3 because 3 cannot exist without 2. I suspect the issue is more to do with the application violating things that Vista has locked down. It's possibly a file access issue.
|
|
|
|
|
What I was referring to is when you create a setup project, within the Launch Condition Properties there is a property called AllowLaterVersions.
If this is set to false then if the application is compiled in a .Net 2 environment the installation will not work on a machine with .Net 3 present.
This was an issue I experienced with a user having 3 on their machine - I changed this setting and it solved the issue.
It's kinda crazy really - why would you not want an application compiled in .Net 2 to to run in 3?
You always pass failure on the way to success.
modified on Wednesday, March 26, 2008 11:03 AM
|
|
|
|
|