Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: ALEX POST IT HERE PLEASE!!!! Pin
Rajesh R Subramanian30-Jun-09 21:08
professionalRajesh R Subramanian30-Jun-09 21:08 
GeneralRe: ALEX POST IT HERE PLEASE!!!! Pin
Pete O'Hanlon30-Jun-09 21:31
mvePete O'Hanlon30-Jun-09 21:31 
JokeRe: ALEX POST IT HERE PLEASE!!!! Pin
kstls30-Jun-09 22:58
kstls30-Jun-09 22:58 
QuestionSorting by various fields Pin
Quake2Player30-Jun-09 15:12
Quake2Player30-Jun-09 15:12 
AnswerRe: Sorting by various fields Pin
Christian Graus30-Jun-09 18:36
protectorChristian Graus30-Jun-09 18:36 
AnswerRe: Sorting by various fields Pin
dojohansen30-Jun-09 23:56
dojohansen30-Jun-09 23:56 
Questionhow to generate a mobile agent from sms?? Pin
razmeenia30-Jun-09 13:35
razmeenia30-Jun-09 13:35 
QuestionProblem to call method from a WebSercive... Pin
Mtyb30-Jun-09 12:51
Mtyb30-Jun-09 12:51 
using System;
using System.Data;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.ComponentModel;
using VDSDKLib;

namespace PSWD_Server
{
    /// <summary>
    /// Summary description for PSWD_WebService
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    
    public class PSWD_WebService : WebService
    {        
        [WebMethod]
        public string HelloWorld()
        {
            return "Hello World";
        }
        [WebMethod]
        public string Help()
        {
            return "Help";
        }
    }
}


After adding this webservice as Web Refrence in the win application

// Windows Application

PSWD_WebService WebSer = new PSWD_WebService();
TextBox1.Text = WebSer.HelloWorld();  // HelloWorld() here acceped and returns good.
TextBox1.Text = WebSer.Help();        // Help() here is not acceped and not readed
private void UnmountDisk()
{
   CreateBtn.Enabled = true;
   DestroyBtn.Enabled = false;
}


so how can make Help() in accepted..
and how can i call UnmountDisk() from the web service..

thanks Smile | :)
AnswerRe: Problem to call method from a WebSercive... Pin
Christian Graus30-Jun-09 13:28
protectorChristian Graus30-Jun-09 13:28 
GeneralRe: Problem to call method from a WebSercive... Pin
Mtyb30-Jun-09 14:14
Mtyb30-Jun-09 14:14 
GeneralRe: Problem to call method from a WebSercive... Pin
Christian Graus30-Jun-09 14:38
protectorChristian Graus30-Jun-09 14:38 
GeneralRe: Problem to call method from a WebSercive... Pin
Mtyb30-Jun-09 14:44
Mtyb30-Jun-09 14:44 
GeneralRe: Problem to call method from a WebSercive... Pin
Christian Graus30-Jun-09 14:54
protectorChristian Graus30-Jun-09 14:54 
Questionabout Visual studio 2010 beta 1 Pin
Seraph_summer30-Jun-09 10:47
Seraph_summer30-Jun-09 10:47 
AnswerRe: about Visual studio 2010 beta 1 Pin
Abhijit Jana30-Jun-09 10:53
professionalAbhijit Jana30-Jun-09 10:53 
AnswerRe: about Visual studio 2010 beta 1 Pin
Christian Graus30-Jun-09 11:12
protectorChristian Graus30-Jun-09 11:12 
GeneralRe: about Visual studio 2010 beta 1 Pin
DaveyM6930-Jun-09 12:11
professionalDaveyM6930-Jun-09 12:11 
GeneralRe: about Visual studio 2010 beta 1 Pin
Christian Graus30-Jun-09 13:28
protectorChristian Graus30-Jun-09 13:28 
GeneralRe: about Visual studio 2010 beta 1 Pin
Seraph_summer30-Jun-09 23:35
Seraph_summer30-Jun-09 23:35 
GeneralRe: about Visual studio 2010 beta 1 Pin
Dan Neely1-Jul-09 10:59
Dan Neely1-Jul-09 10:59 
Questioncurve from bezier cusps Pin
googlejumbo30-Jun-09 10:11
googlejumbo30-Jun-09 10:11 
AnswerRe: curve from bezier cusps Pin
molesworth30-Jun-09 22:09
molesworth30-Jun-09 22:09 
GeneralRe: curve from bezier cusps Pin
googlejumbo1-Jul-09 7:12
googlejumbo1-Jul-09 7:12 
GeneralRe: curve from bezier cusps Pin
molesworth1-Jul-09 11:42
molesworth1-Jul-09 11:42 
QuestionAnonymous methods problem Pin
Narvius30-Jun-09 10:07
Narvius30-Jun-09 10:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.