John D Wilson's Q&A profile
.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 C# Detection of thread executing
I have read up some on utilizing threads, being a newbie to programming in C# and converted a major function in my application to execute in a background thread (to stop the display from freezing up if I switched to another application). The threading worked perfectly and it even terminates itself after completion. The only complication I have is that I cannot update the various text boxes on my form because they are part of other system thre ...Show All
Visual Studio Reportviewer print dialog problem
My .NET version 2 application creates reports by calling a method from a dll (which I also wrote) which displays a form containing a user control which in turn contains a ReportViewer. I set the viewer's .ReportPath, .BindingSource, and .DataSource properties and call the .RefreshReport method. The viewer displays the report correctly. When I click the viewer's Print button, the Print dialog correctly appears, but I have to click the dialog's ...Show All
Visual C# Namespace in C# 2005
A sample class for your expert comments. namespace MyNamespace. MyBody. MyClass1 { class1 { } } namespace MyNamespace. MyBody. MyClass2 { class1 { } } 1) From the class view in the VS.IDE, why are they not nested under the namespace of MyNamespace.MyBody 2) Example. Client Application using MyNamespace.MyBody; static void Main(string []args) { MyClass2.class1 class1 = new MyClass2.class1(); //compiler ret ...Show All
Visual Studio Express Editions Filter Master/Detail from
Hi, I am completely new to programming. I have two tables who are related to each other. I have made a master/detail form. I want to find a record on my master form with the use of a combobox. If I choose a value in the combox the detail form will only show the record(s) related to the master For example Master are Countries, Detail are Counties. I want a combobox containing the records of the Master. When I choose a reco ...Show All
Visual Studio Team System Sharepoint can't see ReportServer
Hi there,, I've just installed the the Team Foundation Beta 3, on a dual server setup. But I can't get my reportingservices to work as expected I've just found out that the installation did't exclude the "Reports" and "ReportServer"-paths automatictly So I tried to go to my app-tier and open'ed a command-promt and typed: > STSADM.EXE -o addpath -url http://tfs/ReportServer -type exclusion Then I get: The server i ...Show All
Visual Studio Team System Code.Coverage File
Is there a means through the extensibility SDK to read the code.coverage file itself programmtically or to respond to the event that creates that file in order to capture the information as well Michael, The short answer to this is absolutly! Rather then rehash all the information here I'll redirect you to a blog entry from one of our team members. The entry goes fairly in-depth with collecting coverage info programatically and wit ...Show All
Visual Studio Express Editions Bug in Visual C# 2005 Express ?
Hi, i got stuck on what it think to be a bug in VC# 2005 Express. After quiting debug on a windows form application containing 2 forms, one of the forms (settings dialog) kept showing up right in front of the editor, blocking the editor window. I'm not able to click it away or sending it to the background thus i'm not able to use the IDE anymore As soon as i start the VC# IDE again and load the project, the form stucks there, even without runni ...Show All
SQL Server can some one please tell me about the server name??
this is my first time to leave messange at here . I wish someone can tell me how to sign in at sql server management studio express CTP s server name .plsssssssssssssssssssssssssssssssssssssssssssssss ...Show All
Microsoft ISV Community Center Forums Excel Pivot Tables - Dynamically Changing Pivot Table Structure
I have one pivot table which is associated to a Excel Range. I dynamically change the structure of the pivot table (eg Columns, Row, Data) to create different outputs. I used the following code to "empty" out the Pivot Table structure With Sheets("Pivot").PivotTables("PivotTable1") For intLoop = 1 To .PivotFields.Count &nb ...Show All
Visual C++ Why destructor cannot be a friend function?
Why destructor cannot be a friend function Can someone help me out.. bye bond Why should you want the destructor to be a friend function. In other words why should you want other objects to call your destructor (Killing your object) ...Show All
SQL Server Error in SQL 2005 cluster installation
I am trying to install SQL 2005 in a 2-node Windows 2003 cluster. I have tried both upgrade and fresh installation, but got same error. The error stops the installation while checking system configuration after installing prerequisites. The log file entry is as follows: ******************************************* Setup Consistency Check Report for Machine: --SERVERNAME-- ******************************************* Article: W ...Show All
Visual Studio 2008 (Pre-release) Scroll a ListView to bottom?
I have a ListView that has to scroll to bottom on every item insert. Is this possible ListView displays scrollbars automatically when not all items can be displayed. ListView inherits from ListBox which has a ScrollIntoView method which will scroll a specified item into view. So when you add a new item, make a subsequent call to ScrollIntoView and you should be all set. HTH, Drew ...Show All
Visual Studio Express Editions The page cannot be displayed
Hi. I am new to ASP.NET I am facing a problem when i try out the Visual Web Developer 2005 Express Edition Beta 2. When i try to view my ASP.NET page in the ASP.NET Development Server come together with VWD 2005, it show The page cannot be displayed and the url at the address bar showed http://localhost:1683/WebSite2/HTMLPage.htm I am using Windows XP SP2 Please help me on this, i reallt couldn't find any solutions on it. thank you. Andy ...Show All
Visual Studio Express Editions Programming Languages
I need to know in what ways are C, C++, Java and C# alike or similiar. Hi, Hope the above reply from cgraus answers your question. I will mark your post as Answered. If you feel that your post is un-answered then you can click on "Unmark as Answer" anytime.I would like to inform you that these forums are meant for asking programming questions only... Thank you, Bhanu. ...Show All
