MikeMinsk's Q&A profile
Windows Forms Extracting cell data from dataGridView
Any help would be greatly appreciated, as I cannot seem to find an answer. How does one extract the value of a particular cell from a dataGridView object in c# I looked for dataGridView1.Cell(3,4) but 'Cell is not appearing as one of the methods available for this class. TIA. Hi Knji, as i roughly think about this question, we can just use code like MessageBox .Show(dataGridView1.CurrentCell.Value.ToString()); MessageBox .Show(dataGridView1.Rows[0].Cells[1].Value.ToString()); I am not sure if I catch your requirement, ...Show All
.NET Development can I install .NET Framework 1.1 alongside 2.0?
Hi, I have .NET framework 2.0 on my machine. and I just bought a sony ericsson w810i which comes with software to transfer music form the computer to the cellphone. but when I install this software called 'Disc2Phone' it says it needs .NET framework 1.1 and prompts me to install it. I contacted SonyEricsson and they say they don't have a version that uses framework 2.0. they suggested installing 1.1 alongside 2.0 is that ok I am bit wary of sonyericsson's 'suggestions' considering they don't have a newer version of their software even though its more than a year since 2.0 was released! so, I thought i'd ask the MS guys...can I have both 2.0 and 1.1 on the same machine and not have my whole computer come crashing down :) ...Show All
Visual Studio Visual Studio .NET 2005 slows down while loading and building on Intel Core 2 Duo
Hi, I've got a new Dell Inspiron 9400 system running with intel core 2 duo and a clean installation of Visual Studio 2005, and everything seems to be okay except when i try to load a visual studio solution, and start debugging it. When it starts building the solution (by pressing F5), the build process runs fine, but it is when the embedded web server starts that the whole ide freezes for about 2 or 3 mins. The same happens when I close the navigator (IE6) and visual studio autommatically tries to stop debugging. It just freezes a long time, and I also tried downloading Service Pack 1 for Visual Studio 2005 but the same behavior after this. My complete system specifications are the following: Intel Core 2 Duo T7200 (@2 GHz) 1GB ...Show All
Visual Studio 2008 (Pre-release) How do I draw a line from parent to child node in TreeView
Hi I have a tree view and I would like to draw a line to show relationship between parent/child. It doesn't show any line by default. How do I do this Thank you. ...Show All
SQL Server Inserting float value problem
Hello, I wrote a stored procedure which gets some parameters and do an insertion according to these parameters. A parameter is type of float.In my own develop machine when I call the sp like this: mySP 'X', 4, 9.2 it inserts the float value 9.2 correctly. but a customer tells that when he wrote 9.2, it is inserted as 92 or 9.0. What is the problem causing this situation Check site www.sqlserver2005.com or www.sqlzoo.com ...Show All
Visual Studio 2008 (Pre-release) FilterParameters
Yo sync bros... going for a param filter and have the below working except for the FilterParameters section. What is the SyncTable command Equivalent for param filters used like in the example below Thanks for looking. :) ' -------------------------- SYNC TABLE ProposalDetail --------------------------------------- ' the SQL Server Everywhere Edition provider for the local Database Me .ClientSyncProvider = New SqlCeClientSyncProvider( My .Settings.MyConnectionString3, True ) 'Each table to be syncronized needs a SyncTable definition to set the options Dim ProposalDetailSyncTable As New SyncTable With ProposalDetailSyncTable .TableName = "ProposalDetail" ...Show All
Software Development for Windows Vista i cann't Tracking ActivityEvents
Workflow99 only have 2 activity private CodeActivity codeActivity2; private CodeActivity codeActivity1; private void codeActivity1_ExecuteCode(object sender, EventArgs e) { Console.WriteLine("Here in working_ExecuteCode."); } private void codeActivity2_ExecuteCode(object sender, EventArgs e) { Console.Wr ...Show All
Visual Studio Express Editions Paste with Format
I am using this code to try and save a word document, although it does work, when it is pasted in to the word doc it loses any formating. Is there a way to paste from the clipboard and keep the format My Code Case ".DOC" ' Copy the contents of the textbox to the clipboard Clipboard.SetDataObject(rtbText.Text) objWord = CreateObject(" Word.Application" ) objTempDoc = objWord.Documents.Add objWord.visible = True With objTempDoc .Content.Paste() .Activate() .Save() End With objWord.Quit() I was just looking at am old piece of code that I have. ...Show All
Visual Studio Multiple Domains in Visual Studio AddIn
I have created a Visual Studio AddIn. I am trying to reflect through files in different directories. So, I do the Loading and Reflection of DLLs in different Domains. My code works fine in my test environment where i have this usercontrol in a WinForm. However, when i try to run this UserCOntrol as an AddIn to Visual Studio, it breaks at CreateInstanceAndUnwrap with this exception System.IO.FileNotFoundException crossed an AppDomain boundary Could not load file or assembly 'DCS_ASM_Addin' or one of its dependencies. The system cannot find the file specified. DCS_ASM_Addin is my Addin assembly. Here is my code: " string exeAssembly = Assembly.GetExecutingAssembly().GetName().Name; string callingDomainName = Thread.GetDomain().Frie ...Show All
Smart Device Development How to remove or kill default phone application (cprog.exe) from WM2003 SE Phone
Hi guys! I have an application, which phone functionality for WM2003 SE Phone (T-mobile MDA III). The default phone app. of PPC - cprog.exe is very "insolent" and in some cases shows differnet UI elements! If I kill its process, after some seconds Services.exe starts it again! My question is: Is possible to remove or kill cprog.exe Regards hi , what are the api call in WM2003 to get the status of incoming calls and when the battery gets low . in both situations i have to save my application . could you help me in thsi . thanks sadiq ...Show All
Visual Studio Creation of Item Template within VSPackage
How do I create an Item Template within a VSPackage I have an item template already created and working, I also have a VSPackage implemented and working but how do I connect the two I see from the IronPython example is the VS SDK samples that it is possible but I cannot see how it is implemented! the Item Templates are listed in subfolders in the Templates folder in the project with their own template files but I cannot see any reference to them in the VSPackage files! Is there some Attribute I need to add to the VSPackage files Please help, the help docs are inadequate for this particular issue. I've come across an attribute type ProvideProjectItemAttribute, I think it should work just like the vspackage attribute, ProvideProjectFactory ...Show All
Game Technologies: DirectX, XNA, XACT, etc. namespace Components does not exist in the namespace Microsoft.Xna.Framework
Hi All, I have installed XNA Studio/Framework 1.0 and DirextX SDK December. I trying to compile sample solution MySpacewar and recieved this message: "The type or namespace name 'Components' does not exist in the namespace 'Microsoft.Xna.Framework' (are you missing an assembly reference )" I trying to Add Reference to Microsoft.Xna.Framework.Components but don't see it. It seems you are trying to run an obsolete Beta1 version of MySpaceWar. This component has been temporarily removed since the XNA Beta2. ...Show All
SQL Server Filtering Records Out in DSV. Performance Benefit?
In short, will it be advantageous for me to filter out records that are not associated with any facts within the DSV For example, there are records in our Products dimension that have no facts associated with them and I'm thinking of doing the following for the Products table in the cube's DSV: select * from products (nolock) where product_key not in ( select distinct product_key from [sales fact] (nolock) ) or product_key not in ( select distinct product_key from [forecast fact] (nolock) ) Doing this would filter out around 15,000 rows. Hi, I did this for AS2000 and do this for AS2005. It help me. I have only about 2 Millions dimension members instead of 5. I make a sence. But take a look at ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Errors in D3DMaya6ExportX.mll?
I have released the D3DMaya6ExportX, and tried to install in Maya 6, but there was an error saying that ps_1_x profile is not sup ported in the D3Deffect compiler. I am using Dsdk9.5, maybe the compiler in 9.5 version does not support that profile. How can I fix the problem Do I have to use DSDK 9 version ...Show All
.NET Development What is the easiest way to pass data from the results of a dataset to local tables?
Hello, I have populated a dataset and wish to pass the results of SQLDataset back to my local table, tblCustomer using the following code: myNetworkConnection = New SqlConnection("NETWORK_CONNECTION_STRING") myNetworkSqlDataAdapter = New SqlDataAdapter("Select * From tblCustomer", myNetworkConnection) 'Read in dataset from network table tblCustomer ConnectionString = NETWORK_CONNECTION_STRING 'establish network connection myNetworkSqlDataAdapter.Fill(SQLDataset) 'pass dataset to local tables I know I could use something like this: myDataRow( "Cust_Number1" ) = myNetworkDataSet.Tables( "tblCustomer" ).Rows(0).Item( "Cust_Number1" ) and then use: myNetworkSqlDataAdapter. ...Show All
