|
Because it is 'the great architecture from Microsoft' :P
Seriously, this guy wants the functionality he's found in an ActiveX control, but his client doesn't want it to be ActiveX, because of security issues. He thought if he wrapped an ActiveX control in .NET, .NET would allow it to run without any security requirements. I am praying he is wrong....
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Dear Christian, this is too much ya aqui. Yes, it is deffinitely more secured. You can ask to mMicrosoft also. It is secured because, .Net uses managed code, which will be rendered at client in the form of html which is secured and light weight. So please tell me, if you find any solution. Please. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
You are totally, totally lost. You're talking about ASP.NET. There is NO way that you can send just HTML to the client, and render/edit/save Word and Excel documents. Well, with a lot of javascript, perhaps, but if you do it, you should quit your job, and start a business selling the control you write.
indian143 wrote: .Net uses managed code
That has nothing to do with security. ASP.NET requires no permissions because, unlike ActiveX, it's not code on the client end, just HTML. Which is not enough to do what you want.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
And I said 'I am praying he is wrong', not because I want you to fail ( I wouldn't be trying to help then ), but because if you're right, then we all have major security issues on our desktops.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
So, is there no way except using activeX. Ok, then. Pray that may God help me. As I like to research the new things, I have been trying. If you get any idea, please send me to my email also.
Because, I keep those things with me, where I have been struck. But right now I am leaving this because I have to go with other things also. But I remember this as, I faced a real problem here in my development experience. And I am always thankful to you because you did more as a friend. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
You and your client seem to be under the misunderstanding that all things .NET are secure. Nothing could be further from the truth. I can get you to install an application on your machine that looks like it does it's job quite nicely, but in the background is actually going through your hard drive deleting files at random, under YOUR user ID.
You are also under the mistaken impression that a .NET Control does not need to be installed on the client-side in order for the client to use it. Again, nothing could be further from the truth. ESPECIALLY one that wraps an ActiveX control. Now, BOTH controls have to be installed on the client-side in order for it to work.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Please don't crosspost.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
I'm sorry. won't do it in future
|
|
|
|
|
Hi all,
I have my previous application is running on .NET 1.1 (OS - MS SERVER 2003) and I have developed new application on .NET 2.0, so if I install .net freamework 2.0 on server will it create any problem for previous running application?
Because that use .NET 1.1 and I can select .NET 2.0 in ASP.NET in properties of my Virtual Directory website, so will it create any problem for previous running website?
I am new for doing all setup, please any help?
Thanks in advanced.
Snehal.
|
|
|
|
|
Yes, your server can only run one version of the .NET framework, AFAIK.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
So it will create any problem for previous running website which is developed using .NET 1.1 if I install .NET 2.0 for new website?
Thanks a lot
Snehal.
|
|
|
|
|
Hi,
I have installed .NET 2.0 and from ASP.NET tab under IIS Virtual directory I have changed to .NET 2.0 but when I run that website it give still same error, and at bottom I look because it use .NET 1.1, do I need to register manually IIS with .NET?
When It was installing .NET framework I saw the instruction that it is registering IIS, please any help regarding this?
Thanks,
Snehal.
|
|
|
|
|
If it's an ASP.NET 2.0 site, and you set it to run with .NET 2.0, then that should be all you need. You can try asp_regiis.exe, if that doesn't work, nothing will.
What is the error ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Thanks for your reply,
that's correct, I can register iis using asp_regiis.exe and than my site which I developed new will run properly but I am more worried about an existing site which is deployed by some other vendor and it is in .NET 1.1, so it might stop working when I upgrade to .NET 2.0, so do you recommend it will also work in .NET 2.0 without changing any .config in old website?
by the way error is "Unrecognized configuration section 'connectionStrings'" because it still use .NET 1.1 (as I haven't register IIS so) but after register IIS with .NET 2.0 what about existing site?
|
|
|
|
|
snehaljogiya@yahoo.com.au wrote: but after register IIS with .NET 2.0 what about existing site?
I'm not sure how often I can repeat this. Your IIS can only be registed with one version of IIS. Typically, a dev machine would have links to regiis, for each, so the user can switch between them easily. If you're deploying, you need a server for each.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
AFAIK, you can run 2 ASP.Net Applications under different versions of .Net on the same IIS though I may be wrong.
The operative word being "Applcations"
This link will give you the needed information:
Overview of side by side execution[^]
Hope this helps.
Shreekar
|
|
|
|
|
|
Hello, I'm trying to send an encrypted picture with C#.
First I read the picture with a FileStream and get its bytes with this code:
public static byte[] Serializa(string Name)
{
FileInfo FichInfo = new FileInfo(Name);
if (!FichInfo.Exists)
return null;
MyFile = new FileStream(Name, System.IO.FileMode.Open);
BytesContent = new byte[MyFile.Length];
MyFile.Read(BytesContent, 0, (int)Fichero.Length);
MyFile.Flush();
MyFile.Close();
FichInfo = null;
return BytesContent;
}
Then I try to encrypt with Managed Rijndael and it throws an exception with the message "Length of the data to decrypt is invalid".
My code to encrypt is as follows:
public byte[] cifrar(byte[] obj)
{
return cifrador.TransformFinalBlock(obj, 0, obj.GetLength(0));
}
Thank you
|
|
|
|
|
It sounds like you have created a decryptor instead of an encryptor.
---
Year happy = new Year(2007);
|
|
|
|
|
No, I have created both of them because my program needs to encrypt and decrypt data. I use the decryptor to decrypt data and the encryptor to encrypt data.
My program seems to deal ok with strings (I can encrypt and decrypt strings correctly) but the problem comes when I try to encrypt the picture.
|
|
|
|
|
The error message that you quoted refers to decrypting. Are you really sure that you get it when you are encrypting?
Have you checked the length of the array, so that you are not trying to encrypt an empty array?
---
Year happy = new Year(2007);
|
|
|
|
|
Hi,
Im trying to retrieve data from my database in Microsoft Access and input it into the spaces in the checkedlistbox. I also want to ensure whatever that is checked to be reflected into the next form. Can someone help please? Greatly appreciate it..! =)
Nicholas
(Student @ Temasek Polytechnic (SIN))
Nicholas Neo
|
|
|
|
|
You must be more specific.
Generally You acquire your data, insert them in the listbox aw though it was a simple one. Based on acquired data you check or uncheck certain items and then through CheckedItems property you continue on your next step that i didnot understand,.
|
|
|
|
|
Hi! Thanks for replying, I've switched to a listbox instead. I want to add items into the listbox. The items added are coming from my database.mdb I've set the listbox properties Datasource to database.mdb(which is my database name). For the case of the display member I set it to the column that I want to display. For the selection mode it will be multi-simple. I'm actually doing a selection of multiple student IDs to be reflected back into the database when a user selects the IDs that he/she wants. Is my way of doing it right?
Nicholas Neo
Nicholas Neo
|
|
|
|
|
I want to export Crystal report in txt format.and throw it printer.
how to implement using ASP.NET and C#.without reportviewer and no data loss
-- modified at 6:27 Monday 22nd January, 2007
i use Crystal Report 10.I implement export method but output data some text missing.And Alignment is incorrect.
have any class file that Configure Crystal report 10.
|
|
|
|