GalGolan's Q&A profile
Visual Studio Team System Can't remove Ghost project from source control or add project with same name
We have a ghost project in our source control explorer. I tried using TFSdelte to remove it says it doesn't exist. So when I try to create it it says it is already there. Here is what it says when I try to create the project. If it already exists, why can't I delete it Thanks for any help you can provide. Error TF30004: The New Team Project Wizard encountered an unexpected error while initializing the Microsoft.ProjectCreationWizard.Portal plug-in. Explanation TF30171: The Microsoft.ProjectCreationWizard.Portal plug-in used to create the new team project could not be initial ...Show All
Visual C++ Constructor Overrides
I've got a question on something that I'm not quite clear on. Maybe somebody can help me! If I derrive a class from another class like so: // Plant class... class CPlant { public : CPlant( int par_leaves):leaves(par_leaves) {}; int leaves; }; // Tulip class with different signature on constructor... class CTulip : public CPlant { public : CTulip( bool par_hasBloomed):hasBloomed(par_hasBloomed) {}; bool hasBloomed; }; Whenever you instantiate a derrived class, the parent class constructor is called first... so when you derrive a class and write a constr ...Show All
SQL Server ADO.NET Source Custom Properties - Documentation Wrong?
Ok, so I've looked near and far and have found nothing but info that says data flow properties can not be changed at runtime....then I see in this in the SSIS documentation under ADO.NET Source Custom Properties: SQLCommand String The SQL statement that the ADO.NET source uses to extract data. The value of this property can be specified by using a property expression. Pray tell me how this property can be specified using a property expression, or any other dts variable for that matter Thanks, Adrian Crawford You should be able to use aproperty expression (set it at the data flow level though ...Show All
Smart Device Development Image acquisition from webcam
How to write a program using c++.net that automatically acquire image from multiple webcam i m trying to get buffer using Dshow on my PDA Wm5.0, but i could got buffer captured on written to file, but anyone tell me way to get buffer as i need each frame, process it, and send over network. Thanks. ...Show All
Windows Forms Getting Assembly Path from within a UITypeEditor
I have a property in a usercontrol that contains a combination of a user defined form class and the assembly it is contained in. It is formatted like: "MyNamespace.MyForm, MyAssembly". What I am trying to do is _reliably_ get the path to the assembly depending if we are at design-time or running the app. We can assume that the form assembly ...Show All
SQL Server Anyway to render the Toolbar in RS2000?
Is there anyway, whatsoever to render the toolbar for Reporting Services 2000 using the web services API when rendering the report programmatically Alternatively, is there a way to fetch the Toolbar resource when rendering using a HttpWebRequest technique Either way, I want to hide the Report Server URL and provide controlled access to it's rendering capability to the public internet but I absolutely need the toolbar - specifically the printing control. ...Show All
Visual C# Serialize object to string
I am trying to serialize an object(s) to an XML string. I want to do this without ever actually creating an .xml file. The way I do it works, and seems to be fine. I just want to make sure that there is not something I have overlooked. If anyone has a better way of doing it I would appreciate the help. Here is my code: String XmlizedString = null ; XmlSerializer x = new XmlSerializer (Inv.GetType()); MemoryStream memoryStream = new MemoryStream (); XmlTextWriter xmlTextWriter = new XmlTextWriter (memoryStream, Encoding .UTF8); x.Serialize(xmlTextWriter, Inv); memoryStream = ( MemoryStream )xmlTextWrite ...Show All
Visual Studio Tools for Office Send RichTextBox (RTF Text) contents in Outlook email item
I have written code in vb .net that uses outlook.taskitem. I create my body part using my data which is stored in a string. When using outlook 98 the formatting is fine in the body of the task created in the public folder, but when I upgrade to Oulook 2003, the body of the task also shows the formatting i.e. {\rtf1\ansi etc. What is the best way to overcome this Hi I am trying to get the contents of a RichTextBox , in a new email item using Outlook 2003 The following code gives me unexpected results !!! , the RTF ecoding is dumped into the email window ! What I need is to insert the format ...Show All
Windows Forms how do I pass data from form 1 to form 2
Greetings, I am having trouble trying to pass data from one form to another within the same application. My project is set up with a main form [Form1] and I added a second form [Form2]. What I want to do is open Form2 from Form1 and then send data from Form1 to label and RichText controls in Form 2. From Form1 I used this code to open fo ...Show All
SQL Server Why is this slow?
The query is just... select name, max(date) from myTable group by name myTable had a clustered index PK, also non-clustered indexes on name and date. There are approx 1,000,000 rows and there are only 3 distinct names. This takes 10-15 secs to execute, even running directly on the server. Server trace says duration = 100, reads = 100 Profiler says CPU=20000, reads = 20000, duration = 10000 What on earth is going on ! Have you looked at the execution plan I'm betting that your nonclustered indexes aren't even being used -- neither of them provide access to ...Show All
SQL Server linking Oracle 9i server from Sql Server 2005
we'd like to link an Oracle 9i database running on Unix to our sql server 2005 Business Intelligence server to import the data from the Oracle database. When we attempt to use the Microsoft ODBC for Oracle we get the error that the Oracle client and networking tools are not installed. When we attempt to use the Oracle RDB we get the error connection refused. What steps do we need to do to connect the servers and run queries The Microsoft ODBC driver only provides full support for Oracle 7, and some limited support for Oracle 8 through emulation. It is unsupported for Orcale 9. You can see the roadmap for our data components via: ...Show All
.NET Development OleDbCommand.ExecuteNonQuery "Insert Into Select From"
Hello, I am working with OleDb to perform a bulk insert from a temporary table to permanent database table, both of which belong to the same database. I am wanting to use "INSERT INTO <permanent_table> SELECT * FROM <temp_table>". The query I run in MS Access to perform this bulk load does process correctly, but not in code using OleDb. After properly setting up my OleDbConnection object, opening it, and properly creating my OleDbCommand object, my question is this: when I call "ExecuteNonQuery()" no rows are returned and no data shows up in the permanent table. My connection opens perfectly and the ...Show All
Visual Studio Team System Team Build Error when using Strong Naming
Hi I am getting the following error when trying to build my solution using Team Build. The projects are strong named an the key is in source control. Solution: MediaConnector.Client.Windows.sln, Project: MediaConnector.Domain.csproj, Compilation errors and warnings C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1718,7): error MSB4018: The "ResolveKeySource" task failed unexpectedly. System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notificati ...Show All
Visual Basic File I/O VB6
I am not sure what the best way of saving/loading data in my program. I am taking data in from the user and storing it into and array. To save I am just simply printing the array contents to a text file. This all works fine, but I am not sure how I open the file and parse the file to have the .txt file contents read back into their respective array positions. eg. If I print #1, array(1), array(2) be "1" "2" repectively, I want to open the form and file and have array(1) contain 1 and array(2) contain 2. I have seen the split() funtion, but am not sure if this is the right thing. In other languages I have simply used a file pointer and parsed ...Show All
Visual Studio Team System Set check-in policy on folder level
Hi, I'm currently trying to figure out how to structure our release and dev-branshes in the best way. I think it will be something like this AppName Release Branch FeatureX FeatureY Tools Alot of the forum and blog posts I have read recomends a structure similar to this, and with that in mind I find it a bit confusing not beeing able to set check-in policys on a folder level. A small test app in the Tools folder does not need the same check-in policy as the Release branch. Is it possible to get this feature in TFS v2 . Perhaps. Our usual recommendation is to add code to your checkin p ...Show All
