I have more of a design type of question.
Can anyone tell me if it is possible to :
I have a win 32 dll and a C# web service. Instead of creating a c# client, i would like to use my win 32 dll as the client. I use this dll for other things that are all file related. Is it possible for me to make the dll the client and to be able to call the c# web service and send and receive data from it? If so, does anyone have any examples of how to turn an already existing win 32 dll into a client accessing a c# web service?
With VisualStudio.Net, i'm using an installer class with a custom action
on my setup project to ask the user a serial number. A "Textboxes"
dialog on the "user interface" provides the serial number string to an
overrided version of then install procedure, inside my installer class.
My problem is that the install sub is able to verify the serial number
entered, but then i can't stop/cancel the installation procedure.
When I tried to convert to Windows app to Web Application i get an error saying
"Error 4 'ASP.satori_recherche_aspx.GetTypeHashCode()': no suitable method found to override c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\websatoricontact\5f44883e\69c9d6e5\App_Web_ujyjcgyh.8.cs 3177
I'm pretty sure you can't just create a new form (Page) via its constructor, only the ASP.NET runtime will create Page objects during the request lifecycle. By the looks of things, you're trying to show another dialogue in the new form. Web applications work completely differently to WinForms apps, you'll find it very difficult to try and convert the UI code. I would suggest you try keeping as much business logic as possible and start the aspx (UI) coding from scratch since the code is totally different from WinForms.
Web / Win apps are so completely different that it's gonna be virtually impossible - and given that you're familiar with win apps, you'll find the "way to do things" is totally different (eg - you're trying to create a Page object etc....)
Perhaps a better way to do it would be to abstract as much functionality as possible into a middle tier - that way you're not furkin around with presentation code, then write a web UI from scratch...
I'll help if you need it..
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
I'm trying to access the contents of a remote file on a server using the IUSR, I have set all the security access that I know of on the server for the IUSR. (Unless I forgot something.)
(I'm using old school ASP)
I tried the following:
If the server doesn't have RW permission for the specific directoy, you won't be able to perform some actions for the directory.
If the server has an user control panel, Give permission to that directory for IUSR. It doesn't mean anything applying permissions to a specific file via scripting, because main subject is the server first.
I hoep that helps.
What a curious mind needs to discover knowledge is noting else than a pin-hole.
Read - Write permissions ... didn't think there for a second .
Ok, the IUSR has full control on the target folder. Please note that the asp script is trying to get the contents of a file that is running on a different server than the IIS server. The other server is using Windows Server 2003. Is, there any thing that you can think of that I doing wrong?
When I try and access a file on the IIS Server it works, but as soon as I try and access a files on the other server, I receive the "permission denied error"
The only programmers that are better than C programmers are those who code in 1's and 0's.....