Jeremy Vianna's Q&A profile
.NET Development WebService - Sessions & Timeouts
Hi there, I have a webservice for file uploads&downloads that implements sessions to transfer large files. I defined the webmethod with [WebMethod(EnableSession= true )] and web.config Session Timeout to 2 minutes. I don’t know why, but the global.asa Session_End event is not triggered and neither is Application_Error. Is there any thing I have to setup How can I configure the application to fire the global.asa events I need to have ...Show All
Windows Forms How to avoid the application.config file?
Since my applications is windows form based, I am posting here.In my application, developed in Vs2003, I am getting a application.config file. I do not want such a separate file. Can it be included while design time if so, How can i do that Here is the config file. ============= < xml version="1.0" encoding="utf-8" ><configuration> <appSettings> <!-- User application and configured property settings go here.--> <!-- ...Show All
Windows Forms DataGrid With SortList DataSource (update datasouce problem)
Friends, I have tried to find some information about my problem BUT i can't. I have one DataGrid (Windows Forms) that uses for the database one (SortedList - HashTable) SortedList h = DataBase.FillShortList(); // Fill my SortList "Hashtable" DataGrid.DataSource= new ArrayList(h.Values); // Convert my SortList to ArrayList. MY BIG PROBLEM: When the user change one value on the DataGrid (field: Adeb or Acred) I what to UPDATE my SortedLi ...Show All
SQL Server access SQL2005 MOBILE database in a VS2003 mobile app
It is possible to access a Sql Server 2005 Mobile database in a VS2003 application (compact framework) Thanks Robson Not via managed provider, no. You might be able to P/Invoke, but that’s not an easy task. ...Show All
Windows Forms AutoComplete TextBox
Hello, Autocompletion of textbox in .net 2 works differently than I expect. If customdatasource have strings "Good boy" and "Bad girl", it does not suggest anything if I type "boy" or "girl". It only suggests if I start typing from the beggining of the string. Is there a way to extend autocompletion to this functionality Thanks Any suggestions how to do ...Show All
Software Development for Windows Vista problem of cross-threading.
Hi, I am trying to set the controls property in workflow completed method but getting the error " Cross-thread operation not valid: Control btnStartWorkflow accessed from a thread other than the thread it was created on. ". I have tried setting control. CheckForIllegalCrossThreadCalls = false but its still not working. Can any one help me out. Thanks Ekta The problem he ...Show All
Visual Studio 2008 (Pre-release) How do I handle a click event for a button in a ControlTemplate?
I have a ControlTemplate that consists of a horizontal StackPanel with a TextBlock and a Button: < Style x:Key = " MyStyle " TargetType = " {x:Type ContentControl} " > < Setter Property = " Template " > < Setter.Value > < ControlTemplate > < StackPanel Orientation = " Horizontal " Margin = " 1,0,1,0 " > < TextBlock VerticalAlignment = " Center " Margin = " 3 " > < Cont ...Show All
Windows Forms Other DesignSurface problems
We've implemented a custom designer, using DesignSurface etc. and it's all working OK except for a minor niggle: I drag a control from the toolbox onto the design surface, and the SelectionChanged event is fired, and our handler sets the selection on a PropertyGrid. This all works as expected. The problem is that when I click on my control for the first time, the selection changes to the DesignSurface control. Why If I click on the cont ...Show All
.NET Development a couple webservices newbiw questions
i've been asked to create a web service that will receive and XML file, parse through it, and return some XML to the sended indicating if the data was parsed or if there were errors. how can i set up my project to test this out i'd like to be able to step through the code and watch the parsing and the bulding of the XML file I will send back to the user of the service, and also see that i'm actually sending something back. your help is ap ...Show All
Windows Forms OpenFileDialog "hangs" on Windows 2000
I have a WinForms remoted application using a simple OpenFileDialog control. When I instantiate the dialog, the program hangs and never responds. This only happens on Windows 2000. The program functions perfectly on Win XP & Win 98. The ...Show All
Windows Forms Eventhandling in Datagrid
Hallo, I want to know how to implement the Eventhandling such as doubleclick in Datagrids and how to display the record in the selected row. Can anybody please help me thanks n regards swingme Double click http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx#q869q I dont understand the second part of the question but you might find the answer in one of these links http://www.syncfusion.com ...Show All
Visual Studio Express Editions Where is the console window?
I'm new to c# express, but I have want to know where the console window is. I have seen in some tutorials that a console windows pop up and shows the results of your code when you run it, but I can't seem to get his window. For example I try the "Hello, World!" example, I type in the code I run it, a couple of things pop up quickly and go away but I don't see the text "Hello, World!" anywhere. In the tutorial it is shown down ...Show All
Visual C# How do I use XSD in 2005
I am a beginner with C# and I am trying to use datasets. I have been tiring to find some good books on how to use xsd or dataset class in VS2005 and haven’t' found much like this. Does anyone know of good examples or books I can buy that has this information. I understand Datasets (limited) but xsd just are confusing. Any help appreciated I’d like to validate a xml string against a xsd string. To make ...Show All
Visual Studio Tools for Office Full trust is there : Still not working : VSTO, WSE 3.0 Permission / Security error
I'm using VS 2005 RC1, VSTO with Excel, and WSE 3.0 Oct CTP. I've encountered permission when I tried to instantiate the wizard-created classes (the Wse class). The exception is found to be a permission issue on the get configuration section of WSE. The error was the "An error occurred creating the configuration section handler for microsoft.web.services3: That assembly does not allow partially trusted callers." How do I grant the WS ...Show All
Visual C++ Debugger refuses to do anything useful ("No symbols are loaded for any call stack frame. The source code cannot be displayed
This is native DLL project, with an external managed test driver. However, I don't care about the test driver and have set the debugger type to native only. Everything seem to work just fine until I debug into advapi32. Once I hit the breakpoint just after EH setup in CryptAcquireContextA, the debugger effectively dies with the error message above. The UI still works, but I don't have a call stack and can't even show the registers (Regist ...Show All
