Click here to Skip to main content
15,925,061 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to set the combobox that user can only select item? Pin
cylix200019-Jan-06 22:52
cylix200019-Jan-06 22:52 
AnswerRe: How to set the combobox that user can only select item? Pin
Owner drawn19-Jan-06 23:02
Owner drawn19-Jan-06 23:02 
Questionabout using barcode? Pin
flashmemory19-Jan-06 22:51
flashmemory19-Jan-06 22:51 
AnswerRe: about using barcode? Pin
Muhammad Javed Khan20-Jan-06 0:13
Muhammad Javed Khan20-Jan-06 0:13 
QuestionWeb Service Client Pin
codexploid19-Jan-06 22:43
codexploid19-Jan-06 22:43 
AnswerRe: Web Service Client Pin
Dave Kreskowiak20-Jan-06 2:07
mveDave Kreskowiak20-Jan-06 2:07 
GeneralRe: Web Service Client Pin
codexploid20-Jan-06 15:36
codexploid20-Jan-06 15:36 
GeneralRe: Web Service Client Pin
Dave Kreskowiak20-Jan-06 18:32
mveDave Kreskowiak20-Jan-06 18:32 
There isn't much to this. It's best to have IIS installed on the machine you're developing this web service on. Preferrably installed BEFORE Visual Studio .NET was installed.

All you have to do is create a Web Service project, tell it the server and project name you want to use, then add code for your WebMethods to the class. Build the project, and a web browser will open to test it.

A quick example class looks something like this:
Imports System.Web.Services
 
<System.Web.Services.WebService(Namespace:="http://tempuri.org/WebServiceSandBox/Service1")>
Public Class WebServiceTest
    Inherits System.Web.Services.WebService
 
    <WebMethod()> _
    Public Function TestMethod() As Integer
        Dim r As New Random
        Return r.Next(Integer.MinValue, Integer.MaxValue)
    End Function
End Class



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

QuestionCommon Error on dispose image Pin
cylix200019-Jan-06 20:29
cylix200019-Jan-06 20:29 
AnswerRe: Common Error on dispose image Pin
Dave Kreskowiak20-Jan-06 2:03
mveDave Kreskowiak20-Jan-06 2:03 
QuestionSystem.ArgumentException on Msgbox. Pin
cylix200019-Jan-06 19:08
cylix200019-Jan-06 19:08 
AnswerRe: System.ArgumentException on Msgbox. Pin
Owner drawn19-Jan-06 19:23
Owner drawn19-Jan-06 19:23 
AnswerRe: System.ArgumentException on Msgbox. Pin
Dave Kreskowiak20-Jan-06 1:59
mveDave Kreskowiak20-Jan-06 1:59 
QuestionHow To Check if update statement is executed successfully (qry.ExecuteScalar) Pin
mayhem_rules19-Jan-06 18:49
mayhem_rules19-Jan-06 18:49 
AnswerRe: How To Check if update statement is executed successfully (qry.ExecuteScalar) Pin
Owner drawn19-Jan-06 19:32
Owner drawn19-Jan-06 19:32 
AnswerRe: How To Check if update statement is executed successfully (qry.ExecuteScalar) Pin
Muhammad Javed Khan19-Jan-06 19:34
Muhammad Javed Khan19-Jan-06 19:34 
GeneralRe: How To Check if update statement is executed successfully (qry.ExecuteScalar) Pin
mayhem_rules19-Jan-06 19:43
mayhem_rules19-Jan-06 19:43 
GeneralRe: How To Check if update statement is executed successfully (qry.ExecuteScalar) Pin
Owner drawn19-Jan-06 20:21
Owner drawn19-Jan-06 20:21 
GeneralRe: How To Check if update statement is executed successfully (qry.ExecuteScalar) Pin
mayhem_rules19-Jan-06 20:25
mayhem_rules19-Jan-06 20:25 
GeneralRe: How To Check if update statement is executed successfully (qry.ExecuteScalar) Pin
Owner drawn19-Jan-06 20:29
Owner drawn19-Jan-06 20:29 
GeneralRe: How To Check if update statement is executed successfully (qry.ExecuteScalar) Pin
mayhem_rules19-Jan-06 20:45
mayhem_rules19-Jan-06 20:45 
GeneralRe: How To Check if update statement is executed successfully (qry.ExecuteScalar) Pin
Dave Kreskowiak20-Jan-06 1:56
mveDave Kreskowiak20-Jan-06 1:56 
AnswerRe: How To Check if update statement is executed successfully (qry.ExecuteScalar) Pin
Colin Angus Mackay19-Jan-06 22:39
Colin Angus Mackay19-Jan-06 22:39 
GeneralRe: How To Check if update statement is executed successfully (qry.ExecuteScalar) Pin
mayhem_rules19-Jan-06 23:27
mayhem_rules19-Jan-06 23:27 
GeneralRe: How To Check if update statement is executed successfully (qry.ExecuteScalar) Pin
Colin Angus Mackay19-Jan-06 23:46
Colin Angus Mackay19-Jan-06 23:46 

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.