RobZeilinga's Q&A profile
.NET Development Iterate Network connections list in c#
Is it possible to read through the list of existing dial-up and vpn connections in windows xp with c# I would like to have a script that would create a set of default connections for remote users. A client app would then list these connections and allow the user to start one directly from the application. Thank you for your advice. the_chad wrote: This was a great example, but I am looking for a way to iterate, call, and possibly change connections already present in the network connections folder. Any ideas Thanks! See that RasEntry thingy in that project i mentioned. I think that provides the functionality to you. Have your ever tried that Rizwan ...Show All
SQL Server Query Windows - Multi-Line Results come back differently
Forgive me if this has already been asked -- to query this question is difficult. We have a varchar(3000) field that has the body of a message including non-printable characters. Sometimes we need to get a copy of this data in Management Studio. The problem is that we can only get the data with the CR-LF characters if we open the entire table (currently 2 million rows). If we run a query on the same column with a where clause the field can be copy/pasted out into a text editor but lacks the CR-LF characters. Is there a setting somewhere in the GUI to change this behavior My productivity will skyrocket if someone can help me with this. Many other developers have expressed the same frustration. TIA. Doug Odegaard (Missoula, MT ...Show All
Visual Studio Team System Team Foundation Object Model license
I am going to develop a commercial application which can be distributed and purchased. This application will use some of Microsoft private assemblies from Team Foundation System (Team Foundation Object Model). Question: What do I need to have for purchasing and commercial distribution of the application I mean license, commercial distribution rights and so on. Thanks to all!!! e-mail: smetanin_pavel@mail.ru ICQ: 345239061 There was an internal email thread about this recently. The answer for now is that you have to require that the user install Team Explorer as a prerequisite for your application. Buck ...Show All
SQL Server How to get the stored procedure return type
I am having a problem finding the stored procedure return type. I am having no problem with the getting the stored procedure parameters collection and processing as needed or determining if the parameter is an output column. But if the stored procedure returns a value, how to I determine that return value type with SMO. I would much appreciate it if someone could answer this... Steve Graddy Orgbrat Consulting Stored Procedures return multiple values in the form of output parameters. Thus the return types would be the datatype of StoredProcedure.Parameters which have IsOutputParameter as true. Hope that helps. Thanks, Kuntal ...Show All
.NET Development Skip JIT?
When installing my .net appication is it possible that it is compiled to native code I am developing a standalone windows application and do not want the JIT compilation. Because the target OS is fixed and known, it would be good to compile the .net code to native code at the time of installation. I had read about this somewhere but cannot remember it fully or find the article again. Any help would be great. thanks in advance. Sesh This can be done by using ngen.exe. Couple of MSDN pages about it: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cptools/html/cpgrfNativeImageGeneratorNgenexe.asp http://msdn.microsoft.com/msdnmag/issues/06/05/CLRInsideOut/ http://msdn.microsoft.com/msdnmag/issues/05/0 ...Show All
Visual Studio Team System Team Server Editions vs Visual Studio 2005 Prof
Good Morning I am trying to find out what the difference would be, from a feature aspect,between using Team Foundation Server with an actual Team Edition of Visual Studio versus using Team Foundation Server with Visual Studio Professional and a CAL. I haven't been able to find anywhere with a definitive list of 'you get this,but not this' for one versus the other type of install. Secondly, if the feature set is skewed in favor of the Team Edition versions...... then is there an upgrade path for those with Visual Studio Professional as I have already seen that the price is quite a bit higher and I don't necessarily want to throw out my licenses for the professional stuff..... Thanks in advance for the info AJ ...Show All
SQL Server Waiting For User Prompt when running Report Builder Reports
I have created some reports using Report Builder however they autorun with default values when selected in report manager, cant think many people would want this to happen. Is there a way of getting rid of the default values in RB or preventing auto execute in RM Hi Phil You can remove the default values in RM by going to the said reports Properties tab then selecting the Parameters option on the left. Default values can be removed here. If all parameters are defaulted the report will auto run, if only some are default it will not. The only use I can see for this is when running subscriptions when there is cell specific security according to user. One would then simply default "select all&q ...Show All
Visual Studio Team System Working folder is already in use
Just migrated from VSS to TFS and its fantastic! Having a problem on my PC when trying to get source code for a project. I get the message ' The working folder is already in use by another workspace on this computer'. I have cleared all the work spaces for all users on my machine (as far as I can tell) by clearing down the C:\Documents and Settings\[user]\Local Settings\Application Data\Microsoft\Team Foundation\1.0\Cache\VersionControl.config files. I have also had a poke around in the tbl_Workspace and tbl_Workingfolder on the server to make sure there are no stray workspaces defined. Does anyone have any ideas on how to resolve this One thing that may be causing the problem is that our development team is working on vir ...Show All
SQL Server Just a couple quick questions
I need to: Copy an existing production database to a new database on the same server; this will be used for development. Copy an existing table for backup purposes in preparation for deleting a couple fields from the table (precautionary process really). I've been out of the database swing if you will for a while, just now getting the opportunity to get my feet wet so to speak. I can use either Enterprise Manager or connec to the database via ODBC and make the copies/deletes there, but I'm looking to do this via EM or SQL command. Any help or direction would be greatly appreciated! Thanks! Bobby You can use Copy Database Wizard. Right click on your production database, select Tas ...Show All
Visual Studio Express Editions files in a project
Hi All I am new to C#, I have downloaded VC#2005 EE, it's a great product! I have 3 questions: 1) If I create a simple windows forms new application I can find inside the solution explorer basically something like this: ... Properties... References... Form1.cs Form1.Designer.cs ... If I click on the Form1.Designer.cs node I open the Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> It's ok But if for example I open the following project ("Crafting a C# Forms Editor from scratch") (http://www.codeproject.com/csharp/SharpFormEditorDemo.asp) ...Show All
SQL Server Service Pack 1 -- account information could not be verified
When installing Svcpack 1 ontop of my 9.00.1399.06 RTM Developer Edition I get the following error everytime: --------------------------- Invalid Login Information --------------------------- Your account information could not be verified for one or more instances. Ensure that you can connect to all the selected instances using the account information provided. To proceed further deselect the instances to which connectivity cannot be established. --------------------------- OK --------------------------- I have followed all possible suggestions on the following post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=358003&SiteID=1 but nothing works. I'm running as the local admin on t ...Show All
.NET Development SerialPort WinIOError
Hello, We're using the SerialPort class for RS232 communication. Sometimes, but not always, our application aborts with the following stack trace: --------------------------------------------------------------------------------- 2006-08-25 13:54:25,067 [2980] ERROR DemoComm.Utility.Logger [] - The I/O operation has been aborted because of either a thread exit or an application request. 2006-08-25 13:54:25,067 [2980] ERROR DemoComm.Utility.Logger [] - at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.SerialStream.set_BreakState(Boolean value) at System.IO.Ports.SerialPort.set_BreakState(Boolean value) at DemoComm.PDO.Port.PinChanged(Object sender, SerialPinC ...Show All
Visual Basic how to make an .exe with VB (not a dumb question dont worry)
Iv been working with visual basic a little over 3 years now(on and off), so I know how to make a project into an executable, but what im trying to do now, is have my project make an executable. Ill tell you what im doing to help you udnerstand what I need, with games like Age of Empires, and Star Wars Galactic Battlegrounds, to play a custom map, you have to download the custom map from another persons computer, (multiplayer). But if you try and play a game with the same map name, it tells you, YOU need to delete the other map. What im trying to do is in a project have you set where the folder is for the game, (becasue you can use them on different games), you could have the option to backup the other multiplayer game files, then after ...Show All
SQL Server Show connection string(s) in report?
I'd like to show (parts of) a report data source's connection string in the report. Is there any way to access the data source connection string(s) in an Expression I'm curious to hear all your answers, but a solution that works with the ReportViewer control would be especially useful for me. Eva Pierce Monsen The connection string value is currently not exposed through the report object model and can therefore not be accessed by other expressions. In RS 2005, you could define a (hidden) report parameter that determines the connection string. You would then use that parameter value in the data source connection string (RS 2005 supports expression-based connection strings, such as =Parameters!Co ...Show All
Software Development for Windows Vista Cannot create more than one worklfowRunTime per AppDomain
Hi, In web.config i have < configSections > < section name = " WorkflowRun " type = " System.Workflow.Runtime.Configuration.WorkflowRuntimeSection, System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 " /> </ configSections > In my asp.net web form i have using System.Workflow.ComponentModel; using System.Workflow.Activities.Rules; using System.CodeDom; using System.Workflow.Runtime.Tracking; using System.Workflow.Activities; using System.Workflow.Runtime; using WorkflowLibrary3; public partial class _Default : System.Web.UI. Page { //private WorkflowRuntime workflowRuntime; WorkflowRuntim ...Show All
