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

  1. alanmusician

    Enumerating custom paper sizes

    I am trying to get a list of custom paper sizes to populate a combobox. So far I have the list for the selected printer, but it doesn't include custom paper sizes. Instead, at the end of the list it has an item named "Custom..." with a RawKind of 256. List<PaperSize> paperSizes =...
  2. alanmusician

    DataTable columns visible at design time

    I have a data source which is declared like so: public class KPDataTable : IBindingList, ITypedList It is (sort of) shadowing a data table called floating table like so: public object this[int index] { get { if (index >=...
  3. alanmusician

    Combobox SelectedValue binding issue

    I'm having an issue with the combobox when binding to SelectedValue. ValueMember and DisplayMember are bound to a collection of custom objects as "Id" and "Species". SelectedValue is bound to another custom object as "SpeciesID". The collection is loaded from a database. This all works quite...
  4. alanmusician

    String members and TextBox

    I'm new to C# and OO in general, and have a newbie question. I have a class (ValidTextBox) inherited from TextBox that has various modifications to it, and one thing that I would like to do is make the Text control refer to a custom string class rather than string. How can this be accomplished...
  5. alanmusician

    Passing variables by URL and security

    Hello, all, I am trying to use a PHP script for documentation purposes in an old program written in Clarion. I want to be able to pass template and application ids to the PHP script, which then looks up the help topic associated with those IDs. I am able to do this by launching a URL (in IE)...
  6. alanmusician

    Duplicating rows with numbers

    I have a table with a text field containing a filename and a count of the number of images in the filename. I want there to be a numbered record for each image. For example: Imgfile | ImageNo 000020.tif | 3 Needs to be: Imgfile | ImageNo 000020.tif | 1 000020.tif | 2 000020.tif...
  7. alanmusician

    Functions - C and C++ compatibility

    I have a function that I've written in C++ that I need to make available in a project that will only compile with the /TC option (crappy casting). What is the easiest way to solve this problem?
  8. alanmusician

    Single Byte Manipulation

    I'm an old programmer but new to C++ and I'd like to ask a confused question. I have a chunk of data in a buffer in memory (type of LPVOID and virtually allocated with VirtualAlloc) that is read from an image file. This chunk of data is a tif file that has been encrypted by switching the two...
  9. alanmusician

    Switching a @ ... EDIT to NOMODIFY on the fly

    Is there a way to switch a certain field to NOMODIFY on a screen during program execution? I need to have a certain field read-only under certain circumstances. I need something that would work like SHOW GET <field> DISABLED only with NOMODIFY. Any info?
  10. alanmusician

    Using SELECT to find a social security number in a string

    I'm working with a database that has a character field for notes for the record, and I need to find a way to select all the records that have nine digits in a row inside the character field. select * from entry where desc like '%[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]%' doesn't work...

Part and Inventory Search

Back
Top