Jump to content
Xtreme .Net Talk

PlausiblyDamp

Administrators
  • Posts

    7016
  • Joined

  • Last visited

Everything posted by PlausiblyDamp

  1. If you create a strongly typed dataset within visual studio then you can use that as a datasource for crystal reports. All the binding can then be done at design time.
  2. You will need to override the Shape.ToString method so it returns the correct name.
  3. Dim dateTemp As Date Do Until dateTemp.DayOfWeek = DayOfWeek.Saturday dateTemp = dateTemp.Subtract(New TimeSpan(1, 0, 0, 0)) Loop
  4. You will have to do a recursive function that gets the files in the current directory and then calls itself once per directory in it.
  5. Have a look at http://www.mentalis.org they have a proxy server amongst their code.
  6. How does the sAccountno get filled in - I'm guessing inside the C dll. Have you tried stripping the nulls from the variable after it is returned from the DLL function?
  7. Application.ProductVersion
  8. Me.controls
  9. You may need to build the string and then pad it with nulls to the required size.
  10. What functions in particular? Simply adding in the compatability library will introduce an extra layer of overhead. In most cases using the .Net equivalent will give better performance and make the code more portable to other .Net based languages.
  11. It's really nothing to do with VS.Net licensing as those controls do not ship as part of VS.Net but VB6. To get them to work you will need to install VB 6 on the system you are developing with, however I'm really not sure what the legal issues are with shipping them.
  12. How are the results differing? Is the C++ one just comming up with a completely wrong number or just returning a number that is slightly off? Could be down to rounding errors in the choice of data types.
  13. What is the control name? If you have actually named it TextBox then it is probably confusing it with the class TextBox. Try renaming it to something else TextBox1 for example.
  14. You are filling the string with null values (Chr(0)). The nulls are probably acting as a string terminator. Is there any reason you are padding it with nulls?
  15. Just tried it here and it worked fine. Are both sQuery and sMyVariable defined as strings? If so what are you assigning to sMyVariable? Also could you show the code leading up to this?
  16. What are the differing results? Also you will probably find the difference in speed is going to be minimal at best, it really may not be worth the effort of moving this function to C / C++
  17. what are the data types for arHeight, crdHeight, NumCards and crdNum in both VB and C++? Also in C++ what is the functions return type?
  18. Where is the data commiing from? Is it formatted as a string or just raw bytes? If the latter: dim b(100) as byte would probably be enough.
  19. Putting the above SetStyle command in the Form's load event may work. Also transparency can be dependant on the Video card / drivers installed - have you tried upgrading to the latest drivers?
  20. Do you have any working code so far?
  21. Which part of the picture? Do you mean the grey bit of the form surrounding the picture? Also what OS are you running on? Transparency is only supported on Win2k and higher (not sure about win98 though)
  22. The mouse_move, mouse_up and mouse_down all contain the x, y co-ordinates as part of the arguments. e.X, e.Y respectively. Or are you looking for the position in some other way?
  23. What code are you using at the moment to find the drives?
  24. does the web server have crystal reports installed?
  25. try pi.FileName = "Net" pi.Arguments = "view" instead of pi.verb = "Net Send"
×
×
  • Create New...