r_sendhil's Q&A profile
Smart Device Development Update .NET Compact Framework in WM5
I got this error when I tried to run a 3D application under Window Mobile 2005: "This application (test.exe) requires a newer version of the Micrtosoft(R) .NET Compact Framework than the version installed on this device." The application was built upon .NET Compact Framework 2.0 and was tested in Emulator in Visual Studio 2005 Beta 2. When I deployed the application, I got the following message in VS 2005: ------ Deploy started: Project: Test, Configuration: Debug Any CPU ------ Deploying 'C:\Program Files\Microsoft Visual Studio 8\smartdevices\sdk\compactframework\2.0\windowsce\wce500\armv4i\NETCFv2.wm.ARMV4I.cab' Deploying 'C:\Program F ...Show All
Windows Forms Forms Designer & My Panel Control
When I place a TableLayoutPanel on a blank form, and then add a Button to the top-left (0,0) cell, the following code is generated: // // tableLayoutPanel1 // this .tableLayoutPanel1.ColumnCount = 2; this .tableLayoutPanel1.ColumnStyles.Add( new System.Windows.Forms. ColumnStyle (System.Windows.Forms. SizeType .Percent, 50F)); this .tableLayoutPanel1. ColumnStyles .Add( new System.Windows.Forms. ColumnStyle (System.Windows.Forms. SizeType .Percent, 50F)); this .tableLayoutPanel1.Controls.Add( this .button1, 0, 0); this .tableLayoutPanel1.Location = new System.Drawing. Point (43, 61); this .tableLayoutPanel ...Show All
Visual Studio 2008 (Pre-release) Window Icon Propery no longer working
In the Feb CTP I could just set the icon like this < Window Icon = " Resources\\Images\\ image .png " > However thsi doesn't work in Beta 2. Instead I get a runtime error FatalExecutionEngineError was detected Message: The runtime has encountered a fatal error. The address of the error was at 0x7f570c2b, on thread 0x120c. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack. ...Show All
Windows Forms Click-Once deploys two instances of the application
Hello, I tried publishing via Click-Once to two machines (so that they will both deploy the same application (different versions)) and it installs two instances of the application on a third machine instead of overwriting the first one. For example, I publish MyApp to Machine1, and MyApp to Machine2. Then from Machine3 if I install MyApp from Machine1 and then MyApp from Machine2, there are two instances in the Machine3's Start Menu - MyApp and MyApp -1. Does anyone know why this is happening. Any help will be much appriciated. Thanks, Soumyac A unique Application in ClickOnce world is ide ...Show All
.NET Development Active Directory Syntax
I am doing Active Directory Integration in C#, and facing a small issue: Returned properties of an users such as "memberof", "telephone",... are not recognized as singularly-valued attributes so normal syntax like "memberof=MyUserGroup" will not work. If anyone has come accross this problem, or can refer me to another forum to get help,please give me your insights. Thanks. PS: I could filter the returned objects to get the collection I originally want, but that's not prefered. Those properties are multi-valued attributes so they contain more than one value. You can enumerate those values one by one. ...Show All
Visual Studio create crystal report using stored procedure with paramter
Hi, Anyone could give the sample code about creating crystal report (VS05) using stored procedure with paramter. Many thanks. Parameters to a stored procedure from Crystal is not exactly the same as a Crysal Report parameter... the Parameter Name begins with an '@' ... Mostly the same after that. ...Show All
SQL Server does "with (nolock)" absolutely guarantee no locks are taken?
I need to run a few short-running queries against a production system. I need to be absolutely certain that SS doesn't take out any locks on the table as a result. Does "with (nolock)" absolutely guarantee this I've read BOL on the topic and I understand isolation level read-uncommitted. But I want to validate that there's not any undocumented behavior in SS that might violate the documentation (which clearly states that no shared locks are issued). Thanks! You're talking two different things. with (nolock) is a HINT. That means there is a possibility that SS will override it. SET TRANSACTION ISOLATION LEVEL ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DX GUI library
Is there any developed GUI libraries, based on ManagedDirectX version, is it reasonable to do own one, and possibly to sell it, I mean UI that will be used inside D3D applications cehck on DirectSDK CustionUI exmple, I think they did the best to handle user\s input there + mixed it with navigation in 3d world, thanks ...Show All
Visual Studio 2008 (Pre-release) Query over a DataSet
Hello, I have a simple question: Is it possible for query over an existing DataSet using LINQ Sepose I have a DataSet already loaded with tables and DataRelations, can I query over this DataSet just as I query using SQL over a Database One more thing: Is it possbie to convert the result of the query into a new DataTable so it wll be easy to transport this table to another tier of my application in a N-tier applcation Thank you, Ido. Perhaps in a strong typed dataset scenario where the code is built with some other tool (CodeSmith for example) which lets you add modificatio ...Show All
.NET Development error C3145 global or static managed type object or an _gc pointer
Hi I am using an DLL libary written in C# (compiled in .NET 2005) which abstracts a network connection, and I am trying to receive and send data to this connection from within VC++ code, but I could not make the C# based connection a global variable under Managed C++. I got the following error error C3145 cannot declare a global or static managed type object or an _gc pointer. How do I get around this problem The connection object needs to stay there available after connected, Or the Managed C++ isn't appropriate for this purpose Thanks for any help! ...Show All
SQL Server BOL update
Hi! When may we expect SP1 BOL update It's hard to update job scripts which is used tokens since the sintax is changed and SP1 CTP BOL updates is not reflecting that! Alexey, The BOL update is expected to be online "very soon" but I can't give a specific date and time. I am looking forward to having access to a copy too. Andrew Watt [MVP] <Alexey Shirshov@discussions.microsoft.com > wrote in message news:e6649386-99b2-43e1-adc8-bc54caef9801@discussions.microsoft.com ... Hi! When may we expect SP1 BOL update It's hard ...Show All
Microsoft ISV Community Center Forums excel vba
Dim rng As Range Dim rngSelect As Range Set rngSelect = Selection For Each rng In rngSelect.Rows Selection.Offset(2, 0) = rng.EntireRow.Select 'need to add each modified range to selection Next rng I want all modified ranges to be selected in code It's probably easier and quicker to work with range objects, not the selection. Range supports Union and Intersect operators. Note: you will only be able to copy the selection if the same columns of each selected row are selected. " What I'm trying to do is take different selected rows, remove the first two columns from the selection set but leave the ...Show All
Software Development for Windows Vista Direct3D Screenshot?
Does anyone know what Direct3D functions I should look at if I wish to be able to take a screenshot of the desktop. I don't really care to get the contents of my application but rather the entire desktop as it is presented to the user. I know how to get the render target surface for my own application, and to get it's data into a bitmap file. However, I want to get the render target surface that represents the desktop (perhaps I should mention that I'm wanting this for Vista, since the DWM is a Direct3D application) Please see my previous posting inthe DirectX 101 fo ...Show All
Visual C++ VS 2005 linker bug
We just found what sure seems like a linker bug with VS 2005. Below is an extremely simple test program with comments to trivially reproduce the problem. - John /** * This code demonstrates what appears to be a linker bug in Visual Studio 2005. * Compile this file using these two commands. * * cl /c /showIncludes /MDd /Zi /Od /DDEBUG /D_DEBUG /EHsc test.cpp * link /verbose /manifest /out:test.exe test.obj msvcprtd.lib msvcrtd.lib * * This is the error you will get: * * test.obj : error LNK2001: unresolved external symbol "public: static unsigned int const std::basic_string<char,struct std::char_traits<char>,class s ...Show All
Visual Studio Team System How to specify custom constraints?
I am trying to specify some custom database constraints like: - a database connection string should not include a username & password (but only Windows integrated authentication) - a dabase connection string should not include a Network library setting or a port number in the data source - I thought it would be quite simple, but I've been struggling for several hours with no result. Any help is appreciated. Yes, this answers my question. Thank you. (Apologies for the delay.) Regards, Rossen ...Show All
