dimitrod's Q&A profile
.NET Development how to selectively load .NET libraries
I am writing an application that will be able to work with different types of hardware. Each type of hardware comes with a different .NET library that is used to communicate with the hardware. My application will only use one type of hardware at any given time. My application will be installed on different computers and only one type of hardware will be installed in a computer. As such, it should only be necessary to install the driver library that is associated with that particular type of hardware. When the user runs my application, he will select the type of hardware that is installed in the computer. I then want my application to selectively load only the hardware library that it needs. My question is as follows. Is there ...Show All
Windows Forms How to save changes of a datagridview to the database
I fill my dgv with the following code, the user can edit 3 text boxes and one drop cell with a combobox, how do I save the data after the user makes all his changes. In aspx i would loop do a dim x as datagrid item then loop through the datagrid and update each row base on the rowid(unique id) . but I can not find any help the datagridveiw. Dim sqlstr As String = "SELECT Rowid, family, vendornum, [vendor name], Vendor_item, [Com Code], Buyer, [Suntron Part], [Order Number], Po_line, [Po Rel], Bal_due, Promised_date, [Dock Date], msgid, upper(ltrim(rtrim([Action Msg]))) as [Action Msg], [Desired Date], Message, Po_reduction, po_rev_qty, comments, S_ConFirmRQD,S_ResType, S_ComitDate, S_ComitQty, S_comment, sendYN FROM dbo.Vend ...Show All
Game Technologies: DirectX, XNA, XACT, etc. C# and soundcard
Want to build a simple piece of equipment to do electrical measurements and display the results. As an analog => digital input device I want to use the soundcard. The main problem is: How to get the information out of the soundcard. I also want to use C# (if possible). You might have to contact the Vendor of the soundcard to get information on what data/objects they expose. Also when you have this information you could then just use some com bindings to the unmanaged classes that the soundcard drivers expose. Now remember that all this is in relation to the type of information that you would like to pull out. ...Show All
Visual FoxPro Microsoft Visual Foxpro 6.0 - Help menu
Hi From the Help menu, the following help features such as MS V F Help Topics F1, Contents, Index, Search, Technical Supportare disabled. It is quite troublesome for me to use another software - MSDN Library Visual Studio 6.0a when I need help. Is there any solution to enable these features Do I have to install full version in order to get the Help features Thanks VFP 6.0 came in the Visual Studio 6.0 set of disks. After installing VFP 6, you must install MSDN help (which comes in a separate set of 2 CDs IIRC). ...Show All
SQL Server Management Studio and Enterprise Manager on Same Machine?
Greetings! Do any of you know whether or not it's possible to install Enterprise Manager onto a box with SQL Server 2005 installed I've come across a couple of problems when trying to admin some SQL 2000 servers, so I need EM somewhere. Also, it's incompatable with SQL Server 7.0, of course, and I've got two of them to admin as well. Thanks! Shouldn't running 2005 backward compatibility "repair" fix something like this I uninstalled my 2000 client tools on my desktop. I installed the SQL 2005 "eval" I installed the 2000 DTS Designer Components (April 2006 build) I ran the 2005 backward compatibility "repair." I modified the xml configuration file so that the ...Show All
Visual Studio Team System Changes since a label was applied
I'm trying to find out what's been checked into a branch of my repository since a particular label was applied. I'm trying: tf history /format:brief /version:L mylabel ~T /recursive * This does indeed produce a history, but exactly which items are included is a mystery to me - it's clear that it's not what I'm looking for though. I've also tried: tf difference /version:L mylabel ~T /format:brief /recursive . This shows which files have changed, but the output is mostly noise (listing names of directories where nothing's changed). But what I really want to see is a list of changeset numbers and descriptions - not the list of files that are different. So, what's the secret sauce for getting history since a lab ...Show All
SQL Server SQL 2005 Stand alone to Cluster
Our production server is currently running SQL 2005 on a stand alone machine. SQL Server is installed as a default instance. Can we upgrade to a cluster without having to change the instance name i.e currently applications connect to this server with hostname of the server i.e SERVERA, can we install a cluster such that sql server can still be called SERVERA. For 2000 http://msdn2.microsoft.com/en-us/library/aa197514(SQL.80).aspx Ot should be the same for 2005 ...Show All
Visual C# Transparent background
Hello.I have a question.I use VC# and I wan' to create a nonrectangular form.I have create the background image with the transparent key: blue, but when I compile the project the application is not transparent! Only under rare circumstances should an application be modifying the user environment... I’m sorry to say it but you really should focus on making your application work with 32-bit color as it really isn’t that hard. ...Show All
Gadgets Gadget with remote html src??
Is it possible that in the gadget.xml file to set the html src as a html page hosted remotely I have a site that is hosted remotely and is all html a jscript and would like to just point my gadget at it. No, as it has to be a local file. It's easy to solve though, just use an IFRAME and set the src to your remote site. eg gadget.html: <html> <body style="margin:0px; width:300px; height:300px;"> <iframe style="position:absolute; top:0px; left:0px; width:100%; height:100% src=" http://... " ></iframe> </body> </html> ...Show All
Visual Studio 2008 (Pre-release) XAML IntelliSense Issue with VS 2005
Hello, I have installed everything I can find on .Net 3 including the extensions. I am currently having issues with the XAML Intellisense not working. Not only will it not pick up my own project references eg xmlns:custom="clr-namespace:SDKSample;assembly=SDKSampleLibrary" <custom: does not work. But also when I try to tap into TextBox.Text for the <Binding> It does not recognise it. Have I missed something to install Thanks, Brett. <TextBox Name="StartPriceEntryForm" Grid.Row="2" Grid.Column="1" Style="{StaticResource textStyleTextBox}" Margin="8,5,0,5"> <TextBox.Text> <Binding Path="StartPrice ...Show All
Visual Studio Express Editions Public and Private
Is it possible to declare a string as public I know this seems like a stupid question but I am pretty stupid when it comes to VB. I want to be able to use a string in all my subs, functions and classes. Is that possible Yes very possible and easily accomplished.... Globally accessible..... Public Module Main Public MyString as String = "Blah" End Module Class Accessible: Public CLass MyClass Private TheString as String = "BLAHBLAH" Public AString as String = "B" ... End CLass The first declaration would be available to your entire project, "TheString" would be available only to "MyCLass", Where "AString" would be accesible to MyClass and any objects that have access to " ...Show All
SQL Server Service Pack
How would one determine the SP for Reporting Services. Is it different from the SP of SQL Server itselves. This is for 2005 Does this mean the we can have instances where the SP levels are different for SQL Server and Reporting services I thought when a SP is applied on a server it is applied to all the services ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Riemers.net -- 4th Series finished: Final screenshots
Hi all -- I've been working on a 4th Series of XNA Tutorials, which deals with advanced terrain rendering. This series is completely new; it is not a translation of one of my MDX series. The graphical part of the series has been finished, so you can already have a look at some screenshots: XNA Tutorials Series 4: Advanced terrain You can expect the first chapters somewhere next week. I first have to clean up some code and get the skydome exported to a .x file! If you have some experience with this, head over to this thread please. ps: you can find links to 2 larger screenshots in the 3rd paragraph. Glad to see the first two parts are up. I'm looking forward to the remainder. Keep up the good work ...Show All
Visual Studio Express Editions Handling incompatible old libraries
I am currently trying to compile code which uses old C code with a C++ wrapper. It had compiled on earlier versions of software (within the past two years), but Maya needs an updated version. I think one source of the problems is that the C code relies on old libraries. I tried changing <iostream.h> to <iostream> but it introduced a handful of errors in the C code which I am hoping to avoid getting wrapped up in. I get the following errors using Visual C++ 2005 Express Edition: LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: __thiscall std::bad_cast::bad_cast(char const *)" ( 0bad_cast@std@@QAE@PBD@Z) already defined in handsimulatenode.obj LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: __thiscall std::b ...Show All
.NET Development Question on DACLs and ACEs (changing them directories & files) using C# [Specifically on SPECIFIC and STANDARD RIGHTS]
Hi all, I got a bit confused on seeing two different namespaces talking about ACEs and ACLs. 1. System.Messaging contained classes for AccessControlLists and AccessControlEntry 2. System.Security.AccessControl being another. My requirement is to set access rights to a directory and I am trying to change a VC++ code to C#. In the VC++ code I saw a statement access[0].grfAccessPermissions = SPECIFIC_RIGHTS_ALL | STANDARD_RIGHTS_ALL; And have been trying to find the flags SPECIFIC_RIGHTS and STANDARD_RIGHTS in .NET framework classes. I was not able to find any such flags in the System.Security.AccessControl namespace (and to be specific in the FileSystemAccessRule ...Show All
