Jump to content
Xtreme .Net Talk

PlausiblyDamp

Administrators
  • Posts

    7016
  • Joined

  • Last visited

Everything posted by PlausiblyDamp

  1. The code isn't 8 times slower - just the overheads of invoking the call. If a function took 8 seconds to run then using the articles figures a delegate would incur 30 or 40 nanoseconds extra overhead . The overall time to execute would be the same to all intents and purposes.
  2. The name of the executable?
  3. If you are just entering a name and a password it does seem to fail. Try \username or \username if you are in a domain.
  4. What are you doing when you get this message?
  5. Something similar to the following should do it. dim bmps() as string bmps = System.Io.Directory.GetFiles(, "*.bmp") ListBox1.Datasource=bmps
  6. The directory containing your web application needs to be configured as an application. You can do this from the IIS administration tool, right click the virtual directory for your app and bring up the properties. The create application bit is at the bottom of the dialog box.
  7. Pointers should be specific to the OS architecture. In a 32-bit version of windows a pointer needs to be able to address 4G of ram - therefore 32 bits long.
  8. My bad - thought you were talking about windows forms. try http://www.codeproject.com/aspnet/DataGridDemo.asp
  9. There is no reason why it shouldn't process a Java WSDL (or vice versa). You may want to try the command line WSDL.EXE utility that ships with .Net.
  10. http://msdn.microsoft.com/msdnmag/issues/03/08/DataGrids/default.aspx give a good way of doing it and a sample application
  11. Could you not just set the forms opacity?
  12. Did you have VB6 installed before the crash? Although VS.Net ships with some of the VB6 controls you don't get the design time licence for them. Best thing to do is just install VB6 as well.
  13. Have a look under help for INFORMATION_SCHEMA, you should be able to get what you want from there on a SQL7 / SQL 2000 server.
  14. If rounding errors are likely to cause problems using Decimal may be more suitable.
  15. http://ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/cpref/html/frlrfsystemglobalizationdatetimeformatinfoclasstopic.htm you could use a format of "HH:MM:SS:fffff" - vary the number of 'f's between 1 and 7 to get the fraction of a second a 1 to 7 digit precision.
  16. If you want to connect to a remote telnet server you should have a look under System.Net.Sockets. The TCPClient class will allow you to open a connection to the telnet server and obtain a stream. You can then send / receive data quite easily. What language would you be coding in?
  17. Structures can now also have methods and implement interfaces - making them a lot more powerful than the VB6 equivalent.
  18. Or if you open the File at the start of the function and close it at the end - just realised you were opening it outside the function (soon as the form is loaded into memory by the look of it) and closing it when the function exits. The next time the function is called the file will be closed.
  19. http://www.xtremedotnettalk.com/showthread.php?s=&threadid=75079&highlight=form1+form2 http://www.xtremedotnettalk.com/showthread.php?s=&threadid=75526&highlight=form1+form2
  20. At the top of the file add the line Imports System.IO
  21. Can't think of any easy way of managing that. Generally browser based apps suffer compared to windows based apps in the ease / capability of really controling the look and feel. Maybe possible with either client side scripting or an embedded ActiveX control that could report information back to the server....
  22. My first suggestion would be stay clear of Access. If SQL isn't required now use MSDE instead - will save you having to port code to a new platform later on.
  23. try changing Dim fileName As New IO.StreamWriter(File.Open("C:\store.txt", IO.FileMode.Append)) to Dim fileName As New IO.StreamWriter(File.Open("C:\store.txt", IO.FileMode.Append, FileAccess.Write))
  24. I'll have a proper look later today. Not near a computer with VS as the moment. In your example what are the objects DS, DSFactor and Customer?
  25. What value were you expecting and what value did you get instead?
×
×
  • Create New...