Folyjon's Q&A profile
SQL Server Failure installing SQL Server 2005 SP 1
Windows XP Pro SQL Server 2005 Express SQL Server 2005 Standard I installed the service pack for SQL Server Express first. Then I tried to install the service pack for SQL Server. I got the error message, "A recently applied update, KB913090, failed to install.", while it was upgrading the Setup Support Files. Jonathan Allen Log follows... 04/22/2006 10:52:34.781 ================================================================================ 04/22/2006 10:52:34.875 Hotfix package launched 04/22/2006 10:53:47.546 Attempting to install instance: SQL Server Native Client 04/22/2006 10:53:47.578 Attempting to install t ...Show All
SQL Server Transfer Access database into SQL Server 2005 Express
Hi, A question regarding SQL Server 2005 Express edition. Is it possible to export Access databases into SQL databases without using programming (e.g. using SQL and programming languages) I understand you can do this with DTS, but the Express edition seems not have DTS. Many thanks Yuelin Hello i found a way of getting around of it: using the Upsize Wizard from Access. I have successfully "upsized my Access databases onto SQL 2005 express. good luck Yuelin ...Show All
.NET Development Problems with .Net 2.0 RC Framework and accessing Performance Counters (specifically Processor)
I have written a tool to dump performance counter data from any number of sources to a perfmon-compatible csv file. The problem is... on certain performance objects such as Processor\% Processor Time\_Total.... I get a zero back no matter what I do. There are alot of counters that give me zero back that shouldn't, but at the same time there are alot of counters that give me back what I expect (ie. Memory\Available KBytes). I have checked all of the performance counters using exctrlst.exe and everything appears to be fine. I have also tried this on three machines and the same thing happens. Does anyone have any thoughts as to what could ...Show All
Visual C# how to insert a new line programmatically in a richtextbox control?
in my form load event i want to set \n newline rtb.Rtf = string1 + \n + string2 + \n + string3 the output should look like this: string1 string2 string3 i got it, i added these lines: if (i == 0) { toAppend = "\n\n" + rtb2.Text .ToString(); } else { toAppend = rtb2.Text .ToString(); } ...Show All
Visual Studio 2008 (Pre-release) Multiple x64 failures
I just tried several operations on a new x64 machine. It has the .Net framework 64 bit runtime and the WinFX runtime components. No development tools are installed on this machine. I tried a loose XAML file and received "The page cannot be displayed" error. The URL used was \\M4\WPF%20In%20Action\Code\HellowWPF\HelloWPF.xaml from a local file share. The same file fails when placed on the desktop, and when placed in a path without spaces. Next I tried an application that uses a simple InkCanvas and this application crashed. THe same exe runs fine on my XP Tablet PC Edition tablet. ...Show All
Visual Basic What is wrong here? Arrays!!!
I have attempted to create a control array using this method: Dim WinsockArray As New List(Of AxMSWinsockLib.AxWinsock) Dim WnSck_Numb As Integer Sub Create_WinSock() Dim Winsock_ As New AxMSWinsockLib.AxWinsock Increase_Array() WinsockArray.Add(Winsock_) WinsockArray.Item(WinsockArray.Count).Tag = WnSck_Numb End Sub Public Sub Increase_Array() WnSck_Numb = WnSck_Numb + 1 End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click MsgBox(WinsockArray.Item(1).Tag) End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e A ...Show All
Visual Studio Team System Upgrade path from TFS Trial to Full Version
If you install the TFS Trial, what is the method of converting the installation to the full version We have hardware on order and would like to get TFS running ASAP so we would start with the Trial version. Also, our vendor leaves a lot to be desired and can't find the SKU for the full version. Does anybody know the SKU Is it 125-00001 Thanks in advance. We're currently finishing the documentation for how to go from Trial to Workgroup or Standard. This should be out in draft form next week, I hope, on the Team System User Education blog ( http://blogs.msdn.com/vstsue ). As for the full version SKU ...Show All
Visual Studio Express Editions Passing System::Object to a function - how to
Hi, I am stuck on a problem with pasing an argument to a function. I am using Visual C++ Express Edition and I imported an Active X component. It has a function like this: Virtual Bool AxTRIOPCLib::AxTrioPC::GetTable( int Val1, int Val2 , System Object ^% Values) Can sombody tell me how I can declare and pass an object to it and then later convert returned values into Double I cannot find any examples and I am not so experienced with . NET objects. Thanks a lot, Jerry. Dustmaker wrote: Hi, I am stuck on a problem with pasing an argument to a function. I am using Visual C++ Express Edition and I impor ...Show All
Windows Forms Linking to a resource file within the WebBrowser object
I'm using C# 2005 Express and .NET 2.0. Here is a screen capture of my app: http://www.utopiadigitalmedia.com/img/UtopiaGraphicWorks.jpg As you can see, I have a help utility docked on the right side, which as a "WebBrowser" object. THe object contains HTML loaded from a string resource compiled into the app: this.webBrowser1.DocumentText=(string)GraphicWorks.Properties.Resources.howto; now here is the problem- I would like that howto HTML to contain graphics, and to contain links to additional pages of info. I would prefer that those graphics and other pages are all resources, so the program can be distributed as a single exe, instead of ...Show All
Visual C++ Beginner console program question
I am a student learning C++ in the .NET IDE we have at school. I have previous commercial programming experience using other languages. Our class restricts us to making just console programs. I would like to try to make some useful console utilities for myself in addition to the assignments. However, every time I come up with such a project it requires getting some info from the OS. For instance getting a list of files in a directory or comparing a stored date to today's date. I don't see anything in the STL that offers those functions. Do you have to make a whole Win GUI program to get access to the Win API or are there libs out there ...Show All
Visual Basic Adding Data to the original Data Source/Access Database
I have followed a number of walkthroughs whilst using Visual Basic 2005 as part of the Beta 2 Visual Studio. My problem is starting when I want to send information back to the original data source (an Access Database) Now, my form loads the information from the datasource (northwind customers table) however when I try to create a new record, the changes are reflected in the dataset, ie the record is created and i can see it if i navigate off and back on the record, BUT it WONT go back to the database. When I preview the data either from my data set with Visual Basic, or whether I open up the database itself and check the table, the record is ...Show All
.NET Development How to Sum an amount in Web Database?
I'm assuming this is a VB.NET ASP.NET application Here's an example ... Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim ConnectionString As String Dim Connection As System.Data.OleDb.OleDbConnection Dim Command As System.Data.OleDb.OleDbCommand Dim Result As Integer ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\Documents and Settings\Brendan Reynolds\" & _ "My Documents\dbTest.mdb;" & _ "Persist Security Info=False" Connection = New System.Data.OleDb.OleDbConnection(ConnectionString) Command = New System.Dat ...Show All
Windows Forms Maintaining the selected row after sorting a DataGridView
Hi, Simple question, hopefully there's a simple answer: How can I maintain the same selected row even after a sort on a DataGridView In other words, after new items have been added to the binding source and a sort has been forcefully been carried out (in the custom BindingList), how can I ensure that the selected row is the same row as the one selected before the sort Bear in mind, I'm doing the sorting in a custom BindingList so I can't just handle the Sorted or SortCompare events and implement my own logic there. Thanks, Jiten You will have to record some info that can uni ...Show All
Visual Studio Team System DoNotCatchGeneralExceptionTypes
Our company is building a set of windows services that will run on a remote server and interact with a windows client on a network workstation. I just fired up FxCop on one of our assemblies and this rule violation showed up in a lot of places. We have a reporting object that will dump out text to a report/error file and we call it all over the place to report trace level activity, warnings, and severe errors (some from inside catch clauses). In general we always try/catch at least a generic error even when we don't know what could be coming back because we want to log errors to the report file as close as we can to the source. Thi ...Show All
.NET Development ThreadPooling in c#
I have to upload 70 files using ThreadPooling and code i have used is as below.I have set the maxthread size as 10.But it is uploading only 8 files. Please tell me how to make it work.Also if u can please give a sample code.Help will be greatly appreciated. WaitCallback callBack = new WaitCallback ( UploadFileEx0 ); for ( int i = 0 ; i < 70 ; i ++) { if ( true == isThreadAvailable ( true )) { ThreadPool . QueueUserWorkItem ( callBack , GetFileName ( this . listView1 . Items [ i ]. ToString ())); } else { MessageBox . Show ( "Worker thread not available &qu ...Show All
