|
Well, what on earth are you trying to ask ? Are you asking how to get a search result at all ? You didn't say that, and I can't imagine you'd ask that, given how much info there is on the web on how to interact with google, etc.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I need to integrate an open source calendar to our web application for scheduling appointments. We may need to integrate(synchronize) this calendar/Schedules with the following personal calendars used by the customer/merchants.
Personal calendars to be integrated (synchronized) with : Lotus Notes, Black Berry, Google Calendar,iCal, Yahoo calendar, Msn calendar, Outlook
With Warm regards.
|
|
|
|
|
|
Well, I'm sure it will be an interesting project. Do you have a specific question, or was this just a passing comment?
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
Hey.....
Its a question....
How to implement synchronization concept in a Personalized Calendar?
Urgently needed!!!!!!
With Warm Regards...
|
|
|
|
|
Pradeep kumar.V wrote: How to implement synchronization concept in a Personalized Calendar?
Well, look at the entries in each calender and create/amend/delete as required. I expect yuo will need to do some reasearch to find the required api calls for each type of calender, but thats part of development.
Pradeep kumar.V wrote: Urgently needed!!!!!!
Not to anyone else, only to you.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
Hey Ashfield....
If u know the answer then reply......Otherwise keep quiet....
Its not a time pass....KK
modified on Wednesday, October 28, 2009 12:06 AM
|
|
|
|
|
Pradeep kumar.V wrote: If u know the answer then reply......
I do and I did. You will need to research the APIs for each vendor's calender and then write the code to add/delete/update each record that differs.
What were you expecting, someone to give you details for each vendor? They will all be different,although there will be a common set of functionality the implemntations will be different.
So go off and do your research and come back with specific questions.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
Hello,
I need to manipulate an excel file using MS Office SDK. I plan to create a COM object for the same and need to use it in PHP. Please guide me. any clue will be appreciated.
Thanks in advance
Sebastian
|
|
|
|
|
I'm new to JAva .
I am opening a window from another window. Whne the window is done I want to pst the form in the first window.
I call the window MYWINDOW.
I have set up a While loop and am calling the following function.
function checkwin()
{
if (MYWINDOW.CLOSED)
x=0;
}
As soon as I close the window I see Error on page at the bottom of the screen.
What is wrong?
|
|
|
|
|
dennisw11 wrote: What is wrong
Without more information such as the error that you are actually getting, my best guess is that you are querying the state of MYWINDOW
dennisw11 wrote: MYWINDOW.CLOSED
after it's closed which might cause an error if the object is not longer in scope then there is nothing there to query.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Individuality is fine, as long as we do it together - F. Burns
Help humanity, join the CodeProject grid computing team here
|
|
|
|
|
The if appears to be working now but I can't come out of a loop. I think the difference was I had If MYWINDOW.CLOSED instead of If MYWINDOW.closed.
I set var WIOPEN = 1 and open my window. I have a while loop in the loop() function that is supposed to call the checkwin function.
I know check win is being called because if I put an alert box in there as soon as I the new window the Alert box goes off. The checkwin should change WOPEN to 0 and end the WHILE loop but it doesn't. WHen I close the window the browser hangs ubtil I get a message that asks If I want to stop running the script.
I have been programming in various languages for 20 years I havenever encountered a language as finicky as JAVA.
Here is my code. Thanks for the help.
var WOPEN=1;
{
MYWINDOW=window.open("OIM38201.pgm?caller=<% %Trim(PgmName) %>&Task=ADD&Rnd=<% RPGspRandom %>",'');
MYWINDOW.focus();
loop();
}
function loop()
{
while (WOPEN=1)
{
checkwin();
}
function checkwin()
{
if (MYWINDOW.closed)
var WOPEN=0;
}
|
|
|
|
|
dennisw11 wrote: I have been programming in various languages for 20 years I havenever encountered a language as finicky as JAVA.
That may or may not be true, but the code you have posted here is not Java.
|
|
|
|
|
Should have said it was Java Script
|
|
|
|
|
Hello All,
I use object datasources throughout one of my web applications. Somewhere along the way the configuration wizard decided to tell me to take a hike. Each time I try to open the configuration wizard through the ide I get:
Error invoking 'Configure Data Source...'. Details: Exception has been thrown by the target of an invocation
The application works great when I run it, (including these previously defined datasources). The connection string is correct, and other than the configuration wizard blowing up everything else seems fine. Anyone else run into this issue or have a possible fix?
Thanks in advance,
Ryan
|
|
|
|
|
I haven't touched any programming language in almost 10 years. I have a small project that I am working on and I have run into a small snag that I haven't been able to figure out. I have a form that contains several elements and 5 of these are drop down boxes that get populated from a database. They are dependant on each other. I have been able to successfully update my drop downs from the information in the database depending on what is selected in each box.
The problem that I am running into is that if I have information entered in any of the textboxes on the form and then use the drop down, that information is lost. I want to keep this information on the form until the submit button is hit. I have included my existing code. Any suggestions would be greatly appreciated.
I'm not sure why posting this has converted my < and > to extended characters.
<pre>
<?php
include("functions.php");
// server info
$server = "";
$user = "";
$password = "";
$db = "";
// server connection string
$dbconnect = mssql_connect($server, $user, $password)
or die("Couldn't connect to the Heat server.");
// db select string
$selectdb = mssql_select_db($db, $dbconnect)
or die("Coudn't open the Heat database.");
?>
<html>
<head>
<title>Heat Legacy : Advanced Search</title>
<link rel="stylesheet" href="css/heat.css" type="text/css" media="screen" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.searchbox.js"></script>
<script type="text/javascript">
function depReload(form)
{
var val1=form.dep.options[form.dep.options.selectedIndex].value;
self.location='form_search.php?dep=' + val1 ;
}
function d1Reload(form)
{
var val1=form.dep.options[form.dep.options.selectedIndex].value;
var val2=form.d1.options[form.d1.options.selectedIndex].value;
self.location='form_search.php?dep=' + val1 + '&d1=' + val2 ;
}
function d2Reload(form)
{
var val1=form.dep.options[form.dep.options.selectedIndex].value;
var val2=form.d1.options[form.d1.options.selectedIndex].value;
var val3=form.d2.options[form.d2.options.selectedIndex].value;
self.location='form_search.php?dep=' + val1 + '&d1=' + val2 + '&d2=' + val3 ;
}
function d3Reload(form)
{
var val1=form.dep.options[form.dep.options.selectedIndex].value;
var val2=form.d1.options[form.d1.options.selectedIndex].value;
var val3=form.d2.options[form.d2.options.selectedIndex].value;
var val4=form.d3.options[form.d3.options.selectedIndex].value;
self.location='form_search.php?dep=' + val1 + '&d1=' + val2 + '&d2=' + val3 +
'&d3=' + val4 ;
}
</script>
</head>
<body class='aformbody'>
<?php
@$dep = $_GET['dep'];
@$d1 = $_GET['d1'];
@$d2 = $_GET['d2'];
@$d3 = $_GET['d3'];
// Call Type drop down.
$query1=mssql_query("SELECT DISTINCT calltype FROM calltype order by calltype");
// Query to displays Drop1 based off of CallType
if(isset($dep)){
$query2=mssql_query("SELECT DISTINCT drop1 FROM drop1 where calltype='$dep' order by
drop1");
}
// Query to displays Drop2 based off of Drop1
if(isset($d1)){
$query3=mssql_query("SELECT DISTINCT drop2 FROM drop2 where drop1='$d1' order by
drop2");
}
// Query to displays Drop3 based off of Drop2
if(isset($d2)){
$query4=mssql_query("SELECT DISTINCT drop3 FROM drop3 where drop2='$d2' order by
drop3");
}
// Query to displays Drop4 based off of Drop1
if(isset($d3)){
$query5=mssql_query("SELECT DISTINCT drop4 FROM drop4 where drop1='$d1' order by
drop4");
}
echo "<h1> Advanced Search </h1>";
echo "<a href='index.php'>Back to Main Search</a> <br /><br />";
echo "<form method='post' name='advanced' class='aform' action='form_search.php'>";
?>
<table class="atable">
<tr>
<td>Account:</td>
<td colspan="2">Firm Name:</td>
<td>Primary Contact:</td>
<td>City</td>
<td>State</td>
</tr>
<tr>
<td><input type="text" name="account" maxlength="6" /></td>
<td colspan="2"><input type="text" name="firmname" maxlength="255" size="44"
/></td>
<td><input type="text" name="primarycontact" maxlength="50" /></td>
<td><input type="text" name="city" maxlength="25" /></td>
<td><input type="text" name="state" maxlength="3" /></td>
</tr>
<tr>
<td>Main Phone #:</td>
<td>Addtional Phone #:</td>
<td>Fax #:</td>
<td>Technical Rep:</td>
<td>Network:</td>
<td>Users:</td>
</tr>
<tr>
<td><input type="text" name="mainphone" maxlength="22" /></td>
<td><input type="text" name="addphone" maxlength="22" /></td>
<td><input type="text" name="fax" maxlength="22" /></td>
<td><input type="text" name="techrep" maxlength="25" /></td>
<td><input type="text" name="network" maxlength="29" /></td>
<td><input type="text" name="users" maxlength="5" /></td>
</tr>
<tr>
<td colspan="3">Technical Note:</td>
<td>Tax Rep:</td>
<td>Center:</td>
<td>Password:</td>
</tr>
<tr>
<td colspan="3"><input type="text" name="technote" maxlength="95" size="68"
/></td>
<td><input type="text" name="taxrep" maxlength="20" /></td>
<td><input type="text" name="center" maxlength="3" /></td>
<td><input type="text" name="password" maxlength="10" /></td>
</tr>
<tr>
<td colspan="6">Account Note:</td>
</tr>
<tr>
<td colspan="6"><input type="text" name="technote" maxlength="255" size="140"
/></td>
</tr>
<tr>
<td colspan="6"><hr width="800" align="left" /></td>
</tr>
<tr>
<td>Received by:</td>
<td><input type="text" name="recby" /></td>
<td><input type="text" name="recbydate" /></td>
<td><input type="text" name="recbytime" /></td>
</tr>
<tr>
<td>Last Mod by:</td>
<td><input type="text" name="modby" /></td>
<td><input type="text" name="modbydate" /></td>
<td><input type="text" name="modbytime" /></td>
</tr>
<tr>
<td colspan="6"><hr width="800" align="left" /></td>
</tr>
<tr>
<td style="text-align: right;">Call Contact:</td>
<td><input type="text" name="contact" /></td>
<td style="text-align: right;">Dept:</td>
<td>
<?php
// Populate the CallType drop down.
echo "<select name='dep'
onchange=\"depReload(this.form)\"><option value='one'>Select one</option>";
while($depart = mssql_fetch_array($query1))
{
if($depart['calltype']==@$dep)
{
echo "<option selected
value='$depart[calltype]'>$depart[calltype]</option>"."<BR>";
} else {
echo "<option
value='$depart[calltype]'>$depart[calltype]</option>";
}
}
echo "</select>";
?>
</td>
<td style="text-align: right;">Status:</td>
<td><input type="text" name="status" /></td>
</tr>
<tr>
<td style="text-align: right;">Received From:</td>
<td><input type="text" name="from" /></td>
<td style="text-align: right;">Dept:</td>
<td><input type="text" name="dept" /></td>
<td style="text-align: right;">Reason:</td>
<td><input type="text" name="reason" /></td>
</tr>
<tr>
<td colspan="6"><hr width="800" align="left" /></td>
</tr>
<tr>
<td colspan="5">Problem:</td>
<td>Solution ID:</td>
</tr>
<tr>
<td colspan="5"><textarea rows="4" cols="99" name="problem"></textarea></td>
<td><input type="text" name="solid" /></td>
</tr>
<tr>
<td colspan="6">Error Msg:</td>
</tr>
<tr>
<td colspan="6"><input type="text" name="error" size="140" /></td>
</tr>
<tr>
<td>
<?php
// Populate Drop1
echo "<select name='d1'
onchange=\"d1Reload(this.form)\"><option value=''>Select one</option>";
while($drop1 = mssql_fetch_array($query2))
{
if ($drop1['drop1']==@$d1)
{
echo "<option selected
value='$drop1[drop1]'>$drop1[drop1]</option>"."<BR />";
} else {
echo "<option
value='$drop1[drop1]'>$drop1[drop1]</option>";
}
}
echo "</select>";
?>
</td>
<td>
<?php
// Populate Drop2
echo "<select name='d2'
onchange=\"d2Reload(this.form)\"><option value=''>Select one</option>";
while($drop2 = mssql_fetch_array($query3))
{
if ($drop2['drop2']==@$d2)
{
echo "<option selected
value='$drop2[drop2]'>$drop2[drop2]</option>"."<BR />";
} else {
echo "<option
value='$drop2[drop2]'>$drop2[drop2]</option>";
}
}
echo "</select>";
?>
</td>
<td>
<?php
// Populate Drop3
echo "<select name='d3'
onchange=\"d3Reload(this.form)\"><option value=''>Select one</option>";
while($drop3 = mssql_fetch_array($query4))
{
if ($drop3['drop3']==@$d3)
{
echo "<option selected
value='$drop3[drop3]'>$drop3[drop3]</option>"."<BR />";
} else {
echo "<option
value='$drop3[drop3]'>$drop3[drop3]</option>";
}
}
echo "</select>";
?>
</td>
<td colspan="3">
<?php
// Populate Drop 4
echo "<select name='d4'><option value=''>Select one</option>";
while($drop4 = mssql_fetch_array($query5))
{
echo "<option
value='$drop4[drop4]'>$drop4[drop4]</option>";
}
echo "</select>";
?>
</td>
</tr>
<tr>
<td colspan="6">Resolution:</td>
</tr>
<tr>
<td colspan="6"><textarea rows="4" cols="120"
name="resolution"></textarea></td>
</tr>
<tr>
<td><input type="submit" value="Submit"></td>
</tr>
</form>
</table>
</body>
</html>
<?php
// close the connection to the db
mssql_close($dbconnect);
?>
</pre>
|
|
|
|
|
Hey All,
I'm just trying to configure an IIS mapping from one machine to another using:
iis://machine.domain.com/W3SVC/625275872/ROOT/RSS
How can I 'view' the contents of the RSS virtual dir from another machine in order to confirm that this address is actually correct?
Cheers,
|
|
|
|
|
Hello
I need an application for calling from my webapplication to Phone or Mobile.I think by using API or using IVR (Interactive Voice Response) it is possible.
Give me an idea about how to do it...
Urgently needed........
|
|
|
|
|
Pradeep kumar.V wrote: Give me an idea about how to do it...
Did you try searching Google?
Pradeep kumar.V wrote: Urgently needed........
Well, you need to work fast.
|
|
|
|
|
Searched more...
But i can't reach the correct requirement.
Example:www.call-center-tech.com
They can't provide dynamic Phone number change...and how to integrate with my web application(JSP/Servlet)?
Help needed....
|
|
|
|
|
You want the server to make a phone call for you ? Why ? Where would the speech come from for this phone call ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hiiii
Here Recorded sound will be treated as the message...
How these all to be integrate with Java application thats the real matter....
|
|
|
|
|
Isn't this the same question that you posted yesterday (21 Oct)? It is generally regarded as bad form to post the same question multiple times to the same forum.
|
|
|
|
|
Hii everyone.. I wanted to know if it is possible to access all the print-specific CSS properties of a webpage using java script.. What I mean to say is many pages have @media print properties that apply to elements only when printed.. I want a collection of those properties.. Is there any way to access the same ?
|
|
|
|
|
Hi All,
What are different ways to send voice message to the phone(land phone/mobile) from java/jsp applications as a remainder in a scheduled time.How it can be implemented.Whether any source code is available for that.
Thanks you
Sanuji
|
|
|
|