hi,
i am developing a windows application using C#.net and i am having a combobox with some list items .on selected index changed event of the combo box i need to have the progess bar to be visible and should disappear after retrieving some data.
i am trying inthe way:
for (int i = progressBar1.Minimum; i <= progressBar1.Maximum; i++)
...
I find the table layout panel in c# (.net 2.0) to be very primitive. I wanted to allow my users to resize the columns in a table layout panel but there are no ready made options to do so. Is there a way atleast to find out whether the cursor is directly over any borders of a cell and if so, which cell is beneath it ?? May be having this ...
If I have a List(Of x) and a List(Of y) is it possible to iterate over both at the same time?
Something like
for each _x as X, _y as Y in List(of x), List(of y)
if _x.item = _y.item then
'do something
end if
next
These lists may be of differing sizes.
I am using .Net2.0 which I suspect is my downfall here as I ha...
I've recently come across the following situation. I have a UserControl that can show a modeless toolbox. If the user has shown the toolbox, I'd like to hide and show it appropriately as the UserControl itself becomes invisible or visible, respectively. The UserControl can be embedded in an arbitrary number of parent containers, such ...
I am currently developping an web site that require DateTime entry and I am using MaskEdit extender on the TextBox used to enter the date and time. These DateTime are used as input to compute the total hours and other stuff that need to be displayed back on the same page (for previewing)
However, after the postback using MS AJAX, my com...
I have a web application that I expect to intergrate features in assemblies from two separate providers. One set (Set1) of assemblies is build on .NET 2.0 while the other set (Set2) of assemblies ABSOLUTELY requires .NET 3.5. For Set2 assemblies to work, I have to add a (system.codedom) section to web.config and specify the v3.5 compiler...
How can I give a Vista or Mac OS X style glass effects on windows forms applications in .net 2.0?
...
How can I create a Winamp-Style multiple-form snapped application in C# and .net 2.0?
...
.NET 2.0/VS2005
I am trying to use the XslCompiledTransform class to perform a XSL Transformation. I have two XSL files, the first of which includes a reference to the other in the form of an <xsl:include> statement :
Main.xsl:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:include href="Incl...
Hi,
I have a strange problem. While populating formfields, the values are maintained when clicking a'submit' button that causes the page to proceed to the next stage. I try to populate a hidden field from the code behind on the event of a 'find 'button click (before clicking this 'submit' button and this works. But the value is not mai...
Where I work, we do a very large number very small ASP.NET apps, and it has happened a few times that sites have been deployed in precompiled format, and the app needs to be changed, but the version of the code available in source control is out of date and the developer is not available. The app's dll has to be decompiled and hacked bac...
We have this XML schema:
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Log">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="LogEntry" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:sequ...
For signing an assembly with sn.exe in .NET, is it possible to specify a public key for which the private key is contained only within the Windows CryptoAPI keystore?
I see the option for specifying the CSP name, and the container name.
Are there values to use to access the Windows certificates? (i.e. those accessible from Windows EFS,...
I have a page that uses GridView to display some data taken from a stored procedure
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:DBConnectionString1 %>"
SelectCommand="p_get_all_students" SelectCommandType="StoredProcedure">
</asp:SqlDataSource>
One of the columns re...
We have a global application (well out of my control) that runs a lot of sites.
I'd like to create a new application (as I cant extend etc) within a folder so it could be accessed as follows.
http://www.domain.com/ < Global App
http://www.domain.com/newapp < New App
Is this actually possible or just a pipe dream; I'm aware that its p...
The issue I'm currently having is mapping multiple GUI fields to object properties (i.e. Presentation layer to Business Logic Layer mapping). To be more specific, this is in VB.Net 2.0 WinForms.
The nature of the solution requires us to have 4 columns which exhibit the same type of behavior on our GUI - each column consisting of 11 tex...
I have inherited some code and I'm not very familiar in dealing with web services. Here is how the project is set up:
Under "Web References" there is a reference to the web service we are using. In that service's Reference.cs file there is class that inherits from SoapHttpClientProtocol, this class has a function called CandidateAdd()...
Hey All,
I've got a strongly typed dset, w/two datatables: Parent and Child, w/a relation linking them in the way you'd expect (e.g. parent-has-many-children).
On my Child Detail form, I show lots of info on the current child, w/binding calls like so:
me.txtBirthDate.DataBindings.add(New Windows.Forms.Binding("Text", MyDataset, "Child...
Hi
I have compiled a NET 2.0 application using C# 2005 Express on a machine that also contains VS 2008 Express. When I run the app on a machine with .NET 2.0 SP1 runtime only the application doesn't execute and raises an error about sending report to Microsoft etc. I have the impression that the compiler silently referenced certain 3.5 ...
How do I compare values of one data set from another.
1st dataset["proper records"](coming from sqlserver, with column name [id],[subsNumber]),
2nd dataset["proper and inproper records"](coming from progress database, with diffrent coulums except 1 which is[subsNumber]).
how do I go and make another dataset which has all the [subsNumbe...