field

How do I extract data from a FoxPro memo field using .NET?

Hi, I'm writing a C# program to get FoxPro database into datatable everything works except the memo field is blank or some strange character. I'm using C# .Net 2.0. I tried the code posted by Jonathan Demarks dated Jan 12. I am able to get the index but i don't know how to use this index to fetch the data from memo file. Pleaese help m...

Distinguished field on a web service (BizTalk)

How do you access a field in the message returned by a web service call ? I found Richard Seroters blog post but it says to drill through the Reference.map to the Reference.xsd ... - problem is, I've not got a Reference.xsd - I do have the Reference.map, and the child Reference.odx - I also have the wsdl, but not the disco ...

ADO Database Table Boolean Column

Hello everyone. I am having a bit of trouble with ADO. I have deployed a database application, which uses Access. With the release of different versions database tables have different fields, some added others deleted etc. What I can't get to work is how to add a BOOLEAN field in the database. For upgrade purposes I use the standart sq...

Identify Field Control properties Dynamically

I have an app in which the user's actions such as "minimizing a window","closing a window","clicking a button" ... has to be captured. And those Field Controls ( like buttons, close icon , minimise icon ... ) can be in any application and have to be dynamically identified Is there a way to do this in C# ??? Any useful pointers are mu...

C++ FastCGI parsing POST requests in to various form fields

I am writing a C++ app on FastCGI using libfcgi++. When I do a POST or GET request, is there a library out there that would parse the different fields? For example for a GET /fastcgi.fcgi?var1=data1&var2=data2 would return something that's easier to access var1 and var2? Same for a multipart POST request. ...

How-to enable auto-capitalization, punctuation, text functionality in Blackberry app text Fields?

I'm using RIM JDE 4.2.1 I'd like my text fields to auto-capitalize the first letter of sentences, add punctuation at the end, and reference the AutoText DB on the device. It seems like this would/should be a Field type in the API but either I'm missing it or it's just not there. For reference, the API is located here: http://www.black...

What field type is the Set Timer field on the Blackberry?

I'm writing an application which has an interval time as a parameter and would like a field similar to the one the Timer has to set its time. Values of a few seconds to a few hours make sense for the application. What type of field should I use? ...

How to populate field descriptions in MS Access

When linking to an external data source via ODBC (especially an AS/400), I often run into cryptic field names on the other side, where a data dictionary is not available. In the rare event that I'm able to get the field descriptions from the other db, I would like to be able to import them all at once, rather than copy/paste each descrip...

How to ensure that a field will never be null in a Java class

I am looking for a clean and safe way to ensure tha a field of a class will never be set to null. I would like the field value to be set once in the class constructor and never modified later. I think that he readonly keyword in C# allows this. Is there a way to do the same in Java? class foo { private Object bar; public foo(Objec...

Sharepoint: Image field with a link

Hi All, I would like to add a field to a list with displays an Image, but acts as a hyperlink. In other words like the "Hyperlink or Picture" column, but "Hyperlink AND Picture" instead. Where the two fields you input would be the URL to the image to display, and the URL of the hyperlink. This must be possible. I notice that the Type...

Get original path from django filefield

My django app accepts two files (in this case a jad and jar combo). Is there a way I can preserve the folders they came from? I need this so I can check later that they came from the same path. (And later on accept a whole load of files and be able to work out which came from the same folder). ...

How easy is it to move from one field within CS to another once working in the industry?

I sort of arbitrarily chose AI and Platforms as my concentrations for my bachelor's, but I definitely have interests in media. How difficult is it to move laterally in the CS industry - in my case from something like platforms to something like game design? Impossible without further schooling? Relatively easy? Something else? ...

PropertyInfo.AddValueChanged Equivalent for Fields???

I'm trying to find the equivalent of PropertyInfo.AddValueChanged for FieldInfo. I basically just need to receive an event any time the field's value changes. I'm assuming there's nothing like this and I'll have to manipulate IL code or something like that. I'm willing to go that route, but any suggestions on how I should go about it? An...

Replace Field with Property using System.Reflection.Emit namespace???

I'm trying to figure out a way to use the Reflection.Emit namespace to remove a field and replace it with my own Property implementation. I've been reading on how to generate code using Emit and writing and compiling IL code directly, but I haven't seen any examples on how to do a replace or remove using the Reflection.Emit namespace; Ca...

Livecycle Designer - Link text field to line of text file

Hi, I'm very new to LiveCycle designer so this might be obvious. I'm fixing up a legacy PDF form that I don't have a lot of scope to replace with something better. All I want to do is to read in a couple lines of a text file during the PDF's initialise event and use those to fill a couple of fields, but Adobe won't let me instance the f...

How-to get a System.Collections.Generic.List<FieldInfo> list which holds all FieldInfo's of an object of a Type T up to the Object in the class hierarchy in C# ?

I am trying to reuse an existing code ... but with no success . Here is the code snippet: using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Text; using System.Reflection; namespace GenApp.Utils.Reflection { class FieldTraverser { public static string SearchFieldValue(obje...

nutch field problem

I was using something like: Field notdirectory = new Field("notdirectory","1", Field.Store.NO, Field.Index.UN_TOKENIZED); and queries like "notdirectory:1" can be processed quite well all the time. But recently I've changed the "Field.Store.NO, Field.Index.UN_TOKENIZED" to index a non-numeric string: Field stateField = new Field("st...

the point of the Field extension method

What is the point of the Field extension method on DataRow (for untyped DataTables)? Here is a comparison of using Field or not using it. with Field: myRow.Field<Guid>("myColName") without Field: (Guid)myRow["myColName"] I don't see any compelling improvement. ...

How to set a base class internal field

Hi, Im extending a class (DirectoryServices.AccountManagement.Principal) and I need to assign a value to a field in the base class but its marked internal. Can I use reflection to set the value? How would that be done? I found this: base.GetType().GetProperty("unpersisted").SetValue(??, false); But im not quite sure how to give it t...

Complex Reflection Scenario

Hi, I need some help trying to come up with a way to set this line of code using reflection: this.extensionCache.properties[attribute] = new ExtensionCacheValue((object[]) value); this.extensionCache is a internal private Field in the base class im inheriting from. I can get at the extensionCache field with ...