Hi folks,
VS2005.NET
I have a website project that references 3rd party dll's and i'd like to have the DLL copied to the bin folder similar to the way Copy Local works for "regular" .Net Project
I'm not sure how to get the referenced file to the output folder for inclusion in the deployment besides dropping it into the project itself...
Has anyone found a means to press tab with watiN in Internet explorer?
...
While rewriting an assembly if I were to instruct a compiler to generate a nongeneric type for each generic instance would the application just get bigger in code and yet have the same performance?
...
I am using BinaryWriter class to write a binary file to disk. When I invoke the Write method, passing an unsigned short value, it writes it in little-endian format. For example:
bw.Write(0xA000);
writes the value in the binary file as 0x00 0xA0. Is there a way to make BInaryWriter use Big Endian? If not, is it possible to create a new...
A little back story: I have small application that will use Word to generate a Outlook signature based on a Word template and data from the company active directory. It works wonderful on computers with Office 2007, since I used "Microsoft Word 12.0 Object Library" when I coded it on my own computer.
There are quite a few computers on t...
Looking for a simple means in .NET to parse an html file to get back all values within <u></u> tags.
Ex: <U>105F</U>
There may be many of these in the file with other tags but all I need is to loop through and get back a list of all the values so they cna then be processed.
Looking for a light small way to handle this.
...
How is it possible to take an XML document and in .Net scramble all text elements to make them un-readable to a human?
E.g. Make
<root><Node1>My Name is Ben</Node1></root>
Into
<root><Node1>klj sdlasd asdjfl</Node1></root>
Points:
We only need scrambling not
encryption, i.e. not human readable
at a glance. It doesn’t matter if...
I have the following code:
var directoryEntry = new DirectoryEntry(distributionListsListADSPath);
var directorySearcher = new DirectorySearcher(directoryEntry)
{ SizeLimit = int.MaxValue, PageSize = int.MaxValue };
var result = directorySearcher.FindAll();
The problem is I want to search two seperate OUs.
So what I do is r...
Hi,
I have the following situation:
using (SqlConnection conexao = new SqlConnection(ConnectionString))
{
SqlCommand comando = new SqlCommand(query, conexao);
comando.Parameters.AddWithValue("id", idUsuario);
conexao.Open();
SqlDataReader reader = comando.ExecuteReader(CommandBehavior.SingleRow);
if (reader.Read())
...
Hi, folks. I would really appreciate to have your help on the following issue:
I have been trying to solve this "Concurrent Programming" exam exercise (in C#):
Knowing that Stream class contains int Read(byte[] buffer, int offset, int size) and void Write(byte[] buffer, int offset, int size) methods, implement in C# the NetToFile me...
Wondering if anyone has used Ninject in a production application? And what pros and cons should one be aware of?
...
During a run through Reflector to find the root cause of a bug in a WPF application, I stumbled across an internal attribute FriendAccessAllowedAttribute that is littered across many different classes, members, etc. However, I'm unable to locate what exactly uses this attribute (if anything). My guess is this is part of the C++/CLI infra...
For example System.Net.HttpStatusCode Enum , i would like to get the HTTP Status Codes instead of the HTTP Status Text
System.Net.HttpStatusCode.Forbidden should return 403 instead of "Forbidden"
how can i extract the value?
...
If your app has 1 form, that has n group boxes each of which contain any number of controls. How would you save the settings of all these controls?
A few things I am concerned are:
I don't need properties like BackColor to be saved, because they aren't changed by the user.
I need a way so that when I add new properties or remove some ...
Currently I am making a mini music player / organizer for myself. However, when using a list view, it sorts alphabetically, and doesn't ignore "The" and "A":
A Lot Like Me
Adiago For Strings
Stay Crunchy
The Foresaken
Time to Pretend
should be:
Adiago For Strings
The Foresaken
A Lot Like Me
Stay Crunchy
Time To Pretend
It's all...
I'm building a .NET client and I referenced a RCW supplied by OPC Foundation.
One of the functions has this parameter:
[IN] IntPtr pPercentDeadBand
The documentation mention that I should pass a pointer to a float value.
This is where I struggle. I found Marshall..WriteByte, .WriteInt16 and .Writeint32.
But nothing to write a float...
Hi there,
Anybody aware of how to call a webservice from Java, whats the recommended way, do i need to download an additional JAR or something?
Anybody know of a good tutorial.. i saw something ksoap but it seems pretty old??
The webservice is actually hosted by WCF on .net but i shouldn't think this makes a difference...
I was hopin...
I have got a windows service written in .NET and I need to be able to implement a self-restarting feature for it.
E.g. service constantly monitors the environment in runs in and once a value of the environmental variable reaches its threashold value the service must restart itself.
What would be the easiest way to do it?
...
I have a project already written using .Net's WebClient class. It works great for FTP and WebDAV resources, but how can I get it to work with SCP or SFTP?
...
Can you run C# code from c++?
and How?
...