Madhusudhan's Q&A profile
Visual Studio Tools for Office Building Office integrated applications
We have some applications that uses Office Interop's. We have downloaded the PIA's from Microsoft and references the Interop dll's that are included there. The problem occurrs when moving to a build server: In order to install the PIA on the build server, we must first install (at least one) Microsoft Office Application. While we can do that, this seems somewhat incorrect to install client applications on a build server in order to just make it compile. What is the recommended approach here In other projects we have created Interop-files manually be using the TlbImp tool. But with MS Office, we don't have a type library file. Regards /Jakob Jacob, I think it depends if you also unit test ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Multiple RenderTargets with a Final PostProcess
Hey, I am playing around with a SceneManager component I am working on and have been wondering how to do something. Right now I have a class called a RenderGroup which can render a collection of items to a RenderTarget and then Post Process the RT with an Effect. I want to take it one step further and have multiple RenderGroups(RenderTargets) and post process all of them one more final time. How is this possible Can I grab the BackBuffer before rendering completes and run an effect on it or something Do I put another RenderTarget in index 1 (instead of 0) or something Speaking of which, what is the multiple indices for when setting RenderTargets jsedlak wrote: Speaking of which, what is the multiple indices for wh ...Show All
Windows Forms can system.data.oracleclient and oracle.dataaccess.client can be used Parallely
hi (modified post) can we create objects like this 1) create connection,dataadapter, commandbuilder using the oracle.dataaccess.client Namespace. 2) and the datatable using the system.data.oracleclient Namespace. because, the Oracledataadapter creates one dataset for each one dataadapter.resulting many datasets (more maintenance.) But while using the datasource configuration wizard we get a single dataset for all the tables. Will this create any problems Thanks in advance Mohan Raj K. ...Show All
SQL Server Precedence Constrains
Hi there! I've a few tasks in my dataflow. Some of them are executed depending on an precedence constrain. Works fine. The problem is following: I want to write a success message (execute SQL task), when all the tasks who have been executed have done this with success. For example, i ve ten tasks, and 2 of them are executed (successfully). This is good, i want to execute my task to write the success message. I tried to set these precedence constraints with EvalOP = ExpressionOrConstraint, Values = Success and an expression, what returns TRUE, when the task above is not executed (the condition from a precedence constraint above). But the task to write my message will never be executed, because it seems the task does'nt give any res ...Show All
Visual C# Namespaces over Multiple DLLs
Hi, I have one namespace stretched over two DLLs. In my first DLL is a full implementation of a class, and my second DLL contains a soapsuds generated meta class of the same type. When using both of these DLLs in a project, there is a namespace clash between the two. This could be solved my specifying the assemby of my class before the namespace, i.e: <assembly>.<namespace>.<sub-namespace>.< classname> Is this possible to do in .NET Thanks. Why do you need to reference both in the same project To answer your question, it's possible in C# 2.0 with extern alias . ...Show All
Visual C# How to Move Controls at RunTime in a flowLayoutPanel Control?
Hi How to Move Controls at RunTime inside the same flowLayoutPanel Control by using Drag-n-Drop Thanks Deza Hi Deza, Here are the basic steps: 1) Dragdrop requires handling specific type names. Since your FlowLayoutPanel is likely to have multiple types, the easiest way is to use a wrapper to reduce all types to one. This way you avoid having to use extensive if then constructions. Example: class MyWrapper { private Control control; public MyWrapper( Control control) { this .control = control; } public Control Control ...Show All
SQL Server Change Datasource connectionstring
Hey, I have a SQL Server 2005, an Reporting Services is also installed. Now I have a report 'Report1' and a datasource 'DS1', the report is build and deployed. The report works fine when i see it in a browser. Now I have made a vb.net application with a dataviewer, the dataviewer shows the report 'Report1'. But I want to be able to change the datasource 'DS1' from my application code. How can I do this thanks Hi, you could use a hidden parameter which will influence the beahaviour of a dynamic evaluated connectring string, though connection strings can be designed dynamically like ="Data Source" + IIF(Parameters!SomeParam.Value = 1, "SomeServer",SomeOtherServer") That is a thing which is most comm ...Show All
Visual Basic Custom calendar control - how to populate?
I want to make a custom calendar control similar to the MonthCalendar control, but using a DataGridView instead, so that I can set the background color for individual days. How can I populate my DGV with the dates ie. where do I get date info from Can someone show me a quick code sample that will do this Thanks... ...Show All
Visual Studio Team System How to recreate the TFSWarehouse Database ?
Hello Folks, is there a way to manually recreate the TFSWarehouse Database in SQL Server (not the Warehouse- Cube) A the strange problem: We have a custom Field in Work Item Types. We have changed this Field to be reportable. When the TFSWarehouse gets processed from TFSScheduler, only changed and new WorkItems are processed and get updated in the Database. For existing workitems the value for our custom field still remains null in the TFSWarehouse. How can I force a complete update of all workitems with my custom field values to get into the TFSWarehouse Database Hope you can help, greets, Helmut Hello Nick, thank you for your answer. We have now another problem with the TFSWarehouse updat ...Show All
Visual Studio Express Editions Find Combinations, to Create Strings, to Match the 666 Bible Code.
Anyone who has heard of 666, should find this interesting. Scenario: Each letter in the English Alphabet has a numerical value. The 'Base Value' for the first letter in the Alphabet is: 'A' =6 The 'Progression Value' for each letter, thereafter is: 'P' = 6 So: A=6, b=12, c=18, d=24, ect. 'M a r k o f B e a s t': tallies to, 666. I've already written a VB program that allows the user to enter in a base value, progression value, and a name/string. After hitting the 'compute total' button, the name is calculated, a progressive alphabet is displayed, and you can find out, if someone's name, totals to '666'. You can also run a dictionary through, and then sort the totals, in a listview. Can anyone help me add another func ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problems with SurfaceFormat.Bgra1010102 on the XBOX360
graphics . PreferredBackBufferFormat = SurfaceFormat . Bgra1010102; If I have the above line right after I create my GraphicsDeviceManager, anything I render to the screen comes out as total garbage in terms of color values *except* while one of the 360's panels (or whatever they're called - the ones the big X button brings up) is rendering. In that case everything renders fine. Simple example, I render out a farily heavily tessellated quad who's verts range from -32 to +32 in world space (in both X and Z directions, Y = 0). My vertex shader passes abs( worldPos.xz ) into the pixel shader as a texture coordinate and the pixel shader returns float4( frac( texCoord ), 0, 1 ) . I expect this to give me a r ...Show All
Windows Live Developer Forums Is there any function to call javascript function which is in html file in vc built-in web browser application?
Is there any function to call javascript function which is in html file in vc built-in web browser application ...Show All
.NET Development Caller ID on an incoming Call via Modem
Howdy, I'm trying to create a helpdesk application for a small company. One of their problems is that they fail to record all incoming support calls and thus lose money. Hence, they want a helpdesk application that monitors all incoming calls, records the length of call, and updates a central database. Monitoring the length of calls and the database side is not an issue. Finding out who is calling is the problem. Does anyone have any simple code for getting the caller id from a modem (or can at least point me towards some vb .net 1.x/2.x code that i can use to get me started. I've been searching the web and found lots of references to tapi and various 3rd party components, but i cant seem to find anything in plain english that wil ...Show All
Windows Forms Datagrid Cell Keypress
VS 2005 windows unbound datagridview I want to ensure that only numeric values are entered into a datagridview cell. Is there anywhere to put a keypress event in a cell The Regex is a way, maybe not good enough here. hehe The link does provide some information. There are lots of events out when you move from cell to cell: cell leave(old cell) cell validating/ed (old cell) cell endedit (old cell) cell enter(new cell) cell beginedit(new cell) So it's a great ease for users to validate their input data. ...Show All
.NET Development DataSet Size
How many datatable can we place into a dataset, also datatrow, datacolumn in datatable Hi, Since all collections have their count properties set to the Interger then its limit would still be the limit of the integer datatype which is 2,147,483,647 But I guess its not really advisable to load a table with 2 million plus rows in a datatable. cheers, Paul June A. Domag ...Show All
