Hi,
In my Bing Ajax Map app the user is presented with a list of locations they can choose from. OnRowClick the map center and zooms on that places location. After it has focused on that location, it shows the info window for it as well.
The problem is that the info window seems to be loading before the map has finished panning. This c...
I'm using System.Speech.Recognition in Windows 7 to let the user control a program by voice commands. The recognition code is integrated into the program itself. Now, the recognition engine is created at program startup and recreated if the user changes the voice recognition language. This all works fine.
Recently we had an issue with t...
i want to play mp4 videos on iis(v6.0) webserver, i have setting for extentions for .mp4, and also set up mime setting like this:
---- .mp4
---- video/mp4
But can not play the file in quick time or flash players on my webpage...
I also placed the below link in address bar but : cann't display page came..
http://www.mywebsite.com/folder...
I have the following code (details removed for clarity):
private abstract class Base<TResult> {
private readonly System.Func<TResult> func = null;
protected Base(System.Func<TResult> func) {
this.func = func;
}
public TResult Execute() {
return this.func();
}
}
...
Hello Guys,
Most of you might have known already that godaddy does'nt have any plugins or components to directly connect to the database hosted on their servers to run a sql statement. Godaddy wants the developers to login into their sql management interface and run the queries, which is a time consuming process and more over I personal...
What exactly is OData and how important/necessary is it to start learning this new concept, wrt implementing data services?
Also why is the WCF Data Services documentation so tightly coupled with OData?
Edit: Based on answers here's a follow-up question - I shouldn't be trying to implement WCF Data Services sans OData,or I can do that...
I override the OnMouseMove method, like this:
Private Shared OurToolTip As New ToolTip
Protected Overrides Sub OnMouseMove(ByVal e As MouseEventArgs)
MyBase.OnMouseMove(e)
OurToolTip.Show(e.Location.ToString(), Me, _
e.Location.X + 16, e.Location.Y, 2000)
End Sub
I trace this function (with a tracepoint).
Whe...
Is it possible to use WCF's CallbackContract or any other "remote eventing" mechanism provided by WCF from an Asp.Net Ajax control/page?
So far all the articles I found treated separately about CallbackContracts and WCF's usage from Asp.Net pages.
Is there any way to make the service's callback reach back to the page that initiated the...
I am adding a COMVisible(True) class to my project. In Visual Studio 2008, I am able to have the COM class active in the IDE editor and when I look at the properties tab it gives me the ' Attributes' option in the drop down box. However, when I do the same thing in Visual Studio 2010 the drop down box is empty. I have also tried right...
how can i optimized this code? i dont like to have case statement, is there a way i can improve this code?
protected void ddlFilterResultBy_SelectedIndexChanged(object sender, EventArgs e)
{
string selVal = ddlFilterResultBy.SelectedValue.ToString().ToLower();
switch (selVal)
{
case "date":
pnlDate.Visi...
What tools and techniques have you used for testing your wcf services? Where there any special considerations made for the type of hosting you used(ie windows service vs IIS vs WAS)?
...
I had planned on using an open source SMTP server as a base and adding new features in to do whatever parsing I need and then send the response but I'm wondering if there is an even easier way to do this.
Is rolling my own SMTP server my best option or is there an easier way for me to do this?
I would prefer to use .NET to do this.
...
I'm looking for a solution to record video from webcam in .NET. Currently, I'm using VideoLab components (http://mitov.com/html/directshow_video_capture_in__n.html). It works, however it has some annoying bugs or incompatibility with my device. Moreover, it's a bit heavyweight for my simple task. All I need is recording to file from defa...
Hello everyone,
I am using Windows 7 Enterprise 32 bit. I have used Windows command line, and also used VSTS 2008 command line, but when executing gacutil.exe, there is command not found error.
I am wondering whether I need to install gacutil.exe from somewhere or gacutil.exe is located in somewhere else in my computer (I searched my c...
Is there any solution to the problem of deploying a single application compiled with target platform as AnyCPU that rely on a .NET wrapper of legacy C++ code to both x86 and x64 operating systems? Do you need in all cases to provide two application executables one compiled with target platform as x86 and the other with x64 respectivaly r...
Hi guys
I made the front end (xhtml, css and jquery) of this website, you can see it live here: http://news.lifecooler.com/lifecoolernews/jquery/index.html
The guys who develop the databases integration and all the dev work made this:
http://www.lifecooler.com/edicoes/lifecooler/index.asp
If you see in the html version the tabs load q...
I have a Wrap Append macro that basically wraps SQL in a .Append tag:
Public Module WrapAppend
Sub SurroundWithAppendTag()
Dim lines = DTE.ActiveDocument.Selection.Text.Replace(vbCrLf, vbLf).Split(vbLf)
For Each line As String In lines
DTE.ActiveDocument.Selection.Text = ".Append(""" + line + """)"
...
I am writing two C++/CLI assemblies. One assembly has a base class with some internal virtual methods. The other assembly is marked as friend and contains derived class.
When I try to override the internal virtual method, the compiler is forcing me to change the visibility level to public.
What is going on? Why do I have to do this?
C...
Hi everyone,
My English is very bad, please forgive.
I developed a basic web page in MVC 2 for learning the framework, and I am stuck in this situation:
I have 3 classes: Client - Product - New. And for all need to display a modal popup to create/edit action. For display the modal i used JQuery and jqModal plug-in.
I created the con...
I'm looking at a project that has been developed and maintained with Entity Framework 1 that is relatively stable at this point. I'm wondering if people have ever migrated a project like that to EF 4 and if anyone can share any particular difficulties they may have had. I know there are a lot of benefits to look forward to but I'm tryi...