I have a big project which is a C# project, I have the source but I didn't build the entire project(it's too large). And the project is not in a VS.NET project, it's built by Makefile. So I am using VS.NET to attach to the process when it is running.
Now what I want is when the process opens a specific file, I want to break it and get a...
I have a load generator that appends a ASP.NET_SessionId to the Cookie when making a Soap test call from Machine A to Machine B.
Cookie: ASP.NET_SessionId=gf0ouay24sdneiuicpiggn45;
However, when I'm running the soap test hitting my local server it doesn't have an ASP.NET_Session variable in the cookie.
Why is this happening?
UPDATE:...
I'm working on localizing an app I've written in C#.
Everything seems to be working nicely, using satellite resource assemblies to translate each form's strings (as per this tutorial: http://msdn.microsoft.com/en-us/library/y99d1cd3%28VS.71%29.aspx)
However, the application will ultimately require quite a number of languages, which mea...
I'm developing a video player using WPF and AxShockwaveFlash.
It has following steps:
find video from a web service.
it acquires information of each video.
pass video information to AxShockwaveFlash and embedded flash video player.
embedded flash video player starts streaming download from web service.
I have a problem on step 4.
St...
I've my software completely functional. Now I need to make an installer(pack) for it.
My software uses MySQL Server, .NET MySQL connector.
So, along with my assemblies I want to pack these MySQL softwares also so that my client can install everything at one go.
How do I do that? This is the first time I'm making an installer, I've no ...
In the past all my db needs were solved by sqlite. Now designing a db that can potentially be large i looked into "Distributed Transaction". How do i program that? I found some results explaining what distributed transaction is but non explained how to program it.
I know in code i have a few transactions that i may want to batch into a ...
I am just trying to create a form control in winform in .net with custom shaped of balloon shape.
There is need of a balloon tooltip which is transparent and I can put buttons on tooltip,but
tooltip in .net does not provide facality that we can put the buttons on tooltip control so
I want to make a form control looks like a balloon toolt...
Hi,
I've built a web service using WSE 3.0 that should interface with various other platforms like IBM's WebSphere. In the addressing part of the request the content of MessageID needs to be in the format uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. Anything else results in a "Bad Request" error. I've been told that according to WS-Addres...
I would like to create an [CustomDataMember] attribute that override the formatter behavior of DataContractSerializer through an IOperationBehavior. I have followed the instructions given by Aaron Skonnard but when I call the DCS serializer, the custom behavior does not get neither instantiated nor called.
Obviously, I am missing somet...
In my .net mvc application, I need to dynamically insert contents from local files into a View page. So that the contents from different files can be display with the same style. So I created a controller called StaticController and an action called General. Following is my code:
public class StaticController : Controller
{
public ...
Hi. I have a problem regarding listview control in asp.net and vb.net. I'm developing a web based application wherein the user will search for a topic and the search results will be displayed and bind in a listview. There's a link in a listview where users can click to view a file.
I want to get the selected value of each item in a lis...
hi
What's the easy way to make a setup of multiple project in a single solution. I have dll most of the project references . when I create a setup it make multiple interop in it.
waiting for your valuable thought.
Thanks
...
Hi to all. Is it possible to restrict a user from opening a sub folder like "permission denied" message should display while trying to open the folder. If yes, help me to solve this using vb.net in winform as well as using vb.net in asp.net
...
I trying to handle to following character: ⨝ (http://www.fileformat.info/info/unicode/char/2a1d/index.htm)
If you checking whether an empty string starting with this character, it always returns true, this does not make any sense! Why is that?
// visual studio 2008 hides lines that have this char literally (bug in visual studio?!?) so ...
Hi Guys,
I need to build a Sharepoint (Windows Sharepoint Services - WSS) site for a project management team. I built application pages(aspx) to handle some dashboard functions.
I would like to apply "security trimming" for the left menu to show the respective menu options for the user's role.
There is no OOTB functionality for this ...
There are dozens of user control in our project. All these controls loads in Toolbox. I think this slows down the system when we work in designer. Is it true? if so the how to remove these controls from tollbox?
Thanks.
...
In my global.asax.cs file. I add an entry
routes.MapRoute(
"Static text",
"Static/General/{filePath}",
new { controller = "Static", Action = "General", filePath = "" },
// new { filePath = @"xxxx" } // greedy regular expression
);
What I want to do is to take the content f...
Hi
I want to merge the catch blocks in the following code for code reuse reasons:
try
{
DoSomeInputOutput();
}
catch (InvalidOperationException ex)
{
HandleKnownException1(ex);
}
catch (InvalidDataException ex)
{
HandleKnownException1(ex);
}
catch (ArgumentNullException ex)
{
HandleKnownException1(ex);
}
catch (Argument...
I was trying to build a social networking site from ASP.NET 3.5 Social Networking book. When I run the code I see the following problems:
System.IO.FileNotFoundException: Could not load file or assembly 'Fisharoo.FisharooWeb'
or one of its dependencies. The system cannot find the file specified.
Source Error:
{
...
In my code I have this everywhere
command.Parameters.Add("@name", DbType.String).Value = name;
Is there an easier way? I would love to do something like
command.command.CommandTextFn("insert into tbl(key,val) values(?, ?);", key, value);
and have it figure out if the key/value is a string or int. I wouldn't mind if I had to use {0}...