dcsimg

Search:

Type: Posts; User: adw1104

Search: Search took 0.01 seconds.

  1. Replies
    24
    Views
    2,795

    VS 2010 Re: TabControl - TabPage

    Thanks everyone for the help and sorry once again for hijacking the thread.

    I used to find VB6 so easy. Design a form, call it frmMine and access it and its controls from anywhere in the project....
  2. Replies
    24
    Views
    2,795

    VS 2010 Re: TabControl - TabPage

    I have morphed from VB6 to VB.net 2003 to 2008 to 2010 in a couple of months after a long(several years) lay off.

    In Wrox's Professional VB.NET 2003 p398 (My library only covers VB.Net 2003, I...
  3. Replies
    24
    Views
    2,795

    VS 2010 Re: TabControl - TabPage

    My sincere thanks to everyone that tried to help.

    I seem to have solved the problem but I do not know why the change I made worked.

    The Tab creation code was in a Timer_Tick event on the form...
  4. Replies
    24
    Views
    2,795

    VS 2010 Re: TabControl - TabPage

    Sorry for hijacking your thread, our problems are similar, we both need to create new tabs in a tab control. I haven't even tried adding any controls yet, I'm just trying to get the .text property to...
  5. Replies
    24
    Views
    2,795

    VS 2010 Re: TabControl - TabPage

    This is the actual code from the project:

    Dim myTabPage As New TabPage()
    Me.tabMarkets.TabPages.Add(myTabPage)

    I have printed out the myTabPage.text property and the code is updating it as...
  6. Replies
    24
    Views
    2,795

    VS 2010 Re: TabControl - TabPage

    Could this be an Sizemode/ItemSize problem? If the string being passsed to the TabControl.text property is too long to fit? I don't know in advance how long the string will be.

    I wrote some debug...
  7. Replies
    24
    Views
    2,795

    VS 2010 Re: TabControl - TabPage

    Heres a screenshot showing the line executing in debug mode.

    The variables contain valid strings as expected

    94409
  8. Replies
    24
    Views
    2,795

    VS 2010 Re: TabControl - TabPage

    I just created a new project with just a form with a tab control and one procedure

    Public Class Form1

    Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles...
  9. Replies
    24
    Views
    2,795

    VS 2010 Re: TabControl - TabPage

    Thanks Dunfiddlin,

    The program doesn't change the tabs every second, it just checks if they need changing every second. I'll probably reduce the frequency later. But that is not really the issue,...
  10. Replies
    24
    Views
    2,795

    VS 2010 Re: TabControl - TabPage

    The code lives in a timer event. It runs once a second and amends/creates tabs in response to an If statement.
  11. Replies
    24
    Views
    2,795

    VS 2010 Re: TabControl - TabPage

    I have set a breakpoint and stepped through the code and it is apparently executing as and when expected other than the small matter of the TabContol not updating on the form.
  12. Replies
    24
    Views
    2,795

    VS 2010 Re: TabControl - TabPage

    I am also a newbie trying to use a tab control. But my commands are being ignored so I must have the syntax wrong?

    I have a tab Control called tabMarkets

    I want to change the text property on...
  13. Replies
    6
    Views
    1,017

    Re: Newbie: File being used by another process

    Yes indeed it does say that, on the second page, but as an amateur programmer I didn't realise the full ramifications. A couple of extra words in the description, say " creates a file, and opens it"...
  14. Replies
    6
    Views
    1,017

    Re: Newbie: File being used by another process

    The problem was solved with one apostrophe:

    'CheckFileExists(strPath)

    I have now deleted the procedure and the only line that called it and all is well.

    Thanks again.:)
  15. Replies
    6
    Views
    1,017

    Re: Newbie: File being used by another process

    Thanks very much jmcilhenney, for taking the trouble to offer your help. I will make the changes you suggest.

    As to the source of my error, you need look no further than the Microsoft Online Help...
  16. Replies
    6
    Views
    1,017

    Newbie: File being used by another process

    I am constructing my first VB.Net application using VB2010 Express. I have been away from programming for some years my last experience was with VB6.

    My application is designed to download data...
  17. Replies
    9
    Views
    677

    Re: [RESOLVED] Download an image onto a form

    Thanks for your help everyone. I now have the pictures I wanted downloaded in to my app.

    This forum really is a great resource, sadly, because of my inexperience I can't contribute much of use...
  18. Re: VB6 Download multiple files at once: no API, no extra dependency

    Do you mean I can just save the "Data" returned in the downloader string as a *.jpg and then pass it to the picture property of the image control?
  19. Re: VB6 Download multiple files at once: no API, no extra dependency

    Thanks for this code snippet Merri. I am quite inexperienced and I need some help applying this to my application.

    It appears that downloader returns the data in a string.

    I want to download...
  20. Replies
    9
    Views
    677

    Re: Download an image onto a form

    As most of you already know this was so easy in the end.

    But for anyone that doesn't know.

    From Project menu / Components add Microsoft Internet Control

    Place the control on your form where...
  21. Replies
    9
    Views
    677

    Re: Download an image onto a form

    Sorry, I don't have access to vb.net. The whole application is written in VB6, I would like to just add the download of the photo if poss.

    From further research it seems I need to create an...
  22. Replies
    9
    Views
    677

    [RESOLVED] Download an image onto a form

    Sorry if this post is too simple to believe but I'm obviously not all that experienced.

    My application is reading a product catalogue from an Access file and one of the fields contains a URL to a...
Results 1 to 22 of 22



Featured


Click Here to Expand Forum to Full Width