Kishan Sanji's Q&A profile
Windows Forms Is this component thread safe?
Hi I have a singleton class/component created in C#. It job is to send construct mail object using the input xml and send email using SMTP. It has a public function Execute(xmlData string, out string returnStatus) which does all that. xmlData has tags&nb ...Show All
Visual C++ LNK problems continued
Hard life in C++ lane, I'll tell you. Trying to compile code with unmanaged CAsyncSocket class I got LNK errors: Build Log Build started: Project: SocketCplus4, Configuration: Release|Win32 Command Lines Creating temporary file "c:\Documents and Settings\....\My Documents\Visual Studio 2005\Projects\SocketCplus4\SocketCplus4\Release\RSP00000E1064772.rsp" with contents [/OUT:"Release\SocketC ...Show All
Visual Studio Document Explorer crashes
Thought I'd start a new thread, since I'm using Visual C# Express, rather than full VS2005. Windows XP Pro SP2, Visual Studio 2003 Pro, SQL Server 2000 Developer Edition, Visual C# Express, Visual Web Developer Express, SQL Express 2005, MSDE. I also have Virtual Server 2005 SP1 beta installed. Problem just started this weekend. Whenever I click on any topic in the Index, Document Explorer crashes. I've tried Repair on Visual C# Express, Visual ...Show All
Visual Basic MSFlexGrid OCX license enforcement
My app has used a MSFlexGrid OCX control for many years. I cannot even say where the original OCX came from - the previous developer found it. After porting to Studio 2005 the app now complains that the OCX is not licensed (see http://forums.microsoft.com/MSDN/AddPost.aspx ForumID=29&SiteID=1) but only on certain boxes - in this case an XP box with only Studio 2005 installed. It works on WinXP and Win2k boxes with both Studio 2003 and ...Show All
SQL Server Sql instance error after upgrading to Express Advanced
[Background] Upgraded SQL Server Express to Advanced and I started getting a user instance error. I followed the advice on some posts (most notably: http://blogs.msdn.com/sqlexpress/). I deleted the User Template Data as the instructions say but now get the error below when trying to run my application. I've tried setting User Instance = False with no luck. Also noticed after rebooting that the Template Data file was recreated but the folder is ...Show All
Visual C# Emulate mouse clicks and key typing
hey ppl... how can i emulate clicks for example if i want to send a click to a specific locaiton i think i need to move the cursor with the Cursos property and then how can i send a right or left click ... and how can i emulate keyboard typing ,,, is there any API or something thx mig16 ...Show All
Visual Studio 2008 (Pre-release) WCF "Go-Live" license and Jan CTP
Read about it here: http://msdn.microsoft.com/winfx/getthebeta/golive/default.aspx Get the bits here: http://msdn.microsoft.com/windowsvista/getthebeta/default.aspx For some reason, I can only download the January SDK. The WCF January runtime is a broken link. Any ideas on where the download is Thanks, Christian You can access the WCF download(s) for Go-Live from the Go-Live donwloads page: &nb ...Show All
SQL Server Sql stored procedure call hangs from .net
Hello, I'm really stuck on this one, so if anyone can help it's much appreciated. I've written a stored procedure that takes about 3-4 minutes to run in testing. However, when I call the procedure from a C# application the procedure call just hangs..eventually timing out causing an exception. I set the timeout to 60 mins just to check but it just hangs all the way. Does anyone have any ideas why this would be happening As I say, the stored proce ...Show All
.NET Development CAS some more. . . .
Ok. . . I think this is where I need to begin - 3 assemblies MyApp.Utilities.dll - strongnamed MyApp.exe - strongnamed MyApp.Permissions.dll - strongnamed with StrongNameIndentity LinkDemand applied (this prevents linking to an assembly that doesn't have my strong name and applying my permission to an imposter) In MyApp.Permissions.dll, def ...Show All
Visual C# Word document binding
Hi, How to bind word document into c# windows form like how we used to do using ole controls in vb6 Thank you, Prashant There is a great example on The Code Project how to do this, take a look at the following article: Word Control for .NET . ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX9 Multi Screen Apps losing focus
Hi, I'm trying to create a multi-screen ( 2, 3, 4 screens ) application with a couple strange parameters. Different screens may have to run at different resolutions, and may be placed anywhere ( above, below, left right ) in relation to the primary display. Right now my software works in windowed mode, I have no problems setting up multiple windows at different resolutions with different DX Devices. When I try to run my app in full sc ...Show All
.NET Development Webbrowser control
Hi is it possible to impersonate another domain user using System.Security.Principal.WindowsImpersonationContext with the web browser component so that users can browse as themselves without logging on the machine or the application I have tried this a couple of times and the web browser control only seems to work with the host user not the impersonated user. When impersonating the page fails to render and the activeX control seems to ...Show All
Visual Studio Team System WSS Error on home page viewing reports
When I look open a project web site I get 3 nice little warning messages: Unable to locate control: ctl00oReportCell The 3 reports display after I click Ok. Using Beta 2 on a single server install Cheers These three character belong to saving files as 'UNICODE (UTF8 with signature ) - Codepage 65001' and represent the signature in the first byte. Saving file as 'UNICODE (UTF8 without signature ) - Codepage 65001' solves the error. ...Show All
SQL Server The dialog has exceeded the specified LIFETIME
Hi, I'm trying to get the HelloWorld_CLR project that comes with the SQL 2005 samples download to work, which it seems to. However, after I run the application a few times, an exception indicating "the service queue ClientQueue is disabled." After running the following query I notice the body of the error message is consistently "The dialog has exceeded the specified LIFETIME." select service_name as [SERVICE] , ...Show All
Visual Studio Express Editions Are there VisualBasic Express Editions in other languages than english ?
I would like to download VisualBasic ExpressEdition not in english but in a different language (e.g. german or spanish). Is this possible How do I download this versions Or are there language add-on packs Thx Matt Hi, you need to use the appropriate language MSDN site. VB Express Spanish: http://www.microsoft.com/spanish/msdn/vstudio/express/VB/default.mspx VB Express Gemany: https:/ ...Show All
