Jump to content
Xtreme .Net Talk

Robby

Moderators
  • Posts

    3848
  • Joined

  • Last visited

Everything posted by Robby

  1. It looks like you won the bid, I think? I never bought anything on ebay, and I'm not sure I would trust this particular item. Maybe it is for real, I don't know.
  2. textbox1.Focus();
  3. While focused on the control in design view, goto the properties window and click on the Lightning-Bolt (Events) then double-click on the event you wish to use. [edit]beaten to the punch. :( [/edit]
  4. "region" and "territories" are supposed to be tables in the database. But Northwind doesn't contain those tables. I'm sure if you follow that tutorial step-by-step it will work.
  5. Robby

    App.Path

    As DejaVu mentioned Application.StartupPath, it will point to the "...\Bin\" directory.
  6. You can use the Keypress to limit the input or compare the input... If Not e.KeyChar.(more methods here) Then you can also use the Validating event, and if you don't want to accept the input, you can... e.Cancel = True
  7. When you click on New Project, there's a folder named Other Projects, in there you will find 'Extensibility Projects'. If it's not there then I guess the learning edition is limited.
  8. As far as detecting the corruption, there is no exact way to do this, you can trap it in your Try/Catch. I haven't tried compacting in .NET, but for sure if it is not successfull you will again trap it in the Try/Catch. ( Unless the method has its' own exception handling in which case you would take that route in your Catch.)
  9. You can just place an image in the label itself.
  10. Is the DLL referenced by your project? (right-click the project and 'Add References', then browse for the DLL) Does the DLL expose any of its' methods/properties/functions?
  11. I think that Alex is talking about the tooltip that appears next to a property or method in the dropdown list in the IDE.
  12. You have it backwards, try this... "......from tblExpences where tblExpences.Date = #" & dtpDate.value & "#",
  13. No, that's why I recommended SQL Server
  14. SQL Server hands down.
  15. I would seriously consider reading a book to get started .... http://www.wrox.com/books/1861007612.htm
  16. You can try this book http://www.wrox.com/books/1861007337.htm
  17. Instead of a MesaageBox, use a regular form.
  18. The Application.DoEvents() that Divil suggested is the best way to go, but in VB6 I use Textboxes instead of labels (to stop the flickering) Though I haven't tested it out in .NET.
  19. for a text box you can use... (in the keyPress event) e.KeyChar.IsDigit(e.KeyChar)
  20. I have only worked on Stateless (asynchronous) threading, but as a guess I would try something like this... 'this is untested ( let me know if it works) frmProgress.ShowDialog() Do While t.ThreadState = ThreadState.Running Loop frmProgress.Timer1.Stop() and t.Abort() should be used to abort the thread if there is an exception
  21. The way you have it now, it is stateless, you aren't getting any feedback on the thread. You will need to check on the ThreadState. And the t.Abort() is miss-placed.
  22. Ckick F5 (Compile) or Ctrl-Shift-B
  23. I guess you can check if the value is not the same as the default (value)
  24. I would place them into two different functions, and make them very generic so that you can use them troughout the application.
  25. If you do uninstall ISS, then you shoud also uninstall the Framework as well, then re-install ISS and the Framework in that exact order. Otherwise you will not succeed in running ASP pages.
×
×
  • Create New...