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 biv343 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. vinemicros

    Bizarre VB/MSCOMM data corruption

    Hi Andy Why would a different character set cause this problem? We're sending binary data in 32 byte packets, and then getting a single byte back as an 'acknowledge'. We've added as much logging as we can, and all we can tell (without having the person's whole setup here) is that at some...
  2. vinemicros

    Bizarre VB/MSCOMM data corruption

    Hi all, We've written a very simple Firmware update routine for a product of ours, that sends data down the RS232 line at 57600 baud (8 bits, no parity, 1 stop bit). It uses MSCOMM, which seems to work fine with us, after we'd figured out it's peculiarities. HOWEVER, 2 customers have reported...
  3. vinemicros

    How to stop CTRL 0 giving .NULL.

    Just to clafiry the problem I had: A user was adding a new record in my database, and one of the first fields to fill in was a text-box. The user would type some text, but being a bit too quick on the keyboard would accidentally type CTRL-0 rather than SHIFT-0 in order to get the end bracket...
  4. vinemicros

    How to stop CTRL 0 giving .NULL.

    That's great - thanks Dave.
  5. vinemicros

    How to stop CTRL 0 giving .NULL.

    How do I stop CTRL 0 giving .NULL. as this is making my program crash - since most fields don't like .NULL. as an input? (I have a member of staff who accidentally does CTRL 0 instead of SHIFT 0 to create an end-of-brackets character.)
  6. vinemicros

    Hosting VFP web app

    We use ISDN here in the UK (64k, for web browsing, etc.), with the line connected most of the day, using Surftime. Costs about 60 pounds/month. Soon, our ISP will offer always-on ISDN at 120 pounds/month. Certainly a lot cheaper than paying local call charges!
  7. vinemicros

    Printing treeviews

    Thanks Vlad, I've now used the TXTWIDTH() function to figure out what other characters are the same width as spaces (ie. [ ] \ - ). This has let me modify my code, so that even using proportional fonts will not muck up the indenting.
  8. vinemicros

    Printing treeviews

    Does anyone know of a good way of printing Microsoft Treeview controls? I've successfully done it by turning the treeview into a cursor (using .parent. and .child., etc. to scan through the tree, and adding spaces and arrows at suitable points), but the problem is how to get the tree elements...
  9. vinemicros

    Multi-tasking / grid refresh

    Thanks Vlad. What do you mean by 'wrap the code'? Put it in a container?
  10. vinemicros

    Multi-tasking / grid refresh

    Thanks Vlad, that's explained things nicely. By the way, with _VFP.AutoYield=.F., another form I have with a Treeview ActiveX control gets screwed up - an OLE error saying something like 'Element not found' when trying to add a new child node after about 100 nodes are added. With...
  11. vinemicros

    Multi-tasking / grid refresh

    Ok, thanks for all your help. The _VFP.AutoYield=.F. answer seems to have done the trick. With _VFP.AutoYield=.T. I think what was happening was this: 1. The user double-clicked on the grid record. This, of course, makes the nearest word get highlighted. 2. The code starts-up the editting...
  12. vinemicros

    Multi-tasking / grid refresh

    I had a very odd problem the other day, that I solved, but it's raised some rather nasty questions. The problem was that I had a nice grid, with some fields in the grid calling a text decryption function ('decrypt') in my main procedure file (utility.prg). Users could then double click on a...

Part and Inventory Search

Back
Top