Search Results - VBForums

Search:

Type: Posts; User: Peter Swinkels

Page 1 of 9 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    9
    Views
    428

    Re: Rotate a picturebox?

    I'm not entirely sure what you want, but drawing a simple clock with moving hands can be done using the Line graphics statement with a form or picturebox object. You would need to convert the time...
  2. Re: Novice needs help with code to create loop for printout

    Could you post the code you alread have? That might make it easier to help you.
  3. Replies
    13
    Views
    420

    Re: DVD Videos

    I did nothing special, just do the following:
    1. Download the DLL if you haven't done so.
    2. Add it as a component to your project.
    3. Draw an instance of the MSWebDVD control on your form.
    4....
  4. Replies
    13
    Views
    420

    Re: DVD Videos

    Why are you running Visual Basic 6.0 in VirtualBox? It seems to run fine for me without a virtual machine. I think the color scheme changing to Windows 7 basic has to do with your program's...
  5. Replies
    2
    Views
    620

    Re: package and deployment problem

    answers.microsoft.com/en-us/windows/forum/windows_7-system/i-got-error-0x8002801c-in-windows-7-register-ocx/471a9b26-88c1-4765-9417-bae27ff8fe3b Is this of any help?
  6. Replies
    13
    Views
    420

    Re: DVD Videos

    It works for me under Windows 7 64 bit and I'm afraid I'm out of ideas on how to help you.
  7. Re: how to retrieve the xml data into datagrid in vb6.0 using dom method

    https://www.google.nl/?gfe_rd=cr&ei=QH8RVZH8O9LBVJexgMgD&gws_rd=ssl#q=reading+xml+vb6
  8. Replies
    13
    Views
    420

    Re: DVD Videos

    When I try your code I get a different error:
    -2147024809
    The parameter is incorrect.


    When I use "e:\\video_ts" instead of "e:\", your code works. Try that.
  9. Replies
    13
    Views
    420

    Re: DVD Videos

    Take a look at: http://www.developerfusion.com/code/1027/creating-a-dvd-player/
    You need a .dll which you can find here:...
  10. VS 2010 Re: import excel data into visual basic console application

    I would always recommend using "Option Explicit On", "Option Strict On", and "Option Infer Off" even though your statements will be bit longer because of the explicit type declarations and...
  11. Replies
    2
    Views
    273

    VS 2013 Re: Set wallpaper

    Replace your constants with these:


    Private Const SPI_SETDESKWALLPAPER As Integer = &H14%
    Private Const SPIF_UPDATEINIFILE As Integer = &H1%
    Private Const SPIF_SENDWININICHANGE As...
  12. VS 2010 Re: import excel data into visual basic console application

    I think you made a typo. The variable name "ExcelO" doesn't end with a zero, but with a capital letter "O". As for the other errors, could you post your entire project?
  13. VS 2010 Re: import excel data into visual basic console application

    You don't need a .NET reference or other software.
    What happened? What errors did you get? Be more specific.
  14. VS 2010 Re: import excel data into visual basic console application

    1. No, you don't need a separate module. You can use any number of modules you like, they're mostly just a convenient way to organize code.
    2. Imports statements don't add references. They aren't...
  15. VS 2010 Re: import excel data into visual basic console application

    No, the Excel file and your project don't have to be in the same directory. Here's how to read an Excel file:



    Option Compare Binary
    Option Explicit On
    Option Infer Off
    Option Strict On
    ...
  16. Thread: Setup

    by Peter Swinkels
    Replies
    1
    Views
    160

    Re: Setup

    Select "Publish application name" from the "Build" menu and a Setup program for you application will be created. You can set several option by opening your project's properties: select "application...
  17. Re: How do I read console text without program locking up, using WSHOM?

    Although it doesn't use WSHOM a program I wrote can read a console application's output:...
  18. Replies
    7
    Views
    419

    Re: Question about CreateProcess

    As far as I know you need to use the OpenProcess API function before you can write to a process' memory and then you need to use to VirtualAllocEx to reserve space to write to. Are you using VB6 or...
  19. Replies
    2
    Views
    239

    Re: Help needed with coding

    Also, this appears to be a vb.net question, this forum is for VBScript. You might also want to use code tags when posting code.
  20. Re: Get the active window size

    Use the GetForeGroundWindow API function instead of GetActiveWindow:


    Private Declare Function GetForegroundWindow Lib "User32.dll" () As Long
  21. Re: Windows Desktop Search Scope question

    Hi, this look like a Microsoft Office question, which belongs at this forum: http://www.vbforums.com/forumdisplay.php?37-Office-Development.
  22. Replies
    7
    Views
    428

    Re: extract website name from a URL

    That only works if the protocol is specifiied in the url. As stated in the third post it should also work when it isn't specified.
  23. Re: mshtml.dll doesn't support "document.getElementsByClassName" method in WinXP.

    This is just a guess, but what version of Internet Explorer are you using on your XP machine and which version in Windows 7?
  24. Re: Set AutoScrollBars SmallChange?

    And for what type of control are you setting the AutoScroll property to true?
  25. Replies
    5
    Views
    281

    Re: Runtime Error 30015

    Perhaps you should post the rest of your code and specify what data was in the flex grid?
  26. Replies
    3
    Views
    189

    VS 2010 Re: label background colour

    Just save the original background color into a variable saved at class level (meaning that the entire class can access it) and save to label's color before changing it when the mouse moves into it....
  27. VS 2013 Re: How to randomize strings in an array into a listbox?

    Is this what you meant?


    Option Compare Binary
    Option Explicit On
    Option Infer Off
    Option Strict On

    Imports System
    Imports System.Collections.Generic
  28. Replies
    7
    Views
    428

    Re: extract website name from a URL

    Simple,


    Dim Url As String
    Dim Website As String

    Url = "www.google.com.ph/?gfe_rd=cr&ei=qgwFVbvBIOiK8Qf0u4DADw&gws_rd=ssl"
    Website = Url
    If InStr(Website, "://") > 0 Then Website =...
  29. Replies
    7
    Views
    428

    Re: extract website name from a URL

    Try this:


    Dim Url As String
    Dim Website As String

    Url = "https://www.google.com.ph/?gfe_rd=cr&ei=qgwFVbvBIOiK8Qf0u4DADw&gws_rd=ssl"
    Website = Mid$(Url, InStr(Url, "://") + 3)
    If...
  30. Get Memory.net - Reading the memory of another process.

    Get Memory.net demonstrates how to read the memory of another process. The user can either launch a new process or specify the process id of a running process. The result is saved in a file specified...
  31. List Processes.net - collect process, thread, and module information

    List Processes.net collects information of all running processes such as their threads, modules, whether or not a process is 64 bit, and main window (if any.) This information is then written to a...
  32. Replies
    17
    Views
    1,001

    Re: What is your favorite program?

    Let me guess, too many complicated features and demanding of system resources?

    My list wasn't really meant as advice, but still glad it helped you.
  33. File Set Viewer - view and compare multiple files at once

    File Set Viewer is a simple utility that allows the user to view multiple files at once and compare their contents. It displays each file as a row of hexadecimal values, and, optionally as a row of...
  34. Replies
    17
    Views
    1,001

    Re: What is your favorite program?

    Thank you, here are some more favorites:

    CygWin - A Linux/Unix like environment in Windows - without a virtual machine.
    GSpot - Useful for figuring out what codecs to use to get a movie to play....
  35. Replies
    17
    Views
    1,001

    Re: What is your favorite program?

    Let's see,

    -Agent Ransack - Very nice file searching program.
    -DOSBox - Nice if you (still) are interested in old games for DOS. I still use Norton Commander 3.0 :eek: with it occasionally....
  36. BrainfIn - an interpreter for a minimalist programming language

    Attached to this thread is an interpreter for a minimalist programming language called Brain***** designed by Urban Müller. It only has eight different commands. The interpreter I made for it can...
  37. Re: How to read previous line from a txt file

    What exactly are you trying to accomplish? Do you have any code to show? Any way, the simplest way to do what you're asking for would be to store the last line read from the file in another variable...
  38. Re: Need code optimization tips for a content aware image resizing program

    Thanks for the replies, I will see what I can do with the suggestions given.
  39. Need code optimization tips for a content aware image resizing program

    Hi,

    I am writing a program that uses content aware resizing (http://en.wikipedia.org/wiki/Seam_carving) to resize an image. As I understand it, this type of resizing essentially comes down to...
  40. Re: Microsoft SQL Server error: "Login failed for user"

    Thank you, techgnome, that did the trick. I used "Provider=SQLNCLI11;Server=***\SQLEXPRESS;Database=TestDatabase;Trusted_Connection=yes;" and it works now.
Results 1 to 40 of 339
Page 1 of 9 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.