Search:

Type: Posts; User: XRsTX

Page 1 of 5 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    11
    Views
    1,192

    Re: Image to Buffer

    Yeah I don't know either, I thought that what Milk had was correct cause I remember doing something like that before (i'm kinda rusty, haven't VB'd in awhile), but for some reason yeah Edgemeal that...
  2. Replies
    11
    Views
    1,192

    Re: Image to Buffer

    Yeah i'm aware that of it, they will be able to customize to how big they want it, and etc..., It's still not working though, the history picture is still the same. This is my code:



    Private...
  3. Replies
    5
    Views
    1,353

    Re: Select Case on PictureBox

    That's because the values of each of the cases are all 0, making it always stay at Case pic1, try this...put a picture in each PictureBox; then try it again, i'm guessing your not using any pictures...
  4. Replies
    11
    Views
    1,192

    Re: Image to Buffer

    Thanks Milk it works somewhat, ..when I load different images it shows it in picSnapshot, but once i draw on the Image in picImage it adds itself to history, but then once i lift up (at the point...
  5. Replies
    11
    Views
    1,192

    Re: Image to Buffer

    No i think it is directly handled like that..or by the .handle element which i have also tried (both run compiled correctly), but they do not show the image in the buffer..does anyone have any clue...
  6. Replies
    11
    Views
    1,192

    [RESOLVED] Image to Buffer

    Hello all, I'm making an application when once the image is changed from (picImage), which is a PictureBox; the Picture from picImage is saved into Buffered Memory (stdPicture in my choice) to be...
  7. Thread: Using Winsock

    by XRsTX
    Replies
    9
    Views
    1,016

    Re: Using Winsock

    I know it's not designed for real-time interacting unless you make it. Yes, i have a Web-server, it's PHP supported, with MySQL. I know how to handle MySQL databases and PHPMySQL, and such. Could...
  8. Thread: Using Winsock

    by XRsTX
    Replies
    9
    Views
    1,016

    Re: Using Winsock

    I do own a server (technically its a website), would i be able to somehow run the program off the site/server and relay the info to it or how would i do this? I've tried looking on google for such...
  9. Thread: Using Winsock

    by XRsTX
    Replies
    9
    Views
    1,016

    Re: Using Winsock

    It's own IP, as in a static IP? I don't understand what you mean.
  10. Thread: Using Winsock

    by XRsTX
    Replies
    9
    Views
    1,016

    Using Winsock

    I'ver always wondered if Winsock could connect people who are on routers. I've created many programs such as Connect Four, that you can play with a friend, but you have to be on a computer under the...
  11. Replies
    3
    Views
    1,503

    Re: Convert Image to Byte Array

    Ahh I see..I thought it had something to do with an Array Redim...thanks bruce
  12. Replies
    3
    Views
    1,503

    [RESOLVED] Convert Image to Byte Array

    I'm trying to convert an image to a byte array , so i can save it somewhere else (on another computer), I've tried using OpenURL with Net, and it works...with online images. My function works, but...
  13. Replies
    1
    Views
    1,395

    DirectX LoadMeshFromX trouble

    I'm trying to load a model (*.3DS) and I keep getting an a automation error , and i have no idea why..here is my code:



    Private Sub RunLoop()

    Dim DS As DirectSound8
    Dim desc As...
  14. Replies
    3
    Views
    759

    Re: Make a registered file type

    Ah yes, forgot about searching here..i'll check it out quick and reply back.
  15. Replies
    3
    Views
    759

    Make a registered file type

    I have an extension for my program ( WatchMyPC ) , and I want to register the extension ".wpf" to default open with WatchMyPC, i know how to register file types manually, but i was wondering if...
  16. Replies
    4
    Views
    766

    Re: Picture Box loading webpage image?

    Function DL_IMAGE(ByVal URL As String, ByVal outputPath As String, ByRef iNetControl As iNet)
    'downloads an image the outputPath$
    Dim Free As Integer, bytes() As Byte
    Free%...
  17. Re: Getting File Extension And Renaming

    Way of retrieving the extension:


    Private Sub Form_Load()
    Const str As String = "c:\example\pic.png" 'fake path for testing
    Dim strExt As String
    strExt$ = RetrieveExtension$(str$)...
  18. Re: Add code to take user to a website

    Theres 2 easy-ways to do this that require one line of code.

    1. Use the component (Menu: Project -> Components -> Microsoft Internet Controls) Microsoft Internet Controls and add a WebBrowser to...
  19. Replies
    12
    Views
    811

    Re: Need help! easy for you not for me

    Const val As String = "48+93+21"
    Function AddValue(ByVal str As String, delimiter As String) As String
    Dim tmp() As String, tmpCount As Long, i As Integer
    tmp$() = Split(str$,...
  20. Replies
    12
    Views
    811

    Re: Need help! easy for you not for me

    So you want to add this 48+93+21, and get an answer back?
  21. Replies
    2
    Views
    548

    Re: Changing color of Menu Bar

    Use the 'Search' Engine, you'll most likely your answer much quicker


    Private Type MENUITEMINFO
    cbSize As Long
    fMask As Long
    fType As Long
    fState As Long
    wid As Long
    ...
  22. Replies
    12
    Views
    811

    Re: Need help! easy for you not for me

    Can you explain more? What is your actual question?
  23. Thread: Layers???

    by XRsTX
    Replies
    6
    Views
    769

    Re: Layers???

    Create a Array Buffer such as picBuffer(0) (make it autoredraw=true) and make a Variable to keep track of how many buffered layers you have such as:


    Dim currentBuffers As Long



    Then once...
  24. Re: Make Half a Form Fade from White to Black and the Other Half all Black

    Just make you checkbox size -

    width - 200
    height - 195

    and make a transparent label for it right next to it.
  25. Replies
    5
    Views
    737

    Re: combo box question

    If you don't put the full path of the text file you'll get a 'File Not Found' error because if it was moved its not going to know where it is unless you tell it where that file is. You can use...
  26. Re: Make Half a Form Fade from White to Black and the Other Half all Black

    Yes its possible by using SetWindowRgn and CreateRoundRectRgn API Functions, you can get more information about these 2 functions at Microsoft.com


    Private Declare Function CreateRoundRectRgn Lib...
  27. Replies
    4
    Views
    548

    Re: X Y Position

    Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Label1.Caption = X 'x position
    Label2.Caption = Y 'y position
    End Sub
  28. Re: Creating a new Application with Specific Settings

    Could you explain this more? Are you trying to make a configuration file for you application?
  29. Replies
    2
    Views
    564

    Re: OLE Run At The Press Of A Button?

    I'm not sure , but I think you can run it with this piece:


    OLE1.DoVerb 0
  30. Replies
    6
    Views
    647

    Re: Double Quotes

    MsgBox chr(34) & "somthing here where you want to use quotes inside the string." & chr(34)
  31. Replies
    7
    Views
    881

    Re: Share With Your Skins & Themes ----

    I have a couple, here is one, this lets you round a handle using API functions


    Private Declare Function CreateRoundRectRgn Lib "gdi32.dll" (ByVal x1 As Long, ByVal y1 As Long, ByVal x2 As Long,...
  32. Replies
    13
    Views
    2,085

    Re: Background MDI Form

    Yes its duable:


    Private Sub MDIForm_Load()
    Me.Picture = LoadPicture("c:\picture.bmp")
    picStretch Me
    End Sub
  33. Thread: Please come in

    by XRsTX
    Replies
    2
    Views
    485

    Re: Please come in

    CommonDialog1.Flags = cdlOFNAllowMultiselect 'this will allow multi-select
    CommonDialog1.InitDir = Environ("HOMEDRIVE") & Environ("HOMEPATH") & "\Desktop\" 'default directory
    ...
  34. Thread: Join Teamspeak?

    by XRsTX
    Replies
    9
    Views
    1,630

    Re: Join Teamspeak?

    Yes this is also possible, you can also do the following:

    loginname
    password
    channel

    With a little editing of our function it can do this:
  35. Thread: Join Teamspeak?

    by XRsTX
    Replies
    9
    Views
    1,630

    Re: Join Teamspeak?

    I'm glad it worked, please mark this as Resolved you can do this by going under Thread Tools and Clicking 'Mark Thread Resolved'.
  36. Thread: Join Teamspeak?

    by XRsTX
    Replies
    9
    Views
    1,630

    Re: Join Teamspeak?

    Dim c As Object
    Dim link As Object
  37. Replies
    9
    Views
    718

    Re: Need Help... Easy Question...

    Well it depends on what has focus, but you can use an API function called GetAsyncKeyState to monitor key events and see if its down or not. Like so:


    Private Declare Function GetAsyncKeyState...
  38. Replies
    3
    Views
    541

    Re: formating... Help

    Dim cEx As String
    cEx$ = 5555555
    cEx$ = FormatNumber$(cEx$, 0)
    MsgBox cEx$
  39. Replies
    4
    Views
    695

    Re: Checking an option button

    Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
    Private Const BM_SETCHECK = &HF1
    ...
  40. Replies
    5
    Views
    732

    Re: Making View Source VB code.

    I think he wanted to get the source of the page from the webbrowser.


    Function GetHTML(ByVal browser As Object) As String
    GetHTML$ = browser.Document.body.InnerHTML 'get source of page
    End...
Results 1 to 40 of 162
Page 1 of 5 1 2 3 4



Click Here to Expand Forum to Full Width