Jump to content
Xtreme .Net Talk

Derek Stone

*Gurus*
  • Posts

    1910
  • Joined

  • Last visited

Everything posted by Derek Stone

  1. The attribute "bgcolor" is by in large a deprecated descriptor. It shouldn't be used if you are at all concerned with XHTML/CSS conformant sites.
  2. Sourcesafe is not installed by the Visual Studio .NET setup application (CDs 1 through 3). It is on the 4th or 5th CD and has to be installed separately.
  3. <input type="button" onmouseover="this.style.background='red'" />
  4. The constants are the same whether you're using Visual Basic 6 or .NET (or any other language for that matter). The only thing that differs is the syntax for declaring them.
  5. No. A Web application is not a Windows application.
  6. Your application should utilize the Windows task scheduler.
  7. Forum rules dictate against questions like this, as such topics can be used for malicious purposes. As a result this thread is now closed.
  8. Is this a shell replacement?
  9. XMLSpy. The best software in the business. So good that the boys at Redmond use it.
  10. I interpreted your question slightly different than what you were asking for. The Compact Framework doesn't support the AutoScroll property on Forms, so your best bet is to place your controls in a container, the likely choice a Panel control, and then add scrollbars to the form. I still needs to be said that you should rethink your design. It is very, very annoying to have to scroll a window.
  11. <table id="table1" runat="server"> <tr> <td>Foobar</td> </tr> </table> table1.Style("background-image") = "url(image.jpg)"
  12. I've seen this occur on systems which were sandboxed from outside networks and therefore virtually immune to infection. I've always shrugged it off, but you bringing it up does have me wondering. I'll keep an eye out for any references to it.
  13. When you select trusted connection you don't have to type a password. A trusted connection implies that the application will use your Windows login to connect (mapping itself to a role in Microsoft SQL Server). Granted that is unlikely to be the problem but I believe it's worth noting.
  14. You'll need a class that can read and write to COM ports. Google will be your best bet.
  15. 1) There shouldn't be two classes. Both should be encapsulated by one "User" class. A property can denote their registration status. 2) A "Login" method could be marked as static (shared) in the "User" class. 3) The classes should be "Item", "Auction" and "Bid". You'll most likely need collection objects for each of the classes as well. The classes should be populated from the database and then returned to the caller.
  16. Visual Studio .NET 2002/2003 can and will screw up a Web page's tag formatting. This is slated to be fixed in the next version of Visual Studio .NET "Whidbey". There's very little you can do about it now short of fiddling with the few settings under the options dialog (Text Editor | HTML/XML | Format) or using an external solution such as HTML Tidy.
  17. With the ASP.NET model it is improper to inject logic into the Web pages themselves unless it is located in a script block. More appropriately code that modifies the page should be located in a code-behind. Granted the construct "<%=<string>%>" will be converted to a literal by the ASP.NET parser, thereby effectively yielding the same end result, but with a penalty to the readability of the application's code.
  18. You shouldn't be specifying a URI in the connection string. Instead map the file to an absolute path.
  19. The form's AutoScroll property would probably be a good start, though you really need to ask yourself if the user should have to scroll in the first place.
  20. Why in all God's creation would you want to do this?
  21. There is no support for frames in ASP.NET.
  22. Create two project files. </rocketScience>
  23. You'd be much better served by using the Random class. 'Initialize a new random number generator with a seed value Dim rand As Random = New Random(CType(System.DateTime.Now.Ticks Mod System.Int32.MaxValue, Integer)) 'Minimum and maximum values to generate Dim minValue As Integer = 0, maxValue As Integer = 10 'Initialize each element in array to a random number between 0 and 9 inclusive Dim numbers() As Integer = {rand.Next(minValue, maxValue), _ rand.Next(minValue, maxValue), _ rand.Next(minValue, maxValue), _ rand.Next(minValue, maxValue), _ rand.Next(minValue, maxValue)} Dim counter As Integer 'Enumerate through the array For counter = numbers.GetLowerBound(0) To numbers.GetUpperBound(0) MessageBox.Show(numbers(counter).ToString, Application.ProductName) Next
  24. What is the exact value (copy and paste) of "cnstring"?
  25. You should have turned Option Explicit and Option Strict on. They would have caught your error. Dim objDsName [b]As DataSet[/b] = New DataSet() Dim objDaName [b]As OleDbDataAdapter[/b] = New OleDbDataAdapter(sql, cnstring)
×
×
  • Create New...