A little background on the situation:
Multiple users RDC to a 2003 Server. For workflow management each user logs onto the server under their own credentials.
Each user researches data for multiple clients. These external websites make heavy use of persistent cookies(IE and Flash) and sometimes certificates that require time consuming...
I am sending a filename(string), filesize(int), and the file(byte[]). What is happening is that in certain cases, depending on how quickly the data gets processed on the server side, the NetworkStream has read the data that I dont need yet.
Example: I do a .Read to get the filename, I will get the data for filename,filesize and the fi...
If I reference the Python Standard Library using IronPython do I have to deploy any Python related libraries or runtimes along with my .net dll? Or, can I just deploy the dll?
...
Hi all,
I work in a small developing team with 3 developers and none of us are really 'uber elite programmers' but we get by pretty well for our company. One thing that has been constantly recurring is we keep using the same resources in multiple projects. One example being the fckeditor control, however it stinks to constantly add this...
Hi there,
I have a parent web application and a child web application. I am using single sign on between them. The child application is supposed to redirect anonymous users to the login page of the parent application We just updated both to .net 4.0 framework and now the SSO doesn't work anymore.
The setup is as follows. I have the...
I am trying to write a code activity which uses service discovery to locate a discoverable service. I created a service contract and config file for the service using svcutil. Then I added the generatedproxy.cs (this is the name i gave to it) and app.config files to my code activity project. I am using the following code in the code acti...
I'm looking to have a Windows Forms toolbar overflow its buttons onto a second toolbar another level down rather than having the dropdown menu. We find that it is not obvious to our users that they need to click the dropdown to see more tools. Suggestions?
...
In a gridview I have the following Template Field containing a textbox
<asp:TemplateField ShowHeader="true" ItemStyle-HorizontalAlign="left" ItemStyle-VerticalAlign="Middle" ItemStyle-Width="106px" HeaderText="Actual Order">
<ItemTemplate>
<asp:T...
I have a simple WinForm application that involves a TextBox displaying multiple lines of... get this... text. When I click on the horizontal scrollbar on this multiline TextBox, the horizontal scrollbar jumps all the way to the right, which I really don't want it to do. It will cause pretty serious usability issues.
Anyone know what cau...
I've got a custom ItemsControl in my project and I'm trying to write a style for it that combines a static list of items with a list of items on a Dependency Property on the control itself.
Here is the respective XAML in my Resource Dictionary:
<x:Array Type="{x:Type System:Object}" x:Key="Static_CloudItems">
<Button>One</Button>
...
The Code Part
</head>
<body>
<script src="/c/Currency.js" type="text/javascript" ></script>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" >
</asp:ScriptManager>
<div id="Content">
<div class="nobg">
<div id="Top">
<div class="left">
<a hr...
I'm trying to build a treeview like file list in a richtext box.
It should look like an explorer treeview. My code is able to get an resize the icon, but the transparency is missing (light gray background instead of transparency). What do I need to change here? Is the Image format wrong?
Is there a better way to add an image to a richte...
I want to put millions of records into memory. The records have fields that cannot be determined at compile-time. The fields may have different types, some doubles, some ints, some strings, etc. Since I have to store so many of them, I want the in-memory representation of these records to be as efficient as possible.
In C++, I'd make ea...
Easy one here I think, can you confirm that each code page is implemented as a seperate and unique subclass of System.Text.Encoding in .NET 2.0?
...
I need a code to count how many commas there are in a richtextbox line. If there are 4 or more commas then do something, else delete line.
...
I have an application which calls SerialPort.Open() ...
This works fine and data is read/written through the port.
However if a user decides to kill the Application through the TaskManager the application will close without calling my destructor calling SerialPort.Close().
This in turn (only sometimes) causes the following error:
Acces...
I have a situation where I have to dynamically create my SQL strings and I'm trying to use paramaters and sp_executesql where possible so I can reuse query plans. In doing lots of reading online and personal experience I have found "NOT IN"s and "INNER/LEFT JOIN"s to be slow performers and expensive when the base (left-most) table is lar...
I have a ViewModel whose properties are bounded to from the View (XAML file).
I also have a property "StaticText" in the code behind file.
how can I access the property "StaticText" from inside the ViewModel ?
as suggested by Cameron, i've created a dependency property in my View :
String textToTest="I am just testing .";
pu...
We have a WCF click-once install application being served from an IIS website over HTTPS. It is in a subdirectory of another site which does have authenticaton (Mixed mode, both windows and form) but not applied to this folder. It also has a very high duration static cache configured, which caused us issues with our WCF app so we disable...
Hi Dear All,
I am having a problem using Sqlite with .Net/visual studio and need your help very much.
The problem is:
I have garbled text in the ID column with data type 'uniqueidentifier' in Sqlite Database when viewing table data via some GUI tools (I try different tools)
It shows fine when retriving data in .net code, but just mak...