Jump to content
Xtreme .Net Talk

divil

*Gurus*
  • Posts

    3026
  • Joined

  • Last visited

Everything posted by divil

  1. And I'm looking for a toilet made of solid gold, but it's just not on the cards now is it? </Austin Powers> Is Office 2003 even out yet?
  2. The WebBrowser ActiveX control should use whatever proxy IE is configured to use - I doubt you'll be able to make it use an arbitrary one of your choice. The next version of the framework has a managed WebBrowser wrapper complete with DOM, that will be a great deal better than using the old ActiveX control.
  3. Yes, VB6 didn't adhere to operating system standards when it drew controls so you'll see those shortcuts all the time. The correct behaviour now is to only see them when the user has actually hit the Alt key.
  4. If you want to make your .NET assembly so that it cannot be decompiled back to .NET code, the only product that will do this is Remotesoft .NET Protector. http://www.remotesoft.com/ It isn't cheap.
  5. I would really hope that you would NOT use a control array do make something like minesweeper. Creating 100 (or many more) controls means creating 100 windows and quite frankly that's a huge waste. I've made a minesweeper clone before - all you have to do is draw the minefield yourself and you do away with having to have lots of buttons.
  6. Try the Activate method instead, that seems to do the trick.
  7. An important point that you missed off, is that there is virtually no job market for Delphi programmers, compared to VB programmers.
  8. ControlPaint.DrawReversibleLine
  9. This has been split off from another thread. amarjeetvirdi is referring to starting the default email program with a url formed like so: mailto@someone@somedomain.com?subject=blah&body=blah As far as I'm aware, you can't set the MIME type of the message in this way.
  10. Try the form's BringToFront method.
  11. I'm sorry to hear about your health problems, dynamic_sysop - I had no idea.
  12. I'm sorry I don't. I haven't ever actually done it, but I think there's an option on the vbc and csc compilers (maybe the c one too) that generates a partial assembly instead of going all the way to exe. You can then link these modules with al.exe.
  13. What they mean is that you can write one assembly in one language and one in another, and interop between them seamlessly, using the same types. You can even inherit a class written in one language with one written in another. The command-line tools also support compiling ONE assembly from sources in multiple languages, but Visual Studio doesn't support it so you'll have to do it manually using the assembly linker (al.exe) tool.
  14. You can use the WebBrowser ActiveX control, by first adding it to your toolbox. The next version of .NET will include a managed WebBrowser control that you can put on your form.
  15. Hi, I would guess you're seeing this problem because you're showing the text in a font which isn't fixed-pitch, i.e. spaces and letters won't all be the same size. To display data like that you need to use a fixed pitch font such as Courier New.
  16. You'd have to use nested panels to achieve this with docking. Dock a panel of the right size to the bottom, then another panel the size of the small square to the right of that. You can then put your horizontal scrollbar in the first panel and set its dock to Fill, and your right scrollbar should be just the same. Alternatively, use anchoring. You wouldn't need any nested panels then.
  17. Break your problem down in to what you're actually having trouble with. I don't know what a .jme is. And don't be so rude when asking for help.
  18. divil

    tooltip

    1) This is correct, you don't actually need the ToolTip to be a part of a container for it to work just fine. 2) Yes, you ideally want the same instance to be around, so you'll have to declare it at form-level scope and use its SetToolTip method on the same control as many times as you like.
  19. To rotate by an arbitrary number of degrees (or radians) you have to draw the image on to a Graphics surface after using the Graphics's RotateTransform and TranslateTransform methods.
  20. To translate client coordinates in to screen coordinates you use the PointToScreen method of the control in question. All controls support this method.
  21. The alternative is to do as you're doing now and use Sleep, but only sleep for half a second or so at a time, in a loop. This will use up only a negligible amount of CPU but your process will still respond in a timely manner.
  22. Personally I found that using GetAsyncKeyState (that's an API) was the best alternative when I was writing a game loop. I daresay DirectInput is better still, but I don't know it.
  23. You can send messages to windows with the SendMessage api, but the window handles won't be the same from one session to the next.
  24. In the case of the Rectangle, it just checks to see if every value (top, left, width and height) is zero.
  25. System.Winforms was renamed to System.Windows.Forms before the beta ended for Visual Studio 2002.
×
×
  • Create New...