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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by wawalter

  1. wawalter

    append from question

    That worked. Thanks! APPEND FROM file.txt DELIMITED WITH "" WITH CHARACTER "|"
  2. wawalter

    append from question

    Thanks for the reply Dave. There can also be commas in some of the fields (I should have mentioned that) which I think would cause problems with this solution. That's why tabs or pipes worked well, until now, because they never show up in the data.
  3. wawalter

    append from question

    Hi, I'm having some trouble append a text file into a dbf using VFP 7. I have tried outputting the file with tab or | and using append from file.txt delim with tab and delim with character | and I get the same problem for both. If a field begins with a " it strips the quotes and moves the...
  4. wawalter

    DLL problem with .Net and Win7 64 bit

    I have a VFP 7 dll I have been using in a C# app and it has worked fine. I just got a new computer which is Win7 64 bit and now when the C# program calls the DLL it immediately crashes. I compile the C# program in x86 mode which allows VFPOLEDB to work and I can compile the DLL in VFP by...
  5. wawalter

    WCF connecting to a remote computer

    Hi, I am just trying to figure out some basics with WCF and I've hit a snag. I went through a tutorial and created a client-server on my local machine. Now, I want to move the service exe (called service.exe) to a different computer and connect to that. I started the exe on the remote...
  6. wawalter

    Excel out of memory

    I tried using the using, but apparently the Excel object doesn't implement IDispose so I don't think I can use that method. I thought I'd try only creating one excel object and doing save as then clearing the excel sheet instead of creating a new excel object everytime through the loop. Maybe...
  7. wawalter

    Excel out of memory

    Hello, I need to create about 1,000 excel files. It works fine through about 300 or so then I get the following error: Not enough memory to run Microsoft Office Excel I then have to reboot my computer and run another 300 or so then repeat. Just closing the application doesn't fix the error...
  8. wawalter

    Reading and writing a large text file

    Hello, I am trying to read in a large text file (2-6 gig), parse what I need and write it out to a smaller text file which is about 20% of the size of the original. The problem is in this read/write and amount of memory the program uses just keeps growing and growing until with a 4 gig or...
  9. wawalter

    VFP7 dll error handling question

    Thanks, it does exist in VFP 7, so I'll give it a try. I also found that adding err.raise after I write to the error log will raise the error to the C# program in a generic form, but at least the error is logged and my C# program knows there is an error. Thanks again, Bill
  10. wawalter

    VFP7 dll error handling question

    Hello, I have created a DLL in VFP7 that I call from a C# application. Normally it works fine. The problem I'm having is when there is an error in the DLL, the message returned to C# is meaningless. Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT)) I set up an "on error"...
  11. wawalter

    Trouble loading file with FileSystemObject

    Thanks for the suggestions. I'd like to avoid SQL server if possible. This is what I normally do, but this job needs to turn around fast and I've found the download from SQL Server can be pretty slow. As far as using the editor, I'd rather not have the manual step of splitting the file before...
  12. wawalter

    Trouble loading file with FileSystemObject

    Hello, I am trying to load large text files in to a dbf. I was using the native fox file functions and it worked file until I hit the 2 gig limit. So, after reading this, I switched to use FileSystemObject (FSO), but I'm having a problem. I use substr to split each line and keep only the...
  13. wawalter

    Loading Some Fields From a Tab Delimited Text File

    Hello, I just stumbled on this and I was having the same problem. I was using the native fox file functions and it worked file until I hit the 2 gig limit. So, after reading this, I switched to use FSO, but I'm having a problem. I use substr to split each line and keep only the parts I want...
  14. wawalter

    Collections Advice Please?

    blounty, What happens if I am iterating through objects and try to access the shipNumber or colour properties that aren't part of the spaceobject class that the collection was built on? Are they still accessible or would I have to cast the object to its actual class? Thanks, Bill
  15. wawalter

    Filtering a bindingsource

    That is pretty much what I ended up doing. I made a copy of my original List<> and changed the data source to point to that. I was afraid I'd lose the data bindings ability to make changes to the original list but it my copy must be a reference to the original because any changes I make on the...

Part and Inventory Search

Back
Top