Carmen Zlateff MSN's Q&A profile
Visual Studio 2008 (Pre-release) Problem creating a WPF project
Hi, I'm eager to start working w/ some avalon development, so I installed VS.NET '05 B2, along w/ the WinFX beta for vista, and the Visual Studio Extensions for WinFX, and I see the Avalon projects in VS.... however when I try to create a project in the Avalon section, I just get the following message: "The process cannot access the file 'C:\Users\Jason\AppData\Local\Temp\1\tmpB05A.tmp\Temp' because it is being used by another process." How on earth can I fix this (Or is it hosed ) Any suggestions would be much appreciated. --J. Nadal Arik, Thanks a ton! I knew that's what I needed to do, but I didn't know the GUID for it. Just wonderi ...Show All
Visual C++ Image Color Management in VC++ 8 Platform SDK
I'm converting a VC++ 6 MFC app to VC++ 8 using Visual Studio 2005 Standard. The existing app uses Image Color Management, so it #include's icm.h. In the VC++ 6 environment, it is included from the Platform SDK [$(ProgramFiles)Microsoft SDK\include] directory. A Visual Studio .Net installation delivers a version of the Platform SDK in a subdirectory of the VC directory [$(VCInstallDir)PlatformSDK] and this directory is setup to be used for includes upon install. However, icm.h is not included in this version of the Platform SDK delivered with Visual Studio 2005. The file does exist in both VS2002 and VS2003 installations. Was this ommi ...Show All
SQL Server XQuery: SQL type 'xml' is not supported in XQuery.
Why is this I am trying to insert an xml fragment into the children of a node using XML-DML insert statement, but it is not letting me do anything useful. How can I insert an xml fragment into the node structure of an existing xml field Any ideas Thanks... You might find this article useful - I'm not sure if this is how I'm going to do it, but it will work. http://blogs.msdn.com/denisruc/archive/2006/05/17/600250.aspx M@ ...Show All
.NET Development Sharing a software process with my business network
Im trying to find out a way on how to share my application process with the rest of my business computers network. We have over 20 computers that have an average of 2.5Ghz CPU and they only use 10 to 20% of the CPU capaticity daily. So it ill be nice if i could use the 80% of does CPU's so i can execute same major BIG process from a distance software under my local intranet. Any link, ideas, tutorials or help will be well appreciate ! Thank you ! You should have a look at remoting . Moved to .NET Remoting and Serialization ...Show All
Visual Basic Connecting to a server
im using the exportXML command in Microsoft Access 2003 to export a .xml file to my website. I have been experiementing with the exportXML command and have been able to export a table to a folder at my website. The problem is that before the table is exported i get a connect to website dialog box where you enter your server user name and password. Once submitted the .xml file is exported successfully. I would like to write some code that hides the connect to website dialog box and fills in the information automatically so users of my database dont see the connection. I have searched and search the net and are struggling to find exam ...Show All
Visual Studio Express Editions Visual Basic 2005 Express connection to sql 2000 server
Hi I'm a newbe to Visual Basic 2005 Express but I’m a systems administrator for a Microsoft SQL 2000 db server. I have been looking through all the help files and through the connection wizards but I can not find a way of connecting to a 2000 SQL server instead of using the Microsoft SQL Express file connection method. 1. Have I misunderstood and “Visual Basic 2005 Express” can not be connected to a full db server 2. If the answer is “no” does anyone know how to connect to a Windows 2000 SQL server Please help! Confused and frustrated If you're using the Database Exp ...Show All
Visual Basic Recordcount is -1
I am having difficulty when deleting a record from an ado recordset. Even though the record has been deleted I am still seeing data in a datagrid that has its recordsource set to a query based on the deleted record. Trying to discover the root of this problem I have noticed that although the record I want is returned by the query the recordcount is set to -1. Can anyone help 'delete an entry from the database Set cn2 = New ADODB.Connection cn2.Open strConnect Set adoRS2 = New ADODB.Recordset strSQL = "SELECT * FROM CartXref " strSQL = strSQL & " WHERE " strSQL = strSQL & " [Printer_ID] = & ...Show All
Visual C# How in the world?
I have a text file that I am reading that looks like this: "2002", "1", "500", "2003", "1", "501", "2001", "1", "500", "2000", "1", "503", "2001", "2", "500", "2000", "2", "540", "2003", "2", "550", "2002", "2", "523", The first column is 'year', the second is 'internal/external (1 means internal, 2 means external)', and the third is 'amount'. I want to use these numbers to make a report that looks like the following: Year: Internal &nb ...Show All
Visual Basic Don't work
why don't works this code, I can't see what wrong is Private Sub Afsluiten_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Afsluiten.Click Dim Response As MsgBoxResult If TextBox1.Text <> "" Then MsgBox( "Opslaan " , MsgBoxStyle.YesNo) End If If Response = MsgBoxResult.Yes Then OpslaanFunc() Else End End If End Sub This code will achieve what you need. Public Class Form1 Private Sub Afsluiten_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles Afsluiten.Click &nb ...Show All
SQL Server Stupid Replication Q
Hi, Here's the brief. I have DB_A on Server A, which I'm replicating to Server B. I then want to replicate tables from DB_A on Server B, out to DB_X on Server_B, but when I try and create the publication, the row is locked from selection, as it's obviously locked for replication from Server_A to Server_B. Does anyone know if there is anyway round this I ideally want Transactional Replication as our need is to have an identical copy for other calculations to be done and reporting purposes. (Server_A is on it's last legs, so we have Server_B to do all the calculations and host MSRS) Would we just be better off getting a bigger, more powe ...Show All
Visual Studio VSDIR needs GUID. how do I do this?
To properly implement a VSDIR, I need to associate a GUID to a resource DLL. I have a resource DLL, how do I do this "Optional GUID representing a product (for example, Visual J++) that has a DLL containing localized resources.Optional GUID representing a product (for example, Visual J++) that has a DLL containing localized resources." Thanks Jason are you looking to get the icon to load for the wizard you can do that without a guid, you just need to supply both the DLLPath and the IconResourceID. the docs I see quote, for clsidPackage: {clsidPackage} Optional. A GUID representing a product (such as ...Show All
Visual Studio Tools for Office Automation executable consumes 100% CPU
Hello!!! I have developed and automation executable to druve Excel and I'm poretty happy with it apart from the fact that it consumes 100% of the CPU while it's running - even when the app should really be idling. The problem is caused by this piece of code while (close == false ) System.Windows.Forms. Application .DoEvents(); I got this pattern from my VSTO book ( )and it's abviously going to cause the CPU hogging that I'm experiencing. Where can I find a better pattern for automation executables TIA, Doug What VSTO book are you using Thanks! Mike Hernan ...Show All
.NET Development Use Reflection - in page_load of a class derived from Page
i want to find wih reflection from page_Load function what other function to invoke (considering the name known an runtime). is it permited i mean to include the code for the reflection into the pageLoad and then create a class derived from the first one which uses the same pageLoad. You can certainly use reflection in the Load handler of your page. However, reflection should be used sparingly. Can you describe what you are trying to do Maybe there is a better way. ...Show All
Visual Basic Line numbers in stack traces
Hi there! Quite new to VB and .NET, just wondering where the line numbers have gone off of the stack traces See i'm quite used to Java, and I find it really easy to just fix a bug as i can see exactly where in my code the error has happened, java will say "yep, this method, line 12, you spelt the variable wrong" - you get the idea. With VB and .NET i've got this: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at ServerPlayListControl.addClips(String sessionID, MediaQueueItem[] items) at WebService.AddClips(String sessionID, MediaQueueItem[] mediaQueueItems) T ...Show All
Visual Basic Creating a dataset by dragging and dropping the table form MySQL database.
With Oracle database, I used to be able to create a dataset by making a database connection in the server explorer and dropping the table onto the dataset designer view. Can you advise if the same would work for MySql database and how. I get the foll error : Mouse drag opertaion failed. The table, view or table-valued function named ''parts'..'PO_mast'' could not be found. Foll. is the error if I try to add a Table Adapter using the wizard, when I hit Finish. An unexpected error has occured. Error Message: Object reference not set to an instance of an object. I am able to access the database from out of Visual Studio. Infact within the VS ...Show All
