Oops. The issue was that a printer was not being selected when I first pulled the list, so my paper types didn't show up.
Once I fixed that, I thought I was filtering for the "Custom Paper Size..." entry only, when I was filtering all custom sizes. Duh!
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 =...
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 >=...
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...
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...
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)...
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...
Okey, everything works peachy when I plug it into another test project I built that uses the /TC switch, but I get this error with the real project:
LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
Any ideas?
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?
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...
The WHEN clause skips it if .f. is returned. It is a field I need to behave like NOMODIFY rather than DISABLED. The difference is that the user cannot scroll through the information listed in the field. It needs to be selectable, but read-only.
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?
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.