I am working on a CRUD application using .NET and I have about 10 or so dialogs I must implement. The user will enter information on one dialog and be sent to another dialog depending on the information being passed. This application basically mirrors what Spring MVC and JSF do when passing information between JSP pages.
Is there a de...
Duplicate
What is the difference between net components and com components
What is the exact difference between COM and .NET?
Is .NET a simple cloak of COM or is it something completly
different?
...
Hello,
FormsAuthenticationModule is used for tracking user and role information using encrypted cookie.
But does this module also contain code that actually detects whether user requesting web page has forms authentication ticket and if not, redirects user to login page, or is it actually UrlAuthorizationModule that tells FormsAuthe...
I have a web app in production that is used for typical data entry,retrieval, and reporting type functions. For reasons of mobility(field access required) I have been tasked with porting that Web App to a Desktop App. The structure of the existing app, which I did not design or code, is thus:
3 Individual Projects each with there ow...
What's an easy way to create a directory on an FTP server using C#?
I figured out how to upload a file to an already existing folder like this:
using (WebClient webClient = new WebClient())
{
string filePath = "d:/users/abrien/file.txt";
webClient.UploadFile("ftp://10.128.101.78/users/file.txt", filePath);
}
However, if I wa...
In VB.NET, you can surround a variable name with brackets and use keywords as variable names, like this:
Dim [goto] As String = ""
Is there a C# equivlent to doing this?
...
We have a type caching system in place to avoid searching all plug-in assemblies for all types each time our application starts up, but when moving from .NET 1.1 to 2.0+, the Event Log records a Fatal Execution Engine Error (6B3979C6) (80131506) on the AppDomain.Load()
If and only if
1. the AppDomain is NOT AppDomain.CurrentDomain.
2....
Do you use any of the refactoring tools like DevExpress' Refactor Pro? Which tool do you use and why?
I'm looking for recommendations. Ideally I'd like open source tool that works with VB and C# inside VS2005 and VS2008. If I had to narrow down my list of ideals, I would purchase something for VS2008. Not sure on the language choice, pr...
My previous post about this issue didn't got too many answers and it was kinda specific and hard to understand. I think I've managed to understand the problem better and I now believe it to be a Vista issue...
The problem lies on all types of fixed border styles like FixedDialog, Fixed3D, FixedSingle and FixedToolWindow. It does not hap...
I would like to create a class that compiles into a single DLL. This DLL would add functionality to an existing product.
To make this work, the custom class references DLLs contained in the underlying product. These references are needed to compile.
Everything works fine here and the custom class compiles. I can drop the DLL produ...
HI
Could you please give me an idea of how to write a .net web service to call a java web service (written by different person) via SOAP.
Thank you
regards
Aparna
...
I've been using Microsoft.Jet.OLEDB.4.0 and Microsoft.ACE.OLEDB.12.0 to read in .csv, .xls, and .xlsx files.
I just found out that neither of these technologies are supported in native 64bit mode!
I have 2 questions:
What is the supported way to
programatically read .csv, .xls, and
.xlsx files in 64 bit mode. I just
can't find answe...
I have been given the task to re-code an old VB6 page. This page exports data from our database and imports it into another. While the export/import is happening, I need to offer the user confirm boxes. The context and results of these confirm boxes all depend on server-side validation. In the old code, the author simply did:
If Ms...
Hello, I am mainly a Python programmer. Now I am trying to learn C# .NET.
I see there is a .NET Framework Reference here: http://msdn.microsoft.com/en-us/library/d11h6832.aspx
But it is quite user unfriendly. I can't even find System.Console without digging through System namespace even though they have System.CodeDom or System.Collec...
Consider the following custom attribute:
[Abc.Text(MaxLength=33)]
public Abc.Text heading = new Abc.Text();
MaxLength is defined in the class TextAtrribute:
public class TextAttribute : Attribute
{
public int MaxLength {get; set;}
}
In other code I have, the Text class needs to know its MaxLength.
Is there a way I could do some...
hey guys
I came across the Dell Studio One 19 on the web the other day, and wondered what the Dev environment for the Multi-Touch was?
Anyone out there developing for this, or know what the environment is?
I know that to develop for the HP TouchSmart you need HP's own SDK....and it doesn't sound too good to me (check out this .NET Roc...
I am using regex in Find/Replace in VS IDE. I need to replace the string message="My message" in all aspx files with an empty string. The html looks like this
<input id="test" message="My message"/>
I am trying to use the regex to find for message="{.*}" but it doesn't work.
...
I've just joined a small team of developers and there doesn't seem to be any rhyme or reason to the way each developer sets up their development environment or how they use version control (currently Source Safe).
I made the "mistake" of asking a question about their standard practices. To keep a long story short, this earned me the tas...
When you write an iterator function in C#, using yield syntax, the compiler internally translates your function into a class. So, if I write something like this:
IEnumerator<int> MyIterator () {
for (int i = 0; i < 10; i++)
yield return i;
}
Invoking MyIterator() constructs a class with a private field for i, instead of using a ...
I'm looking for some code (C# or VB.NET preferred) to iterate through all folders in an Outlook mailbox and return the names of those folders. I'm not looking to pop up the Outlook folder dialog, but rather to return the folder names in a given mailbox from outside Outlook.
Thanks
...