Miguel Coutinho's Q&A profile
Visual C# Questions about Objects in C#
1. Do we need to pass objects by ref, if we want to have the changes made in a calling function 2. And the same question for the objects passed by Remoting 3. Do we really gain performance in calling Dispose method of DataSet while leaving from a function(the dataset is no longer required) If yes, then what does the Dispose do there Is it freeing the memory occupied by the objects If yes, then basic definition of GC itself gone righ ...Show All
Smart Device Development Changing virtualy keyboard on Orange SPV M600 to QWERTY from AZERTY
Hello: Does anyone know how i can change the virtual keyboard on my Orange SPV M600 (Windows Mobile 5.0) to a QWERTY keyboard from an AZERTY keyboard I tried changing the regional settings to U.S., but that just changes how datesand time are displayed. Thanks very much, Alan There are tools available which remap the keys on the device - che ...Show All
SQL Server Association algorithm - Importance of a rule
Can anyone tell me, how the Business Intelligence Studio calculates the importance of a rule. I can't find the formula. I know some formulas, but the result in SQL Server is completly different. Thanks! For rules, the importance is calculated using the following formula: Importance (A=>B) = log ( p(a|b) / p(a|not b) ) An importance of 0 means there is no association between A and B. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Basic shader questions used with Managed DirectX
I'm for the moment learning the shaders, but keep on "blocking" on one ot two thing that I don't understand. My first question : I'm rewritting my Managed DirectX code with shader basicaly to render a mesh without any other thing that just render it. I still have in my C# this type of code : ... myDevice.SetTexture(0, myTexture); Render calls ... In the shader (where it seems that I don't have to pass the texture), I have under th ...Show All
SQL Server Security while embedding SQL Server
I am developing a custom application that is going to need a small database worth of information. (10MB to 100MB of information.) I was planning on using SQL Server Express following the Embedding SQL Server Express into Custom Applications white paper listed at: http://msdn.microsoft.com/sql/express/default.aspx pull=/library/en-us/dnsse/html/emsqlexcustapp.asp The data being stored is for internal program use only, specific ...Show All
Windows Forms DataGrid headers
How can I get the TEXT of the DataGrid HEADERS If you mean the data grid column headers, then the DataGridColumnStyle::HeaderText property contains the column headers. you would need to create a data grid table style, add data grid column&n ...Show All
.NET Development representing XmlElement
Hi, I need to represent something like public struct MyStruct { public string MyProp1; public string MyProp2; } with the only intent to serialize its data into <a:MyStruct> <a:MyProp1>...</a:MyProp1> <a:MyProp2>...</a:MyProp2> </a:MyStruct> I can do it this way using struct or simple class, and providing something like ToString and manually create the xml string. ...Show All
.NET Development webservice architecture help
I need help with the architecture developing mywebservice. I want a webservice where the clients can send data to each other. How will the architecture look like Is that possilble Like you have a webservice where clients connect. And a client can connect to the webservice and send text to another client. without having each client polling if some data are for them This is like a service client applikation but with a webservice in the middle =) ...Show All
Software Development for Windows Vista Using infocard without installing certificates on the client?
According to http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=311594&SiteID=1 it should be possible to use InfoCard without installing the service certificate on the client, but if I change the wsFederation InfoCard sample by removing the identity tag from the client endpoint configuration I get the error "The incoming policy could not be validated." (Without this change, the sample works correctly). I want to do this becau ...Show All
Visual Studio Express Editions How to create an Icon image file
Hi team, I have been trying to create an icon file for my new project. But I have been totally unsuccessful and I am confused. Since I have never done this before I must ask the question that is probably obvious to everyone else. What makes an Icon file an Icon I know that it has an extension of .ico but there is more to it than renaming a 32 x 32 pixel bmp to an .ico. Is it the size Some internal header data When I try and add a resour ...Show All
Visual Studio 2008 (Pre-release) Limited Internal Smart Client Depolyment Upgrades (How to?)
We are considering building the next version of our internal smart client application using WCF for comminication. If we were to deploy this newly built smart client to a number of our call center desktops for testing, qa, etc., what would be the process for updating the smart client when future releases of WCf are released Could we deploy the runtime initially with "click once" Would we then have to manually remove the runti ...Show All
.NET Development IIS6 - creating multiple websites
Hi I have trouble creating multiple websites on IIS6.. When i create a new website with a hostheader newsite and some random port different than the one default website is using .. the website doesnt seem to work... the error i receive is Bad request ( hostname)..... though i try to run it through the http://ipaddress:port #.. its a windows 2003 server machine... any leads on this issue are appreciated... Thnx mahmood Your host ...Show All
Windows Forms OpenGL control
Hello everyone ! I'm new to windows forms ( actually I started kinda...today)... I was able to bind an OpenGL context to a form, and later create a GLForm derived from Form. Both worked perfectly, no flickering at all, but I was rendering directly in the form. I'm now trying to create a OpenGL control, derived from UserControl, which alows me to render only in that control. I was able to create the control and render onto it, but ...Show All
Microsoft ISV Community Center Forums Help with interface?
Hey Just completed my set of macros that i need to fully automate a process i am responsible for in work. However, i am a bit lost as to the best way to run them i.e. link them to buttons in excel etc. Is is possible to design some sort of interface in VBA and have it load with the spreadsheet Normally i will be recieving a spreadsheet containing reams of data which have to be sorted and updated.&nbs ...Show All
.NET Development DbDataReader - intercepting the stream
Hello, I am using the SqlBulkCopy class. It takes data from a query to an Oracle database executed through an OleDbDataReader. This is good, as the table is very large, and it avoids having to load the table into memory before dealing with it. However, I wish to do some pre-processing of the query coming from the datareader, before it is passed to the SqlBulkCopy class. Is there any way I can "pipe" the output of one datareader t ...Show All
