Jump to content
Xtreme .Net Talk

Vitaly

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by Vitaly

  1. I was wondering if there a better style of converting String to Proper Case string, then using VB6 StrConv function: Dim sTest as String = "TODAY IS A RAINY DAY!" MessageBox.Show(StrConv(sTest, VbStrConv.ProperCase), "Conversion", MessageBoxButtons.OK) Thank You
  2. I think, SQL statement should look like this: INSERT INTO users (realName, username, [password]) VALUES ('" & realName & "', '" & username & "', '" & password & "')"
  3. There is one way of doing this, the result is correct, but I don't know if it's a "clean" enough solution: Dim sTest1 As String = "Good****morning****afternoon****and night" Dim y As String() = sTest1.Replace("****", Chr(0)).Split(Chr(0))
  4. Derek, and if you use sqlDataReader, what is the equivalent for ADO 2.6 EOF, BOF or Field collection? Thanks.
  5. Interestingly, gethdc and releasehdc are misisng from IntelliSense method list, but you can still see them in object browser.
  6. That's it. Thank you.
  7. Derek, I am relatively new in .NET, I can't see how can I use this example for something like picture box control or a form, not a bitmap object or client rectangle in memory. Thank you.
  8. Thanks for the reply. So, in .NET if I have a picture box I need to draw a rectangle with same coordinates and get DC Handle for that?
  9. Does anyone know how if there is an easy way to substitute in .NET VB6 windows DC Handles, i.e properties like Form.hdc, PictureBox.hdc, etc? I need it for BitBlt and some other API functions that expect HDC for both source and destination Device Contexts. Thank You.
  10. Bucky, I agree, .NET Framework is a lot more powerful then VB6, but probably the best would be to combine all good that was in VB6 and all other previous versions with what new one has to offer. It would be also easier for people not to forget everything they did before.
  11. Bucky, I mean Microsoft.VisualBasic.Compatibility.VB6 NameSpace, which has a GetPath() method, and it looks like retyurns correct value.
  12. looks like VB6.GetPath() is also correct
×
×
  • Create New...