Search Results - CodeGuru Forums
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.05 seconds.

  1. Replies
    0
    Views
    454

    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,...
  2. Replies
    1
    Views
    1,065

    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
    *...
  3. Re: Office automation throws exception upon initialization

    It is on an intranet...

    I even ran the browser on the server
  4. 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:


    ...
  5. Replies
    1
    Views
    3,444

    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...
  6. 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...
  7. 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...
  8. nullable variables not working on an IIS???

    I have a function



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

    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...
  10. Replies
    3
    Views
    573

    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...
  11. Replies
    3
    Views
    573

    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...
  12. Replies
    0
    Views
    391

    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...
  13. Replies
    2
    Views
    528

    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...
  14. Replies
    2
    Views
    528

    Serialize to XML using XSD

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


    XmlWriterSettings settings = new XmlWriterSettings();
    settings.Indent = true;
    ...
  15. Replies
    4
    Views
    2,015

    Re: webservice using https

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

    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...
  17. Replies
    4
    Views
    2,015

    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"?>
  18. Replies
    1
    Views
    342

    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...
  19. Replies
    8
    Views
    4,723

    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 =...
  20. Replies
    8
    Views
    4,723

    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;
    ...
  21. Replies
    8
    Views
    4,723

    Re: Entity Framework - Get Max Length of Column

    Where
    entityFramework = new TCXMLIEntities();

    and

    public partial class TCXMLIEntities : ObjectContext
    {....}
  22. Replies
    8
    Views
    4,723

    Re: Entity Framework - Get Max Length of Column

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

    try
    {
    return...
  23. Replies
    8
    Views
    4,723

    Entity Framework - Get Max Length of Column

    I've been looking for at way to ask EF about the max length of columns to avoid truncation errors.

    I found these two articles:...
  24. C#/ASP.NET webapp shows blank page when left alone

    My customer complains that a webapp shows a blank page (also when he tries "View Html" in the browser when he leaves the webapp for some hours. Any idea what could cause that?
  25. Replies
    3
    Views
    7,458

    Encryption of connection strings

    What is the best/easiest way to encrypt a connection string in the app.config file?

    MS has a lot of articles on this, but I'm not sure which is the easiest and which is the best etc.

    What do...
Results 1 to 25 of 451
Page 1 of 19 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


HTML5 Development Center