Search:

Type: Posts; User: vodkasoda

Search: Search took 0.02 seconds.

  1. VS 2017 Re: My Form is on top of my Word document that I have just opened

    OK, I have resolved this now by adding
    Form1.WindowState = FormWindowState.Minimized to the code immediately after the WordDoc command ...
  2. VS 2017 Re: My Form is on top of my Word document that I have just opened

    boops boops, Form1 has 3 options for the user, Open an existing file, Create a new Portrait File, Create a new Landscape File & Form2 then opens if option 2 or 3 is chosen. Form2 just contains a...
  3. VS 2017 Re: My Form is on top of my Word document that I have just opened

    Hi dday9, thanks for your reply, but I have 3 forms and Topmost is set to False in all of them :(
  4. VS 2017 [RESOLVED] My Form is on top of my Word document that I have just opened

    I am quite a rookie on VB.net, but have been programming one way or another for over 40 years, I still have trouble getting my head around things, hence my probably very simple question ...

    I have...
  5. VS 2010 Re: Determining which programatically created Button has been pressed

    OK, I see, yes, thank you ...
  6. VS 2010 Re: Determining which programatically created Button has been pressed

    Thanks for your replies, in order :

    @dunfiddlin ... I am very new to VB.net programming and I am afraid I don't know what a sender variable is ...

    @dday9 ... Is that as an extra variable or in...
  7. VS 2010 Determining which programatically created Button has been pressed

    I think I've confused myself with this code !!!

    I am creating Buttons down my Form that are incrementally numbered using the following code.

    At the moment this is all I have, and the MessageBox...
  8. VS 2010 Re: MSGBOX not displaying, OK being automatically selected.

    Thank you for that explanation, it's nice to have something explained in such clear English :-) !!!
  9. VS 2010 Re: MSGBOX not displaying, OK being automatically selected.

    OK, Thank you everybody, dday9 was on the right lines when he said "When you call Me.Close, the rest of your code will not perform". As I said, the code does perform, BUT this is definitely what is...
  10. VS 2010 Re: MSGBOX not displaying, OK being automatically selected.

    I just changed all occurrences of MsgBox to MessageBox and have 13 of the longest error messages I have ever seen :eek: ... I think I will go and have my dinner, have a decent night's sleep & look...
  11. VS 2010 Re: MSGBOX not displaying, OK being automatically selected.

    I don't know, I cannot understand this at all, which is why I am here asking for help !!!

    I didn't even know what "IntelliTrace" was until I saw these messages up there ... well, I still don't...
  12. VS 2010 Re: MSGBOX not displaying, OK being automatically selected.

    I will try as you say, I'm no expert, quite the opposite ... I didn't know MsgBox & MessageBox were different, and I use "&" in VBA, I thought "+" was the correct thing to use in VB.net ... different...
  13. VS 2010 Re: MSGBOX not displaying, OK being automatically selected.

    Ok, here is me stepping through the program in Debug mode using F8 ...

    9703597037

    No MsgBox opens, it just ends the program !!!
  14. VS 2010 Re: MSGBOX not displaying, OK being automatically selected.

    I don't know ... I don't think so, I did at one point try to use AutoHotKey, but I couldn't get it to work so deleted it, but even so, I don't understand how it would affect some Error Messages and...
  15. VS 2010 Re: MSGBOX not displaying, OK being automatically selected.

    I am in Debug mode and I run the program ... that's what it does ... I am baffled (though obviously not an expert ...) !!!

    This is the start of the program, it's quite straightforward ...



    ...
  16. VS 2010 MSGBOX not displaying, OK being automatically selected.

    As per the Title, I can only assume I have set some kind of option without realising I have done so, but some MSGBOXes work !!!

    This works ...



    If ComboBox1.SelectedItem = Nothing...
  17. Replies
    0
    Views
    3,346

    VS 2010 How to Add a Button to Word

    I have a program that opens a Word document or creates it if it doesn't exist.

    How can I add code to my program that will create a Button in that Word document ?

    I would like the Button to be...
  18. Replies
    2
    Views
    5,282

    Re: Tabbing between RadioButtons

    Thanks ... the application is aimed at being mouse driven, but as I was testing it I realised that sometimes you type your data into the Textbox and then automatically hit tab to navigate to the...
  19. Replies
    2
    Views
    5,282

    [RESOLVED] Tabbing between RadioButtons

    A pretty basic question, can I Tab between 2 RadioButtons ?

    I have a Form with a Textbox, 2 Radio Buttons, an OK Button & a Cancel Button. They are all set to TabStop=True and have the TabIndex...
  20. VS 2010 Re: [RESOLVED] Database update not reflected in ComboBox

    Thank you, but I am still confused (though I have had a few beers !) ... I'll look again in the morning and see if I can understand !!!
  21. VS 2010 Re: Database update not reflected in ComboBox

    I'm afraid I have no idea what you mean !!! The change I have made works perfectly (as far as I can tell using Debug & going through all the options) ... I'm not disputing what you say, but I don't...
  22. VS 2010 Re: Database update not reflected in ComboBox

    OK, I'm not going to pretend that I understand this, because at this precise moment in time, I don't, but the following change works ...

    I replaced the line ...


    myLeague =...
  23. VS 2010 Re: Database update not reflected in ComboBox

    OK, thank you, that seems quite logical and one of the clearest explanations I've seen so far ... tomorrow I will see if I can put it into practice !!!

    EDIT ... Still can't get the hang of this...
  24. VS 2010 Re: Database update not reflected in ComboBox

    Well, that's what I thought and that's what I meant by saying that I thought I had avoided it.

    Originally, when I dragged the Table onto the ComboBox, VS2010 added some code into the Form_Load...
  25. VS 2010 [RESOLVED] Database update not reflected in ComboBox

    Apologies if this is something that's been brought up a hundred times already, but I thought I had understood why it happened and had avoided it ...

    On my master Form I choose from four Radio...
  26. Re: Basic Code Not Working, Move Data To UserForm TextBoxes & Display UserForm

    As just replied to Si, I've changed the names, yes, it was making things confusing. I'm a Mainframe programmer and believe in naming all my variables with meaningful names, however, in COBOL I don't...
  27. Re: Basic Code Not Working, Move Data To UserForm TextBoxes & Display UserForm

    I've gone through the code & yes, I see what you mean ... I guess this is from where I was Copying & Pasting when creating the Userforms ... bit of a schoolboy error I suppose !!!

    I've gone...
  28. Basic Code Not Working, Move Data To UserForm TextBoxes & Display UserForm

    Hi, I am a complete beginner in VB6, I am a Mainframe programmer by trade so understand the logical side of things and have coded a lot recently using VBA in Excel & Outlook. I've decided I should...
Results 1 to 28 of 28



Click Here to Expand Forum to Full Width