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

Search:

Type: Posts; User: phil m

Page 1 of 10 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    3
    Views
    762

    I dare say you're right ... so, how to unsillify...

    I dare say you're right ... so, how to unsillify me?

    I found an api that changed the resolution (so that's good - although quite messy) - however, now the following code

    picfrom(1).Top =...
  2. Replies
    3
    Views
    762

    Twips not twipping!

    I tried using this code ...

    Me.Top = 0
    Me.Left = 0
    Me.Width = 600 * Screen.TwipsPerPixelX
    Me.Height = 480 * Screen.TwipsPerPixelY
    Me.Width = Screen.Width
    Me.Height = Screen.Height

    To make...
  3. Thread: hide task bar

    by phil m
    Replies
    1
    Views
    664

    hide task bar

    I searched but did not find ...

    I need to hide the task bar ... usually I would just maximize the form but I can't do that with this program for various reasons.

    Any help

    Phil
  4. Replies
    1
    Views
    737

    programatically alter screen size

    Hi

    I think what I'd like to do is check the resolution of the user's screen and - if it is more than 800 then change it down to 800 - and then - of course - return it's value once the program is...
  5. Replies
    1
    Views
    1,406

    Check out the thread from about 2 months ago...

    Check out the thread from about 2 months ago called "all greek to me" - it's rather long but there is an answer at the end of it - maybe.

    Phil
  6. Replies
    1
    Views
    2,836

    Well, as no-one else seems to have written...

    Well, as no-one else seems to have written anything we can assume it can't be done.

    Could you not break you strings down into smaller blocks and then use additem so that

    "This string is too...
  7. Poll: I think polite people DO show that a solution...

    I think polite people DO show that a solution worked and how well it worked. I don't think anyone can be MADE to give their opinions - sadly.

    There is the 5star rating scheme - which is fine -...
  8. Replies
    1
    Views
    851

    To delete - you draw them again in the background...

    To delete - you draw them again in the background color.

    Phil
  9. listboxes set to style 1 - checkbox - will have...

    listboxes set to style 1 - checkbox - will have that. Just adjust the property value.

    Phil
  10. Thread: picturebox

    by phil m
    Replies
    1
    Views
    877

    Rod Stevens at VB-helper offers the code below...

    Rod Stevens at VB-helper offers the code below for resizing textbox to fit text. If can be applied to a picture box - especially if you put a text box in it.

    You can also apply the text to a...
  11. Sorry I was late in posting the code - on Japan...

    Sorry I was late in posting the code - on Japan time at the moment.

    But just to show I care - there is the code below. However, there now seems to be another problem. Likewise, need to see some...
  12. like this? Phil

    like this?

    Phil
  13. Thread: file location

    by phil m
    Replies
    2
    Views
    715

    Alot of ways to do it; here's one. use; for...

    Alot of ways to do it; here's one.

    use;

    for x = len(my_location) to 1 step -1
    my_folder = mid(my_string,1,x)
    if my_folder <> "/" then
    my_folder = my_folder & My_folder
    ...
  14. >From the text box I want to extract the 4-8...

    >From the text box I want to extract the 4-8 characters of the >first line.

    my_str = left(mt_text.text,4)
    msgbox my_str

    >Or, I am reading a text file into the text box, could i just read >the...
  15. Replies
    2
    Views
    743

    Not sure I understand you but you MIGHT be...

    Not sure I understand you but you MIGHT be talking about;

    static done_it as boolean
    if done_it = false then
    done_it = true
    else:
    'must have done_it so
    'add your code here
    end if
  16. Replies
    4
    Views
    1,677

    if cboBox.list(cboBox.listcount - 1) = "" then ...

    if cboBox.list(cboBox.listcount - 1) = "" then
    'do not use add item
    ' instead CHANGE this list index number
    'to your new data
    'and then add
    cboBox.additem my_new_data
    end if
    ...
  17. Replies
    4
    Views
    1,677

    you mean like ... have a blank text place at the...

    you mean like ... have a blank text place at the bottom of the combo box and then select that so that a blank area appears in the text space?

    phil
  18. Thread: function dir

    by phil m
    Replies
    10
    Views
    1,594

    I hate it when I've just been really stupid ......

    I hate it when I've just been really stupid ... which doesn't leave a lot of free time ;-}

    Phil
  19. Thread: function dir

    by phil m
    Replies
    10
    Views
    1,594

    When I use "print" I get the same file over and...

    When I use "print" I get the same file over and over. When I use a listbox it just fills up and explodes. A second file it does not do.

    Phil
  20. Thread: hwnd

    by phil m
    Replies
    6
    Views
    1,025

    You're a fine man, I thank you for your time. ...

    You're a fine man, I thank you for your time.

    Phil
  21. Thread: function dir

    by phil m
    Replies
    10
    Views
    1,594

    Tim, isn't there something else needed on that...

    Tim, isn't there something else needed on that code or you just get the same file over and over again.

    Phil
  22. Thread: hwnd

    by phil m
    Replies
    6
    Views
    1,025

    okay ... so it's just a reference point. So when...

    okay ... so it's just a reference point. So when I cut and paste my APIs and I have no clue what this hwnd thing is then I shouldn't worry about ... it's the APIs problem, right?

    Phil
  23. Thread: hwnd

    by phil m
    Replies
    6
    Views
    1,025

    Right ... so how is it used .. sort of thing ......

    Right ... so how is it used .. sort of thing ... I seem to get by without it ... but sometimes, you really must need it, so when would I use it for what?

    Phil
  24. Thread: hwnd

    by phil m
    Replies
    6
    Views
    1,025

    hwnd

    I was just sitting here ... as you do ... and I was wondering ... umm. and I have no books to check NUFFIN' at the moment ... what is hwnd; where does it come from? what's it for? I seem to see it...
  25. Thread: Memory leaks

    by phil m
    Replies
    2
    Views
    793

    Have you also considered multi-dementional...

    Have you also considered multi-dementional arrays?
    And, though it seems stupid, I guess, have you sat down next to the hard drive and listened for paging sounds ... when you hear them hit break and...
Results 1 to 25 of 238
Page 1 of 10 1 2 3 4





Click Here to Expand Forum to Full Width

Featured