Hi All, I have a dll that will be installed and called from clients' machines. This should upload files form these machines to a server. I don't want to upload files directly to the server location. I want to create an ASPX and put it on the server. Then the dll should contact this page and pass to it file stream. And the ASPX should recieve and save the files on the server. I don't know how to access the aspx page and make it do actions (save files) from the dll. Any ideas? Thanks.
MayyMagdy
Posts
-
Upload files from client machine to server -
Raise VB6 event from C# Com (dll) [modified]Thank you. But this doesn't help :) how to implement it?
-
Raise VB6 event from C#.NETHi All, I implemented a C# class library and registered it to be visible for COM objects, then i used it from VB6 application and it works fine. Now the problem is that i want to raise an event in the .NET COM and pass it as an event in VB6. i.e. when the .NET COM catched an exception i want it to raise event in the VB6 application to log the event (because the logger works there). Any ideas? Thanks, Mayy
-
Raise VB6 event from C# dllHi All, I implemented a C# class library and registered it to be visible for COM objects, then i used it from VB6 application and it works fine. Now the problem is that i want to raise an event in the .NET COM and pass it as an event in VB6. i.e. when the .NET COM catched an exception i want it to raise event in the VB6 application to log the event (because the logger works there). Any ideas? Thanks, Mayy
-
Raise VB6 event from C# dll [modified]Hi All, I implemented a C# class library and registered it to be visible for COM objects, then i used it from VB6 application and it works fine. Now the problem is that i want to raise an event in the .NET COM and pass it as an event in VB6. i.e. when the .NET COM catched an exception i want it to raise event in the VB6 application to log the event (because the logger works there). Any ideas? Thanks, Mayy
modified on Wednesday, February 06, 2008 5:44:05 PM
-
Raise VB6 event from C# Com (dll) [modified]Hi All, I implemented a C# class library and registered it to be visible for COM objects, then i used it from VB6 application and it works fine. Now the problem is that i want to raise an event in the .NET COM and pass it as an event in VB6. i.e. when the .NET COM catched an exception i want it to raise event in the VB6 application to log the event (because the logger works there). Any ideas? Thanks, Mayy
modified on Wednesday, February 06, 2008 5:45:48 PM
-
Upload file to server from windows applicationhow can i be sure of this? i don't have firewall installed!!
-
Upload file to server from windows applicationHi all, I'm trying to write some code to upload files from the machine where the windows application is installed to a server, for example from "C:\MyFolder\file.wav" to "http://ip/Project/folder/file.wav". I tried: WebClient objClient = new WebClient(); objClient.UploadFile(ServerURL, LocalFile); but it always give me this exception: An exception occurred during a WebClient request. InnerException = {"Unable to write data to the transport connection: An established connection was aborted by the software in your host machine."} Any idea? Thanks.
-
Force download popup for audio filethanks very much. It works fine. But for regular download only, i.e if i have Download Accelerator installed it always download the ".aspx" page not the audio files. any ideas?
-
Force download popup for audio fileHi all, I'm working on a website that allows users to download audio files, the problem is that when i use a regular link with href=fileURL, this usually plays the audio file using the installed audio player. I want a method to force download dialog box to open. (Also i don't want to put the audio in .zip file and so on...) Thanks.
-
[Message Deleted][Message Deleted]
-
[Message Deleted][Message Deleted]
-
how can desable and enable the input filed based on optionPut onChange="Javascript: disableInputFields()" in your select field then put the following JS and chnage names of fields/form and so on.. function disableInputFields() { if (document.Form1.ddltype.value == "cabinate") document.Form1.inputName.disabled=true; else document.Form1.inputName.disabled=false; } hope it helps
-
[Message Deleted][Message Deleted]
-
[Message Deleted][Message Deleted]
-
Dynamic Flash websiteHello All, I want to make a website that will contain a number of galleries each gallery will have some photos and each gallery will be in a separate folder with different name, the problem is that I don't know if I can pass the folder name dynamically to the flash to load images within this gallery, or something like that. The main idea is that everything will be dynamically (i.e. I don't know # of galleries or their names, # of photos or their names ...) any ideas? (note: tools that allowed to be used, asp.net, flash, swish, xml, sql) Thanks
-
Auto-incrementing assembly build numbers for ASP.NET 2.0Hi all, actually i am very depressed of VS.NET 2.0 i have a real problem and am sure i'll found the solution here. firstly i can't understand how .net 2.0 doesn't automatically create dll file for the project, while i was using .net 1.1 there was bin\debug which contains dll file for the web project so i can upload it on the server each time i change something in the code. now after converting to .net 2.0 i don't know what to do? also i found a tool which is "web deployment" i installed it and tried to get the dll it works once and didn't work again but when it worked the build number was 0.0.0.0 and it never changes when i make changes and build again. please i really need help if anyone can. Thank you all
-
DefaultButtons in .NET 2.0Hi all, I used DefaultButtons in .net 1.1 to handle "pressing enter" and it works but when i used it in .net 2.0 it didn't work. if anyone has any idea??
-
Drop-down menu written in Javascript not working in IE6Hi all, I have a drop down menu that's written in JS. It's working on IE7, Opera, and FireFox. But when i test it on IE6 i found that it's not working. i don't know why. there's no error occured, it just disabled. I checked security settings and aslo JS in enabled but i don't know why it doesn't work :( Here is the JS sfHover = function() { if (document.all && document.getElementById) { sfEls = document.getElementById("nav"); for (i=0; i < sfEls.childNodes.length; i++) { node = sfEls.childNodes[i]; if (node.nodeName=="LI") { node.onmouseover=function() { this.className+=" over"; this.getElementsByTagName("UL")[0].style.visibility="visible" } node.onmouseout=function() { this.className=this.className.replace(" over", ""); this.getElementsByTagName("UL")[0].style.visibility="hidden" } } } } } window.onload=sfHover;
-
CSS tables Vs. HTML tablesThank you all for help, but still have some questions. about css layout as i know it is based on absolute positions, does this means that if i want to change position for one control or its width this will affect page layout and i'll have to change position of all other controls in this page?????? also i found this article: http://www.decloak.com/Dev/CSSTables/CSS\_Tables\_01.aspx any comments on it??? -- modified at 7:39 Wednesday 7th February, 2007