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 Chris Miller 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. craigber

    Grid Behavior

    You won't get any of this to work with a grid. Think of the grid as windows of a modern skyscraper and you're standing on the outside. Those windows don't open. They don't do anything except let you look inside. By default what you get on the inside is a textbox. You can replace that text box...
  2. craigber

    Calling a subroutine and passing a parameter

    Recordings is not a good method/function/procedure name. A good name will tell you What it does, for example, GetRecordingByKey or some such thing. That should help you to not confuse all the recording references. BTW, it doesn't matter if you declare it a function or procedure. It's how you...
  3. craigber

    Browsing tables in a database

    I advise against this. BROWSE is filled with problems, the worst of which is you access the table directly for long periods of time. I've seen more data corruption cause by BROWSE than any other single command. A better way is to use a grid against a read-only cursor. Craig Berntson .Net MVP...
  4. craigber

    Need to replace certain characters in a string

    Whenever I need to handle text in VFP and not sure the best way, I go here http://stevenblack.com/articles/text-and-string-handling-in-VFP/ Craig Berntson .Net MVP, Author, Tech Presenter http://blogs.msmvps.com/craigber
  5. craigber

    Creating a CSV file converter in C#

    http://tinyurl.com/oqaj5y4 Craig Berntson .Net MVP, Author, Tech Presenter http://blogs.msmvps.com/craigber
  6. craigber

    Textbox transparancy

    More and more UX experts are coming out against doing this in a textbox because it isn't discoverable. Anything that the user sees or does should be questioned "How does this affect the user? From their view is this good or bad? Does it make things harder or easier for the user?" If you're...
  7. craigber

    Textbox transparancy

    From a usability standpoint, don't do this. I've lost count of the number of web forms where the prompt disappears as soon as a textbox gets focus. It's usually on a login form and I have to idea if they want a username or email address. Craig Berntson .Net MVP, Author, Tech Presenter...
  8. craigber

    File Access is denied, but no sign of another table anywhere!

    There is one gotcha in all this that I've never seen documented. The issue is with EXCLUSIVE OFF and then USE theDbf SHARED, what happens is the table is opened shared, but the DBC is opened exclusive. Craig Berntson .Net MVP, Author, Tech Presenter http://blogs.msmvps.com/craigber
  9. craigber

    Web Service Woes...

    I've seen Rick recommend using .Net to do web services then use COM Interop to get the data into/out of VFP. For the most part, SOAP is dead. Most people are doing REST web services now. Craig Berntson .Net MVP, Author, Tech Presenter http://blogs.msmvps.com/craigber
  10. craigber

    VFP Word Automation - Finding/Counting Line Numbers

    Line number is really meaningless. It will vary based on font type and size, margins, line spacing, etc. Craig Berntson .Net MVP, Author, Tech Presenter http://blogs.msmvps.com/craigber
  11. craigber

    Is there software to create C# Solution reports?

    Visual Studio architect edition has some of those capabilities, but it's VERY expensive. Craig Berntson .Net MVP, Author, Tech Presenter http://blogs.msmvps.com/craigber
  12. craigber

    Internal printer fonts

    You should rethink using printer fonts. I've seen them used, then the printer dies and the new printers don't support those fonts. It took weeks to rework every report. Craig Berntson .Net MVP, Author, Tech Presenter http://blogs.msmvps.com/craigber
  13. craigber

    2 Gig Limit

    The issue really isn't that a file gets bigger than 2 GB, but rather how VFP allocates memory to work with the file. For years people asked for the 2 GB limit to be removed and the answer was that it would break all existing applications because it would change how memory was allocated...
  14. craigber

    Sql Server

    How does that apply to SQL Server? Craig Berntson .Net MVP, Author, Tech Presenter http://blogs.msmvps.com/craigber
  15. craigber

    Sql Server

    Olaf, Do you have example of areas only accessible via OLE DB? Craig Berntson .Net MVP, Author, Tech Presenter http://blogs.msmvps.com/craigber
  16. craigber

    Sql Server

    Do not use OLEDB. Microsoft is discontinuing its support for SQL Server. Craig Berntson .Net MVP, Author, Tech Presenter http://blogs.msmvps.com/craigber
  17. craigber

    C# programming help needed

    The best I think we can do is give you general advice here..... - Don't use single characters for most variable names (loop counters are the exception). Code should be self-documenting, meaning you can figure out what it's doing by reading the code. Variable names like m, s, and g give no...
  18. craigber

    ReSharper - do you use it, does it help, is it any good?

    Resharper doesn't change anything in C#. It just makes VS easier to use and coding faster. Craig Berntson .Net MVP, Author, Tech Presenter http://blogs.msmvps.com/craigber
  19. craigber

    ReSharper - do you use it, does it help, is it any good?

    My best advice: Buy it now. But it takes some time to master it. You can get a 30 day trial. http://www.jetbrains.com/resharper/ Craig Berntson MCSD, Visual C# MVP, www.craigberntson.com/blog
  20. craigber

    Bypassing Lostfocus

    There's a reason a textbox has a Valid event. This is where validation belongs. Simply return .T. to allow the control to lose focus or .F. to remain in the control. Craig Berntson MCSD, Visual C# MVP, www.craigberntson.com/blog

Part and Inventory Search

Back
Top