Hi
I have created a base class A and a class B is a derived class inherited from class A. Both classes are marked as Serialized. When I try to return an object of type B through a web method i am getting following error:
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to proce...
I have a SilverLight application using C#, with 2 main functions that I want to make accessible from JavaScript functions. I have done the RegisterScriptableObject() in the class and set-up the [ScriptableMember] for the functions I want access to.
This the SilverLight object:
<div id="silverlightControlHost">
<object id="silverlight...
Hi guys, I'm trying to call resources (images, for example.) from my website to avoid constant updates. Thus far, I've tried just using this:
@sprite.bitmap = Bitmap.new("http://www.minscandboo.com/minscgame/001-Title01.jpg")
But, this just gives "File not found error". What is the correct method for achieving this?
...
I'm creating a game in C++ (speaking of which, does the code I use matter?), which coudl be loosely described as a board game, and I'm wondering which of these two "check if character is out of bounds" functions is more efficient:
ONE:
int main()
{
//display board
//get player input
//move player
//if player is out of b...
Hi,
I am calling a webpage from a portlet. The webpage is a form for user to enter data and has a button which submits the user data into Database.
But the Button also redirects the portlet site to the webpage through the proxy Gateway.
How to stay in the same portlet page while having the Form data submitted to the database?
...
I have a list of functions in Perl. Example:
my @funcs = qw (a b c)
Now they all belong to this module Foo::Bar::Stix. I would like to call them iteratively in a loop:
foreach $func (@funcs) {
Foo::Bar::Stix::$func->(%args)
}
where args is a hash of arguments. However I keep getting this error: "Bad name after :: ..." at the li...
I creat one WEB project, this project contain tow WEB FORM, In the first Web Form Design i have tow TextBox for Entring the date(All dataTable between this tow dates) and one Button, I want that when i press to to this Button it will load the second WEB FORM and show all the Data Table in DataGrid In this WEB FORM, So i need To call this...
I am beginer to ASP.Net. Can u tell how to call new page from the existing page.
In VB.net by executing the statement "Form2.show()", New page will be loaded. In the same way how to load new page in ASP.Net ?
...
How would I go about calling an unexported function in Win32 C++?
...
How can i call a jQuery function from javascript?
//jquery
$(function() {
function my_fun(){
/.. some operations ../
}
});
//just js
function js_fun () {
my_fun(); //== call jquery function
}
...
I have placed the following code in my program
CATransition *animation = [CATransition animation];
[animation setDuration:0.5];
[animation setType:kCATransitionFade];
[animation setSubtype:kCATransitionFromLeft];
[animation setTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]];
[[th...
I tried to make an Android program where I can call a single number by clicking button. Works fine but as I end calling, the emulator shows call log. Instead of this I would that my program returns to the screen where is that calling button I made. How can I do this? My code is now like this
((Button) findViewById(R.id.soita)).setOnClic...
I am using a C# Application to call a Batch file which compiles and run a java program. (This is a scraper project which grabs content from websites.) The batch file consists of following command:
java -classpath core.jar;mysql.jar;realtouch.jar; com.parser.MainClass C:/wamp/www/C21_real2/properties http://www.realestate.com.au/reale...
in PHP you can call a function. by not calling all parameters by using these statement.
function test($t1 ='test1',$t2 ='test2',$t3 ='test3')
{
echo "$t1, $t2, $t3";
}
and you can just use the function like this
test();
lets just say I want the last one to be different but not the others. the only way i know is by doing this with n...
first of all thanks for those who replied with this question,
now i am working on the vise versa of calling aspx in php
i hope you can help me.
this is my code
<html>
<body>
<?php
include("Default.aspx");
?>
</body>
</html>
but it keeps giving me the output of
<%@ Page Language="C#"
AutoEventWireup="true"
CodeFile=...
Hi,
Actually I came up with this question, because of an example in one book I have tried and which did not work somehow. I am following "Professional JavaScript™ for Web Developers
Nicholas C. Zakas" from Wrox. In its WebService chapter it is using "webservice.htc" webservice behavior to call a web service. I have tried to run that and...
Hi All,
I would like to know the pros and cons of calling procedures with Call Keyword and without Call in VB.NET?
Private Sub ProOne()
// Code Are Here
End Sub
Private Sub Calling()
ProOne() // I would like to know pros and cons of this
Call ProOne() // And I would like to know pros and cons of this
End Sub...
I want my main layout to conditionally put in some blocks of html that I want to be defined in a separate file.
I have more than one kind of navigation bar defined. I want to have a file for each navigation bar. Then I want to just set a variable in my controller or specific gsp file so that the layout chooses which navigator to use.
...
How do I find out the filename of the script that called my function?
For example,
function sthing() {
echo __FILE__; // echoes myself
echo __CALLER_FILE__; // echoes the file that called me
}
...
I'm trying to have method void run( string method ) which would run method in that class. For example:
class Foo {
public:
void run( string method ) {
// this method calls method *method* from this class
}
void bar() {
printf( "Function bar\n" );
}
void foo2() {
printf( "Function foo2\n" )...