Chris_e_m's Q&A profile
.NET Development Webservice SSL issue
I have a secure webservice that uses SSL (and basic authentication). I also have a client application that calls functions on this secure web service. We get an error " Could not establish secure channel for SSL/TLS". We have tried all the suggestions on the net and have finally run out of options. Has anyone else had this problem This problem happens sporadically on some machines, and on others it happens with every sin ...Show All
Visual Studio Express Editions Error Locating Server/Instance Specified
Visual Basic 2005 Express Edition: I got this error message: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) On this line of code: Me .RxTableAdapter.Fill( Me .RxDataSet.Rx) ...Show All
Windows Forms Can't get inheritance or association to work in class designer (Visual Studio 2005 Standard Academic)
Hi, I'm playing with the class designer in Visual Studio 2005 Standard (Academic version) and I can't get the Inheritance or Association to work. I create very simple classes like: public class Class1 { } with the class Designer. I click on Association (or Inheritance) in the toolbox. I then click on Class1 (expecting to see a line and be able to drag it to Class2), but all that happen is I move class1 around the screen. Ei ...Show All
Windows Forms MDI + external exe
Hi can anybody give me the code so that i can load external exe's as MDI childs into my application. Also cn anybody give me code so that i can load exe's from .dlls as MDI childs into my application Thx Assuming your exe or dll is .NET.... ' MyAssembly exe or dll contains the form to be instantiated System.Reflection.Assembly asm = System.Reflection.Assembly.LoadFrom( "MyAssembly.exe" ) ' This create an instance o ...Show All
Visual Studio What's new in VSS 6.04d?
My organisation recently upgraded VSS from v6.0 to 6.04d. Might anyone know where I could find details of the changes included in .04d (as minor as they may be) No major features were introduced, primarily it was bug fixing and some improvents to the integration into Visual Studio. The list of of bugs in the knowledge base that were fixed in 6.0d can be found at: http://support.microsoft.com/default. ...Show All
Visual C# how can I put in a procedure to download a file
I have been searching and searching - but it is hard to find anything useful when the key word is "download" Anyway here is what I would like to know how to do If I have a WebSite created in VS2005 and I add a button to Default.aspx, I would like to have a file to be downloaded on the user's computer in a directory that they choose. I would think that this should not be too hard but I just can't seem to find out how to do this n ...Show All
.NET Development Asynchronous ADO.NET wont wait for WaitHandle
SQLconn = new SqlConnection(dbConnectionString); SQLconn.Open(); SQLcmd = new SqlCommand(SPName, SQLconn); SQLcmd.CommandType = CommandType.StoredProcedure; SQLcmd.CommandTimeout = 0; // And start executing IAsyncResult iaR = SQLcmd.BeginExecuteReader(); waitHandles[SQLEVENT] = iaR.AsyncWaitHandle; int index = WaitHandle.WaitAny(waitHandles); With this code the WaitAny returns imm ...Show All
SQL Server SP_WHO2 on SQL 2005
The behavior seems to have changed on SP_WHO2 in SQL 2005. In SQL 2000 I could be logged in as a regular user in my system and run SP_WHO2 and get all the users currently logged in. This is no longer working in SQL 2005. It now only returns "me". What kind of rights do you need to have to see who is logged in It looks like sp_who2 is not documented yet in Books Online. I'll open a bug to addres ...Show All
Windows Forms Draw on the screen itself
Hello, Is there a way to draw a pixel or a graphic out side of my form so maybe even though my form (200px by 200px in size) is placed on 400,400 on the screen... But maybe I would like to draw a pixel on 10,10 on the screen, NOT the form... so that the pixel will be OUT of the form.. If any answers are available, it would be very appriciated! Thank You Keehun Nam May I ask you what you are trying to accomplish p.s.: please try to star ...Show All
Visual C++ linking C++ with mySQL
helo all, I don't know if that is the right place to post my comments, since the site is very large anway, how could I link C++ with MYSQL THanks all One big thing, you have the libraries and headers to program mysql come with mysql itself, or at least the older versions had them. So why would you have any problems unless you want to explicitly have ODBC OleDB or ADO. ...Show All
Visual Basic DataTable and MDI form problems in VB.Net 2003
Hi all, I will be really happy if someone could help me with a problem that has been causing me heartache for about a year. From an MDI parent I want to directly access the contents of a DataTable that is in an MDI child that is only singled out by its caption text. In the parent I figure out which MDI child I want by counting over Me.MdiChildren.Length while comparing its Text with the caption I am looking for. I then find the Ja ...Show All
Visual Studio Express Editions VB- and VC#-EE on one machine
I have downloaded and installed VB 2005 Express Edition (including SS-EE). Now I would like to try Visual C# 2005 Express Edition, but the download page seems to imply that I first need to uninstall the VB-EE/SS-EE that I just installed last week. Is that true, or can I have both VB-EE and VC#-EE on my machine at the same time Donnal Walter No you do not have to uninstall the versions you downloaded last week. The uninstall i ...Show All
Visual Basic Newbie - Problem spawning a thread
Hi, I'm kind a new to this VS .net stuff. I'm building my first application in VB.net. It's a crystal report scheduler using multithread functionality. The program works fine on my machine, but when I deploy it, the part that suppose to spawn the thread doesn't work. Other part of the program works fine, but when it's time to spawn the thread, nothing happen. Any body got any idea Any help is appreciated. Thank you, Rudy ...Show All
Visual Studio Team System "TFPT Rollback" Question ..
I am experimenting with the TF Power Toy tool (TFPT.exe) and trying to understand how the Rollback command works. Suppose I have the following scenario: >>> -- Changeset 1 line1: nothing line2: nothing line3: nothing -- Changeset 2 line1: Hello World line2: nothing line3: nothing -- Changeset 3 line1: Hello World line2: Hello Planet line3: Hello Universe -- Changeset 4 ...Show All
Visual Basic Download File From FTP
Hi, I am using Visual Basic Studio 2005 Express Edition, and I was woundering if I can connect and download a file from my ftp to my desktop. If this is possible, can anyone please give me an example code. There are two FTP samples or examples on the VS2005 Team Kit in: <device:>\Program Files\Microsoft Visual Studio 8\SDK\v2.0\LateBreaking\Networking ...Show All
