Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: MarcMellor
  • Content: Threads
  • Order by date
  1. MarcMellor

    Why won't my Data1 Control work on an MDIForm?

    I am trying to put a Data1 control on an MDIForm linked to an Access database with a PictureBox control linked to a field in the database, but no picture appears and the Data1 control will not step through records. All this works fine on an ordinary form, so what am I doing wrong for the...
  2. MarcMellor

    Can I harness Windows XP text to speech facility using VB?

    I notice that Windows XP provides Microsoft Sam as a text to speech facility. It would be very useful for the educational program I am developing for pupils with reading difficulties to be able to press a button to get the text of a question read to them. Is there any way of harnessing XP's...
  3. MarcMellor

    How can I resize a Toolbar (AlignLeft) at runtime?

    I have a program that needs to resize as a proportion of ScreenHeight and ScreenWidth so that it is full screen on any resolution setting. I have two Toolbars on a MDIForm, one at the top and one on the left hand side. The top one resizes as a proportion using Toolbar1.ButtonHeight =...
  4. MarcMellor

    IS THERE A WAY TO DETERMINE THE CURRENT PRINTHEAD POSITION?

    I am using a PictureBox to contain some science questions that will be downloaded from a database. This allows to me to mix all sorts of text, tables and diagrams. I want to be able to print off all these in order with question numbers next to them. I can do this by placing 2 questions per page...
  5. MarcMellor

    HOW CAN I PRINT THE CONTENTS OF A MSHFLEXGRID?

    I need to be able to print the contents of a MSHFlexGrid. I can't find the syntax to do this. Also the MSHFlexGrid is on another form that will not be showing, will this cause any problems, ie will I have to filter and refresh the adodc data control on that form first? Lastly is there a way of...
  6. MarcMellor

    HOW CAN I RENAME AN ACCESS DATABASE FORM WITH VB?

    I have a template Access database form where both the rows and colunmns have headings and there are about 360 cells which will be filled by each user over time. Each user needs their own form, and I am only expecting small numbers of users (3 or 4 at most). I need to be able to 'open' the...
  7. MarcMellor

    How can I print the contents of a PictureBox?

    I can't seem to print the contents of a picture box - I just get some numbers. Printing the contents of a TextBox works fine with Printer.Print Text1.Text so why doesn't Printer.Print Picture1.Picture or Printer.Print Picture1.Image work? Any ideas?
  8. MarcMellor

    How do I setup a new Access database from a template using VB?

    I have a database table set up in Access as a Template, named "MyResults". It contains about 20 fields and 360 rows with empty records. When a new user registers, I want to be able to make a copy of this template and name it UserCode & "Results" so that when they log on the...
  9. MarcMellor

    How do I Print the contents of a PictureBox?

    I have a large number of science questions stored in an Access database as Long binary data (this allows me to use MSWord to combine a complex mixture of text and diagrams). These can be downloaded into a PictureBox according to parameters set up by the user. I want to be able to print the...
  10. MarcMellor

    HOW DO I GET AN ACCESS RECORD INTO A VARIABLE?

    I want to select a group of records from an Access database according to certain criteria and then pick one at random and deposit the IDNumber (the Primary Key AutoNumber) in a variable to be used later. This is what I have so far: Data1.RecordSource = "SELECT * FROM QuestionsDatabase_...
  11. MarcMellor

    Why does Access AutoNumber mismatch with VB?

    I need to download some questions from an Access database by selecting according to certain pre-chosen parameters and then pick one of these at random. QuestionID is the Primary Key AutoNumber in Access, RowNumber is the VB equivalent, QuestionLimit is the full count of questions under the...
  12. MarcMellor

    SSTab still giving me trouble

    I am trying to use the SSTab control to display different selections of information in MSHFlexGrids from a single database using a single Adodc control. Unfortunately I cannot find a click event that recognises which of the 12 tabs is being selected so that I can attach code to change my...
  13. MarcMellor

    Is using 12 ADODC controls with SSTab a good idea???

    I am trying to put different selections of information from the same database into different MSHFlexGrids on different Tabs of an SSTab control. I initially assumed that clicking, say, Tab 3 would fire an event for which I could write code for my ADODC control to make a particular selection from...
  14. MarcMellor

    How can I size Word from within a VB program?

    I want to be able to open word from my VB program I am working on to be able to use it as a text editor. I can get it maximised - MSWord.WindowState = wdWindowStateMaximise or minimised, but nothing in between ( with wdWindowStateNormal it seems to be minimised). I need to be able to set its...
  15. MarcMellor

    Counting number of selected records in Acces database from VB

    I am a very amateur programmer trying to develop an educational assessment program. I need to count the number of questions (selected according to certain criteria)that are deposited in an Access database and display this number in a text box. So far I have this: Dim QuestionCount As Integer...
  16. MarcMellor

    Using COUNT to query an Access database from VB6

    I am a science teacher with only amateur programing abilities trying to write an educational assessment progam in Visual Basic. I am storing some test questions in an Access database that I will be able to retrieve according to parameters such as "subject", "module&quot...
  17. MarcMellor

    Move & resize a Picture control at run-time

    I am a science teacher trying to design an educational assessment program using VB6 (Pro). My Visual Basic is entirely self-taught. I currently have a Picture control inside a Rich TextBox control into which I am able to copy diagrams at run-time. This works fine and the Picture control...

Part and Inventory Search

Back
Top