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 TouchToneTommy 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: *

  1. marcsoft

    Is there a maximum VB module size?

    i dont think there is a size problem -- i have some pretty big code modules. there could be a number of other reasons, one being a error in the module you're compiling. also, have you upgraded to the newest service pack? i found that for my laptop, i need sp3, but i dont need sp3 for my desktop...
  2. marcsoft

    problem with storing data in an array

    i think you should make the array a global declared in the main code module. if you make the array local to the routine that you are assigning the values to the array will not survive when you exit the routine that logs the keystrokes. the following should help the array declare in the master...
  3. marcsoft

    Two tables and a collection

    on the flex grid, are you using the textarray feature to load data into each cell? msflexgrid.textarray(cell)=sbuildstring, where cell is an integer, starting with zero as the upper left cell, moving left to right, top to bottom. you can calculate the cell address, and along with the resize col...
  4. marcsoft

    small problem with common dialog box

    is the common dialog control located on the same form as the ms flexgrid? if so, farm out the commondialog to a seperate form and that should take care of the problem. this is about the physical location of the control.
  5. marcsoft

    flexgrid does not refresh

    your best bet is to use the textarray feature of the flex grid. this will not only update the grid, but also the display. sometimes, its best to buffer the grid, if possible, so that you dont constantly update the grid until you want to , after updating your buffer. the textarray feature takes a...
  6. marcsoft

    I must be crazy....

    some of those api calls work with handles, and some work with task id's. this complicates matters greatly. you'll have to check out setwindowpos and bringwindowtotop along with openprocess to work with window handles. if you try to send messages via the windows api message system, you'll run...
  7. marcsoft

    Timer...

    you'll probably have to access a system timer through the win api. the shortest interval in vb is approx 1 ms.
  8. marcsoft

    shell in winxp

    looks as though those embedded blanks are whats causing the problems. i had difficulty with the shell statement and decided to use string variables containing the path and switches and whatever else got thrown in there. also, be sure , if you use strings, to use the + operator when adding the...
  9. marcsoft

    String Subtraction?

    try var=instr(str,1,"\") -- this finds where the \ is, and then use mystr=right(str,len(str)-var), where mystr is the result string.
  10. marcsoft

    MS Flex Grid - Dissabling cells

    did you make the header row and col fixed? this prevents user from changing these values. use the fixed rows and fixed cols property.
  11. marcsoft

    How can I load a database field into a RichTextBox Control?

    maybe try to assign the fields of the db to string variables first, then assign the string variables to the rtb. since you have embedded formatting assigned to the rtb from the db, you need to strip the formatting out.
  12. marcsoft

    Auto Increase Height for Flexgrid

    another way is to set the controls allow col resize property so that you can resize the col during runtime. this way, you can set the width at startup, but allow the user to resize during runtime. this makes the flex grid not truncate.
  13. marcsoft

    Help in grid

    flex grids allow you to do that
  14. marcsoft

    Dual Printer Orientations on the Same Page

    sorry -- you'll get the error. i ran into the same problem when printing from within the program.

Part and Inventory Search

Back
Top