Search results for query: *

  • Users: nismo
  • Content: Threads
  • Order by date
  1. N

    Question Web service shares the same public variables during simultaneous requests

    I have a web service, and it contains a module containing public datasets. These datasets are populated when a request comes into the <WebMethod> function, and the execution then follows a lengthy process in order to build up a class which is ultimately returned by the web service. Along the...
  2. N

    Question Change the url of a web service

    This sound easy, just set the .Url property, but its not that easy. Dim WSInst As New FareService.FareServices In order to change the .Url property, i need an instance of the web service. Upon instantiation of the web service, it tries to connect to it, which may cause a runtime error if the...
  3. N

    Is this a good idea? (copying an object without implementing clone)

    I cant remember where, but somebody gave me this peice of code to copy an instance of a class which does not have a clone method. It works, but since i dont really understand it, i just want to know whether this is going to have any negative effects before i start using it more often... Also...
  4. N

    Turning off asp.net compiler warnings

    In VB.NET windows, its easy to turn off the compiler messages such as "Variable 'DS2' is used before it has been assigned a value. A null reference exception could result at runtime." You just go to the project properties and you can see them under the compile tab. How do you do the same in...
  5. N

    Overwriting a class reference

    I have a problem. I have an instance of a class that has been passed to my form. What happens is, i create a copy of the class and the changes the user makes is applied to the copy. If the user cancels, i just abandon the copied class, but if they want to save, then i want to overwrite the...
  6. N

    Managing settings

    Heres what im trying to do. I have hundreds of settings in my application, and i want a settings editor for my form. Theres going to be about 30 categories of settings and i think i know how to go about it. Option 1# Have a treeview with each category. Then create 30 group boxes (one for...
  7. N

    Looping through variables

    In order to provide the ultimate in error reporting for our application, is there any way in VB.NET that i can do a loop which loops around every variable currently in memory and be able to return the name and its value?
  8. N

    Getting sheet names from an excel spreadsheet

    Dim MyCommand As System.Data.OleDb.OleDbDataAdapter Dim MyConnection As System.Data.OleDb.OleDbConnection Dim DS As DataSet MyConnection = New System.Data.OleDb.OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0; data source=" & txtFile.Text & "; Extended Properties=Excel 8.0;") MyCommand = New...
  9. N

    Windows App and Web services

    I have a windows app which is used in australia and uses web services to communicate with the database located in new zealand. I have a problem where dates that are returned from SQL are automatically modified to suit the timezone and i dont know how to turn it off. For example, i insert the...
  10. N

    Anyone else think the designer sucks?

    Im getting extremely frustrated with a few things to do with the designer. It seems like they have purposely downgraded it... The main one is, wheres the selection rectangle? How can i select multiple controls without having to hold down Ctrl and select them all manually? Ctrl+A doesnt even...
Back
Top