|
Shog9 wrote: I've gotta ask though; is there a particular reason you can't just use JS for the client-side validation?
Yes, there is. The customer has this USB-like thingies[^] that they use for encryption and such. They requested that the webapp, which approves some important purchase request documents, should verify that the user has this item plugged in. Furthermore, since such things provide the user ID, the log in must be validated against it.
The way for doing so is using the Microsoft Cryptography API. So, since AFAIK I cannot access Win32 APIs from a script, I created this COM component so that we can do such validation (and obviously it must be running on the client side). It all works fine (after the user allows it to run, of course), only that such message is being displayed.
Thanks for the comments.
Stupidity is an International Association - Enrique Jardiel Poncela
Die deutsche Sprache sollte sanft und ehrfurchtsvoll zu den toten Sprachen abgelegt werden, denn nur die Toten haben die Zeit, diese Sprache zu lernen. - Mark Twain
|
|
|
|
|
Aside from the aforementioned article, I found this[^] one. Essentially, I just needed to add the component's CLSID to the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Ext\PreApproved
Stupidity is an International Association - Enrique Jardiel Poncela
Die deutsche Sprache sollte sanft und ehrfurchtsvoll zu den toten Sprachen abgelegt werden, denn nur die Toten haben die Zeit, diese Sprache zu lernen. - Mark Twain
|
|
|
|
|
The IE has to get a confidence regarding your ActiveX Control. Did you sign it with a valid CodeSigning Certificate?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
|
Member 4593092 wrote: It takes around 15 seconds to show the modal popup.
Does anyone know if there is an issue with modalpopupextender?
What like a 15 second delay? You're kidding right? Perhaps you would consider studying the technology you work with so you can understand how it works and why? Or you could continue to drag and drop magical things onto other magical things that you know nothing about, whatever floats your boat.
led mike
|
|
|
|
|
|
Member 4593092 wrote: if you got nothing good to say, then do not respond. i'm novice.
If your a novice why are you telling me what to do? Perhaps you don't understand the concept of being a novice?
led mike
|
|
|
|
|
How, exactly, is slamming a guy who who is asking for an answer and admitting he's a novice helpful here?
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Chris Maunder wrote: How, exactly, is slamming a guy who who is asking for an answer
I gave him an answer in my first reply, one that I thought and still do was very likely correct.
I guess this is one place we differ. I didn't consider my suggestion that he study the technology to be slamming him. That he was wasting his time by assuming there is a bug in library authored by people that actually know what they are doing rather than assuming he created the bug in his code or flaw in his approach. But then he decided that my reply wasn't good enough for him, you know my freely given time and thoughts and he should flame me up for it. So I returned fire. I always will, I guess you can delete my account if you feel my determination not roll over and take it from idiots to be detrimental to the site.
Like I told someone the other day, the people on this site give information, opinions and time freely and are under no obligation. Therefore even if the reply you get is "The sky is red" you have no room to complain. Just keep your mouth shut and keep looking for better free help. This clown was perfectly free to decide that my advice was garbage and continue on his merry "I don't need to know anything" way, but he choose to berate me because he didn't like it. Well I still think it's some of the best advice he will ever get.
led mike
|
|
|
|
|
He deleted his message so I've no idea of the context of his original question but all I can see is:
Him: It takes around 15 seconds to show the modal popup. Does anyone know if there is an issue with modalpopupextender?
You: RTFM
If his question was "How do I use modalpopupextender" then "RTFM" (or just vote the question down) is a valid response. But how many times have all of us tried to use something and something bizarre has happened so we start wondering "is there an issue with X?" It's not like bugs in frameworks are exactly a rare thing.
Seriously: if we lived in a world where we all went around saying "Go find out yourself" to every programming question then
(a) google would have even more money than it does,
(b) there'd be no questions on programming boards
(c) cats and dogs would be friends and telemarketing would be a capital offence.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Chris Maunder wrote: If his question was "How do I use modalpopupextender"
No it wasn't. It was (paraphrasing): I am using it and it takes 15 seconds does anyone know if there's something wrong with it.
Chris Maunder wrote: Seriously: if we lived in a world where we all went around saying "Go find out yourself"
I agree. I don't know how you found this thread but if you look at some of my posts most of them are that exact nature but I go find a link and provide them the link embedded in sarcasm, like: No. Nobody knows that, and if anyone did it certainly would not be Microsoft and the certainly would not <link>document it</link>
In this particular case I never considered for a second there would be a link to find about modalpopupextender implementing a 15 second delay.
Now you may think that my sarcasm is for me, it's not, it's because in our line of work I firmly believe that learning how to use (and now find) documentation is as important a single aspect of becoming a capable developer as any other single issue. So my sarcasm is a manifestation of the old adage, "If you give a man a fish he will eat for a day. If you teach a man to fish he will eat for a lifetime". Just so you know I used to try and explain it to them without the sarcasm, it never seemed to work.
led mike
|
|
|
|
|
led mike wrote: I firmly believe that learning how to use (and now find) documentation is as important a single aspect of becoming a capable developer as any other single issue
Absolutely.
How do we encourage this on a more global scale? This is my Holy Grail: a system that encourages people to look for themselves before asking. One man's sarcasm can only go so far
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Merge questions. I see a question i recognize being asked today, pull up the one i'm thinking of in the FAQ for that forum (a wiki-editable list of questions and answers), and hit "merge" - the question now redirects to the canonical q&a, with the latest person asking added to the "asked by..." list for that question, and notified via email that a reply is ready.
Two advantages: 1) gets folks used to looking at the FAQ, 2) reduces effort involved in answering oft-repeated questions.
Two big problems: 1) does nothing to prevent stupid (lack-of-detail/focus) questions from cluttering up the forum, 2) brutally hard to prevent abuse.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Chris Maunder wrote: One man's sarcasm can only go so far
LMAO Thanks, great way to start the day!
Chris Maunder wrote: a system that encourages people to look for themselves
I don't believe encourage is the correct word. I mean if they can't be bothered, f um. They will always be worthless anyway.
Perhaps educate is a better choice. I went to college so education, reading, studying, analysis, these all became second nature to me. At this point I am so far removed from the concept of going to a forum and asking strangers rather than searching and reading that I can't even comprehend such a seemingly retarded mindset.
Anyway I think it's a catch-22 problem yes? I mean we only have text as a means of communication, so since them choosing not to read is the problem. Maybe nano tech can save them, I mean we can inject some common sense nanobots into them.
led mike
|
|
|
|
|
<web standards="" interoperability="" in="">Internet Explorer 8 helps web developers and designers drive toward write once, run anywhere.
Browsing with this default setting may cause content written for previous versions of Internet Explorer to display differently than intended. This creates a call to action for site developers to ensure their content will continue to display seamlessly in Internet Explorer 8. As such, Microsoft provides a meta-tag usable on a per-page or per-site level to maintain backwards compatibility with Internet Explorer 7. Adding this tag instructs Internet Explorer 8 to render content like it did in Internet Explorer 7, without requiring any additional changes.
You can prepare you sites now for broad adoption of Internet Explorer 8, as there will be a beta release in the third quarter 2008 targeted for all consumers. To learn more and get started, please follow the step-by-step instructions at Your Web site may not display correctly in Internet Explorer 8 Beta 1.
For more information about IE8, see:
|
|
|
|
|
previousItems is the arraylist.how can i extract the elements to string array?
HttpSession sessions=req.getSession();
ArrayList previousItems=(ArrayList)sessions.getAttribute("previousItems");
Divya
|
|
|
|
|
priviousItems.ToArray() and pass the type you want, or cast the object array to a string array..or loop through the whole thing calling ToString on each element and insert it into the string array that way.
|
|
|
|
|
I have a simple web service which returns a string. I'm using it like
service = new service()
result = service.method()
My question is, what is the web services state after this? I don't think it isn't persistent or stay open or anything but I wonder if I better use it with "using"?
|
|
|
|
|
Hi.
I have an Asp.Net application, I need to get the system information..
i think it can only be done using ActiveCobject in Javascript..
Can any one tell me how to write the javascript function to fetch the system information and display to the user..
|
|
|
|
|
<script language="javascript">
alert('Check your system information provided by your Operating System Control Panel or whatever');
</script>
led mike
|
|
|
|
|
Hi.
I have to Read the client system information in ASP.net..
Some Remoting/Webservice technique is required i think..
How to achive this..??
|
|
|
|
|
hi
i have one webservice on remote server and i created a proxy for the
webservice in my local machine.My problem is , i want to call the methods
in my webapplication. i need complete code and cofigurations and
references needed
madhavi.kona
|
|
|
|
|
Hi Guys,
How can I use the tables in ASP.net administration tool independently (to place the table in my own database) like aspnet_users, aspnet_profile, aspnet_roles, etc. And what are the source code should I include in web.config?
Thanks
hifiger2004
|
|
|
|
|
Use the aspnet_regsql[^] tool. Or check out the sql scripts in the %windows%\Microsoft.NET\Framework\v2.0.50727\ folder.
|
|
|
|
|
Hi...........
I have a web application developed in asp.net and c-sharp.........
Now our requirement is to Get the System information of the User to who visits the web page and store it in Database
I Already have the dll files to read h/q and software info from system, But i have to run the it on client side .
For this wat i did was(just to test) i created a form, with a button control on it.....
wen i click the button on client side, it still showing the server information instead of client information..
I may be going in wrong direction so all u techies plz let me knwo if this is not d appropriate approach how can i run that dll component on client side from the server
Thanks in Advance..
|
|
|
|