Search:

Type: Posts; User: vbLewis

Page 1 of 4 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: VB - Play multiple wav files at the same time.

    You can use windows media player control, you can create in code or add as many to your form as you need. I create an array and create them dynamically. WMP plays files asynchronously.
  2. Re: [RESOLVED] websocket receiving and sending data larger than 65535?

    My websocket client code is setup to send up to 2 gbs of data at a time WebSocket
  3. Re: [VB6] Visual Basic 6 Client Websocket Control 1.11 BETA

    Sorry for the belated reply, my hardrive died and Ive been working on getting my system back up and running. I'm pretty sure that i just forgot to update the version numbers inside the files, the...
  4. Thread: Weather App

    by vbLewis
    Replies
    5
    Views
    2,150

    Re: Weather App

    I don't have experience with that. It looks like it would be extremely complicated to get the data into a vb app.
    Could possibly see if there is a rest API for accessing their cloud data.
  5. Replies
    10
    Views
    1,331

    Re: Difference between Dir and Dir$ ?

    Dir() returns a variant with the sub-type as string, Dir$() returns a string, very similar but subtle difference.
  6. Thread: Weather App

    by vbLewis
    Replies
    5
    Views
    2,150

    Re: Weather App

    I reset the API key before uploading :)
  7. Thread: Weather App

    by vbLewis
    Replies
    5
    Views
    2,150

    Weather App

    I wanted to put weather info on my screen saver so if i was laying in bed i could see what the weather was. So i made this small app as an exercise, alot more could be done with it.

    You will need...
  8. Re: [VB6] Visual Basic 6 Client Websocket Control 1.11 BETA

    Hi KarelK,
    Yes its possible to make an OCX, it originally was in ocx form when I first released it. I plan on making a dual exe/ocx release soon but havenet had the time. You have to move a few...
  9. Replies
    3
    Views
    1,565

    Re: I need help with scintilla!!

    highlighter code https://github.com/Planet-Source-Code/stewart-ceditxp-version-4-9-9__1-66207/blob/master/cx/CtrlSource/SCIVB/module/ModHighlighter.bas
  10. Replies
    5
    Views
    2,508

    Re: GMail Using OAuth 2.0

    Code wouldnt be hard, you just have to add permissions to the scope list and create a function to read the emails. The problem is that anything other than sending email requires a verified app....
  11. Replies
    5
    Views
    2,508

    Re: GMail Using OAuth 2.0

    yes, you could replicate the browser with building your own headers and data and use winsock, would require some in depth knowledge of the HTTP protocol and some time in wireshark.

    Also the...
  12. Replies
    5
    Views
    2,508

    GMail Using OAuth 2.0

    Hello friends,
    Ive seen several posts recently with concerns about google disabling username/password gmail useage from 'less secure apps'.
    Ive been working with OAuth alot in other projects so Im...
  13. Replies
    7
    Views
    1,065

    Re: AsyncRead / openURL returns nothing

    It might stop working in 10 days, Microsoft claims it is disabling IE 11 on June 22.
  14. Replies
    7
    Views
    1,065

    Re: AsyncRead / openURL returns nothing

    I to noticed this a while back and couldnt figure out why it was happening. The error contained in AsynchProp.Value was "<System Error> The file could not be written to cache"...

    Its why I...
  15. Replies
    27
    Views
    2,353

    Re: How should I rewrite this to not use GoTo?

    Here is another way you could do it, this is just a variation of elroys method using a flag



    Dim Arr() As String
    Dim Skip() As String
    Dim M As Variant, S As Variant, F As Boolean...
  16. Replies
    11
    Views
    1,627

    Re: Monitor Numbering

    enumdisplaymonitors() enumerates the monitors in the order the system has them numbered with the primary display starting at 0 (i think. at least thats how mine is). So no matter how you arrange them...
  17. Replies
    11
    Views
    1,627

    Re: Monitor Numbering

    here is how I did it, a call to GetMonitorInfo then check the Left property of each monitors work space to determine the order

    184950
  18. Re: Make a simple and efficient typelib generation tool

    you can use MIDL in mktypelib mode with the /mktypelib switch if memory serves correct
  19. Replies
    3
    Views
    1,804

    Re: [VB6] Crossword Puzzle Constructor

    you can constrain the max size of generated puzzles by limiting the width and height of the grid.

    in modPuzzle.bas at the top is this line of code

    Public Const MAX_PUZZLE_ROWS As Long = 36
    ...
  20. Re: [VB6] Visual Basic 6 Client Websocket Control 1.9 BETA

    Ok, sorry about that, not sure how that happened. I have re-uploaded.
  21. Replies
    3
    Views
    1,804

    [VB6] Crossword Puzzle Constructor

    This is a program i threw together to generate crosswords based on a word/clue list. You can then print out the generated puzzle on a printer or solve it from within the program.

    For those that...
  22. Re: [VB6] Visual Basic 6 Client Websocket Control 1.9 BETA

    No, you have to have a server to coordinate messages to and from websocket clients. I believe that is what piesocket(dot)com actually does, it allows you to connect multiple clients to their server...
  23. Re: safely get array count in a variant

    This is a client library (usercontrol) where the clients of the usercontrol are passing in a single dimension byte array in a variant and i need to get the byte count. im currently just using an...
  24. Re: safely get array count in a variant

    that fails though on an uninitialized array, I was trying to avoid using error trapping



    Dim V As Variant
    Dim B() As Byte


    V = B
  25. Re: safely get array count in a variant

    It may or may not be dimmed, that is the problem. Also it could be a huge array which is why i dont want to create a copy just to check if its valid. I do know that the variant will always contain a...
  26. [RESOLVED] safely get array count in a variant

    Hi friends,
    I'm trying to safely get the array count of a byte array contained in a variant without using error handling or creating a copy of the array.

    The following code doesn't work because...
  27. Re: [VB6] Visual Basic 6 Client Websocket Control 1.7 BETA

    Hi Maatooh,

    thanks for the kind words. I wasnt aware of your project, guess now i cant claim to be the first vb6 wss anymore :) I will have to change it to first userControl :bigyello:
    ...
  28. Re: [VB6] Visual Basic 6 Client Websocket Control 1.7 BETA

    Hi xxdoc123,

    Im glad you figured out your problem. Thank your for your feedback!
    The websocket does automatically add a "Sec-Websocket-Origin:" header but not a "Origin:" header.
    I have...
  29. Re: [VB6] Visual Basic 6 Client Websocket Control 1.5 BETA

    Hi Martin, I believe I have fixed the problem. thanks for the test server that was a tremendous help in solving the bug.
    Please let me know if you still encounter errors.

    Thank you so much for...
  30. Replies
    59
    Views
    11,263

    Re: [RESOLVED] Crossword Generator?

    Hi Sam,
    I havent had time to do much on the orphaned word groups, but I did add the ability to update a clue from dictionary(dot)com though thier online API. They have the actual word about 50% of...
  31. Re: [VB6] Visual Basic 6 Client Websocket Control 1.5 BETA

    Dear Martin,
    I have posted an update, let me know if this fixes your problem!

    regards,
    Lewis
  32. Re: [VB6] Visual Basic 6 Client Websocket Control 1.5 BETA

    Hi martin,
    Looking through the code as to what could be the problem I just realized there is a major bug in the loop that sends data chunks. the code is taking chunks off the end of the data instead...
  33. Replies
    59
    Views
    11,263

    Re: [RESOLVED] Crossword Generator?

    Sam, Ive run into the unfortunate situation of not having MS office installed or the excel runtime files and not wanting to install the 1 gig MS office suite just to import words from an excel file,...
  34. Replies
    59
    Views
    11,263

    Re: [RESOLVED] Crossword Generator?

    very nice! sounds like something that could be included in the main source code (using an excel file as a source). Would you care to share an example as I have no Idea how to use Excel files from...
  35. Replies
    59
    Views
    11,263

    Re: [RESOLVED] Crossword Generator?

    Hi Sam, You absolutely should NOT be getting any orphaned (isolated) words. Are you using the latest code i posted? I havent gotten any orphaned words myself in at least the last 4 versions. Can you...
  36. Replies
    59
    Views
    11,263

    Re: [RESOLVED] Crossword Generator?

    bug fixes

    2/17/2022

    1) fixed random source choosing, to not choose the same word twice (oops)
    2) added user configurable option to specify max words a word list can contain before switching...
  37. Replies
    59
    Views
    11,263

    Re: [RESOLVED] Crossword Generator?

    Hello Sam,
    Yea that is by design, I made it so that lists larger than 60 it randomly chooses 60 words from the list to use. (I need to make that user configurable) You can change that to 76 (or 100...
  38. Replies
    59
    Views
    11,263

    Re: [RESOLVED] Crossword Generator?

    Hi sam, Ive had some time to tinker with it this last weekend and fixed a few issues. Mainly to do with printing, like that fact that it DIDNT PRINT! lol
    So I dont have a physical printer hooked up...
  39. Replies
    59
    Views
    11,263

    Re: Crossword Generator?

    Thats a pretty cool idea, may have to try that. At the moment im kinda cross worded out tbh
    I dont think I am able to get this puzzle generator much better than it currently is, so any new updates...
  40. Replies
    59
    Views
    11,263

    Re: Crossword Generator?

    Its come a long way... generates pretty decent puzzles. probably wont be any updates for a while as Im busy with other things.

    updates:

    1) added a high score window to view all puzzles with the...
Results 1 to 40 of 126
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width