|
Hi all,
I need to interact with webpage programatically. For example, i need to submit userid and password to gmail and i want to access my inbox programatically in .net.
or, how can i select an item in select box and then hit submit button programatically in .net?
How can i proceed.
Thanks in advance.
this is sumanth, completed m.c.a from india.
modified on Monday, December 17, 2007 7:33:30 AM
|
|
|
|
|
It's hard to do in .NET but you may use Firefox macro recorder to record the input and play back if you want.
|
|
|
|
|
can calculate mathemetical calculation in asp with vbscript if then some idia i wants to calucualte income tax on income.
sanjeev
|
|
|
|
|
Not really sure if this answers your question...
income = 100000
taxRate = 0.22 '22%
' Calculate the amount of tax payable
taxPayable = income * taxRate;
%>]]>
Your Income Is: | ]]> | Your Tax Is: | ]]> | Your Take Home Salary Is: | ]]> |
|
|
|
|
|
ahh....I found part of your problem:You want it done in vbscript
"I need build Skynet. Plz send code"
|
|
|
|
|
hi realy u found part of my problems
ok
i wants to take data from table and do some mathematical calculation and print on screen like income and some filed thats is taxable
but anable to add, sub, and multiply other math calculation so can u say how to perform
[code]
<tr class="aqua"><td>&nbsp;&nbsp;&nbsp;1. P.F. + V.P.F(Salary)</td><td><b><%=R("proj_pf")+ R("proj_vpf")%></b></td></tr>
[/code]
sanjeev
modified on Thursday, December 20, 2007 4:34:39 AM
|
|
|
|
|
I user Asp.Net 2.0 and VS 2005 in my website.
In video page I use tag <object> to show video file (*.Dat, mp3, avi..):
<object id="music" width="320" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<param name="AudioStream" value="-1">
<param name="AutoSize" value="1">
<param name="AutoStart" value="False">
<param name="AnimationAtStart" value="-1">
<param name="AllowScan" value="-1">
<param name="AllowChangeDisplaySize" value="-1">
<param name="AutoRewind" value="-1">
<param name="Balance" value="0">
<param name="BaseURL" value="">
<param name="BufferingTime" value="5">
<param name="CaptioningID" value="1">
<param name="ClickToPlay" value="1">
<param name="CursorType" value="0">
<param name="CurrentPosition" value="-1">
<param name="CurrentMarker" value="0">
<param name="DefaultFrame" value="0">
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="0">
<param name="DisplaySize" value="0">
<param name="Enabled" value="-1">
<param name="EnableContextMenu" value="-1">
<param name="EnablePositionControls" value="-1">
<param name="EnableFullScreenControls" value="0">
<param name="EnableTracker" value="-1">
<b> <param name="Filename" value=""><![CDATA[<%= GetFileName() %>]]>' /></param></b>
<param name="InvokeURLs" value="-1">
<param name="Language" value="-1">
<param name="Mute" value="0">
<param name="PlayCount" value="1">
<param name="PreviewMode" value="0">
<param name="Rate" value="1">
<param name="SAMILang" value="">
<param name="SAMIStyle" value="">
<param name="SAMIFileName" value="">
<param name="SelectionStart" value="-1">
<param name="SelectionEnd" value="-1">
<param name="SendOpenStateChangeEvents" value="-1">
<param name="SendWarningEvents" value="-1">
<param name="SendErrorEvents" value="-1">
<param name="SendKeyboardEvents" value="0">
<param name="SendMouseClickEvents" value="0">
<param name="SendMouseMoveEvents" value="0">
<param name="SendPlayStateChangeEvents" value="-1">
<param name="ShowCaptioning" value="0">
<param name="ShowControls" value="-1">
<param name="ShowAudioControls" value="-1">
<param name="ShowDisplay" value="0">
<param name="ShowGotoBar" value="0">
<param name="ShowPositionControls" value="-1">
<param name="ShowStatusBar" value="0">
<param name="ShowTracker" value="-1">
<param name="TransparentAtStart" value="-1">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="0">
<param name="VideoBorder3D" value="0">
<param name="Volume" value="0">
<param name="WindowlessVideo" value="0">
</param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></param></object>
But it don't run in both IE 6 & 7.
I only run well in FireFox after install Media PlugIn.
Can I play video on web by other way?
How to fix this problem for IE?
Thanks!</object>
|
|
|
|
|
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hi
I need to get the list of printers installed on the
server (both network and local printers).Using .net WebServer,i can see all the installed printers ,when I run the
application using IE on the server,I cannot get
the list of printers .
Help me.
|
|
|
|
|
Hi guys!
I want to make a poll on my website and illustrate the results via bar charts.
I don't have lots of experience with web programming, just a bit knowledge of HTML and JavaScript.
Has anyone an idea how I can do this?
Or are there any assistents or programms with which I can build such a poll and viualise the results?
Thanks for your help and best wishes.
|
|
|
|
|
Dears
In PHP there are a lot of content management systems ex: EZpublish and now I’m looking for free , tested and trusted .NET content management system that can help me to implement ASP.NET 2.0 web site that contain dynamic contents ex: news also can integrate with visual studio 2005 and support AJAX
Any suggestion and Advice please.
Thanks
|
|
|
|
|
|
hello frnd,
i have developed a application using asp.Net 2.0 and take the use of AJAX in it.
Please tell me a way to fill the dropdownlist using AJAX.
i have already done the code for the same but it not running well.
any code sample...?
thankx in advance
koolprasad2003
|
|
|
|
|
koolprasad2003 wrote: i have already done the code for the same but it not running well.
Why? What is wrong with it?
koolprasad2003 wrote: any code sample...?
You're not going to get your code written for you. You should post the code you have already written and identify which parts you are having problems with. Then maybe someone will be able to give you some advice.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Check this out:
http://aspalliance.com/716[^]
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
|
|
|
|
|
i wants to if user is logout and then don't allow to go back with standard button i am using for logout but it don't control on back button of standard button
[code]
<%@ Language=VBScript %>
<% Option Explicit %>
<html>
<head>
<title>Voice Of Baraunians</title>
<!--#include file="front.inc"-->
</head>
<body ">
<%If Request.Cookies("empno") = "" Then%>
<div style="Position:Absolute; top:150; left:250;background-color: #f0f0f0">
<center><h2><font face="arial" color='blue'>You are not authorised to view this page. You will be prosecuted for this action</font></h2></center>
</div>
<%Else%>
<div style="Position:Absolute; top:150; left:100">
<h2>Logging Out ............</h2>
<h4>Wait a moment.</h4>
</div>
<%
Dim conn
Dim R
Dim vempno
Set conn = Server.CreateObject("ADODB.Connection")
conn.Mode = adModeReadWrite
conn.Open("DSN=Oracle; USER ID = gatepass; PASSWORD = gp")
Set R = Server.CreateObject("ADODB.Recordset")
R.Open "Select empno from emp_authority", conn, adOpenStatic, adLockOptimistic, adCmdText
vempno = Request.Cookies("empno")
R.Find "empno = " & vempno & ""
Response.Cookies("empno") = ""
R.Close
Set R = Nothing
conn.close
Set Conn = Nothing
Response.Redirect "message3.asp"
End If
%>
</body>
</html>
sanjeev
|
|
|
|
|
Using cookies to control who is logged in, is insane. Users can edit cookies. Use the Session to store this, and your pages will log out correctly, even if they hit the back button.
Wow - you're using classic ASP ? What a nightmare.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
ASP.NET 1:
Response.ExpiresAbsolute = DateTime.Now.AddDays(-1)
Response.CacheControl = "no-cache";
Response.Expires = -500;
ASP.NET 2:
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetExpires(DateTime.Now.AddDays(-1)); //or a date much earlier than current time
Ref: http://www.codeproject.com/script/Forums/View.aspx?fid=12076&msg=2324415[^]
|
|
|
|
|
i am not using asp.net not any solution in asp with vbscript
sanjeev
|
|
|
|
|
I'm working on a clientside app that will use javascript on html pages that are stored in the users local my docs folder. This page is then displayed on the users active desktop. The active desktop refreshes at a set time which is great for my app but I need it to remember some setting each time it refreshes. Cookies is what I thought would be a great idea but I don't think I can use them without a webserver. Any ideas?
|
|
|
|
|
Looks like you can[^]
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I have the following div element:
<div id="categoryleft" runat="server">LEFT</div>
<div id="categoryright" runat="server">RIGHT</div>
I looking to reference categoryleft at runtime because I want to populate it with categories. How do I do this?
Brendan
|
|
|
|
|
In the code behind ? You can't. You have to put a server control inside there, for example, a placeholder or a literal.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
If the DIV tag is set to run server-side, it can be referenced in the code-behind as an instance of a HtmlGenericControl class. I'm not sure how the OP intends to populate it though.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
hi,
i am making a website where i want to embed microsoft word program into it, does anyone have any suggestions how i can do this?
also, i want to make the microsoft word document event driven, for example, when the user clicks file, print, the website/program will recognise this and respsond by printing a line saying "thats correct". is there a way of doing this as i dont have the code of microsft word, so i need to do it myself. can someone please let me know if this is possible or do i have to make my own word processing program.
thanks
|
|
|
|