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 18 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: Office automation throws exception upon initialization

    It is on an intranet...

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


    ...
  3. Replies
    1
    Views
    2,764

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

    I have a function



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

    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...
  8. Replies
    3
    Views
    320

    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...
  9. Replies
    3
    Views
    320

    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...
  10. Replies
    0
    Views
    203

    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...
  11. Replies
    2
    Views
    222

    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...
  12. Replies
    2
    Views
    222

    Serialize to XML using XSD

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


    XmlWriterSettings settings = new XmlWriterSettings();
    settings.Indent = true;
    ...
  13. Replies
    4
    Views
    615

    Re: webservice using https

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

    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...
  15. Replies
    4
    Views
    615

    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"?>
  16. Replies
    1
    Views
    234

    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...
  17. Replies
    8
    Views
    2,102

    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 =...
  18. Replies
    8
    Views
    2,102

    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;
    ...
  19. Replies
    8
    Views
    2,102

    Re: Entity Framework - Get Max Length of Column

    Where
    entityFramework = new TCXMLIEntities();

    and

    public partial class TCXMLIEntities : ObjectContext
    {....}
  20. Replies
    8
    Views
    2,102

    Re: Entity Framework - Get Max Length of Column

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

    try
    {
    return...
  21. Replies
    8
    Views
    2,102

    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:...
  22. 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?
  23. Replies
    3
    Views
    7,050

    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...
  24. Replies
    1
    Views
    1,382

    Entity framework errors pls help!!!

    I get the errors:

    Error 1 Error 10027: The XML namespace for the conceptual model's Schema element is not supported on this project's target framework...
  25. Replies
    3
    Views
    235

    Re: Interfaces and partial clases HELP

    Thank you for your fast reply.

    Sorry about the formatting. I did make the member functions public, only not in the example above.

    I wonder if MS requires the interface functions to be in the...
Results 1 to 25 of 449
Page 1 of 18 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center