sqlinfant's Q&A profile
.NET Development Problem with Reflection & Dynamic Linking
Hi guys I'm designing a program and decided to add plugin support so I readed an article about enabling plugins in .Net and did this 1- Class Library: Includes an Interface "EditorInterface.IEditor" 2- Class Library (The Plugin): Includes a Class "TextEditor.Editor" that implements that interface and of course I added a reference to the 1st class Library "EditorInterface" 3- Host Application which includes a referece to "EditorInterface" I tried the following code EditorInterface.IEditor Editor; & ...Show All
.NET Development How to Insert, Update and Delete in Visual 2003 .NET in mysql database?
Hello I use the program Visual C# 2003 .NET. 1) I will try to insert, update and delte strings in my mysql databse with the class MySQLDataAdapter but I can't get it to work correctly and get some errors, someone out there to helpme and show how the syntax should be to get it work correctly I want to make is in a function. 2) And then I have try to make an instance to use to input string in the function but that also not work correctly, and then how to use variables in class as input in the function, how to The data in the class instance sholud be the data from 2 textbox in the form. 3) and last how should the class syntax ...Show All
Visual Studio Team System Code coverage - unit testing web service - VSEnterpriseHelper.axd
When running our unit tests for a web service with code coverage enabled the following error is displayed... (with no code coverage generated). Exception was thrown: The web site could not be configured correctly; getting ASP.NET process information failed. Requesting 'http://localhost:22888/AppTier/VSEnterpriseHelper.axd' returned an error: The remote server returned an error: (500) Internal Server Error.. Cannot initialize post instrumentation for the ASP.NET project 'C:\work\metaBank\AppTier'. Exception was thrown: Microsoft.VisualStudio.Enterprise.Common.AspNetHelperException: The web site could not be configured correctly; getting ASP.N ...Show All
Visual Studio Express Editions New Instal of VC++ Express Edition
Have installed VC++ Express. Used microsoft uninstall too prior to installation. Used microsoft clean-up to check all previous installations cleared. Problem is that, even with a newly created project, get "Project is out of date" message and on build get following build log: Creating temporary file "c:\Documents and Settings\Brian Parton\My Documents\Visual Studio 2005\Projects\TestCPP\TestCPP\Debug\RSP00000131241552.rsp" with contents [ /Od /D "WIN32" /D "_DEBUG" /D "_UNICODE" /D "UNICODE" /FD /EHa /MDd /Yu"stdafx.h" /Fp"Debug\TestCPP.pch" / ...Show All
.NET Development seeking socket samples
i posted a message regarding a problem i was having and have been trying to find a sample of code that fits what i am looking for, and i don't think i am finding what i am looking for. basically, i have a client that wants to connect to a server and process some type of transaction for which the server will return a value. the client should be able to execute any number of transactions against the server at the same time. transactions generally "complete" (with a response from the server) in 1 to 30 seconds. i've been messing with the asynchronous "receive", but it doesn't seem to respond the way it should. the samples i was usi ...Show All
SQL Server From SQL Express to XML file
HI guys, Is there any tool to import the database from SQLExpress to change it into XML without doing much programming code in .Net Thanks! Chin Hi Chin, The short answer is no, SQL Express doesn't include any import/export tools. That said, Transact-SQL provides syntax that lets you represent your data as XML, and you could use that to produce XML and then save that to a file. Check out my answer to a similar question at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=368472&SiteID=1 for links to pertinent BOL topics. Regards, Mike Wachal SQL Express team ---- Please mark your thread as Answered ...Show All
Visual Studio Team System MSDN Subcription
This is probably not the best place to ask, but I haven't been able to get an answer from the MSDN folks... Any idea if we will be able to transition our existing subscriptions over to VSTS for DP when it is available I currently subscribe to VSTS Dev. Not being an expert on licensing, but the Team System license model is either based on seperate SKU's like Developer, Test or Architect; or you are have a Suite license which includes today Developer, Test and Architect. When VSTE DB will be released this will be the fourth SKU in the Suite. If you can not transfer VSTE Dev in to VSTE Test today, I do ...Show All
Visual Studio Team System Reports are not accessible from Team Foundation Server
I tried creating a duplicate of the Team Foundation Server. The process of taking backup of the data and restoring the same on the duplicate server worked fine. When I tried to view the reoprts on the original Team Foundation Server through the IE, the folders showing the team projects were not visible. Also in the IDE, the Reports folder has a red cross accross it. I am using the beta version of TFS. And the original Team Foundation Server was shut down when the restore was being carried out on the duplicate machine. Any pointers to what must be worng. Check to make sure that ReportingSerivces is up and running fine. Also, wh ...Show All
Visual C++ Turn off unicode using pragma or something inside the code itself?
Hello, I'm using Visual C++ 2005 and I was wondering if you can use a #pragma or something inside the code itself to turn off unicode I know you can do it manually from inside the IDE by going to Project->Properties->Configuration Properties->General and there setting Character Set to "Not Set", but I'd like to do it from the code itself if possible. Similar to linking in non-standard libs by doing #pragma comment(lib, libname) (if I remember that one correctly). I'm terribly sorry, but this does indeed seem to work. Just make sure the #undefs comes before any includes of system headers. ...Show All
Visual Studio Express Editions Express Activation Website and Key
Does anyone know how I can get to the website for registration I can't get the activation key thing to work. I keep getting page not found error. Thanks. If you are trying to register any of the Express Editions (other than SQL Express), you must do so from inside the product. There is not a registration web site. Please see the Registration FAQ . Note that registration requires you to set your default browser to IE (Q #8) and that you must successfully validate your e-mail address (or altready have a validated e-mail address) affiliated with your Passport account in order to be shown the registration (acti ...Show All
SQL Server cannot login
Well, I've tried every suggestion by helpful people in connecting to a database I created, to no avail. I created a db, called, nodes10.mdf. Test connection works. Right now I get: Cannot open database "nodes10" requested by the login. The login failed. Login failed for user '<server>\<user>'. Before you call me on my syntax, the problem is with logging in , not my insertString. code: SqlConnection conn = new SqlConnection("Data Source=NORBY11\\SQLExpress;Integrated Security=SSPI;Initial Catalog=nodes10;Connect Timeout=30;User Instance=True"); string ndeText=numberNode.Text; string insertSt ...Show All
Visual Studio Add web control to web form designer at design time
Someone please help me !! I am trying to add a standard web control (e.g. label, textbox, datagrid) to the currently active web form surface in VS2002/2003. If I add it using the DesignerHost.CreateComponent method it seems to add to the controls collection OK, and usually the code-behind shows the declarations. But the HTML design / source tabs never display the added item. How can I get this working Someone mentioned simulating drop after placing a control in the clipboard. Anyone know how to solve this The exact same code I developed so far is fine and dandy when used for Win Form. Thanks - Kevin In VS ...Show All
Visual Studio Team System Team Projects and Product Releases
I interested in how people are handling releases in relation the team project. In other word, how do you handling moving from 1.0 to 1.1 or 2.0. The way I see it there are a few ways of handling this: 1. Keep everything in the same project. This seems like it would be a good idea as you would maintain a complete work item history thought the life of a product. But do we really want to Sure, 1.0 issues that are unresolved are good to know during 2.0, but what about 10.2 Seems to me like this could clutter up really fast. Of course the is the problem of what do to about work items you want to push to 2.0's timeframe even though you're ...Show All
Windows Forms Invoke freezes and BeginInvoke queues up too many messages.
We are using a combination of C# and Managed C++ in .NET 2.0 Our program has a couple of threads. The main thread is controlling the GUI primarily. A second thread runs a very fast running loop that obtains data and controls a piece of hardware (or simulates such). When the second thread gets an update, we have it use Invoke to update the GUI. However, under particularly system intensive conditions, or when the user does something like dragging the window, the second thread will stop when it calls Invoke. We have tried using BeginInvoke as an alternative, but that second thread just runs too fast and too many BeginInvokes get queued and w ...Show All
Software Development for Windows Vista Activity Position in Workflow
hi al, i wonder, how i can find out, whether an activity is the first activity of a workflow. does anybody have a clue thanks in advance, regards, .k Use the properties on the activity such as parent, to get up to the root activity, then check to see if the first child of that activity is equivalent to yours. You may have to use more intricate logic if you want to make sure you are the first activity that is not a container (e.g. sequence). Matt ...Show All
