How can i register a visual basic 6 dll in the global assembly cache to be able to add it as a reference in a sql server integration services script task.
...
I have read many questions (and answers) around here that had similar sounding terms in them as this question, but all of them ended up being about building against different major versions of .Net. I am in much deeper trouble, unfortunately.
Here is the story. Our customers use version 2.0 of the .Net framework. Just 2.0, no service pa...
I have been using windows performance counters from .NET for a while. I am not too happy with them and am wondering if there are alternative ways to dump out information from the app for collection by a tool/subsystem that:
1 - shows the current value of certain counters (like the Report mode of performance counters)
2 - shows the value...
I have a C# windows service acting as a server, the service holds some large (>8Gb) data structures in memory and exposes search methods to clients via remoting.
The avg search operation is executed in <200ms and the service handles up to 20 request/sec.
I'm noticing some serious performance degradation (>6000ms) on a regular basis fo...
Hi,
Firing a RowDataBound event, my question is how do I pull out the DataKey for GridviewRowEventArgs e?
I have a table of Publications and surprisingly enough the key is PublicationID, however I do not have a boundfield to publication id but have it specified as a datakeyname. I can get the information using:
int pID =Convert.ToInt...
This is my code:
type Cell<'t>(initial : 't) =
let mutable v = initial
let callbacks = new List<'t -> unit>()
member x.register c = callbacks.Add(c)
member x.get () = v
member x.set v' =
if v' <> v
then v <- v'
for callback in callbacks do callback v'
member x.map f =
let c...
Before I start, I want to point out that I'm pretty sure this actually happened. All my logs suggest that it did.
I'd like to know whether I'm wrong and this is impossible, whether it's just incredibly unlikely (which I suspect), or if it's not that unlikely and I'm doing something fundamentally wrong.
I have 4 instances of the same c...
Hi,
I have a DataSet which contains two tables, Publication and Owner, which are linked on Publication ID. How do I query the dataset? What I am trying to do is get all of the owners for a particular publication, and then I want to iterate over the resulting set, concatenate the owner names together and populate a label with the infor...
I ran into an issue with some third party software that we use to track software license usage in our computer labs. We recently migrated the app to 64-bit Server 2008 after receiving assurances from the company that it was compatible and running some preliminary tests that showed that the app worked in the 64-bit environment. Unfortun...
I am looking for a well rounded ORM that handle concurrency with ease for .NET. It should also be threadsafe.
Any recommendation? Pls elaborate why you choose this particular ORM.
...
I'm trying to create a custom set of classes that can be added to a WPF control through XAML.
The problem I'm having is adding items to the collection. Here's what I have so far.
public class MyControl : Control
{
static MyControl()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(MyControl), new FrameworkPropertyMetad...
When using the DirectorySearcher in .net, are these two statements equal?
Same for both:
Dim ds As New DirectorySearcher
' code to setup the searcher
First statement
ds.FindOne()
Second statement
ds.SizeLimit = 1
ds.FindAll()
...except obviously that FindOne() returns a SearchResult object and FindAll() returns a SearchResultCo...
I don't want to replicate code across overloaded constructors as below. How do I refactor it?
/// <summary>
/// Represents a pseudo-random number generator, a device that
/// produces a sequence of numbers that are normally distributed.
/// </summary>
public class NormalDeviate : UniformDeviate
{
double mean;
double standardDevi...
There are lots of training methods from different vendors to learn .NET technologies (i.e. books, DVDs, online training, etc.).
All of them claim the same thing: that they are the best, their content is 100% guaranteed, makes their customers professional in no time, etc.
It’s confusing and sometimes frustrating as well. I especially wa...
The documentation of CharUnicodeInfo.GetUnicodeCategory says:
Note that CharUnicodeInfo.GetUnicodeCategory does not always return the same UnicodeCategory value as the Char.GetUnicodeCategory method when passed a particular character as a parameter.
The CharUnicodeInfo.GetUnicodeCategory method is designed to reflect the curren...
When using the FindAll() method of the DirectorySearcher in .net, does the GetDirectoryEntry() method of the SearchResultCollection require another trip to Active Directory? e.g....
Dim src As SearchResultCollection
Dim ds As New DirectorySearcher
' code to setup DirectorySearcher
' go to Active Directory and fill collection with resu...
I came across Mono.ZerConf, but from what I can tell it still relies on mDNSResponder on Windows and Avahi on Linux.
But I'm trying to figure out if it would be possible to implement on the XBOX 360 / XNA, but I obviously can't run mDNSResponder on the 360, though if there was an implementation that was completely in .NET I may be able ...
Hi,
I have an update panel with some controls in it. for example, I have a label, a textbox and a button to postback.
My label text is retrieved from the resource file, therefore, during page load I do the following
Page_Load()
{
If(!isPostBack)
{
Label.Text = //Resource value;
}
}
Problem is, after posting ...
Hello, I am looking for help in how to create a regular expression that extracts a substring from a string that looks like the following:
test123 #AMMA-TestFileName File's.xml
to...
AMMA-TEstFileName File's
Basically, removing the first "#" and everything before it. In addition, removing the ".xml" file extension.
Any help is appre...
I'm trying to bind an image using Eval() with VB.NET and ASP.NET, but am running into issues:
Code snippet
<bri:ThumbViewer Id="Th1" runat="server"
ImageUrl='<%# Eval("Name", "~/SiteImages/ram/3/{0}") %>'
Height="100px"
Width="100px"
/>
I set strImagePath in the code-behind as:
strImagePath ="~/SiteImages/ram/3/"
H...