How to access the properties and methods of the ActiveX control on the client side in Web Form using javascript or vbscript
Hi All,
I have looked almost every where for this, and I'll be really appreciated if someone can help me with this. I found a article in MS KB article, #317392, but it is not extactly what I wanted.
How do you reference an ActiveX control's methods and properties with javascript in the ASPX?
Following is what I have. Some how the following line in the btnclick() does not seems to be working.
AlarmCtl.StartTimer()
I have done this with just .HTML and it works just fine.
Can any one help. Thanks in advance.
//===========================...
How to use client-side script(javascript) in DNA using .Net Remoting
Hi all,
It was known that SAO and Singleton object about .Net Remoting. When I Create an object in server side and hosting in IIS's virtual directory,I want to use javascript asynchronous invoking the remote object by HTTP channel, 80 port and SOAP formatter just like XMLHTTP invoking web service. My code as following,
<script>
objXmlDoc = new ActiveXObject("Msxml2.DOMDocument");
objHttp = new ActiveXObject("Msxml2.XMLHTTP");
strEnvelope = ??
objHttp.onreadystatechange = function()
{
......
}
szUrl = "http://ServerNa...
How to use client-side script(javascript) in .Net Remoting
Hi all,
It was known that SAO and Singleton object about .Net Remoting. When I Create an object in server side and hosting in IIS's virtual directory,I want to use javascript asynchronous invoking the remote object by HTTP channel, 80 port and SOAP formatter just like XMLHTTP invoking web service. My code as following,
<script>
objXmlDoc = new ActiveXObject("Msxml2.DOMDocument");
objHttp = new ActiveXObject("Msxml2.XMLHTTP");
strEnvelope = ??
objHttp.onreadystatechange = function()
{
......
}
szUrl = &...
Sending SMS using vb.net or C#.net using vb.net or c#.net
Hi
My requirement is
I hav one csv file with these fields id,mobilenum,messgae,status.intiallu staus is 0.
once i read the all fileds and take that mobile number.using tat mobile number i need to send sms .after sending sms i shuld change status as 1
How to send sms thru coding (please dont provide any links.if it is provide also please give working links becox i checked codeproject .i didnt get any nice link.
and also provide the how to update the status field im csv file
Thank
ssandhya
To send SMS, you need some third party SMS providers. if you consul...
change web form background property from code in vb.net
I have a web form in a vb.net project. The web form has both a design view and an HTML view. In the design view, the property box has a background property that can be set to an image file. This causes a background attribute to be added to the Body element in the HTML view. My question is, how do I modify the background property from program code? I can't find the object that has this property so I can set its value.
On way to do it is to use 2 different style sheet and change the stylesheet in the pageload event depending on your condition. Look for an example in Report Starter Kit
...
In datawindow.net,access the database from client side event using javascriptIn powerbuilder,for example,a datawindow has two
columns:itemno,description.
input an itemno,validate it.if not found from the
database,return 1 to
trigger itemerror event; if found,get the description of the
item from
the database,and fill it into the column "description". The
question is
how to fulfill the function in web datawindow,through web
service? if
so,I need an example to realize it.
You will need to use AJAX or make a round trip on item change event.
--
Dean Jones
CEO
PowerObjects
http://www.powerobjects.com
(612) 339-3355 Ext. 112
TeamSybase
* *...
Implementing .Net Form into an APS.net web form, can this be done
I am new here, but have been searching for a while, and may not have the correct lingo to find what I am looking for.
I am tasked with implementing a .exe application that was writen vb6 then converted to .net into a new website my team is developing. The idea is to put each of the 3 different forms in this .exe application of 3 different .aspx pages. I have attempted multiple things to get this into the page and even started to just rewrite it as an ASP.net web form, but even then I can't reuse any of the code since the System.Web.UI.Page doesn't inherit the sa...
Access web form content from client side HTML file using javascript
I have two browser windows open, one an html file residing on the client and one an aspx page served up by the web server. Neither window is related to the other; neither one opened the other.
Is it possible for javascript on the html file which resides on the user's local computer to "read" any of the information from the other open window? Ideally, I'd like to read a hidden input field from the web page.
The solution only has to work in IE 6 and 7.
Thanks in advance.
Man, this sounds more like a virus, like spyware...
Why do you need to do such thing?
What I want is to open ne...
How to call web method directly form client side javascript without using hta file
Hello nice guys,
I am a newbie in this forum. I need to be able to call a web service from client side javascript code without using webservices.hta file so it may work on Netscape browsers as well as IE browsers.
I don't mind having to form soap request and then post it all in javascript. An example will be very helpful. Do you have any resource I may look up to, like any published article on the net, for code examples or a work around.
Thanks
Dean51
Hi,
I wrote a library to use AJAX to consume Web Services. You can find the article, the source code (less than 8 KB) and some...
When to use client side varidation and server side varidation in .net?
In .net or classic web application we can varidate user data either on client isde or server side. How to select which side varidate to be used? Thanks!
Generally, I use both client and server validation. I make sure the input is in the correct format and reasonably valid on the client, then I verify the data on the server. The extent of validation also depends on the type of data that I need to validate.Here are a few references:Validating ASP.NET Server ControlsIntroduction to Validating User Input in Web FormsClient-Side Validation for ASP.NET Server ControlsSecurity Checklist...
.Net 2.0 Web application using Vb.net is unable to create object of another dll writen in C# .net 2.0
Hi,
I habe created one ASP.net web application using Vb.net which is adding reference of dlls written in C# and .net 2.0. But whenever trying to create object of referencing dll, it is throwing error :Object reference does not set to an object. But, locally it is working fine,. In the server i have deployed the .aspx files and dll files in the bin. There were already an web.config in the server which is of .net 1.1. But checked it is retrieving value for that web.config correctly.
Should i have to deply any other files and if not what can be the solution for this? Please help.
Thanks,
So...
using non .net DLL in .net web application
Is it possible to use a non .NET DLL in a .NET web application ?I have a vb.net web application, and I am thinking of purchasing a pascal DLL to use in it. I am not sure if its possible, or if there are any downsides? I really don't want to run anything that could cause any problems or complications.Thanks!
mike123
Yes, it's perfectly possible to use non-.NET DLLs. The way to do it is called Interop. If you Google for that, you'll find plenty on it.
just add reference ... compile ....and use...Please click Mark as Answer on this post if it helps y...
.NET CLIENT TO ACCESS a non. NET WEB SERVICE
I develop in .net and need to create a web client to connect to a web service built in Java.
http://xchainj.com:8080/axis/services/ScsEnvirodatWaterQualityIndexServiceSoap
Its pretty easy when the web service was also built in .net. You can just create a web reference with the gui and automatically can see its functions and stuff.
when i put this url in the box and hit go i dont get to see its functions. maybe this shouldnt be the url of the WSDL?? I Have no idea.
Im very new to all of this.
If there are any examples of .net clients connecting to non .net web clients it woul...
C#.NET WEB APPLICATION
hei guys, i need help on my application, i'm using C#.NET as front-ed and SQL as back-end, aside from a datagrid, i want to display my data using textboxes and not a datagrid, i can do it using Visual Basic 6 but since i'm a newbee at C#.NET i don't know how to do it, specially the codes, can anyone help me with it? thank you in advance!
If you are doing windows development, i would suggest using 'DataForm wizard' (Use Solution Explorer-->Rightclick project-->Add new Item-->New DataForm). It will guide you through steps. If you are doing web apps. Use quickstart to learn them.
h...