ctadlock's Q&A profile
Visual Basic Dynamically Changing Button Properties
I am writing an application where I have a 5x5 array of buttons that I want to dynamically update some of the properties. I have created all of the buttons in the editor and have given then names that reference their position in the matrix (i.e. btnGrid11, btnGrid12, etc.). Based on the button that a user presses, I would like to update the image that is shown. I would like to do this in a loop and the problem that I am running into is tha ...Show All
SQL Server multiple-step ole db error
When trying to connect to sqlexpress, I get the rather uninformative error message: Error No. -2147217887 Multiple-step OLE DB operation generated errors. Check each OLD DB status value, if available. No work was done. Here's the connection string I'm using: strDbConn = "Data Source=.\SQLEXPRESS;AttachDbFilename=" & _ DbPath & ";Database=rawtf_1;Integrated Security=True;User Instance=True; " & _ " ...Show All
SQL Server Flat File Destination
I have a red link from my OLE DB Destination to my Flat File Destination. I'm not sure why it's read but the OLE DB shoves some data into a table. I want to then take that data and move it into a flat file using the flat File Destination step but when I run my project, it shows the Flat File Destination Step green but my flat file shows nothing at the end. I'm not sure what I'm doing wrong but the line linking the two is still red ...Show All
Visual Basic I am trying to make a website - Just to learn how to do it! But I have a Problem
I have created a Master Page with a header to which i have added an image. I have supplied the imageurl and it shows ok in the designer. But not in the browser! I have also added a menu and some pages all of which work ok except the one with a background image.Again the image wont show! I know that they are there because i set the Border width to 50 and then i can see just the borders but no image Can anyone offer an explanation please this has ...Show All
Visual Studio 2008 (Pre-release) What happened to ServiceHost.Throttle
The title says it all really. The ServiceHost generic used to have a property named Throttle which allowed setting of no. of concurrent threads and so on, but this has now disappeared/moved. Anyone know where it went David David, I've posted a rough draft of the reference documentation for ServiceThrottlingBehavior at http://blogs.msdn.com/ralph.squillace/archive/2005/12/12/502887.aspx . Any errors, let me know. :-) I'll update the ...Show All
Windows Forms Question about the DataConnector (BindingSource) component
Hi! I've just read about DataConnector (BindingSource) component. My little qusetion is : I want to create ONE dataset in the whole application on the MainForm(not on all the forms!) and all the other form's data-aware components use that one. Ok I know I can set comps' datasources to the MainForm's DataSet in run-time... But I also want to retrieve the structure information from the DataSet to create colums in&nbs ...Show All
Visual Basic FIleOpen Dialog - fileopendialog.showdialog() - Change default view from List to Details
In my app a user can mouse to File Menu - Open. The fileopendialog.showdialog() has default view of ListView. The user is alway going to have to sort the file list by Date in descending order in order to open the most recent file stored in the network location. How can I make the FileOpenDialog display in Detail View by default and not List View. Thanks, MIke Code Sample dlgOpenFile.InitialDirectory = sDefaultDir dlgOpenFile.F ...Show All
.NET Development Request for the permission of type FileIOPermission failed
I have a ASMX Web Service that references a custom DLL we have created. The DLL has a function to read some settings from a XML file that we deploy along with the web service on the web server. When I run the solution on my local machine using the web server built into VS.Net 2005, everything works great. When I deploy it to our Web Server running IIS, I'm getting an error saying it doesn't have proper permissions to read the file. The entire ...Show All
Visual Studio report designer can't access referenced datasets
Background Our business layer provides data to an asp.net report project via strongly typed datasets. These datasets are defined in the business layer assemblies, which are referenced by the reports project. Problem I would like to use these datasets as data sources for a report. Unfortunately the report designer only recognises datasets defined within the asp.net project, not referenced ones. Is there any way to get the report designer ...Show All
SQL Server How to clean machine for SQL2005 Reporting Services RTM
hi all, I am trying to get Reporting Services to install on a machine that previously had the September CTP install on it. The SQL Server part of the install has been fine and all seems to be operational as expected but the Reporting Services fails to install with the following errors: "An instance of the same name is already installed on this computer..." This is thrown out of the ValidateInstanceName func in the MSI. I am telling it to use ...Show All
Windows Forms Preparing to install window poping up
Hi I have created a setup for installing mergemodules....while intallting during progress bar "preparing to install" windows popups multiple times.....I tried to search on internet and I couldnt find any solution... Any pointers, links, solutions Thanks in advance Regards Naveen Hello Naveen, Which mergemodule you are trying to install I have faced similar problem while installing Crystal Report msm. It only hap ...Show All
.NET Development Diff Bet VS .net and VS
Hello I have read many documentation, but cannot really get this figured. In the old world(with out the .NET) a visual basic program in VStudio created .exe, which could be executed in Windows. In the .NET world, using the VB .NET the documentation says that it would create a (Intermediatary Language) IL. This then becomes native language and then native language gets executed on the CRL. Can some explain what this is all about, ...Show All
Visual C++ How do you get the Processor Serial Number in Visual C++?
Any of you guys know how you get the Processor Serial Number in Visual C++ I found examples of how to do it in C# and VB using ManagementObject. But I can't seem to find a way to do it C++. Thanks for the help, Jeff Sholl Well, System::Management::ManagementObject^ IS available in VC++ too (if you compile in .NET and add a reference to System.Management.dll), but I suppose you want to know how t ...Show All
.NET Development SSL/TLS exception when using HttpWebRequest with client certificate
Hi, I wrote following code to call a aspx page in code (from another aspx page): HttpWebRequest httprq = ( HttpWebRequest ) HttpWebRequest .Create(uri); string certificateName = "SoapProxy2" ; X509Store store = new X509Store ( StoreName .My, StoreLocation .CurrentUser); store.Open( OpenFlags .ReadOnly); X509Certificate2Collection certificates = store.Certificates.Find( X509FindType .FindBySubjectName, certi ...Show All
Visual Studio Team System Team System Tutorial
I have a Microsoft provided tutorial for SQL Server 2005. It comes with a Virtual PC image (though not with Virtual PC itself, and not with a Windows 2003 license I had to scrounge up from my MSDN subscription). It does a good job of leading you through using all the new tools. Does anyone know of a similar tutorial for the Team Suite tools One that leads you through a coherent way to use the Application Designer, Code Profile ...Show All
