i'm using this control to upload binary files to our webserver. the problem is, how do i do client side processing BEFORE the file gets uploaded. while i'm debugging the server code, i see that by the time i get to a page_load, the file has already been uploaded. what i want to is some verification on the file the client selects with this HtmlInputFile control before he sends it. i was thinking there's gotta be some event on the htmlinputfile control that i can register that gets run before the file gets uploaded, but i don't see it. any clue?
mdroz8
Posts
-
HtmlInputFile -
cannot launch exe from windows service??i saw some winsock errors in the eveentlog associated with my service. theh exe i'm running is an exe that communicates with a server. so it opens up a tcp connection to a remote macine and sends some data... the fact that this is not easy to get working seems to be a GOOD thing, since this is typical action of some malicious service i would assume... i've spent a lot of time on this and i'm thinking it might be just easier to communicate with the natice c++ written in win32 code directly. then this way i would avoid haveing to spawn a new process and execute it, which is what's causing these security problems, right? so i can either covert this win32 exe into a DLL or a com object and talk to it using .net's com interop or dill importing attributes. which one is easier? -- modified at 11:00 Sunday 22nd January, 2006
-
cannot launch exe from windows service??yeah, i tried running it as the user that i run the exe manually successfully from. still doesn't work. i even tried setting it to networkservice, and that didn't even run at all cuz of permission issues... what else is there to try??
-
cannot launch exe from windows service??ok, so i know it's some sort of permission problem i'm having, but i can't quite figure out what exactly i need to do to get this working. my windows service is starting a new Process object and launching an EXE. this exe is not getting called, but as a test i confirmed that i am able to launch things like notepad and perfmon from this service. i think i know what the problem is, but i just can't figure out how to fix it. my service is set to run under local system, and i believe the EXE i'm running is not running correctly because it needs resources that can only be accessed from the user account. is this correct? i've confirmed my code works by running the same code in a console app, and the exe successfully is called. it just won't get called from my exe! any ideas? thax!
-
freelance/parttime/contract C# projects?hi, i'm looking for part time, freelance, contract type projects in C# to do in my spare time. where is the best place to go to find this type of work? thx! mike