Jump to content
Xtreme .Net Talk

Derek Stone

*Gurus*
  • Posts

    1910
  • Joined

  • Last visited

Everything posted by Derek Stone

  1. There simply isn't a demand for them and as a result I strongly doubt forums will be created for these topics at this time. Of course that's up to the current administration here, but from what I've seen in the past a few threads are not seen as grounds to go and create a new forum. For now, I'd suggest using the General forum for topics such as these. As far as my comments regarding professionalism in game development they are just that-- my comments-- my opinion. The only people that I ever see asking game development questions are young kids or hobbyists, whom are not the group of people I'm targeting to help. I encourage them to explore game development as a hobby, but I honestly can't justify allocation of my time at least, to problems that really don't need solutions. I think it would be a shame that a developer who works for a living is getting ignored due to other questions that don't hold the same level of need. I'm not saying that would necessarily be the norm here, but that is my fear.
  2. Arrays are zero-based. I'm sure that's one of your problems.
  3. I downloaded the component in question and the exception being thrown on your end occurs when a non-OLE document (e.g. a non-Microsoft Office document) is opened. The component is working fine for you, but you're attempting to pass in a path to an executable, which this library can not handle.
  4. I'd post Tim's code on my wall... But yes, some developers are artists. Other's best stick with finger paint.
  5. The aim of these forums for the longest time was to remain a professional, yet pleasant community. Professional is the key word however. I honestly don't feel that a game programming forum would be beneficial to that focus. And as Tim has stated, and I agree, game development questions should be broken down into their core problem, not left in a heap altogether.
  6. Unless that library performs something unique you can most likely achieve whatever you're trying to accomplish with [msdn]System.IO.File[/msdn] instead.
  7. As far as I know Windows 2000 has no means of reading or otherwise using a Remote Desktop file. This feature was introduced in Windows XP.
  8. As the gentlemen have stated above there should be no problem whatsoever. ASP.NET uses separate ISAPI Extensions than ASP. ASP maps to asp.dll while ASP.NET maps to aspnet_isapi.dll. As a result there is absolutely no interaction between the two, unless specifically configured by the developer.
  9. That's fine. Using Sheduled Tasks is still the proper way of accomplishing this task. application.exe /report Run your application with a similar command line, which in turn notifies the currently running service to generate a report. You can communicate between the two instances of your application using Windows Sockets which is the method used by Microsoft and other vendors. Then again, if you choose not to use Scheduled Tasks, you'll be forced into polling the system time, which I believe is what you were trying to get away from.
  10. Install your application as a Sheduled Task in Windows.
  11. What exceptions are being thrown, if any? What exactly isn't working?
  12. You should be using Visual Basic .NET, not VBScript. <script runat="server"> Dim s As String Sub Page_Load(sender As Object, e As EventArgs) s = "HELLOEESDFA" End Sub 'Page_Load Function HelloWorld(text As String) As String Return "Hellow " & text End Function 'HelloWorld </script>
  13. Underlying security in place by Windows will not be overridden by .NET.
  14. http://www.elitevb.com/content/01,0092,01/
  15. http://www.elitevb.com/content/01,0092,01/
  16. Three other ways of doing the same thing: <script runat="server"> Dim amount As Integer Sub Page_Load(sender As Object, e As EventArgs) amount = 10 ctlAmount.Value = amount.ToString() End Sub </script> <html> <head> <title></title> </head> <body> <form> <input id="ctlAmount" type="hidden" name="amount" value="" runat="server" /> </form> </body> </html> ctlAmount.Attributes("value") = amount.ToString() <script runat="server"> Dim amount As Integer Sub Page_Load(sender As Object, e As EventArgs) amount = 10 End Sub </script> <html> <head> <title></title> </head> <body> <form> <input type="hidden" name="amount" value="<%=amount.ToString()%>" /> </form> </body> </html>
  17. Not that I am aware of, no. However if you provide us with some details I'm sure an alternative solution could be established.
  18. ADO.NET doesn't support cursors to any great extent, although the Oracle provider does include reference cursors, which will most likely be of little use to you.
  19. The sites are currently located on the same server farm, and I believe the same server. That will change shortly, according to the announcement from Bob, this site's owner.
  20. You should pass the name of the column to the GetOrdinal method of the current instance of the SqlDataReader, and then proceed to pass that to the individual method that returns the unique .NET type. Dim sField As String Try Dim i As Integer = dataReader.GetOrdinal("fieldName") sField = dataReader.GetString(i) Catch ex As IndexOutOfRangeException 'Column does not exist End Try It is considered better practice to use each column's name instead of their index, since reordering even one column will break any data procedure. This is trade-off performance wise, but its a smart choice nonetheless.
  21. Hardly. http://www.elitevb.com/content/01,0095,01/
  22. There aren't too many cases where long lines of code are warranted. In fact, they usually indicate poorly written code, that lacks checks of return values or encapsulates multiple calls in catch-all error handlers. In most cases don't worry about breaking up the line-- worry about breaking up the logic.
  23. Yukon, the next release of Microsoft SQL Server, will have support for .NET languages as well as Transact-SQL.
  24. Insert the date and time of the initial registration in a field and check it when the user goes to verify the registration. If the verification period has passed delete the user's records. Placing code like this in a loop, timer or trigger would be fairly inefficient unless the registered:non-activated ratio was extremely high; a preferable solution is to perform this action when another new user goes to register.
  25. <pre style="background-color: white; color: black;">Dim neverSayCant As Boolean = True</pre>
×
×
  • Create New...