Gangadhar's Q&A profile
Windows Forms Font Change
How can you automatically change the font size according to your screen resolution Public ReadOnly Property FontSize() As Integer Get Return SystemInformation.PrimaryMonitorSize.Height \ 60 End Get End Property ...Show All
SQL Server Timeout expires when deploying assemblies in SQL Server 2005 June CTP
I am encountering a timeout expired error when deploying a .NET assembly in SQL Server 2005 using Visual Studio.NET. I already enabled SQL Server for CLR. Whenever I run the CREATE ASSEMBLY command in SQL Management Studio, my query just ends up executing without stopping. Can anybody help Milind Lele - MSFT wrote: Can you please change the time out value from Tools->Options->Database Tools->Query and View Design ...Show All
.NET Development RPC Server Exception
System.Management. ManagementScope ms = new System.Management. ManagementScope ( "\\\\" + stringMachineName + "\\root\\cimv2" , co); oq = new System.Management. ObjectQuery ( "SELECT * FROM Win32_processor" ); query = new ManagementObjectSearcher (ms, oq); queryCollection = query.Get(); return queryCollection; well guys i am trying to access remote system but in doing this some machin ...Show All
SQL Server Export Problem...very urgent
Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 6. is the message displayed in the log whenever I try to export the report in which the sub report has no data to display now how do i check the position 6 and how can i get over this issue This is very urgent plzzzzzzzzz help [Exception: An internal error occu ...Show All
Visual Studio Team System Can u help in giving the guidelines abt setting up MSF for Testers
Hi , Iam a starter who wants to learn abt setting up MSF .Can anybody give me the guidelines how to start working on it.Kindly assist me with required steps. Thanks in Advance Rajesh You will need to setup Team Foundation Server (TFS) and install Team Foundation Client (TFC). Once you can connect to server from your client, you can create a team project (file a new a team project). Visual studio team system (VSTS) ...Show All
Visual Studio Team System Sample: Continuous Integration Using Team Build
A sample to setup Continuous Integration using Team Foundation Build has been posted. A detailed article on the sample will be getting published soon on MSDN meanwhile you can use this blog to get started with it. -Khushboo Great news! I've just installed it here and everything seems to be working correctly. Thanks. ...Show All
Visual C# Tablet PC Ink Overlay Question
I was struggling to find a good forum to post this in, hopefully c# general will do. I am using an inkoverlay object on top of a Leadtools RasterImageViewer, but for all intents and purposes let's pretend it is a picturebox control. Everything works very well, I can accept ink, erase, etc, the problem is that if I am not displaying the image in normal 1:1 mode then my strokes don't go to the correct area of the graphics object (the image). ...Show All
SQL Server Connectivity Issues in AMO
Hi, I am using AMO to connect to SSAS 2005 and programmatically create objects. currently I am specifying only the ServerName in the connection string. Please see the code below: <code> Server SSASServer = new Microsoft.AnalysisServices. Server() ; SSASServer.Connect ( "DataSource=" + ServerName); </code> The above code works fine and I am able to connect. Now I want to provide the instance name of the s ...Show All
.NET Development SEHException from External Component Error
I have the error "System.Runtime.InteropServices.SEHException Additional Information External Component has thrown an Exception. The Problem occurs when I try To instantiate an object which is contained in the header file that came with the 3rd party .dll I am using. The header for the file looks like this: #ifdef QUANTUM_EXPORTS #define QUANTUM_API __declspec ( dllexport ) #else #define QUANTUM_API __declspec ( dllimpo ...Show All
SQL Server Error on order by with union all
Hello, I want to order by a field that is a code, like 1,2,3,11,12,13, and i get the following error "Only text pointers are allowed in work tables, never text, ntext, or image columns sql server" Why do i get this, what can i do to overcome this Thank you Need more info. Like table structures, especially with data types. Is this code column a text column: CREATE TABLE test ( testId int PRIMARY key, textVal te ...Show All
SQL Server exporting reports into EXCEL format
Hi, My organization is currently migrating from reporting services 2000 to reporting services 2005. We are having an issue with exporting reports into EXCEL format. Basically we have a table with five grouping hierarchy. The parent groupings toggle the visibility of the corresponding sub groupings. It works as expected when deployed to the report server, however when exported into Excel it expands to level 4 even though level 3 was not actua ...Show All
Visual Basic Setting the Primary key as a foreign key in an intersection table
I need to be able to add information to table1 then click a button to bring up a new screen with information from an intersection table, table2, and another table, table3, while putting the PK from table1 into table2 for several records. Table3 is a static table and will not change so I know how to do that, but I don't know how to do it with a table that will not remain static. I am using VB '05 Express and SQL '05 Express. Simplified version: I ...Show All
Game Technologies: DirectX, XNA, XACT, etc. LockRect on a DXT1 surface with 1bit alpha
Hi, Im just working on my terrain shadowing (not realtime) and want to consider the alpha-values of an objects texture. I want the object to cast a correct shadow and already managed to achive this for "normal" texture formats like A8R8G8B8 and A1R5G5B5. I lock the texture using lockrect for a rect of a single pixels-size. So this works alright: lpAlphaTex->LockRect( 0, &lckd_rect, &rect, D3DLOCK_READONLY); DWORD* pTBits = reint ...Show All
SQL Server RDA problem
I am attempting to execute an RDA.pull from my master database and it is generating exceptions the second time I attempt the pull. NOTE: I always drop the table prior to executing the pull. It seems that after the first time I execute a pull against a particular table name on the PDA I get the following: "A duplicate value cannot be inserted into a unique index. [ Table name = __sysRDASubscriptions,Constraint name = c_LocalTableNam ...Show All
Smart Device Development Smartphone 2003 Emulator - Audio
Hi, Is there any way in which I can record audio on the smartphone 2003 emulator I know that it isn't supported by default, but I was just wondering if there was anything that could be tweaked to enable it Would you consider using the new Device Emulator It is going to be replacing the x86 emulator that shipped with Visual Studio 2003 when Visual Studio 2005 is release. You can access the communit ...Show All
