Search results for query: *

  1. vodkasoda

    Question How do I Populate a Combobox from a SQL Datatable

    Excellent, so simple in all reality !!! One day I will get me head around this stuff !!! Thank you ...
  2. vodkasoda

    Question How do I Populate a Combobox from a SQL Datatable

    Pretty basic question I hope ... I am trying to create a basic Windows Form that will allow the user to choose a league from a ComboBox & then send E:Mails depending on what he chooses in another ComboBox. It is not for use over a network, just on one person's PC so I don't have to worry about...
  3. vodkasoda

    Question Advice on Accessing & Updating my Database

    Thank you, I realise I may have to learn (yet more !) new things, but I do want to do this properly so that (a) it lasts me and it should be easily maintainable & update-able and (b) I will be able to get help when I need it !!! I have created the Database in Management Studio, but it is a...
  4. vodkasoda

    Question Advice on Accessing & Updating my Database

    I have a few projects, relating to the same subject. The programs are written in Excel VBA using Access, VB.net, and even a very old one in GFA Basic !!! I am now going to rewrite all of them in VB.net and incorporate the one Database, using SQL Server Express. The logic and all the problems I...
  5. vodkasoda

    Question Process.Start() specify programs window size

    OK John, that's great, I moved the code up a bit to before I was opening a Word document & it now works great, thanks for all your help ...
  6. vodkasoda

    Question Process.Start() specify programs window size

    I copied and pasted the code from above earlier, I have it back as your code now & it works, but seemingly only intermittently ... will it help to increase the WaitForInputIdle parameter ?
  7. vodkasoda

    Question Process.Start() specify programs window size

    Thank you, both of you ... my program now runs again, but it still doesn't do anything to the size of the .txt window, it opens it the exact same size as the last .txt window that was closed. The code now says : Dim aaa As Int16 = 60 Dim bbb As Int16 = 80 If File.Exists(myTables) Then...
  8. vodkasoda

    Question Process.Start() specify programs window size

    Sorry, I can't make head nor tail of it, when I make the change that is on the pinvoke.net setwindowpos(user32) page, I just get an error (as I did in the first place which is why I wasn't using it) that says "'SetWindowPosFlags' is not defined." ... I don't know what I am supposed to define...
  9. vodkasoda

    Question Process.Start() specify programs window size

    Back again ... OK, I have put this into my program but it doesn't appear to be working ... If File.Exists(myTables) Then Dim p = Process.Start("Notepad.exe", myTables) p.WaitForInputIdle(2000) SetWindowPos(p.MainWindowHandle, IntPtr.Zero, 0, 0, 60, 360, 0)...
  10. vodkasoda

    Question Process.Start() specify programs window size

    Appreciated, JohnH, and I did Google it, but it's difficult to know where to start ... I particularly dislike the MSDN Microsoft site for something that you don't already understand, the explanation is normally to vague for the beginner. I'll give this a shot, thanks ...
  11. vodkasoda

    Question Process.Start() specify programs window size

    Can you point me at any decent examples ? Nothing clever or complicated, just basic ...
  12. vodkasoda

    Question Process.Start() specify programs window size

    From a VB.net program I am opening a .txt file ... Process.Start("Notepad.exe", myTables) is there anyway of specifying the window size of the .txt file's window from my VB.net code ?!? It's not going to be a show-stopper if I can't do it, but it would be nice to be able to ...
  13. vodkasoda

    Question What to learn first ...

    Thank you, yes, the clue is easy to follow when the head is clear ... unfortunately mine rarely is !!!
  14. vodkasoda

    Question What to learn first ...

    My apologies JohnH, I posted under what I thought was a Visual Studio thread ... however, the basic gist of the question is perfectly valid here, I would imagine ... what should I learn first Visual Studio, SQL Server or the programming language, be it C#, C++, VB or anything else ?!?
  15. vodkasoda

    Question What to learn first ...

    A quick bit of advice for a newcomer please ... I have a long term project in the pipeline that will involve rewriting some GFA BASIC programs in C#. I will be using SQL Server & Visual Studio in that process.I am an experienced Computer Programmer (over 30 years on IBM Mainframes) & have a...
Back
Top