hemant Kanchan's Q&A profile
SQL Server Code Access Security across multiple assembly security extension
Hello there I have trying to figure out for days how to enable FullTrust for my Reporting Services security extension. I can successfully run the sample, but my implementation which splits the data and verification logic across two dlls fails each time it reaches the data layer. Simply and succinctly as I can write it my security extension consists of the following. Business.dll This dll is configured in RSReportServer.config, again as per ...Show All
Smart Device Development WebBrowser Problem
I'm currently developping a netcf 2.0 application for wm 5.0 devices. I've embedded a webbrowser control but i have three problems with it : 1- when i do webbrowser.document = "htmlcode" and there's pictures in the html code, the web browser start flicking. 2- The hyperlink in the browser does not seem to work. The navigating and navigated event are not fired when i click on a link. 3- I would like to be able to move the we ...Show All
Visual C++ msvcr80.dll not found (SAME!)
I've created a simple Win32 console application. When I try to debug it, I get the message: "This application has failed to start because MSVCR80D.dll was not found. Re-installing the application may fix the problem." The Release version runs fine. Any idea as to what the problem could be Thanks, Jonny feuerste that's an excellent point (I'm "bottom posting" this reply so it will appear at the ...Show All
Windows Forms Help with Custom Form Design(NicePanel Problems)..
I'm referenced my 2 books and they just dont go into detail at all on Building a Custom Form Sytle until i can buy either Pro .NET 2.0 Windows Forms and Custom Controls in C#2005 or Pro .NET 2.0 Graphics Programming... Which i do plan on buying both of them sooner or later...lol I'v been trying to get a Flat Appearance with a Round edges..I tried using the Code in several spots with no Prevail...So please bare with me as i'm still fairly n ...Show All
Visual Studio Express Editions Cannot open file.
Okay I click new project , then I click windowed application and then finish. all works fine then I push F5 to build. I get the following information in a dialoge box. ------ Build started: Project: zane, Configuration: Debug Win32 ------ Compiling... stdafx.cpp c:\program files\microsoft platform sdk for windows server 2003 r2\include\windows.h(157) : fatal error C1083: Cannot open include file: 'excpt.h': No such file or directory Project : wa ...Show All
Visual Basic Pardon my ignorance.. Visual Basic ".NET" ?
I've been out of the development loop for over 4 years. What is this Visual Basic ".NET" Is it a different version of Visual Basic I've seen Visual Basic 6 and Visual Basic 2005. What is the latest version, and how does Visual Basic ".NET" fit into all of this I didn't see a ".NET" version of VB for sale.. Clearly I'm missing something. Any help or links to more info appreciated! .N ...Show All
Visual Studio Express Editions Locking down the toolbars??
Hi everyone I'm enjoying the product so far, however I have one little quirk I'm trying to fix. Currently, whenever I click on a file in the Solution Explorer, I lose the "Text Editor" toolbar. Then when I click on a .h/.cpp file I want to edit, I get the toolbar back again (which re-adjusts the toolbars, forcing the editing pane to lower a bit) So what ends up happening is that the UI workspace is constantly growing and sh ...Show All
Visual C# eventcode all 0, Hook Edit change
I want to use Hook to monitor C++ Edit change. I use a C# form containing a Edit(textbox) and button to test at first. When I change text in Edit and press button to setText value, I want to monitor the change event. SetWindowsHookEx( WH_CALLWNDPROC, new HookProc(this.CoreHookProc), IntPtr.Zero, (int) AppDomain.GetCurrentThreadId()); //SetWindowsHookEx not return 0 protected int CoreHookProc(int code, IntPtr wParam, IntPtr lParam) ...Show All
Visual Studio 2008 (Pre-release) An Existing Connection Was Forceably Closed by the Remote Host
I've just gotten WCF to begin working. I have about 15-20 different services - all of these were previously running as web services without a problem and I've just finished converting them all to run under WCF. All of the services except one are running fine under WCF. The one that is not running is giving me an error that says: System.ServiceModel.Communications Exception: An error occurred while receiving the HTTP response to 'http:// ...Show All
Windows Forms Getting problem if showing form through asynchronously.
Hi, I m getting problem when i m opening my win form asynchronously. private delegate Form AsyncDelegate (); in button click event have below two line code and opening second form. AsyncDelegate dlgt = new AsyncDelegate(LoadForm); IAsyncResult ar = dlgt.BeginInvoke(new AsyncCallback(CallbackMethod),dlgt); private Form LoadForm( ) { Form newForm = new System.Windows.Forms.Form() ; return newForm; } ...Show All
Visual Basic TV Capture
i'm trying to create an application that calls or access my tv capture card (a VB TV application) although im still a novice. Any poiners To do this, you probably want the platform SDK, seeing as DirectShow has been moved there from DirectX, where it used to live. Beyond that, I'm not sure. ...Show All
Windows Forms How to set a default value for a Combo Box?
I’m creating a Combobox dynamicly at run time, however, I don’t’ know how to set the default selected value for it!! Thanks. Dim MyComboBox As New ComboBox MyComboBox.Name = “MyComboBox” MyComboBox.DataSource = MyDefaultView MyComboBox.DisplayMember = "ItemList" MyComboBox.ValueMember&n ...Show All
Visual Studio 2008 (Pre-release) GeneratedInternalTypeHelper
Hello, i have this error when i build my solution by F5 : the namespace _Generated already contains a definition for GeneratedInternalTypeHelper I use Visual C# Express with the february 2006 CTP. I must rebuild all solution and after i can start debugging. I think this problem is arrive when i add a new WinFx window and i change the start window with this new. this error is fin in the older starting window. Have yout got an id ...Show All
Visual Studio 2008 (Pre-release) Starting an animation from code behind
I got the following animation running when my window has loaded: <Window.Triggers> <EventTrigger RoutedEvent="Window.Loaded"> <EventTrigger.Actions> <BeginStoryboard> <Storyboard> <DoubleAnimation Storyboard.TargetName="pnlMessage" Storyboard.TargetProperty="(Canvas.Left)" From="-148" To="6" Duration="0:0:0.5" /> </Storyboard& ...Show All
Windows Forms Create a Main subroutine to manage forms in a project
Here's how the above can be done in Visual Basic .NET: If you have multiple forms in your project, you're probably tired of visiting the Property Pages dialog box to change the Startup Object each time you want to test a different form. However, you  ...Show All
