Somu Thomas's Q&A profile
Windows Forms GridView with Radio Button
Hi, i am using Visual Studio 2005, (Framework 2.0) How to Display Radio Buttons in GridView. Thanks Please refer to http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/winf_radiobutton.asp Hope it is helpful ...Show All
Visual Studio How to access the Server Explorer?
Hallo I want to write an AddIn or Package (i don't care) that can do the following: Access the Server Explorer from Visual Studio 2005 and select one connection and take a look on all stored procedures of this connection. In fact I'm talking about connections to an Microsoft SQL Server 2005. I want to read all properties of these stored procedures and maybe the sql code. After this I want to create new xsd-files in the current solutuin and add this stored procedures to the xsd. I want to do the same like a user, who can select a SP in the Server Explorer and do a drag-and-drop operation into an open xsd-file. I can't find a way to access the Server Explorer or its data I can access the solution in the Solution Explorer and so on, ...Show All
SharePoint Products and Technologies adhoc cube browsing
We have built a MOSS2007 extranet for one of our customers. We would like to allow our customer to browse SSAS2005 data to do real adhoc analysis. I was hoping that we could use the local excel 2007 installation to connect to the cube by using a data connection published on the data connection library. Unfortunately this does not work. Simply publishing excel workbooks is not sufficient, because you cannot drag and drop dimensions and measures. If anybody has a solution for this or tips for a workaround, please let me know... Thanks in advance Joos Just remove the firewall and place it all on the outside ;-) LOL No, Really, would Reporting Services not give you the ablilty to expose it outs ...Show All
Visual Studio Express Editions Connecting to a Remote Oracle Database?
I have networked my laptop and my dektop via a wireless router, laptop's name/id =Daxus desktop name/id=Desktop I have oracle 9i running on my desktop and am trying to connect to it from my laptop.. Is it possible to connect to my oracle db directly or do i need to install oracle client side dev support And how should I specify the ConnectionString for the same thx in adv! you need to use an tool from oracle called ODP.NET from oracle anyways if you still need answer then you can look at this link http://www.aspfree.com/c/a/.NET/Using-Microsoft-dot-NET-and-C-sharp-with-Oracle-9i/ regards ...Show All
Visual Basic pinde programs of start menu
Does anyone know where xp stores the pined programs of start menu and how to get them thnx; I beleive that it is not possible to programtically access the pinned item list in the start menu, and that things were delibertly designed so that it was not possible to do so. See the following blog post by Ramond Chen for details: http://blogs.msdn.com/oldnewthing/archive/2003/09/03/54760.aspx ...Show All
Visual Studio Express Editions Visual Basic 2005 Express Edition Data Binding is not updating the database
Hi Microsoft Community, I'm a new visual basic developer and am using the visual basic 2005 express edition with sql server 2005 express edition. I've been going through some lessons and have encountered a situation that I'm hoping someone can identify what the issue is. When creating a form with listbox and textbox components, I first request data from a table called customer. I'm using a table adapter to manage the connection, request and response from my sql server express database called mycompany. Upon the return of the data, my intermediate dataset is populated with the requested data. I'm sure the data has been retrieved because by utiizing the binding navigator component, I can view the data. I have t ...Show All
.NET Development Adding explicit right for one user on a remote machine using WMI
I need to be able to add an access rule for a user on a remote machine. When I use WMI to accomplish the task, all the inherited rights on a folder are converted to explicit rights. I must be missing a flag somewhere, although I've pretty much tried every setting I could find. Below is the code that uses the system.security namespace and works fine on localhost: dim myAccount as New System.Security.Principal.NTAccount( me .ComputerName, 'TestUser' ) Dim rule As New system.Security.AccessControl.FileSystemAccessRule(myAccount, fileSystemRights, system.Security.AccessControl.AccessControlType.Allow) Dim directorySecurity As system.Security.AccessControl.DirectorySecurity = IO.Directory.GetAccessControl(folder) d ...Show All
Visual Studio 2008 (Pre-release) Requested help topic for SDK
I've noticed that a recurring question is "how do I programmatically interact with template-generated elements/controls " (or something to that effect). I'm not aware of any samples or docs which explain how to do that. People have concocted solutions but I think that MS should address this common programming task with their suggested best practice. If such a sample/help file exists, please be so kind as to point it out to me. If it does not, MS, please consider creating it. I think it would help a lot of people out. Thanks. ...Show All
Windows Forms How to control record deletion using BindingNavigator?
Hello.. When I use BindingNavigator to navigate records shown in a DataGridView a button whose default action is to delete records is placed on the toolbar. How can I show a confirmation message when that button is clicked I tried to use the Click event but when I don't accept the deletion, I don't know how to cancel the process. That is the first problem. The second problem is that if I have more than one rows selected in the DataGridView, only the first selected row is deleted. Any help will be greatly appreciated Thanks Jaime Firstly you have to select your bindingnavigator - > property . set deleteitem to none. then this code - > Private Sub BindingNavigatorDeleteItem_Click( ByVal sender ...Show All
Windows Forms Code to navigate a Song to Windows Media Player
Does anyoe know the code to write so that I can navigate a Song/Album to title to go to and play in Windows Media Player in VB. Help would be appreciated. Thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA for CAD & Modeling?
I am looking for feedback on using the XNA framework in a graphics engine for a 3d modeling app. All I ever see when 3D graphics are mentioned is games, games, games! Games are great and obviously drive the 3D market, but I am interested in writing a simple (to start) graphics engine for use in a civil engineering modeling and simulation app. How well will XNA handle lines, line weight, line types Can the XNA framework be used without Game Studio Express I am coding in C# so XNA would seem to be the logical choice rather than OpenGL. Any other feedback on limitation of XNA for this type of use would be greatly appreciated. Thanks! While games were obviously our main design focus, it should be feasible to w ...Show All
Software Development for Windows Vista Building XPS printer driver on windows XP
Hi I want to use XPS printer driver on Windows XP. while installing this XPS printer driver on windows XP it's asking for some DLL files (ex. xdwmark.dll, xdcolman.dll). in WDk folder there is no such DLL that means i have to build this DLL from WDK building environment. when i am trying to build these dll from WDK's Windows XP build environment i am gettting following warning : [source path ] is not valid for the current OS target . can you help me how can i build these DLL for XP I am able to build these DLL from Windows Vista environment. but while printing from this d ...Show All
.NET Development How is data sorted in ADO.NET?
Hi Guys, Basically, I have a table in SQL server that I insert into a datatable. From the datatable, I use a For Each loop to cycle through each element, do some logic, then insert the current row into another table. The order in which the rows are inserted into the target table is crucial to the success of the package. The select statement is a simple query that does not use any sorting. For example, I have a source table (with a clustered index) like this: ID Descr 1 A 2 B 3 C Now after I select all the rows into my datatable, I want to insert them again to another target table in the order I got them. If the row with ID =3 is inserted before 2, then the package fails. Now my ...Show All
.NET Development Marshaling unmanaged C 2D array
How to access this: __declspec(dllexport) void __stdcall TestArray(int nI, int nJ, double** arr1, double** arr2) { int x1; int x2; for(x1 = 0; x1 < nI; x1++) { for(x2 = 0; x2 < nJ; x2++) { arr1[x1][x2] = 5; arr2[x1][x2] = arr1[x1][x2]; } } return; from c# i tried with: using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace Runner { class Program { [DllImport("../../../debug/testArraysUnmanaged.dll")] public static extern void TestArray(int i, int j, double[,] arr1, double[,] arr2); static void Main(string[] args) { int nI = 100; int nJ = 50; double[,] array1 = new double[nI, nJ]; double[,] ...Show All
Visual FoxPro Line Drawing in Report
I want to draw a triangle in report. Three points of the triangle will vary based on the values I specify. The triangle should be printed in a normal foxpro report. If it is not possible to do this in VFP, kindly let me know where it can be done. Thanks. >I have done line drawing in forms but not in reports. Where can I get a simple sample. Walter Nicholls published 3 part article sing GDI+ in VFP 9.0 with the FFC Library in FoxTalk 2.0 Magazine starting with August 2004 issue. Also: http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,1e3a72fe-ffba-43fe-97bf-d0856a435750.aspx http://www.code-magazine.com/article.aspx quickid=0404032&page=4 ...Show All
