dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Lars_V_J

Page 1 of 19 1 2 3 4

Search: Search took 0.82 seconds.

  1. Replies
    0
    Views
    1,518

    TAPI3 Server to Server

    I want to create a server program that handles calls via TAPI for various clients.

    My program will talk to the TAPI server, and clients talk via a server to my program.

    When I look at TAPI3,...
  2. Replies
    0
    Views
    4,456

    TreeView question

    I have a list of a class looking something like this:



    class MyClass
    {
    string Group {get;set;}
    string SubGroup {get;set;}
    string Item {get;set;}
    }
  3. XPathNavigator find node where tag has certain value

    I have an XPathNavigator, and I want to find an instance of an element where a certain tag has a certain value. Something like

    xnavi.SelectSingleNode(ElementName,TagName,TagValue)

    How to do...
  4. Replies
    0
    Views
    2,812

    Swipe or drag and drop

    I want to make an input binding (or command) for drag and drop or rather a swipe (as things will end up on a touch screen). I assume I would use some MouseBinding with a gesture or a MultiBinding,...
  5. Replies
    1
    Views
    1,270

    xmldoc SelectNodes() problems

    I've tried to use both doc.DocumentElement.SelectNodes() and doc.SelectNodes() (not sure what the difference is) to get my hand on some of the data.

    I need to get the value of:
    * m12:Singular
    *...
  6. Re: Office automation throws exception upon initialization

    It is on an intranet...

    I even ran the browser on the server
  7. Office automation throws exception upon initialization

    I have a webapp where the user can make excel sheets. It's been working fine for some time, but suddenly things start to fail.

    When I initialize my Excel process I get an exception.

    Code:


    ...
  8. Replies
    1
    Views
    3,855

    Make TxtChanged fire on any key

    I have a textbox in my aspx (C# backend) where I've made a TextChanged event function (and I have set AutoPostback to true).

    This apparently only fires when I press Enter. How to make it fire on...
  9. Replies
    5
    Views
    1,402

    Re: nullable variables not working on an IIS???

    Thanks.

    I found the error. After adding a bucketload of log statements, I found out that some of the data in a following foreach loop where I fetch data from the table was actually null in the...
  10. Replies
    5
    Views
    1,402

    Re: nullable variables not working on an IIS???

    I believe it is the call to the function that fails, although it places itself on the } that closes the function. Everything in the function is in a try-catch.

    But the fun thing is really, that...
  11. Replies
    5
    Views
    1,402

    nullable variables not working on an IIS???

    I have a function



    public List<LabelCreatorDataClasses.LabelLog> GetLabelLogData(States ?state)
    {
    try
    {
    ...
  12. Replies
    1
    Views
    716

    Getting data from BoundField by name

    For templatefields, I can get data from a textbox in my GwRowUpdating function by

    obj.Name = ((TextBox)(GridView1.Rows[e.RowIndex].FindControl("TxtName"))).Text.Trim();

    And I've seen people...
  13. Replies
    3
    Views
    855

    Re: Make console program unload faster

    I tried something else. I tried to use just the messagebox, and disable all my DB access. Then it closed really fast.

    But my db connection is closed and disposed before I ever show the message...
  14. Replies
    3
    Views
    855

    Make console program unload faster

    I have a very simple console program that looks up something in the database, and if it finds something, shows it in a messagebox.

    The lookup is fast, but the time from I click "Ok" in the...
  15. Replies
    0
    Views
    661

    Deserializing XML into Entity Framework

    I have some code, where I serialize some data from EF into XML and post it to a webservice.

    The response is also XML, and now I want to deserialize that into EF tables.

    The EF tables correspond...
  16. Replies
    2
    Views
    859

    Re: Serialize to XML using XSD

    The problem is, that my request comes from a gazillion tables (and there might be more in the future. But all have an EntityKey field which I don't need etc.
    The things i _need_ are always different...
  17. Replies
    2
    Views
    859

    Serialize to XML using XSD

    I'm making XML files from Entity Framework objects using this code:


    XmlWriterSettings settings = new XmlWriterSettings();
    settings.Indent = true;
    ...
  18. Replies
    4
    Views
    3,291

    Re: webservice using https

    Also: can I remove the part that deals with normal http? And if so, can people still autogenerate client code?
  19. Replies
    4
    Views
    3,291

    Re: webservice using https

    I have just the web.config, and I'm running on VS2012's built-in webserver. The only other config I could thing off is the IIS machine.config when I deploy (but I haven't done that yet).

    Edit:
    I...
  20. Replies
    4
    Views
    3,291

    webservice using https

    I've tried to configure my ws to run https, but with no luck.

    When I try to access the WS using https, it just times out.

    I hope someone can help

    My web.config:


    <?xml version="1.0"?>
  21. Replies
    1
    Views
    531

    identify input from device

    If I have a laptop which has its own keyboard as well as a usb keyboard, a touchpad and a mouse, is it then possible to identify which device gave the input (laptop keyboard vs usb keyboard - one of...
  22. Replies
    8
    Views
    8,368

    Re: Entity Framework - Get Max Length of Column

    Okay...this was weird...
    I made this hack to my code:


    public int Length<TEntity>(string field)
    {
    var item =...
  23. Replies
    8
    Views
    8,368

    Re: Entity Framework - Get Max Length of Column

    I tried to add a function looking like this


    public int Length<TEntity>(string field)
    {
    var Context = ((IObjectContextAdapter)entityFramework).ObjectContext;
    ...
  24. Replies
    8
    Views
    8,368

    Re: Entity Framework - Get Max Length of Column

    Where
    entityFramework = new TCXMLIEntities();

    and

    public partial class TCXMLIEntities : ObjectContext
    {....}
  25. Replies
    8
    Views
    8,368

    Re: Entity Framework - Get Max Length of Column

    public bool VerifyOrderNumber(int OrderNumber)
    {
    Log4netProperties.AddOriginatingServiceMethodToLog4netProperties();

    try
    {
    return...
Results 1 to 25 of 454
Page 1 of 19 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)