Click here to Skip to main content
15,903,362 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Semi Transparent Controls Pin
errorfunktion4-Sep-07 3:57
errorfunktion4-Sep-07 3:57 
GeneralRe: Semi Transparent Controls Pin
Dave Kreskowiak4-Sep-07 4:29
mveDave Kreskowiak4-Sep-07 4:29 
GeneralRe: Semi Transparent Controls Pin
errorfunktion4-Sep-07 13:23
errorfunktion4-Sep-07 13:23 
GeneralRe: Semi Transparent Controls Pin
Dave Kreskowiak4-Sep-07 15:46
mveDave Kreskowiak4-Sep-07 15:46 
GeneralSemi Transparent Controls, Works! Pin
errorfunktion5-Sep-07 0:28
errorfunktion5-Sep-07 0:28 
GeneralRe: Semi Transparent Controls, Works! Pin
Dave Kreskowiak5-Sep-07 2:09
mveDave Kreskowiak5-Sep-07 2:09 
QuestionWeb Service timeout Pin
Diego F.4-Sep-07 1:33
Diego F.4-Sep-07 1:33 
AnswerRe: Web Service timeout Pin
Kschuler4-Sep-07 4:10
Kschuler4-Sep-07 4:10 
You can set the amount of time the webservice will work before sending back an error by setting the executionTimeout attribute in the web.config. Just like you would for a website, like this:
<httpRuntime executionTimeout="180"/>

Then you can put your call to the webservice in a try catch block. The timeout error is a System.Net.WebException. You may want to make sure the message includes the correct error message, though, since there are other System.Net.WebExceptions that could fire. So it would look something like this:

Try
  myWebService.MyWebServiceMethod(parm1)
Catch ex as System.Net.WebException
  If ex.Message.ToUpper.Contains("TIMED OUT") Then
    msgbox("Web service method timed out.")
  Else
    msgbox("Web error: " & ex.Message)
  End If
Catch ex as Exception
  msgbox("Error: " & ex.Message)
End Try

QuestionInstallation of application Pin
Roes1234-Sep-07 0:14
Roes1234-Sep-07 0:14 
AnswerRe: Installation of application Pin
ncjlee4-Sep-07 3:31
ncjlee4-Sep-07 3:31 
GeneralRe: Installation of application Pin
Roes1234-Sep-07 3:41
Roes1234-Sep-07 3:41 
QuestionHowto dynamic call of a method Pin
Stephan Pilz3-Sep-07 23:49
Stephan Pilz3-Sep-07 23:49 
AnswerRe: Howto dynamic call of a method Pin
Guffa3-Sep-07 23:54
Guffa3-Sep-07 23:54 
GeneralRe: Howto dynamic call of a method Pin
Stephan Pilz3-Sep-07 23:57
Stephan Pilz3-Sep-07 23:57 
AnswerRe: Howto dynamic call of a method Pin
Salman Sheikh3-Sep-07 23:58
Salman Sheikh3-Sep-07 23:58 
GeneralRe: Howto dynamic call of a method Pin
Stephan Pilz4-Sep-07 0:03
Stephan Pilz4-Sep-07 0:03 
AnswerRe: Howto dynamic call of a method Pin
Pascal Ganaye4-Sep-07 6:03
Pascal Ganaye4-Sep-07 6:03 
QuestionGet blank CD/DVD disk space Pin
helelark1233-Sep-07 21:37
helelark1233-Sep-07 21:37 
AnswerRe: Get blank CD/DVD disk space Pin
Dave Kreskowiak4-Sep-07 5:32
mveDave Kreskowiak4-Sep-07 5:32 
GeneralRe: Get blank CD/DVD disk space Pin
helelark1234-Sep-07 19:14
helelark1234-Sep-07 19:14 
GeneralRe: Get blank CD/DVD disk space Pin
Dave Kreskowiak5-Sep-07 2:02
mveDave Kreskowiak5-Sep-07 2:02 
AnswerRe: Get blank CD/DVD disk space Pin
Lucky Sheikh6-Sep-07 20:33
Lucky Sheikh6-Sep-07 20:33 
QuestionFormatting Datagrid when its Datasource property is set to Collections Pin
Sachin Gokhale3-Sep-07 18:47
Sachin Gokhale3-Sep-07 18:47 
QuestionHow to clear text in combobox Pin
Mekong River3-Sep-07 18:44
Mekong River3-Sep-07 18:44 
AnswerRe: How to clear text in combobox Pin
Tom Deketelaere3-Sep-07 20:40
professionalTom Deketelaere3-Sep-07 20:40 

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.