dcsimg

Search:

Type: Posts; User: Peter Swinkels

Page 1 of 13 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    1
    Views
    75

    Re: Question about a few opcodes.

    It seems I have found an answer: http://www.hugi.scene.org/online/coding/hugi%2017%20-%20coaax.htm. Any other suggestions are still welcome though!
  2. Replies
    1
    Views
    75

    Question about a few opcodes.

    Hi,

    Trying to learn more about x86 assembly programming I have been trying to find a clear explanation of what exactly the AAA, AAD, AAM, and AAS opcodes do. Most instructions on the Wikipedia...
  3. Replies
    7
    Views
    5,921

    Re: Quick Basic - QB Connect Four

    I have noticed and reported these glitches several times over for at least a year. Yes, there must a dozen reasons for why nothing is done about it, but unless people have forgotten to maintain this...
  4. Replies
    0
    Views
    265

    QBasic - Analog Clock

    An Analog Clock in QBasic



    DEFINT A-Z

    DECLARE FUNCTION CurrentTime# (Advance, NewHour, NewMinute, NewSecond)
    DECLARE FUNCTION GetHours (Seconds#)
    DECLARE FUNCTION GetMinutes (Seconds#)...
  5. Replies
    0
    Views
    245

    QBasic - Digital Clock

    See title.



    DEFINT A-Z
    DECLARE FUNCTION GetHours (Seconds#)
    DECLARE FUNCTION GetMinutes (Seconds#)
    DECLARE FUNCTION GetTime$ ()
    DECLARE FUNCTION IIF (Condition, Result1, Result2)
    DECLARE...
  6. Replies
    7
    Views
    5,921

    Re: Quick Basic - QB Connect Four

    Double post. This is forum is not working properly!
  7. Replies
    7
    Views
    5,921

    Re: Quick Basic - QB Connect Four

    Repost of the code (slightly updated)



    EFINT A-Z
    DECLARE SUB ComputerMakeMove ()
    DECLARE SUB DisplayHelp ()
    DECLARE SUB DrawDisk (Column, Row, ColorO)
    DECLARE SUB...
  8. Replies
    0
    Views
    225

    QBasic - Tetris

    Tetris in QBasic:



    DEFINT A-Z

    DECLARE FUNCTION GetRotatedShapeMap$ (Shape, Angle)
    DECLARE FUNCTION GetShapeMap$ (Shape)
    DECLARE FUNCTION RandomShapeX ()
    DECLARE FUNCTION ShapeCanMove...
  9. Replies
    6
    Views
    1,339

    Re: getElementById Not Working

    Could you attach the relevant Excel sheets and VBA code here? Perhaps others can help you convert it to vbscript.
  10. Replies
    11
    Views
    504

    Re: Random Number

    Shouldn't you also mention that it is a good idea to seed the random number generator used by Rnd() function by executing the Randomize statement when the program first starts?
  11. Replies
    15
    Views
    10,847

    Re: Cartooners File Viewer

    Here.
  12. Replies
    4
    Views
    339

    Re: Overflow Error

    I don't have access to vb6 right now so I can't test this but try:


    Dim product As Long
    product = 24& * 60& * 60& * 1000&
    MsgBox product


    The ampersands should force the numbers to be...
  13. Re: CreateProcess API function question->

    No, not since the last install or upgrade. Oh plain Shell doesn’t work anymore. I really hate these unpredictable errors.
  14. Re: CreateProcess API function question->

    Oh and CreateProcess didn't work at all:


    Option Explicit

    Private Type PROCESS_INFORMATION
    hProcess As Long
    hThread As Long
    dwProcessId As Long
    dwThreadId As Long
  15. Re: CreateProcess API function question->

    Using Shell:



    Private Sub Form_Load()
    Shell "C:\Program Files\Microsoft Office 15\root\office15\excel.exe d:\book1.xlsx"
    End Sub


    Using ShellExecuteA
  16. Re: CreateProcess API function question->

    Possibly, but doesn't CreateProcess offer more features than that over the Shell statement? I am hoping CreateProcess will solve an issue I haven't been able to fix using Shell or ShellExectuteA. I...
  17. Re: CreateProcess API function question->

    I made the specified changes and ... it works! Thank you! Oh, and with regard to using the wrong datatypes, I should have paid more attention to that. Makes me thankful for vb.net's "Option Strict".
  18. CreateProcess API function question->

    Hi,

    I am trying to write a vb6 app which launches another program using the CreateProcess API function:



    Option Explicit

    Private Type PROCESS_INFORMATION
    hProcess As Long
  19. Replies
    1
    Views
    295

    VS 2012 Re: check port

    Wrong forum. Look up netstat.
  20. Re: How do I export a VB 2010 Project on a PC to become a VB 2019 Project on a laptop

    Your entire project should be in a directory, likely somewhere in your user's profile directory. Locate it and copy it to your laptop as you would any other directory. There are several ways, just...
  21. Replies
    1
    Views
    257

    Re: Modal Form

    Set the form's startup position to "CenterScreen" and use the "ShowDialog" method to make it appear as a modal form.
  22. Re: the program doesn't work right. it must took values from file Avto_a.accdb from t

    Use code tags. And why aren't you using this forum's attachment feature? EDIT: Also you can use "Do Until" instead "Do While Not".
  23. Re: what does this code do? Can you explain? Can you give me manual in internet?

    As far as I can tell the code you posted uses Microsoft ADO to access a database and execute a query. Have a look at this thread:...
  24. Re: Renaming files listed at listbox_Code for "Rename" buttom?

    Hi,

    Could you post your project's files in an attachment? That will make it easier to see what you are doing and to help you.
  25. Replies
    4
    Views
    341

    Re: PixelsToTwipsX

    Vb.net doesn't support twips. What are you trying to do?
  26. Replies
    6
    Views
    1,339

    Re: getElementById Not Working

    A few tips:
    1. Use code tags when posting code. (The "#" button when you're writing a post.)
    2. Use a HTML validator, that code doesn't look complete.
    3. Dispose of objects created in your script...
  27. Replies
    11
    Views
    655

    Re: How To Show Pop Search Results

    Need more information. What is that a screenshot of? What type of program are you trying to write? Do you have any code to show?
  28. Re: VB6 system Tray issue in Windows 10 toast tray Icon.

    Please use code tags.
  29. Re: Is it possible to make a ComboBox item non-selectable?

    Could you post your code and explain what you mean by "kludgey"?
  30. Re: MS Outlook and VBA - Reading HTML from already open Chrome page

    Your code uses ActiveX controls specifically meant for Microsoft Internet Explorer and therefore won't work with Chrome. Could you be more specific about what you are trying to do?
  31. VS 2017 Re: Confirm a changed password

    I can't help with your question specifically, but based on what you posted here I have some coding tips:
    1. Always initialize your variables when you declare them. For example: "Dim pWord2Length As...
  32. Re: Center in Form horizontally for controls on Form resize

    Your explanation is hard to follow. Perhaps you could provide a sketch of what you want? Look up the Anchor and Dock properties, maybe those will be of help.
  33. Re: Publishing a database project from Visual Studio 2017

    I have noticed that when I use SQL Express I sometimes need to go to the Services Control Panel app to start the "SQL Server (SQLEXPRESS)" service manually.
  34. Thread: SendSAS

    by Peter Swinkels
    Replies
    4
    Views
    565

    Re: SendSAS

    Perhaps you should post more code. I had to lookup several API declarations and several procedures that are not included are being called by your code.
  35. Re: Need help with increasing the speed of my code

    To the OP: you should also use code tags when posting code. Have a look at the "#" button when posting a message.
  36. Replies
    10
    Views
    1,811

    Re: ReadFileDirectlyToString

    Not sure if this is useful, but: did you know you can use GetLastError to check for error codes immediately after an API function call and FormatMessage to retrieve the message associated with that...
  37. Re: error while opening the excel file from vb.net

    You didn't answer my questions. Could you post the entire project?
  38. VS 2010 Re: exporting datagridview with images to excel

    First of all: use code tags! I made some changes to your code:



    Imports Microsoft.Office.Core
    Imports Microsoft.Office.Interop
    Imports Microsoft.VisualBasic
    Imports System.Diagnostics...
  39. Re: error while opening the excel file from vb.net

    Full code? And where is the OpenFileDialog object comming from? The ones in Microsoft.Win32 and System.Windows.Forms don't appear to have properties/fields your code is referencing.
  40. Re: what is weakness and problems with this code?

    Since you couldn't be bothered to use code tags or supply any useful code... I have absolutely no idea. Here are two tips: use code tags and lookup the System.Text.StringBuilder class.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width