MReynolds's Q&A profile
Visual C# Hardware IDs
Is it possible to get hardware ids. I know its possible with native code and volume ID isnt good enough any suggestions would be helpful like harddrive ID and other any type of ID i know punkbuster (anti cheat tool) collects hardware IDs i want to write a program that uses IDs as a form of autherization since it really cant be spoofed easy ...Show All
Windows Forms How do I determine which events a control is trapping
Hello all, I am using event handlers in a class I am writing and I want to add my own event hanldling if the control does not already have it. As an example, let's say I want to handle SelectedIndexChanged for a ComboBox if it is not currently trapping that event. How do I go about determining if a given ComboBox is already trapping SelectedIndexChanged Thanks in advance for any ideas and/or suggestions! Try looking at http://www.codeproject.com/csharp/controlinspector.asp Hope this helps ...Show All
Windows Forms How to owner draw all in treeview
hi! I want to set my stateimagesize to 32*32 in treeview control. But it not support, only support 16*16 size. I want to set TreeViewDrawMode values to OwnerDrawAll. The question is what's the steps of custom draw. It seemes that icons, checkboxes, plus and minus signs, and lines connecting the nodes must be drawn manually. I need an example. Thanks alot! The best example is the actual code that MS uses. If you use a tool like Reflector you can dump the drawing code that MS uses. However I think you'll find that the code is pretty ugly. Furthermore you'll also probably need to handle mouse clicks because hit tes ...Show All
SQL Server Top 5 sales EACH month
I have a table tblSales ( DollarAmount,DateSold, Barcode --- ) in SQL MSDE 2000. What I want is the Top 5 sales for EACH month: Month TotalSales Barcode 2006-05 Top01 Barcode01 2006-05 Top02 Barcode02 2006-05 Top03 Barcode03 2006-05 Top04 Barcode04 2006-05 Top05 Barcode05 2006-04 Top11 Barcode11 2006-04 Top12 Barcode12 2006-04 Top13 Barcode13 2006-04 Top14 Barcode14 2006-04 Top15 Barcode15 2006-03 Top21 Barcode21 2006-03 Top22 Barcode22 ---- --- ---- --- ---- --- TopNN is SUM ( DollarAmount ). I created a table AAAA and use a ...Show All
Windows Search Technologies no search results
I had been using WDS with no problem, but since replacing my hard drive (I did a full backup then restored the whole lot to a new drive) I have not been able to get ANY search results from it. The only other problem I had after the restore was with Office 2003, but after copying in the MSI files from the old drive this has been fine and I have had no other problems. I have re-indexed several times, moved the location of the index, removed and resinstalled WDS (twice, including once where I removed registry keys, and I have deleted any leftover folders), installed the enterprise WDS, and gone back to normal WDS - all to no avail. It hap ...Show All
.NET Development CLR Profiling API - calling managed code from inside unmanaged ICorProfilerCallback
What should I expect will go wrong if I use unmanaged profiling events from the CLR profiling API to call helper functions in the managed CLR during profiling API processing I have a working C++ shell that implements the profiling api and interacts with Rotor. Presently, the code does simple things like intercepting the JITCompilatation started method and displaying the extracted assembly name/module name. Now, I plan to call MSIL, managed code, helper objects from inside the ICorProfilerCallback::JITCompilation method. Essentially, I will slingshot from the inside the JITCompilation callback, reenter the CLR, do some work, and then al ...Show All
Visual Studio Uninstall Tool uninstalls RTM SQL Express, SQL Documentation, and MSDN Library
The uninstall tool released on Nov. 18 for the WinFX November CTP http://www.microsoft.com/downloads/details.aspx FamilyID=aae7fc63-d405-4e13-909f-e85aa9e66146&DisplayLang=en removed RTM bits despite saying it doesn't. I was testing it so I didn't lose any data, but the tool detected Visual Studio Components on my system. I have the RTM version of VST Developer from MSDN. It includes SQL Express and MSDN Library Docs. The uninstall tool uninstalled my SQL Express DB and tried to uninstall (I canceled the operation) the SQL Docs and MSDN Library Docs. ...Show All
Smart Device Development can't load Active Sync 4.1
Hello, I've juste installed Active Sync 4.1 and tried to load it many times but got nothing, i tried also wcesmgr.exe /show but nothing :( when i open the a process explorer, i see that the wcesmgr is loaded for a while and then it goes off.. i tried to re-install it many times but no changes .. what should i do.. i'm trying to connect my emulator to a webservice... i installed the VPC Network Driver.. but also nothing... plz help.. thanks a lot! I have same problem but have limited success uninstalling the program and then reinstalling it. I hate active sysnc for the @#$ty way it works but th ...Show All
Visual Studio Team System Is there a way to delete a Work Item Type?
I've been playing with the customization capabilities for Work Item Types (kudos MS for some very cool extensibility features here). Is there a tool available (or some type of workaround) that allows you to delete a work item type Thanks. Currently for v1 there is no way to delete a WorkItemType (WIT). You can update/modify an existing workitemtype by exporting the WIT, modifying the xml and importing again. This will overwrite the existing WIT. You can also delete projects if you really need to clean things up a bit. ...Show All
Visual Basic How can I get a Field From A Dataset
I set a field on my grid as not visible and when I try to rowbind data I can not get that value using the e.row.cells(6).text - So - my question is how can I get that value without showing it on the grid or how can I get this field from the dataset as each record is binding.. here is the code I have: Private Sub BindGrid() Dim myDataSet As New DataSet myConnection.Open() strSQL = "SELECT * FROM CDO_Quality_Test WHERE CDO_ID = " & Session( "CDOID" ).ToString & " ORDER BY sub_test_pos" myDataAdapter = New SqlDataAdapter(strSQL, myConnection) myDataAdapter.Fill(myDataSet, "cdo_quality_test" ) dgTests.DataSource = ...Show All
Windows Forms Download Error
PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : file:///D:/Documents%20and%20Settings/WPOSRMS/Desktop/WPOSRMS%205/WPOSRMS/bin/Release/WPOS.application ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of D:\Documents and Settings\WPOSRMS\Desktop\WPOSRMS 5\WPOSRMS\bin\Release\WPOS.application resulted in except ...Show All
.NET Development how to represent xml document on treeviewer using c#
I am student and i am biggener user of c# I want to represent xml document on treeviewer can any personne help me thanks As a quote from a MSDN Article : try { // Create a DOM Document and load the XML data into it. XmlDocument dom = new XmlDocument(); dom.Load(textBox1.Text); // Initialize the TreeView control. treeView1.Nodes.Clear(); treeView1.Nodes.Add( new TreeNode(dom.DocumentElement.Name)); TreeNode tNode = new TreeNode(); tNode = treeView1.Nodes[ 0 ]; // Populate the TreeView with the DOM nodes. AddNode(dom.DocumentElement, tNode); treeView1.ExpandAll(); } catch (Xml ...Show All
Windows Forms BUILD WEB BASED APPLICATION SERVER
Ok Microsoft Experts, I have a tough one (I presume) I want to build a web server where all my users can run their applications from. So that the applicaiton is not locally on their computers, but on a webserver and they access the applications through that web browser. Any ideas examples etc... What are the application and what kind of network If it's an application like word and your site is on the internet then it's not possible, the user need the have the application installed on their desktop. ...Show All
.NET Development .NET Framework 2.0 and MSN MEssenger
Does anybody know if there is a problem with .NET Framework 2.0 and MSN Messenger 7.5 Since after installing .NET Framework 2.0 I have not been able to connect with my MSN Messenger 7.5 80048820 - is the error code. May be coincidental.. but this has started happening after i installed Framework 2.0 ...Show All
Visual Studio Express Editions Disabling the close button
This may have been asked before, but I cannot get a solution to this - how to disable the close button in the title bar (the red cross on the upper right corner). I have seen code examples in the net using the API functions which are supposed to work in VB6, but they dont in my Express Edition. You can try this to hide the x button. On the properties of the form1 for example look at properties and find controlbox and than set it to false. It will hide the x button but your app can be closed than by pressing ALT+F4 Hope this helps. ...Show All
