|
Hi Baskar:
Enabling/Disabling an ActiveX Control would be within Web-Browsers' security policy. We can query whether the ActiveX Control is loaded or active in JavaScript but we can not dictate it to be enabled or disabled.
Deepak Kumar Vasudevan
Personal Web: http://vdeepakkumar.netfirms.com/
I Blog At: http://deepak.blogdrive.com/
|
|
|
|
|
Hi,
Can anyone help me? I have searched the information on retrieving the IHTMLTextRangeMetrics object and got no results. I need to retieve the position of the selected text so that I can draw a button besides the selected text. Please help me.
Thanks,
|
|
|
|
|
Hello,
I have a big problem: I want to pass througth a authenticated proxy to a authenticated website with C#.
I tried it with filling WebProxy Credential and WebRequest Credential, but it doesn't work...
Please help !
I tested with fiddler as a proxy. IE works with it, it comes with 2 authentication dialogs...
Thanks
|
|
|
|
|
Hi, I am wondering how I can do this. If I have a datagrid with say 5 items, how could I insert a new row through client side scripting to create additional rows?
Also, what could I use to read these new values back once the form is posted to the server?
|
|
|
|
|
Is it me that can't read, but I don't see anywhere you mentioning what error you actually get?
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
I was having trouble specifying multiple actions from a single Form until I stumbled across a great thread on this forum which really helped me out. I adapted the code to suit me and got it working which was great, but what I want to do now is call a simple validation routine before actually submitting the form via either of the two buttons. I've included the code i adapted from the example on this site. I've tried all sorts of combinations with the placement of the validationRoutine, i.e. in the onClick event, in the functions themselves, but even if the validationRoutine returns true, the form doesn't get submitted. Is this possible? Is it something to do with a listener?
<!-- create the form -->
<form name=Form1 method=post>
<!-- Add the data entry bits -->
Your Name <INPUT type="text" name=text1><br>
<!-- Add some buttons -->
<INPUT type="button" value="Button1" name=button1 onclick="return OnButton1();">
<INPUT type="button" value="Button2" name=button2 onclick="return OnButton2();">
<!-- close the form -->
</form>
The button click handlers for Button1 and Button2 look like the following:
<script language=javascript>
<!--
function OnButton1()
{
document.Form1.action = "Page1.asp"
document.Form1.target = "_blank"; // Open in a new window
return validationRoutine(); // Call validation routine
document.Form1.submit(); // Submit the page
return true;
}
function OnButton2()
{
document.Form1.action = "Page2.asp"
document.Form1.target = "_blank"; // Open in a new window
return validationRoutine(); // Call validation routine
document.Form1.submit(); // Submit the page
return true;
}
-->
</script>
|
|
|
|
|
Don't worry, sorted it now. Explicitly tested the value returned from the validationRoutine before determining whether to submit form or not and it worked.
|
|
|
|
|
Someone just asked me how you get local weather into your web page. I just went to weather.com and you can use there service loaded with adds if you want.
Is there another service that you can use that doesn't make you use ad-driven content or do I just have to rip it out of weather.com and put it in my own clean stuff?
- Rex
I know you can't become if you only say what you would have done and you'll miss a million miles of fun." - Len
Work hard, play hard. Don't forget who you are and don't forget where you're from. Do all these things well and you won't have to wonder where you are going.
|
|
|
|
|
There is an alternative, however I cannot remember the link. It was some US Goverment site that gave out the weather, but it was a lot harder to interpret than weather.com
I know because i looked at both versions. I did a search on this side for weather, and I had seen a project that implemented the government agency site, so try that.
|
|
|
|
|
I have a C# dll that creates xml and posts it via the webrequest object. It appears to be working, but I'm trying to set up a test script to receive that data. So, I'm using traditional asp and I'm not sure how to get at the data. I've tried request.form and even just request, but it doesn't show anything. I've done some debugging and the page is reporting receiving some post data with the same byte count as what I'm sending. But, how do I get to that data if it's not the request object? Thanks.
|
|
|
|
|
Does a .CLASS file format needs to be open with wat kind of program? Cos i cant seem to open it with any programs i tried. Can any1 help me?
|
|
|
|
|
Where did you find this file ? Could it be an intermediate compiler file of some sort ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
it comes with the application,im not sure, but all of this .CLASS files are named like : ConstInteger, ConstFloat, CLassMethod, ConstRef, juz to name a few
|
|
|
|
|
Oh - is this java ? Either way, it's obvious that a compiler or something uses it, not you.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
den how can i view source files from a .exe ??? i feel like im doing hacking...
|
|
|
|
|
Why do you want to ? You mean these .class files ? Are they just text ? How did you expect to view them ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
If the .class is indeed Java, you can use a decompiler to ... well decompile it into source code, which can be opened in any text-editor.
Although if you wish to alter something in them, they will need to be compiled again before being usable.
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
I created some lease agreements for my company using webforms in C# language. I late had to implement an ePad signature into the webforms.
I have added buttons through html calling vbscript to get the signature's into objects on the webform. Of course since these are contracts they can not have the buttons on them when they print.
I need to know if there is anyway to make the buttons not visible after they have been clicked.
Thanks
Scott Moore
|
|
|
|
|
In your event handler:
((Control)sender).Visible = false;
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I've developed on PCs for many years now (C++, C#), but nothing web based until now.
Well I've tinkered in JavaScript, Java Applets but nothing serious.
I need some assistance in selecting the best/right/most sensible/etc, solution to this
request:
I have a PC application that records data from a piece of equipment and saves it to
files on a local "intranet" server.
There is now a requirement to have an "internet" web page, displaying real-time data from
these files, including graphical representations (last 24-hours line graph, as
an example). The Web site is hosted externally, but the data will be in a DMZ on our
intranet.
What route should I take? I'm assuming a client/server solution is the way to go, but using what? The only thing I'm pretty certain of, is that a database solution is out.
I know It's a bit vague but if someone could get the ball rolling I'd be much obliged.
|
|
|
|
|
You should use ASP.NET to do this, you say you've done C#, so that will be the easiest approach overall. Apart from that, your files will need to be in a place that the ASP.NET process has rights to, which means the app will be hosted in the root directory of your file structure.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I have created a ActiveX component. I use IIS. It works well on my m/c, as the component is registerd on it, but doesn't work on other m/c's in the network. Who to register my ActiveX on other machins, when used with IE <object> tag.
And who to communicate with the server fron this ActiveX.
Plz help...
Thanx & Regards..
Vinod.
|
|
|
|
|
Vinod:
The most probable cause being, by virtue of the control being unsigned, the IE on other machines ignore your OCX file.
Your machine has it already registered by your development workstation. Have a dummy test signature and try it. Alternatively, if you have control over the target PCs, you can try having your webserver in thier 'Trusted Sites'.
I think you can manage these settings on all the PCs you control in your Intranet by IEAK (Internet Explorer Administration Kit)
Deepak Kumar Vasudevan
Personal Web: http://vdeepakkumar.netfirms.com/
I Blog At: http://deepak.blogdrive.com/
|
|
|
|
|
Hi All
I need to use BarCode in Crystal Report, i tried to search the net alot but i couldn't find any, If any one have barcode font to be used in crystal reports such as code128 or anything else please send to me
Soqrats
|
|
|
|
|
Hey,
I need to know how to submit a form to an e-mail address. What I got right now just opens up Outlook Express. I don't want Outlook to open, I just want the info on the form to be sent to the E-mail address. This is the code I'm currently using. As for my books and anything I can find online, it's all basically the same as this.
<FORM METHOD=POST ACTION="mailto:someguy@overthere.com" ENCTYPE="text/plain">
<and the="" of="" course="" input="" code="" down="" here="">
I'd love to be using a script or .NET for this, but the server that the site is uploading onto only supports HTML and JavaScript. It's not meant for much besides posting family photos.
Cheers
Ironsmith
|
|
|
|