Jump to content
Xtreme .Net Talk

Camaro Z28

Avatar/Signature
  • Posts

    26
  • Joined

  • Last visited

Personal Information

  • Visual Studio .NET Version
    Pro
  • .NET Preferred Language
    VB.Net

Camaro Z28's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, I guess if you don't want to use a VB timer try using the Windows API Timer. The API is SetTimer/KillTimer. Just create a callback to the method you want fired at the end of the specified interval. It won't really use any of your applications resources and allows Windows to deal with the timing. I have a example on how to access and program the Windows timer at my website under the VB.NET - Examples page. http://www.vbcodesource.com . Maybe this will help you? :) Edit: I also wanted to mention that you can use the API call: Private Declare Function GetActiveWindow Lib "user32" () As Int32 - To get the Top Level Window. Jason
  2. Hi, this is not really what you are asking. I just wanted to let you know that you do not need to use the APIs with VB.NET to access the registry. There is a registry class in the framework under: Microsoft.Win32. I would also get rid of the On Error Resume codes and make a Try/Catch structure to capture and handle errors. Anyways, just a suggestion :) Jason
  3. Hi, I just finished a example a few days ago that does I believe everything you posted. You can download it at one of the links below. Feel free to vote :D Take care. Link #1 Link #2
  4. Hi, I have some modules on my website for USB communication. It is for Classic Visual Basic. You can problably convert them to .Net without any problems. Give it a try. Jason
  5. Hi, Create a bitmap. Apply all of your various graphics to that bitmap in memory. Then apply it to your form. It is fast and you will have no flicker at all. Hope it helps. Jason
  6. Hi, Just use the mciSendString command interface. It is completely compatible with Windows 95 and Above. You won't need to include anything extra in your setup file for your program either. The only thing you could run into is, the user may not have a certain codec installed to play certain formats ( eg: quicktime movies) But for the most part. You should not have any problems at all. I have a few things on my website that will help you. MCI tutorial, ect.. Take care. Jason
  7. Goto my website. I have some reference links there that will help you get started. Link is in my sig. Jason
  8. I would create a bitmap in memory and do your graphics stuff to it then apply to your picture box. Nice, Fast, and No flicker at all. Jason
  9. If you are talking about creating static dll's. Then the answer is no. Jason
  10. Hi, You can use DX9 to do what you want. Or if you donot want to have to distibute DX. Goto my webpage and download the MCI Tutorial. It teaches you how to program the MCICommandString Interface to make almost any type of media program you can think of. Take care Jason
  11. Draw onto a bitmap in memory then apply it to your picturebox. Fast , Very Easy, and No Flicker to worry about. Jason
  12. Here is a class someone made wrapping up the api calls. I would rather use the highperformancecounter class already built-in. But, I have never used used it to help you with it. I inserted a link for you on how to use it though. Link to api wrapper Good link to microsoft on how to use the builtin counter class. Jason
  13. Hi, This should do what you want. It was made with VB.Net. Link to serial communication Class
  14. Imports System Namespace ConsoleApplication1 MustInherit Class item Public Function getprice() As single Return price End Function Public Function getquantity() As Integer Return quantity End Function Public abstract Integer getounces() Public abstract void setounces(Integer oz) Private price As single Private quantity As Integer End Class Class pepsi Implements item Public Overrides Function getounces() As Integer Return ounces End Function Public Overrides Sub setounces(ByVal oz As Integer) ounces=oz End Sub Private ounces As Integer End Class '/ <summary> '/ Summary description for Class1. '/ </summary> Class Class1 '/ <summary> '/ The main entry point for the application. '/ </summary> <STAThread> _ Shared Sub Main(ByVal args() As String) Dim someitem As item someitem = New pepsi() someitem.setounces(20) Console.WriteLine(someitem.getounces()) End Sub End Class End Namespace '---------------------------------------------------------------- ' Converted from C# to VB .NET using CSharpToVBConverter(1.2). ' Developed by: Kamal Patel (http://www.KamalPatel.net) '---------------------------------------------------------------- This may not be a perfect convert to VB.Net, but it should get you started. BTW, There are a ton of c# to vb.net converters online.
  15. You will need to use assembly. VB.Net can not get low enough to access any info like that without a 3rd party dll. Jason
×
×
  • Create New...