Search:

Type: Posts; User: PaulTilley

Page 1 of 6 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    5
    Views
    868

    VS 2010 Re: Datareader????

    Ok - this is making some sense now. Im now having a go.

    Will report back shortly.


    Paul
  2. Replies
    5
    Views
    868

    VS 2010 Datareader????

    Hi All

    Im doing my head in here, and could do with a shove in the right direction......

    I am very familiar with VB6 (10years+) and have finally decided to teach myself .NET
    This is where...
  3. Replies
    5
    Views
    1,987

    Re: MySQL and VB6

    Does this mean that I have no way of trapping the error then?
  4. Replies
    5
    Views
    1,987

    Re: MySQL and VB6

    Well...... Thats where I am lazy really.....

    I am using the Data Environment and do the following:




    DE1.Conn1.ConnectionString = gStrConnectionString

    DE1.Commands("Fire").CommandText =...
  5. Replies
    5
    Views
    1,987

    MySQL and VB6

    Hi All

    I am using the following connection string:


    ConnectionString = Driver={MySQL ODBC 5.1 Driver};Server=XXXX;Port=3306;Database=XXXX;User=XXXX; Password=XXXX;Option=3;


    Which works...
  6. Replies
    7
    Views
    1,736

    Re: Package and Deployment / Inno

    Think I have found the solution - its too late to check now so will post back with the results tomorrow, but I believe that it was all due to the MySQL connector not being installed.


    I will...
  7. Replies
    4
    Views
    596

    Re: how to read from registry

    Have you checked the Code Bank???
    http://www.vbforums.com/showthread.php?t=231560
  8. Replies
    7
    Views
    1,736

    Re: Package and Deployment / Inno

    Ok - I have created my setup with Inno but on installing I get and error:

    Method '~' of object '~' failed

    I believe this to be a MDAC problem, but dont know how to diagnose this.
    All the...
  9. Replies
    7
    Views
    1,736

    Package and Deployment / Inno

    My P&D Wizard seems to be having a problem.
    It hangs during the select folder for output stage.

    Anyway, I only really wanted to use this to get a list of files that need registering, as I would...
  10. Thread: sstab Issue

    by PaulTilley
    Replies
    5
    Views
    1,248

    Re: sstab Issue

    99 Tabs is the max on a SSTab Control Im afraid
  11. Thread: sstab Issue

    by PaulTilley
    Replies
    5
    Views
    1,248

    Re: sstab Issue

    If I understand correctly the following code should get you going:


    Public Sub CreateTab()

    SSTab1.TabsPerRow = 4

    If Not Text1.Text = "" Then
    If Text1.Text > 1 Then
    SSTab1.Tabs...
  12. Replies
    4
    Views
    4,081

    Re: Changing windows media player url?

    Dont forget to mark your post as Resolved under Thread Tools at the top.
  13. Replies
    7
    Views
    816

    Re: sys tray problem

    post your code and I will take a look
  14. Replies
    13
    Views
    26,475

    Re: Expected Array???

    Trace the little b**gg*r.

    It was actually an enum in a usercontrol which I hadnt written myself.
    I did however compile the UC to an OCX and that is why I had trouble find the use of the 'left'
    ...
  15. Replies
    7
    Views
    816

    Re: sys tray problem

    if you simply want to re-show your form on clicking the systray icon alter your code as follows:


    Case LeftUp
    form1.show

    assuming your form is called 'Form1' of course
  16. Replies
    11
    Views
    762

    Re: Simple question but irritating me

    Try having a look at the listbox control - that may be the one you need for your purposes
  17. Replies
    11
    Views
    762

    Re: Simple question but irritating me

    Put the following in your command buttons click event:


    me.text1.text = "the information to display"
  18. Replies
    13
    Views
    26,475

    Re: Expected Array???

    UPDATE...

    If I prefix all my lefts and rights with vba.left and vba.right it compiles????
    Therefore what would be causing this?
  19. Replies
    13
    Views
    26,475

    Re: Expected Array???

    Ok - its definately something in my code as a new test project works perfectly.

    @Lone Rebel: I cant really upload the project as it 30+ forms, 5 modules etc.

    What should I be looking for?
    I do...
  20. Replies
    13
    Views
    26,475

    Re: Expected Array???

    I was actually trying to compile to an exe to test on another computer, rather than compile and run.

    Anyway when running, (with JUST F5), I get the same error msg.

    Interestingly, in the VB IDE,...
  21. Replies
    13
    Views
    26,475

    Re: Expected Array???

    @Lone Rebel: Cannot tell you the value as the error is on compiling, not running.
    @Spoo - no self heal Im afraid.

    I am currently doing a global search for and uses of left, but I am sure that I...
  22. Replies
    13
    Views
    26,475

    [RESOLVED] Expected Array???

    I've just tried to compile my project and all of a sudden some functions that have been working perfectly are causing a compile error:

    one example:


    Public Function StripCurrSymbol(StrIn As...
  23. Replies
    7
    Views
    816

    Re: sys tray problem

    The code that actions upon a click is here:


    Select Case cEvent
    Case MouseMove
    Debug.Print "MouseMove"
    Case LeftUp
    Debug.Print "Left Up": PopupMenu mnuForm
    Case...
  24. Replies
    8
    Views
    683

    Re: Problem with frame and datagrid

    Ok, can you post an example?
  25. Replies
    5
    Views
    545

    Re: Remove multiple character

    If the multiples are always together the the following would work:

    Me.Label2.Caption = Replace(Me.Label1.Caption, "22", "2")
  26. Replies
    1
    Views
    714

    Re: Run Time Error 339

    I know nothing about Clickteam Im afraid, but does the ocx need registering with elevated privilages as its Win7?
  27. Replies
    9
    Views
    1,093

    Re: FlexGrid Issue

    I suspect that you have turned off the fixed headers on the grid and have only 1 cell.
    This would mean that the first cell is actually 0 not 1 as 1 doesnt exist.

    Try changing your code as follows...
  28. Replies
    8
    Views
    683

    Re: Problem with frame and datagrid

    Sorry, I meant to say that the screenshots are NOT very clear.

    Anyway, working on a hunch here:

    is the frame within the container control of the tab, as opposed to just being on the form?
  29. Replies
    2
    Views
    516

    Re: need someone to compile urgent

    It looks like somebody helped you out of a predicament.
    A 'thanks' wouldn't go amiss.
  30. Replies
    8
    Views
    683

    Re: Problem with frame and datagrid

    I think you are going to need to explain a bit more.

    What exactly is wrong?
    How does the form look before it goes wrong?
    What is the code that causes the fault?


    The screenshots are very...
  31. Replies
    3
    Views
    519

    Re: [RESOLVED] Word Object Printing Issue

    Hmmm - thats got me thinking.......
    Thanks
  32. Replies
    2
    Views
    521

    Re: Ordering numbers within a label

    Hi

    Does this do what you are looking for:

    Bubble sort taken from the codebank.



    Private iNums() As Integer
  33. Replies
    4
    Views
    623

    Re: Creating email Message

    Not sure but if you set a textbox to multiline, would that not achieve what you are looking for?
  34. Replies
    37
    Views
    3,382

    Re: Mouse Escape Game

    As I have said before, I'm not going to write this for you. You need to think about how you could count the amount of times the 'wall' is hit and then act accordingly.

    Give it a go, then post you...
  35. Replies
    3
    Views
    519

    Re: [RESOLVED] Word Object Printing Issue

    No matter - Ive had a Friday afternoon idiot moment.

    There was a 12Mb image in the doc - Doh!!!

    Sorry!
  36. Replies
    3
    Views
    519

    [RESOLVED] Word Object Printing Issue

    Hi Guys

    Im using the following code to print a word doc.


    wrdApp.PrintOut


    There is a lot going on before this in the way of inserting bookmarks etc, but when it gets to this line,...
  37. Replies
    37
    Views
    3,382

    Re: Mouse Escape Game

    Mine too ;-)
  38. Replies
    37
    Views
    3,382

    Re: Mouse Escape Game

    In what way wouldnt it work?

    Any error msg or other info?


    Did you change the code to also represent cmdFinish2?
  39. Re: Get Records across Midnight in MS ACCESS

    Its too late to be sure Im absolutely correct on this, but as a starting point:


    SELECT * FROM tablename WHERE datefield BETWEEN #" & date1 & "# And #" & date2 & "#"


    where in your example
    ...
  40. Replies
    2
    Views
    607

    Re: [RESOLVED] First character of label

    Label2.caption = left(label1.caption,1)
Results 1 to 40 of 202
Page 1 of 6 1 2 3 4



Click Here to Expand Forum to Full Width