Hi, Is there simple way to call cffunction using cf component- button or link, or whatever. I have list with multiple documents and in the end of each line i need component which user can click, and on click i need to call cffunction.

Member Avatar
Member Avatar
+0 forum 2

Hello, How I can bridge two calls in SIP by sending A party an indication to change SDP to B party and start playing the B party annoucement to A so A party will be hearing the ringing of B or annoucement of B. A Party SIP/GW B Party 1|---------INVITE---------->| | |<----------100------------| | | |------------IAM---------->|2 | |<=========Audio===========| | | |3 4|<------183 with SDP-------| | |<=========Audio===========| | 5| | | 6| | | 7| | | | |------------REL---------->|8 | |<-----------RLC-----------|9 10|-----------ACK----------->| | Is it possible to change the SDP and make the call communication between A and B directly in preanswer …

Member Avatar
+0 forum 0

How to dial and receive a call using asp.net

Member Avatar
Member Avatar
+0 forum 2

method non static public class LoGIne{ public String user (String a){ String rr = txt_user.getText(); String pass = txt_pass.getText(); //ConDb(user,pass); return rr; } --------------------------------------------------- method static public static Connection ConDb(){ //String USER ="mh"; String d ,l,h; d =("ameer"); String PASS=d; LoGIne a = new LoGIne(); String USER = a.user(h); // String PASS = "ameer"; try{ //STEP 2: Register JDBC driver Class.forName("oracle.jdbc.driver.OracleDriver"); Connection conn = DriverManager.getConnection(DB_URL,USER,PASS); return conn; }catch(Exception e){ JOptionPane.showMessageDialog(null, e); return null; } -------------------- we will return value of function user to use it in function conDB to give value into this **USER** = user(h); Connection conn = DriverManager.getConnection(DB_URL,**USER**,PASS);

Member Avatar
Member Avatar
+0 forum 10

Hi to all, I have following two Applets . import java.applet.*; import java.awt.*; import java.awt.event.*; public class buttonDemo extends Applet implements ActionListener { String msg=""; Button one,two,three; public void init() { one=new Button("One"); two=new Button("Two"); three=new Button("Three"); add(one); add(two); add(three); one.addActionListener(this); two.addActionListener(this); three.addActionListener(this); } public void actionPerformed(ActionEvent ae) { String str=ae.getActionCommand(); if(str.equals("One")) { msg="You pressed one"; } else if(str.equals("Two")) { msg="You pressed two"; } else { msg="You pressed three"; } repaint(); } public void paint(Graphics g) { g.drawString(msg,10,20); } } And import java.awt.*; import java.applet.*; public class appletDemo extends Applet { String msg; public void init() { appletDemo a= new …

Member Avatar
Member Avatar
+0 forum 4

Hello everybody, Ι want to make an application that does multiple mathematical actions such as solving second degree equations and indentities I've created all the forms I need for it work but I cant create the main form that the user will use to choose what action will be executed, the problem is that I don't know how to call the forms that I've made... (I've tried simply writing formtaut2.Visible = True as well as formtaut2.Show() but both of them throw an exception) Any ideas? Thanks in advance.. PS1. Sorry if this is a newbie but I'm one myself PS2. …

Member Avatar
Member Avatar
+0 forum 10

Hello all, So here is my problem: I have 2 functions that one uses the other's calculations and result: int functionA(int a, int b) { int x = a+b; return x; } int functionB(int a, int b, int c) { int xx = x(a,b); int f = xx * c; return f; } I have reached a point in a program I am trying to write, where I need functions that take too many parameters and I was thinking whether or not there is a better way to do it, like calling the function A or its result directly without …

Member Avatar
Member Avatar
+0 forum 4

Hi all I am trying to call a simple function and I keep getting an error "Parse error: syntax error, unexpected ';', expecting '{' in C:\wamp\www\david\remoteaccess\index.php on line 15" This relates to the call and I don't understand why it does not work. I am using WAMP if that makes any difference. Thanks in advance David ` <?php //session_start(); //include("includes/utilities.php"); //$Errors = ""; // $_SESSION['LoggedIn'] = false; // $_SESSION['UserID'] = ""; // $_SESSION['UserAdmin'] = false; function hello() { print "<h1>HELLO!</h1>"; print "<p>Welcome to my web site</p>"; } function hello(); ?> `

Member Avatar
Member Avatar
+0 forum 4

i want to know how can make internal live voice calling Application in web site by php not calling to external phone network and not by phone number just by username in site

Member Avatar
Member Avatar
+0 forum 2

Hello friends, I had done some questions regarding function call. I had done an console application that can run a particular set of code every minute. For that i used System.Threading.Thread.Sleep(60000); That worked well too. But now i stuck in another problem. Now I dont wanna use the above code.Because of the reason the thread.sleep() makes the entire application to sleep for a minute. But I am having a code that must be executed in the mean time. Any suggestions or help? TIA...

Member Avatar
Member Avatar
+0 forum 6

I am using a script on a page due to which the style of dropdown , checkbox and textbox is applied on them, but if i put dropdown or any other tool inside the updatepanel than only when the page gets load script is shown to that tool but whenever one of the tool gets refresh with the other selectchange of tool which is also inside the updatepanel than both of the script gets removed. **For example:** <head runat="server"> <title>script not working</title> <script src="js/jquery/jquery-1.4.1.min.js" type="text/javascript"></script> <link rel="stylesheet" href="jqtransformplugin/jqtransform.css" type="text/css" media="all" /> <script type="text/javascript" src="jqtransformplugin/jquery.jqtransform.js"></script> <script language="javascript"> $(function() { $('form').jqTransform({ imgPath: …

Member Avatar
Member Avatar
+0 forum 3

Hi DW We want to run an experiment in our lab on ATM, we just want to keep it simple and easy, So far I've just created the two forms and since I've discorvered that most of the ATM's are running a Windows OS which I saw it in one garage so I just decided to start this experiment to see if it is really posible to run a Windows Application form project on an ATM but the problem with the ATM is It screen they use a special small screen to secure and they also use the special keyboard …

Member Avatar
Member Avatar
+0 forum 2

I am trying to call two methods from another class which is linked to the current class i am working in. basically if it is a left-button click from the mouse, i want to call the addCounter method (of the myAbacus object). If it is a right button click, i need to call the removeCounter method (of the myAbacus object). In both cases, i think i need the method parameter as thisCol (a variable which stores the column that the mouse was clicked in) class AbacusPanel extends JPanel implements MouseListener { int numCols; int numRows; int buttonClick; AbacusModel myAbacus; public …

Member Avatar
Member Avatar
+1 forum 16

when you write code in the main function if you put functions in the file all you do is nameoffunction(); to call it. now my question is this lets say you have a menu in a class. call it bank. in the main to call that function . ive tried calling it the same way but that wont work because function isnt in main file. i thought that if you declared a class object .. bank account; then account.nameofFunction(); it would call it but it says there is a link error .. how do i call a function holding a …

Member Avatar
Member Avatar
+0 forum 5

Hi, I am currently making an assignment for JAVA, but I get stuck at the following. I need to make a simulation of a shop where a customer puts objects in his "basket" and with that basket you go to the checkout counter. Now we have to make it possible that you can put objects that are created with the class article into an array list in the class basket with a method that is in the class person. So we have a class person, basket, article and counter. We already have a method in basket to add articles: public …

Member Avatar
Member Avatar
+0 forum 6

Hello Community, I was wondering if there is a way to replace a cell value from one excel spreadsheet and save it as another spreadsheet but with the replaced cell value. Please Help

Member Avatar
Member Avatar
+0 forum 2

Hi guys, i am writing a GUI program that will take a tutor minutes and earings and create an average earnings. My problem is instead of it using what we type in the fields E.g 200 mins and 50 dollars earnt and displaying the average. It shows the default fields. Please see attached code import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; public class Tutorhelp extends JFrame { private JPanel panel; private JLabel TutorTimeLabel; private JTextField timeField; private JLabel TutorWageLabel; private JTextField wageField; private JTextArea textArea; private JButton enterButton; private JButton runReportsButton; private JButton quitButton; final int WINDOW_WIDTH = 500; …

Member Avatar
Member Avatar
+0 forum 5

Create a button in the context menu for each selected contact. Hi all I would like to create a button in the context menu (right click) for the selected contact. This button has the same functions as the call button. Is there a way to create this add-in for Outlook 2007 and 2010 in Visual C # and NOT in VB.NET. I repeat NOT in VB.Net.

Member Avatar
Member Avatar
+0 forum 1

Hello Community, I need help with this script, i can't seem to use this to switch beteen dll files that contain a form eg. if i use it to open a form from the dll file called "Dll One" then when i click the button again it still opens the form from "Dll One", but i want it to open the form from a dll file called "Dll Two". (I have uploaded the form) Please Help...

Member Avatar
+0 forum 0

import java.util.*; public class GenericDemo4 { public static void main(String r[]) { Set s1 = new HashSet(); s1.add(0); s1.add("1"); dostuff(s1); } static void dostuff(Set<Number> s) { do2(s); Iterator i = s.iterator(); while(i.hasNext()) System.out.println(i.next() + " "); Object [] oa = s.toArray(); for(int x = 0; x<oa.length; x++) System.out.println(oa[x] + " "); System.out.println(s.contains(1)); } static void do2(Set s2) { System.out.println(s2.size() + " "); } } On line 10 there is a type-safe set as a parameter for the method dostuff and it accepts non generic Set s1. How can it not flag an error for one of it's element being a …

Member Avatar
Member Avatar
+0 forum 7

Hi I am trying to automate svn checkouts using python script. this below command works from windows command prompt. I tried to use subprocess.call and subprocess.Popen , C:/Program Files/TortoiseSVN/bin/TortoiseProc.exe /command:checkout /url: http://xxx-svn/svn/branches/Common/module/Common_Jars_v1_1/lib /path:D:/svn-test1 /closeonend:2 it is not able to recognise the parameter > C:\Users\rajesh\Desktop>python svn-test.py > Traceback (most recent call last): > File "svn-test.py", line 5, in <module> > process = subprocess.call(["C:\\Program Files\\TortoiseSVN\\bin\TortoiseProc.exe /command:checkout"], stdout=subprocess.PIPE) > File "C:\Python32\lib\subprocess.py", line 471, in call > return Popen(*popenargs, **kwargs).wait() > File "C:\Python32\lib\subprocess.py", line 745, in __init__ > restore_signals, start_new_session) > File "C:\Python32\lib\subprocess.py", line 964, in _execute_child > startupinfo) > WindowsError: [Error 2] The …

Member Avatar
Member Avatar
+0 forum 2

I want to call a script page in php where the referral link is visible when you mouse over the image, something like this: http //mysite com/phpscript?d=www.site.com/thread/217.html (I don't know php incredibly well yet - so if that doesn't look right please let me know) And then based on whatever the script does 80% of the time it goes to the referral link, and the other 20% of the time it goes to a different predefined link. Kind of like a TGP script link randomizer but slightly different. I'm not even sure this is the right language for this..

Member Avatar
Member Avatar
+0 forum 12

i have a **java program** and it call **matlab exe file** ,but i have a problem in run time it is so so slow . i need a help in how to make this faster, i will be grateful for any help...plzzzzzz rply

Member Avatar
Member Avatar
+0 forum 1

I'm really confused with this! I have 2 classes, Club and Membership. In Membership I have the method, getMonth(), and in Club I have joinedMonth() which takes the parameter, 'month' - so a user enters a month and then I want it to return the Membership's which joined in that specific month. I am trying to call the getMonth() method from class Club, so that I can then go on to compare the integers of the months. But, when I try to call the method, I just get the mentioned "non-static method getMonth() cannot be referenced from a static context". …

Member Avatar
Member Avatar
+0 forum 10

i wrote a program to determine the binary digits of the entered integer. I want to implement it in other programs directly, instead of typing the same code again n again. Does anyone know? how to do that????????? #include<conio.h> #include<stdio.h> int main() { int n,a[20],i=0; printf("Enter a number: "); scanf("%d",&n); while(n!=0) { while(i<16) { a[i]= n%2; n=n/2; i++; break; } } for(i=i-1;i>=0;i--) { printf("%d",a[i]); } return 0; }

Member Avatar
Member Avatar
+0 forum 10

Hello everyone, I've been cruising around the net for some help, then I found this forum. Hope some developer guys can help me on this. I'm working on my own softphone application, but kind of bumping into some trouble when I try to play a sound file (mp3) into the call. For seeing it more exactly, you can check the website I used as a guideline: http://www.voip-sip-sdk.com/p_345-voip-mp3-playing-voip.html Is this the best way for sound playing? Or do you have other suggestions? Thanx

Member Avatar
+0 forum 0

Hi, I needed to develop a softphone with call holding feature and I used this sample program http://www.voip-sip-sdk.com/p_353-hold-call-voip.html for this purpose provided by Ozeki VoIP SIP SDK. I could build this call holding function easily as they provided a very useful source code explanation as well. If you are interested in VoIP communication technology, on the website you can find many useful sample programs and source codes too. ;) Best regards, Roger

Member Avatar
+0 forum 0

Hi i got a problem with this code( attached below ) the fuction that receves the bidimensional array doesn't seem to work.I've tryed to cout in main() and it works.WHY???? The program doesn't show me any error whatsoever. #include<iostream> #include<string> #include<fstream> using namespace std; void afisare(int h[3][3],int nrEle){ for(int i = 0; i > nrEle ; i++){ for(int j = 0; j > nrEle; j++){ cout<<h[i][j]<<" "; } cout<<endl; } } int main(){ int in; int v[3][3]; ifstream f; f.open("C:\\Users\\P4\\Desktop\\atestat.in"); f>>in; for(int i = 0; i < in; i++){ for(int j = 0; j < in; j++){ f>>v[i][j]; } } …

Member Avatar
Member Avatar
+0 forum 6

Hi there I've got a problem with functions, where it seems that function call return zero instead of the actual variable value, I will appreciate any help from you guys. I will post the major code parts because the program is big. I get the totallength variable value right but for t i get zero istead of 1, 2, 3, ... did I miss something here?? [CODE]using namespace std; //global variables int t; static float totallength=0; // the function void FileOutput(int a, float b) { ofstream outData("Output1.csv", std::ios::out | std::ios::app); if (outData.good()) { cout<<t<<totallength<<endl; outData << t <<","<<totallength<<endl; //writing cout<<endl; …

Member Avatar
Member Avatar
+0 forum 5

I want to run a multiline AppleScript command from a Python script. For a singleline command I can do: [CODE]def stupidtrick(): os.system(cmd) cmd = """osascript -e 'tell app "Finder" to sleep'""" stupidtrick(); [/CODE] however I want to run multiline commands, (such as with multiple 'tell' statements, as in [ICODE]tell application "iCal"[/ICODE] and on the next line, [ICODE]tell calendar "default"[/ICODE] but the same 'set' of commands.. in some other language it was something like: [CODE]"code \n" + "line2code \n" + "line3code \n";[/CODE] how do I accomplish this in python?

Member Avatar
+0 forum 0

The End.