Kevin Mullican's Q&A profile
SQL Server The new connection manager could not be created.
I had to reinstall the June CTP and now when I right click in the connection manager area and try to create a new OLEDB connection I get this message: TITLE: Microsoft Visual Studio ------------------------------ The new connection manager could not be created. ------------------------------ ADDITIONAL INFORMATION: The connection manager 'OLEDB' is not properly installed on this computer. (Microsoft.DataTransformationServices.Design) For hel ...Show All
SQL Server Attach Database problem
I am trying to attach a database as part of my overall application distribution. After installing Express when my .NET app first starts it atempts to attach the database using EXEC sp_attach_db etc... This used to work fine with MSDE 2000 but now the database is being attached as read-only. If I then use Management Studio to manually detach and attach the database it is fine. Any ideas why this is happening please ...Show All
Visual C# c#- IXmlElementCollection in VB?
I have a function in VB, For Each objElement In objElements If objElement.children.Item(SearchPropertyName).Text =SearchPropertyValue Then Set GetPropertyElements = objElement.children Exit For End If Next where objElement is XMlElement and objElements and GetPropertyElements is a IXMLElementCollection. can anyone suggest me how to convert it in C#, i dont know how to use XmlElementCollection, so ...Show All
Visual Basic Draw pie chart snippet error?
Hi, I am trying to use the draw a pie chart snippet in VBasic net express 2005, but when I create it and call the procedures, it runs the code and goes to the end but nothing appears.It ends with return (...), nothing else. Any idea how can I see the graph. Thanks It works. If you put it in the form load event it will be erased when the form paints itself. You should put in the paint event ...Show All
.NET Development BackgroundWorker problems
Ok.....I have a while loop that executes an increment on a counter for a couple thousand times. I want to be able to show the progress on the counter using a progressbar. Now, I am executing the while loop in the DoWork method of the background worker and updating the progressbar in the ProgressChanged method and when i call RunWorkerAsync then things go wrong. My problem is that the progressBar updates properly and the count increments...howeve ...Show All
Visual Studio Team System Error 32000 During Installation of TFS Beta 2
I've done some searching but can't find a resolution for this issue yet. I've tried uninstalling ADAM, rebooting, and restarting the install. No go. During the installation of TFS, I get the following error: "Error 32000. The commandline "(temp)\getadminport.exe /vstf" returned non-zero value: 1" where "temp" is my local user's temp folder. When I run getadminport.exe thru the command line myself, I see this: Setting NTAuthenticationProvider ...Show All
Windows Forms I'm going nuts here...
Trying to find a control that will display nicely formatted text (preferably HTML) dynamically on a Windows form. Does anyone know or have experience with such a beast I have searched all over the Net and found lots of "browser" controls, but I don't want a Web browser - I just want to display nicely formatted text on a Windows form!! Like this: Dim sbText as New StringBuilder() With sbText .Append("<p><b>This is a ...Show All
Windows Forms .NET & WinForms for touchscreen applications
Hi All. I'm just learning WinForms with C# and I am primarily concerned about creating applications to be deployed on a touchscreen. I have a few questions that I hope somone can shed some light on, point me in the right direction for additiona ...Show All
Windows Forms Using BeginEdit and EndEdit to edit treenode labe.
Hello! I've got a treeview and a button. When I click the button a new treenode is added to the selected treenode in the treeview. When added I want it to imedietly go into edit mode so the user can write the label. I do this by just running newNode.BeginEdit(); This works. BUT, when I'm done editing and I hit ENTER the label gets blank and I end up with an empty label. I've added e.Node.EndEdit(false) to the AfterLabelEdit event of the tr ...Show All
.NET Development Run an Access query from C# using ADO.NET
Hi I have Access database queries (in SQL), how to run them from C# using ADO.NET What's the code like thanks yuelin Use inline queries to execute the queries. Try the following link http://www.intellectualbrains.com/DiscView.aspx mid=161&forum_id=4 & ...Show All
Visual C++ preventing the user from end task an application
Hey all, I have noticed some applications give the below message when you try to end task the application, even though the process is running under my user and I am a local administrator on the PC. These are security applications like firewalls etc. --------------------------- Unable to Terminate Process --------------------------- The operation could not be completed. Access is denied. --------------------------- OK --------------- ...Show All
Visual Basic Retrieving data from an excel file?
Hi, I am trying to retrieve some data from an excel file. The only problem is that the excel file is not a normal one. I'll explain how the excel file is: Details of RSL Details of Agent RSL name A ...Show All
Visual C++ Installing msvcr80.dll
Hello, I have installed Visualk Studio 2005 and want to try out some stuff. After writing a simple console application I ahve copied the exe to an other machine, but there is no VisualStudio installed. Copying the msvcr80.dll in the system folder does not work (it works on Windows 2000). I know that i lies now in the winsxs folder so I have tried to copy the whole stuff from this folder, does ot work! I have looked in the merge module and found ...Show All
SQL Server How can I get value from data flow control?
How can I get value from data flow control when it returns to the Control flow I want to use values in the data flow to decide what I'm doing next - using an expression on the 'line' (i.e. @Step == 10, 20 , 30 ...) @Step - is user defined variable. How can I set @Step according to the data flow It seems to be that I can't change @Step in the data flow. Seems like you are editing Script Task ...Show All
SQL Server SQL Task - passing parameters
Hello, I have a SQL task wich executes the following statement on a OLEDB connection (SQL 2005 DB): TRUNCATE TABLE DimTime GO DECLARE @CurrentDate AS Datetime DECLARE @EndDate AS Datetime SET @CurrentDate = '10-20-2003'; SET @EndDate = '10-20-2005'; while(@CurrentDate < @EndDate) begin INSERT INTO DimTime SELECT DATEPART(month, @CurrentDate) AS MonthNumberOfYear ,DATEPART(quarter, @CurrentDate) AS CalendarQuarter ,DATEPART(year ...Show All
