Is it easy to get information about uploaded media (in asp.net).
The format of the media can be flv (video), mp3 (sound) and jpeg, png and gif (images).
I would need resolution (video and images) and duration (video and sound).
Are there .NET api's to get this information or will I have to use third party libraries?
...
Hi,
I have a .NET webservice, and derived versions of it.
My question is, in the derived versions, I have a method I want to hide(from WSDL and front page). I have tried overriding, marking it as obsolete, setting it as private and overriding, but still, the webservice attribute is still "having its way".
Is there any way to remove a ...
I want to create a calendar in my application that external users can view.
The CalDAV (basically WebDAV+iCalendar) format seems to be relatively widely supported, although if rather unusually by some clients (Outlook, for instance). Completely new to me though.
I want to externally publish events, I don't need users to be able to upda...
Hi. There are several options for C#-based programs to determine which .Net version is installed. But is it possible to determine if .Net IS installed? I mean if I run C#-program on a machine without any .Net installed, I get the following error:
Myprogram.exe - Application Error
The application failed to initialize properly (0xc0000...
im new on informix and i did a webservice on .net c# that calls 3 different store procedures. What i like to know is if Informix or .Net opens 3 different connections to execute this procedures or just opens 1 en re-use it for each of the procedures also if i execute this webservice on different pc's each of the pc's will open a connecti...
Suppose I have Two Objects:
object1, object2
When I do the following assign:
object2.Foo = object1.Foo; //Edit: where Foo is a reference type
What does the garbage collector do:
Does it collect object1, while perserving the value assigned to object2.Foo?
Or, Does object1 persist until object2 is collected because object2.Foo refe...
Hi guys, I have a domain model that uses IoC with Microsoft Unity.
For the validation I use VAB and I decorate the interface, not the entity.
The code the following:
interface IJob : IValidable
{
[NotNullValidator]
string Name { get; set; }
}
interface IValidable
{
bool IsValid { get; }
void ValidationResults Validate();
}
class J...
I'm using .Net 2.0, ADO.NET, a dataset and data adapters to manage my data, and Microsoft SQL Server 2005 as database manager.
I have an application that generates a great number of results (500K+) and saves them in a database. If one result generation fails, I would like to not save any of the results. So I put all the database inserts...
i am developing tab button as user control, how can i make it to behave as radiobutton. "When the user selects one option button (also known as a radio button) within a group, the others clear automatically". thank you.
...
I've just started working with SSRS and so far I've been able to show reports in my Winforms app using the ReportViewer, by hard-coding the report path. I would like get a list of reports from SSRS so I can display them and let the user select which one they want to see.
Is there a way to request the list of reports from SSRS? Thanks....
Is there any property or any function is giving which is prevent above issue..
i made a one register form.. and my friend inserted tag into username.. and it will raise a error at server side.. i tried to prevent it. with validation but.. it cant..
i did it.. check out this line..
txt_countryname.Text = HttpUtility.HtmlEncode(txt_co...
I'm working on implementing an event aggregation with Prism. I have a few modules, and I want each of them to subscribe to events that tells them when they are requested. I started out doing an all plain example with both subscribed and publisher in the shell. No problems there. Now; when I move the subscribers out to my modules they don...
Okay, I will cut and paste from .NET reflector to demonstrate what I'm trying to do:
public override void UpdateUser(MembershipUser user)
{
//A bunch of irrelevant code...
SecUtility.CheckParameter(ref user.UserName, true, true, true, 0x100, "UserName");
//More irrelevant code...
}
This line of code comes right out of Sy...
I am currently converting what was a Console Application into a Windows Form application.
Fortunatly i initially designed the application to work with a GUI in the future so there was not much code to change.
I have a UserCollection class which itself holds a List<> of type User/Member (Member is derives from User).
What i would like t...
Let's say I have teh following:
{{Hello|Hi|Hey} {world|earth} |
{Goodbye|farewell} {noobs|n3wbz|n00blets}}
And I want that to turn into any of the following:
Hello world
Goodbye noobs
Hi earth
farewell n3wbz
// etc.
Paying attention to the way the "spinning" syntax is nested. It could be nested a billion layers deep for al...
i don't want to encapsulate every call in a try catch block
is there an event i can subscribe to, for when a connection is lost or timesout so that i can reconnect..
or some way to not check every linq query.
and if not why not!
Edit: Does Linq to Entity's have this?
Edit: I'm using Microsoft SQL Azure, and it drops connections alo...
I only have SQL Server 2008 Client tools. I would like to use Spy++, but of course, it only comes with the Visual Studio installation.
Is there a good replacement for Spy++ that I can use?
...
i have a project on newsletter management system. in asp.net.. i am student and i want to provide such a facility in my project for who is become a member of my website and join a group in that so .. whenever admin put a news or any tips and trick.. it will be sent on
that group member .. via sms..
so.. can any one tell me how can i s...
What is the easiest way to upload images to database using C#?
...
Hi
I used reflection many times before on public methods but never realized that private methods can be invoked too. See the link
I am still thinking why is that allowed in the first place?
Isn't that going to break the rule of "private" being "private"?
puzzled
AJ
...