Search results for query: *

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

    ApplicationSettings bound controls don't refresh when a web interface changes setting

    Got a problem here that's driving me nuts I have a program that opens a windows form and also starts an HTTP listener. Let us suppose there is one textbox on the form, whose text property is bound to the application settings "MyText" If I programmatically change the setting directly using a...
  2. cjard

    if(false) is executing :( - can anyone help explain?

    Guys. Apologies for the C#ness of the video below. I've got a real issue here, biugging me for the past few hours. The condition in my IF is evaluating to false, but VS2010 Pro runs the if block anyway. Noone in my team can explain it; this is a new built laptop, windows 7, vs2010 pro and i've...
  3. cjard

    Submit.. submit.. submit.. submitsubmitsubmit.. submit.. submitsubmit.. .. submit..

    Ever since the forums upgrade, this forum spends a lot of time submitting some data/downloading something from ads.nc-software.com and img.ok-cdnsomethingblahblah.. It sometimes submits several times per second and the constant click click click of IE8 is doing my head in I'd like the ad...
  4. cjard

    Bug: HCI issue with replying to threads

    For the second time I've just lost a posting because I've written it in the Quick Reply box at the bottom of the thread and then clicked on the bright, highly visible button.. [+ Reply To Thread] ..that is immediately above the quick reply box. Call it the fault of my own stupidity for...
  5. cjard

    FYI TableAdapter and Stored Procedure / Function Return Values

    ...memory" error that always appears if you try to add an Oracle anything to a dataset that is empty. You can delete your random table later * Right click the surface and choose New Query * Sort out the connection string (if needed) * Choose USE AN EXISTING STORED PROCEDURE * Choose the...
  6. cjard

    Tip An interesting hack for calling a function..

    I have a generic CSV loader here at work. It receives a CSV and according to some parameters (connectionstring, function name, columns-to-parameters mapping) the loader reads the CSV and calls the nominated function, passing parameters as found in the CSV Suppose we have a CSV: a,1,banana,#...
  7. cjard

    How would you tackle this?

    I receive an XML file, the schema of which I designed to be generic and usable for a number of company problems. I must transform it and send it on to a third party in some cases. My client quotes a unique ref to me, and I must quote a ref (unique to me) to the third party. Because I will...
  8. cjard

    The new smilies

    are gay; theyre too large and too Toy Story. Can we revert them please?
  9. cjard

    XSD generated code/XmlSerializer, elements have empty namespaces ?

    Hi all I have an XSD that has a relatively simple structure: two complex types the root element contains a choice of one of two elements, both of which are the parent complex type, but with different names on the parent and child complex type rootE +resultA (parentComplexType1) +detailA...
  10. cjard

    XmlSchemaForm.Unqualified upsets XmlSerializer

    Guys I have some code that the xmlserializer is deserializing to. the xml looks like: <request xmlns="namespace"> <abc attr="val"/> </request> A certain property looks like: <System.Xml.Serialization.XmlElementAttribute("svaRef", Form = Unqualified)>_ Public Property abc As...
  11. cjard

    Deserializing derived classes

    I read that XmlSerializer has a constructor for (Type, Type() ) The array is used to specify extra types to deserialize. XmlSer doesnt seem to try very hard when deserializing an inheritance hierarchy though Suppose we have xmls: <request foo="bar"> <abc>blah</abc> </request> <request...
  12. cjard

    Creating a web service that forms messages corresponding to an existing XML/XSD?

    All I have a requirement to create a web service that will do stuff so as to replace an existing system for which the input and output xml is known, but the source code is not available. Can anyone provide any pointers as to how I can write the code such that the request XML it...
  13. cjard

    Cannot implicitly convert type 'System.Collections.Specialized.StringCollection' to..

    The documentation says: And when we try to assign a StringCollection: Cannot implicitly convert type 'System.Collections.Specialized.StringCollection' to 'System.Windows.Forms.AutoCompleteStringCollection' There is no inheritance hierarchy linking the two types.. So far, I'm clear the...
  14. cjard

    TcpListener binding to multiple IP addresses (not 0.0.0.0)

    Quick Q: This machine has TEN (10) IP addresses. I want to listen on port 12345 of FIVE out of the ten only. Can TcpListener bind to 5 out of the 10, or do I create 5 listeners, one for each IP? So far I think the latter because I only found reference to creating a TcpListener with one IP/port...
  15. cjard

    asdfasdfasdfasdf

    asdfasdfasdfasdfasd
  16. cjard

    Slick!

    Posting a URL just by pasting it into the body now seems to make the forum retrieve the <HEAD> text for the link and use it as the link text I pasted: h t tp : / / w w w.sqlteam.com/forums/topic.asp?TOPIC_ID=49926 It shows as: SQL Server Forums - Export to Excel Slick!
  17. cjard

    the URL tag has a bug

    I notice it's not possible to put relative URLs in a URL tag, because it rather simply prepends "http://" to the start if it doesnt exist, and that's it. Thus, relative URLs end up as a <a href="http:///showthread.php..."> This is kinda a nuisance, because VBDNF allows login to either of...
  18. cjard

    Resolved I dont get it (Mark this thread as resolved, part2)

    I notice that CodeGuru.com use vBulletin 3.0.16 which is 0.7 versions behind yours, but their thread tools menu has an entry "Mark This Thread As Resolved" OK, noone uses it but there must be a hack out there for this if Jelsoft didnt put it in already
  19. cjard

    Any tools out there that can help with writing documentation?

    Wondering if there are any tools that can: Read source code Identify methods Identify parameters Assess which exceptions are thrown (yep.. the compiler probably can) and then use this info to generate a comment stub for my apps so that I can just fill in the stub and have it edit my source to...
  20. cjard

    Cannot serialize exception: .Data property is IDicionary -> subclass XmlSerializer?

    Cannot serialize exception: .Data property is IDicionary -> subclass XmlSerializer? Guys.. I'm having a small prob where I am running a process and logging the XML it makes into a table in Oracle where one field is XMLtype (so xml have to go in there) When I hit an exception i want to log...
Back
Top