|
wow..thats a lot of code, but yes, that would work. i'll try my own version as soon as i get a chance.
thanks,
--T
|
|
|
|
|
|
Hockey wrote: http://www.designdetector.com/demos/css-gradients-demo-1.php[^]
Tried in in IE and FF it worked in both
yeah, thanks for posting
i was looking at that last night too because its the closest to what i mean to show, but i wasn't sure if she/he wants actual code like i usually do to figure out if that trick would work for me. But it would take seconds to generate another gradient like this in PHP.
You use 'html forms' for the data entry boxes, the top R, G & B, the bottom R, G & B and the # of lines for height ( I mean if you are doing just a little tool bar 25 lines will be sufficient, so it's nice to be able to set it). Use the 'get' method for the form if you are gonna have the form and the code in the same document. Then i guess you can use the while loop for the whole operation with a simple formula... Divide the difference between each of the corresponding values (R & R, G & G, etc) by the # of lines to determine the # by which to increment the next value. Then have it write the code into a table cell at the bottom of the page.
I really hope i was clear in this, and if you need help in PHP just ask somoene, or look into this tutorial : http://www.tizag.com/phpT/index.php[^]
Roswell
|
|
|
|
|
Hello,
I have used some simple web services in the past using VS2003.
I am now creating a project in VS2005, and have created another simple web service. I am able to go to it's location on "http://localhost/WebServiceLocaton/WebService.asmx" no problem. It shows the availble WebMethods which I can use Invoke on to test.
However, I am unable to go directly to the location of a WebMethod as I was able to with the VS2003 WebService.
When I try to access it directly at
http://localhost/WebServiceLocation/WebService.asmx/WebMethod I get this error:
Server Error in '/WebServiceLocation' Application.
--------------------------------------------------------------------------------
Request format is unrecognized for URL unexpectedly ending in '/WebMethod'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the
stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Request format is unrecognized for URL unexpectedly ending in
'/WebMethod'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the
origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: Request format is unrecognized for URL unexpectedly ending in '/WebMethod'.]
System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest
request, HttpResponse response) +617
System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url,
String filePath) +150
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String
pathTranslated, Boolean useAppConfig) +401
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +183
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +191
Does anyone have any idea why I would be getting this and what I need to do to be able to get to my methods directly? It seems I am only able to access them using POST, but not GET, but I am not very familiar with how each works and what to do to allow my WebService's methods to be accessed by both.
Also, if I post my website on a different server, when I attempt to go to it I get the error that it can only be accessed from a local machine. I am not sure if the two problems are related.
Any suggestions would be greatly appreciated!
Thanks!
|
|
|
|
|
|
I need some help for my BS Project. I have to design a full featured instant messenger supporing live audio and vedio chat.
How much Dot Net and its Web Services are helpful in this regard?
Should I focus on other technology?
I am a beginner and guide me properly. Thanks!
Shoaib Nawaz
|
|
|
|
|
shoaibnawaz wrote: I am a beginner
Perhaps you should try a project that's more attainable.
|
|
|
|
|
ya my friend
online audio/video is possible
it is avaliable as a COM component
is is baiscall microsoft product, it is free for download from Microsorf site
i think u can find at
"http://www.microsoft.com/windows/NetMeeting/Authors/SDK/default.ASP"
but it is in Visual C++, worked on it long time back
try it
have a nice day
Under standing comes form failures
sucesses comes form understanding failures
|
|
|
|
|
Hi
I'm develloping a b2b solution and i need to exchange soap messages with a business partner.
I am now able to post xml with a webservice to their webserver, using httpwebrequest and i also can receive their response.
[code]
HttpWebRequest req = (HttpWebRequest)WebRequest.Create("http://www.someurl.com/receive");
[/code]
I now need the inverse operation. I need to suply them a url so they can post/get their xml messages to me. How do i do that? I've been reading a lot, but i'm confused! i guess i don't need a webservice, i just want them to post their requests like i do, and send them a response like the one i'm getting...
[code]
HttpWebResponse wr = (HttpWebResponse)req.GetResponse();
[/code]
Any help will be highly apreciated..... i'm getting a little desperate here!
TIA
Joana
|
|
|
|
|
when I browse an htm page in internet explorer i want that it should open with no toolbar ,menu bar and address bar so that space is not wasted through javascripting.
thanks .
Can anyone help me in this
-- modified at 2:25 Friday 9th June, 2006
|
|
|
|
|
|
|
|
Our team is developing a product which can capture documents and other data from SharePoint sites.
So far we know we can do this with SharePoint SDK, but our program has to be installed on the SharePoint server, or at least in the Server Farm.
Thus it's very inconvenient to deploy the product.
We would like to know if there's a way to capture the data remotely. That is, can we capture all the SharePoint servers from a central server?
BTW, is it possible that we can know which machine has SharePoint server installed by scanning the AD?
Thanks a lot.
|
|
|
|
|
Hi all,
Please help, i'm working on the message box that will display alerting other users who are opening a same case, which is currently opening by a prvious user. Except the owner who opened the case first, the others can only view.
Can I use a condition for this situation or any java-script. Thanx for your help..
Ex: if Case A is currently open, then other user can only view it but not open. Except the owner.
again.. thank you guys.
Don.
|
|
|
|
|
It might be useful if we knew what languages/technologies you are using. ASP, ASP.NET, PHP, Ajax, etc.
Message boxes or alerts are only available client-side, so you'd have to be using javascript and Ajax to request the case status, and alert the user that the case is already open.
In server-side ASP, I would do somthing like check the database to see if Case A is open, and change the html I output accordingly (like changing input fields to just text or disabling the save button, whatever makes sense to the user).
Again, depends on what technologies you're using...
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
Im REALLY not sure if this is in the right place, so please point me to where I need to go if it's not.
I am currently working for an architect recruiting firm in Dallas and one of the things I do is add to their database. This is done by gathering canidates from the AIA (American Institute of Architects) site, and putting their name, address, phone number, email address, city, state, etc.... all of this information comes from the canidate's posting on AIA, (or any other job site for that matter).
I would like to develop a batch file that runs a program once an hour that goes out and "grabs" the most recent canidates from this site. It will be hard for you to look at this site, as you have to have login info. The information is similar to Monster.com, but I am not sure about the frame/coding structure of the site.
I took a computer science course in HS on java; this is my only knowledge of programming. I will need a lot of help on this I am sure, but I am willing to learn and research what I need to, as there is a nice check in it for me.
So, please let me know what I need to do to get something like this up and running. Thanks...
-Brett G
|
|
|
|
|
ps, I would like the info described to be pulled into an excel spreadsheet; I can then easily import the canidates into our database... Thanks again
-Brett
|
|
|
|
|
hello
thanks for the time
i have
window.Form1.TxtId1.onblur = function() { CheckID();}
the function checkid execute call web services and some validation i will like show image while run checkid
for example a image reloj while checkid is runing
All this the slide client with javascript
thanks
|
|
|
|
|
Hi all,
my exception details is:
NullReferenceException: Object reference not set to an instance of an object. at ShirePlan.ShirePlanSub.GetRecords(String scID) in c:\inetpub\wwwroot\ShirePlan\ShirePlanSub.aspx.vb:line 120
my aspx code:
==================================================================================================
<asp:datalist id="dlScHead" runat="server" ShowFooter="False" ShowHeader="False" CellSpacing="0"
CellPadding="0" Width="100%">
<ItemTemplate>
<table style="FONT-SIZE: 0.8em; font-face: Arial" cellPadding="5" width="100%" align="center"
border="0">
<tr>
<td style="BORDER-RIGHT: #000000 2px solid; BORDER-TOP: #000000 2px solid; BORDER-LEFT: #000000 2px solid; BORDER-BOTTOM: #000000 2px solid"
colSpan="3"><b>
<%# ctype(DataBinder.Eval(Container.DataItem,"ScoreCardID"),string) %>
<%# ctype(DataBinder.Eval(Container.DataItem,"scorecarddesc"),string) %>
</b>
<br>
<%# ctype(DataBinder.Eval(Container.DataItem,"BusinessGoal"),string) %>
</td>
</tr>
</table>
<asp:datalist ID="dlScChart" Width="100%" DataSource='<%# (GetRecords(Cstr(DataBinder.Eval(Container.DataItem, "scoreCardId"))))%>' runat="server">
<ItemStyle VerticalAlign="Top" BackColor="#EEEEEE"></ItemStyle>
<ItemTemplate>
<table>
<tr valign="top">
<td>
<asp:PlaceHolder id="Placeholder1" runat="server"></asp:PlaceHolder>
</td>
</tr>
</table>
</ItemTemplate>
</asp:datalist>
<table style="FONT-SIZE: 0.8em; font-face: Arial" cellPadding="5" width="100%" align="center"
border="0">
<tr>
<td colSpan="3">
<%# Server.htmlDecode(DataBinder.Eval(Container.DataItem,"Quarter1").tostring()) %>
<br>
<br>
<%# Server.htmlDecode(DataBinder.Eval(Container.DataItem,"Quarter2").tostring()) %>
<br>
<br>
<%# Server.htmlDecode(DataBinder.Eval(Container.DataItem,"Quarter3").tostring()) %>
<br>
<br>
<%# Server.htmlDecode(DataBinder.Eval(Container.DataItem,"Quarter4").tostring()) %>
<br>
<br>
</td>
</tr>
</table>
</ItemTemplate>
</asp:datalist>
==================================================================================================
my vb code.
=============================
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
dlScHead.DataSource = GetRecords(Nothing)
dlScHead.DataBind()
End Sub
Function GetRecords(ByVal scID As String) As SqlDataReader
Dim bizProgName As String = Request.QueryString("bizProgId")
Dim CommandText As String
Try
objConn = New SqlConnection(dbPath)
objConn.Open()
If scID = Nothing Then
Dim da As New SqlDataAdapter
da.SelectCommand = New SqlCommand
da.SelectCommand.Connection = objConn
da.SelectCommand.CommandText = "select scorecardId,bizProgId,scorecarddesc,businessgoal,strategy,quarter1,quarter2,quarter3,quarter4 from textData where bizProgID='" & Request.QueryString("bizProgId") & "'"
dr = da.SelectCommand.ExecuteReader(CommandBehavior.CloseConnection)
If dr.HasRows Then
'lblError.Text = ""
Else
'lblError.Text = "No records returned"
End If
GetRecords = dr
Else
cmd = New SqlCommand("select distinct measure_id from measuredata where scoreCardId = '" & scID & "'", objConn)
Dim da As SqlDataAdapter = New SqlDataAdapter(cmd)
Dim dtId As New DataTable("MeasureId")
da.Fill(dtId)
'select all columns with ID
Dim cmd1 As SqlCommand = New SqlCommand("select * from measureData where scoreCardId = '" & scID & "'", objConn)
Dim da1 As SqlDataAdapter = New SqlDataAdapter(cmd1)
Dim dt As New DataTable("MeasureSource")
da1.Fill(dt)
Dim datarow As DataRow
For Each datarow In dtId.Rows
Dim chart As New DataGrid
Dim myView As New DataView(dt)
' Dim chart As New Mycos.MycosChartWeb
myView.RowFilter = String.Format("Measure_Id='{0}'", datarow.Item("measure_Id"))
chart.DataSource = myView
chart.DataBind()
Dim i As Integer
For i = 0 To dlScChart.Items.Count - 1
dlScChart.Items(i).FindControl("Placeholder1").Controls.Add(chart)
Next
Next datarow
End If
Catch ex As Exception
Response.Write("error on child" + ex.ToString)
Finally
End Try
===============================================================
please help me i try to debug it but i just dont know why i am getting null reference exception.
|
|
|
|
|
i now realise that i am not returning any values in my else statement should have been
GetRecords = (...sumthing..)
but i am trying to display a number of datagrids in a placeholder which is bound to a parent datalist i.e dlScHead i dont know how else could i achieve this in other ways. please help
|
|
|
|
|
Dear all, i need to do a javascript validation for a textbox,
this textbox is for the amount, the user can enter for example the value: 2 or 3.2 or 0.7
I should allow him to enter a digit and also ".", what is the simplest regular expression to do this.
The developer that worked previously on this project, put this regular expression:
var objRegExp = /(^-?\d\d*\.\d*$)|(^-?\d\d*$)|(^-?\.\d\d*$)/; I can't understand it specially the -? in the begining of each part, what exactly do the "-?" and also for which validation this regular expression is used.
Thanks.
|
|
|
|
|
The -? means a minus (-) or none minussign.
I think the most simple regexp is:
(^-?\d+(\.\d*)?$)|(^-?\d*(\.\d+)?$)
This will allow also number like .7 and -.3
A little simpler is:
^-?\d+(\.\d*)?$
This does not allow .7 or -.3 but it will allow 0.7 and -0.3
Wout Louwers
-- modified at 7:39 Thursday 8th June, 2006
|
|
|
|
|
hi all i want to know the reason why when i design a web page using the dream weaver and add it to ASP.Net 2003 as aspx form
all the controls comes black specially those made as flash SWF files
i also want to know how to add a flash banner or in any part of the page
thank u all
abdelhameed81
|
|
|
|
|
i try to look for a asp.net free space a long time,but no use.Dear!help me?!
|
|
|
|
|