Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Cereal Killer

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Re: Format the text contained into a RichTextBox

    @dglienna:

    I don't have ever used RTF files before now, so, I don't know what to do. However, whilst I was waiting for your replies, I found another way to solve my problem using a PictureBox and...
  2. [RESOLVED] Format the text contained into a RichTextBox

    Hi folks :)

    It's been long time from the last time I asked for your help and now I'm here because I need it again :(

    I am trying to format a text contained into a RichTextBox exactly like the...
  3. Set a new Class module using a pointer to another one

    Goodmorning :)

    My purpose is to reach a result like this:


    Dim clsA As New Class1
    Dim clsB As New Class1

    Set clsB = clsA
  4. Re: How to save a stdPicture that is an UDT field

    I need to your help again :(

    Once I loaded a picture into a stdPicture object using LoadPicture function, how can I convert data from the stdPicture object into a ByteArray?
  5. Re: How to save a stdPicture that is an UDT field

    Thank you so much :) I'll give it a look as soon as is possible ;)

    :wave:
  6. Re: How to save a stdPicture that is an UDT field

    Hello folks :)

    Meanwhile I was waiting anyone who replies, I did a research and I discovered this interesting link vb6-MP3-WMA-Image-Extraction. I took the part I need and it seems to work well...
  7. Re: How to save a stdPicture that is an UDT field

    I have a form within a PictureBox object where the user clicks on it and will appear a CommonDialog to choose what image will be loaded into the control. The PictureBox needs to show the image only,...
  8. Re: How to save a stdPicture that is an UDT field

    Honestly I've had some troubles during the translation from English to Italian :blush:

    Now reading again I think I've understood, but however I don't know how to do.



    Dim arr() As Byte...
  9. Re: How to save a stdPicture that is an UDT field

    I'm not sure if I've understood well :confused:

    What are the steps I should do?
  10. How to save a stdPicture that is an UDT field

    Good morning :)

    I've an UDT within a stdPicture field. When I try to run the code to save the structure into a file, VB raises a compilation error


    What should I do?
  11. Replies
    5
    Views
    589

    Re: Insert an Item into a Collection

    I can't use objects such as listbox or other because data are put or get from different points of the program, and not always the form cointaing the object is visible or loaded in memory.

    The only...
  12. Replies
    5
    Views
    589

    Re: Insert an Item into a Collection

    Dear jggtz,
    don't I have understood your answer or your reply hasn't nothing to do with the question?

    What I need it's an easy way to insert a new item among others, so that the structure that...
  13. Replies
    5
    Views
    589

    Insert an Item into a Collection

    Hi folks :)

    I've this trouble: I've several names grouped into an array of strings. The dimension of this array isn't fixed, because the user can add and remove an item from it. The array must be...
  14. Re: Display the whole caption into a Label

    Following your suggestion, I wrote the code below:


    Private Sub Command1_Click()
    If InStr(1, Label1, " ") <> 0 Then Exit Sub
    Set Me.Font = Label1.Font
    Dim crlf As Integer
    crlf...
  15. Display the whole caption into a Label

    Goodmorning :)

    I've this trouble: a Label must display a string of 40 characters and can fill at most a space of 4100x615 twips. But, if I set the AutoSize or WordWrap properties, the text...
  16. Re: use of shell for calling perl from vb 6.0

    I had already said you in another thread you opened in this same forum that is not possible what you want to do. And more it has no sense:

    why do you have to call a script when you can easly...
  17. Replies
    3
    Views
    489

    Re: Split Name function

    I should use a structure instead of an array.

    However if you don't show an example of how your string is made, and what parts you're interested in, it's hard to give a careful answer.
  18. Replies
    20
    Views
    2,111

    Re: [VB6] - pointers and bitmaps

    Your matter is not a very simple problem :D

    I had the same question several years ago and I realized that there aren't easy way to compare two colors from their codes. The only solution I found...
  19. Replies
    4
    Views
    913

    Re: calling perl from vb 6.0

    I'm not aware if there are ways to call a Perl's script directly from Visual Basic.

    I think you have to translate the script in VB code or creating a .dll that contains the Perl code and then...
  20. Re: How to open a file in VB6 using app.Path?

    The OPEN argument is not needed and you can also leave a blank string, because the ShellExecute has the open command as default one. See a guide on this API, that provided by AllAPI.net is a very...
  21. Re: How to open a file in VB6 using app.Path?

    You must get the full path of the file, like this

    App.Path & "\" & <name.ext>

    Once you have it, you can call the ShellExecute API function passing as param the string you got before.
  22. Re: DoEvents executed when calling handler events manually??

    A Visual Basic EXE project is a single threaded project. You (or final user) cannot execute two actions at the same time, i.e. you cannot click on a button until the execution of a previous event is...
  23. Re: DoEvents executed when calling handler events manually??

    No, VB doesn't put any DoEvents statement itself.

    I think you receive that type of error because the previous operation you were doing on an Item of listbox is not completed yet.

    If you don't...
  24. Replies
    15
    Views
    2,106

    Re: [RESOLVED] [VB6]About properties...

    I understood we see things differently.

    I don't say you are wrong, I only say that you cannot fully understand the 'philosophy' of my program, and how and why it is structured in that way, and try...
  25. Replies
    15
    Views
    2,106

    Re: [RESOLVED] [VB6]About properties...

    This is a part of your code


    Private Sub Form_Load()
    Dim G As clsGame
    Set G = New clsGame
    With G
    Debug.Print .Sound(None).SoundName & " (" & .Sound(None).SoundID & ")"
    .Sound(Ding).Play...
Results 1 to 25 of 38
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center