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!

Search results for query: *

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

    Class Libraries, best practices

    I've always been a "lone wolf" programmer. Now I'm coding class libraries for a large company. These libraries will be used in lots of other applications (goes without saying, doesn' it)? My question is, if a particular class library ends up being used in 16 different applications, and I update...
  2. tgreer

    Which object?

    I'm starting a new project, and trying to come up with the best way to store some data. I'm processing large binary files. These are print-streams. Each file will contain many documents, and each document will contain a differing number of pages. At some point I'll need to re-sequence documents...
  3. tgreer

    Framework 2.0 Configuration Settings question

    What is meant by the "!" in that error? I've never seen that syntax. Also, the "ConfigurationManager" class/object doesn't appear with Intellisense. What is the Framework 2.0 method to retrieve an AppSetting from the config file? Thomas D. Greer www.tgreer.com
  4. tgreer

    Reflection, access members of "this".

    I thought I could use Reflection to dynamically set properties within a class library. I know this is a bit strange, you'll have to trust I have a reason for this :) Say I have two strings: private string _field1; private string _field2; Within that same class, I want a method that would...
  5. tgreer

    System.Text.Encoding.EBCDIC ?

    Doesn't C# support EBCDIC encoding? I'm working on a project that involves parsing Xerox Metacode print streams, encoded as variable-byte EBCDIC records. The print stream data itself is in ASCII, but the record headers and control records are in EBCDIC. I read the records in as byte arrays. I...
  6. tgreer

    Xerox Metacode

    I know this is off-topic, but I thought this group offered the best chance. I'm looking for any documentation on the Xerox Metacode format. I've got my hands on some samples and need to figure out basic commands, such as what constitutes a "page feed" command. I see lots of references to...
  7. tgreer

    Evocative Definition

    I know there's another thread on "Daffinitions". But, what about non-official definitions that, to you, convey more meaning than the dictionary definition? I'll start with two examples, one "serious" and one humorous: empathy: feeling your pain in my heart tact: telling someone to go to hell...
  8. tgreer

    Work Habits

    The thread on workplace impressions inspired this. I have a trait in regard to work. I used to think this was simply a bad habit of my own, but over the years I've found that my best programmers shared the trait. Namely: I procrastinate. I will find any excuse to put off starting a project. But...
  9. tgreer

    StreamReader & File/Record Position

    This comes up from time to time. I'd like to ask the group to help me explore an elegant solution to "the problem". In my line of work, I have to process large text files. The "StreamReader" object does very well, except in one respect: you really can't tell where you're "at" in the file. This...
  10. tgreer

    compiler directive, conditional compile.

    I'm writing an application that must get certain values passed in via environment variables. (Yeah, I know about app.config, but the customer requires I integrate the app into a workflow where they use batch files to set environment variables.) When debugging, these variables of course are not...
  11. tgreer

    Which Visual Studio?

    I personally have been developing C# apps (GUI, Console, and ASP.NET) for a few years now. I'm tasked with suggesting the proper development tools for a corporate application development group. We've settled on C#. However, a glance at Microsoft's site for Visual Studio is a bit daunting. It...
  12. tgreer

    Com Interop Question, Typing and Instantiating objects

    I'm working with C#, and Adobe Acrobat 6.0 Professional. Acrobat exposes a COM Automation server with a few top-level objects. It's easy enough to create instances of those objects, by getting their Type via the .GetTypeFromProgID() method, and then using Activator.CreateInstance(). // Create...
  13. tgreer

    Acrobat 6.0 Professoinal, C# Automation, SaveAs

    I'm trying to automate Acrobat using C#. I'm using in particular Acrobat 6.0 Professional. I add the Acrobat object via .NET COM Interop. I can create the App, AVDoc, and PDDoc objects: // Create an Acrobat Application object Type AcrobatAppType; AcrobatAppType =...
  14. tgreer

    Security/Privileges for App spawned from Service

    This is a re-hash of a previous posting, with greater specificity. I get the following error: The code that causes the error: if (!Directory.Exists(sack_destination + tape_name)) { Directory.CreateDirectory(sack_destination + tape_name); } "sack_destination" is a string that equates to...
  15. tgreer

    File.Copy, over a network, only words in Debug

    I'm using File.Copy() to copy a file from the local filesystem to a mapped network drive. (I'd like to use UNC, but couldn't get it to work. I suspect that both problems are the same.) This works when I step through the code. When I simply run, I get an exception, "could not find a part of the...
  16. tgreer

    Verbs with no antonyms

    Let's keep the ball rolling, by asking for words without antonyms. For example, what is the opposite of "exceed"? Let's stick with verbs, because most nouns will have no antonyms. Thomas D. Greer Providing PostScript & PDF Training, Development & Consulting
  17. tgreer

    homophonic antonyms

    How about two words that sound the same, but mean the opposite? Or if not exactly opposite, at least moving in opposing directions. I give you: oral: heard aural: spoken raze: torn down raise: erected Any others? Thomas D. Greer Providing PostScript & PDF Training, Development & Consulting
  18. tgreer

    The "Levenshtein" game

    The "Levenshtein Difference" measures the difference in two strings, that is to say, how many characters must be changed to make two strings equal. I'm using "strings" in the technical sense. I thought it an appropriate name of a game wherein you change one letter of a word at a time to...
  19. tgreer

    Words that are their own antonym

    Every so often I stumble across a word that has definitions that are close to being opposites. Here are two examples. Can you find others? cleave: to stick together; to cut apart sanction: to allow/endorse/permit; to discipline/penalize Thomas D. Greer http://www.tgreer.com...
  20. tgreer

    Fujitsu COBOL85 File Status 93

    I've written a program that runs fine on my local system. It opens several files for input and output. Nothing special. On another system, it generates an error when attempting to open a file for output. The File Status is "93", which from what I can find is an error trying to open a file which...

Part and Inventory Search

Back
Top