SergioFlorezM's Q&A profile
.NET Development SslStream and SSL protocol not recognized (i think)
i wrote this simple apps to connect to an IRC server but it doesn't work :( using System; using System.Collections.Generic; using System.Text; using System.Net; using System.IO; using System.Net.Security; using System.Net.Sockets; using System.Security.Cryptography.X509Certificates; namespace provaSSL { class Program { static void Main( string [] args) { try { string certName = "" ; TcpClient sslClient = new TcpClient (); sslClient.Connect( "irc.discostars.de" , 7000); SslStream sslStream = new SslStream (sslClient.GetStream(), false , CertificateValidationCallback); ss ...Show All
Windows Forms Link forms
What im trying to do is have my main form which has a checked list box...based on what is checked...go to a form that will run whatever was checked. Example: Program to install: (checked list box) Program A Program B Program C Program D So when a person checks to install Program A and Program C...go to another form that will process this. Hope I explaned myself enough.. Thanks in advance. Did you have any luck with solving this So a wizard type interface You can pick them up from third parties like Infragistics, DevComponents.com might actually you some pain. James ...Show All
Visual Studio Team System Performance Profiler - OutOfMemoryException
When attempting to profile our application (consists of console application and several class libraries - all C#), I get an OutOfMemoryException thrown almost immediately upon startup. The application runs just fine outside the profiler (standalone or in the debugger). Normal memory usage of the process typically sits in the mid-20MB range, so nothing out of the ordinary going on... Any thoughts as to what might cause this -Adam Adam, What mode of the profiler are you using Sampling or instrumentation Also, if you could give me a little more information about your current setup and about what ...Show All
Visual Studio Team System Source Control Explorer - grey out "Check In Pending Changes" when there aren't any
In the Source Control Explorer I think the option to "Check In Pending Changes" should grey-out when there aren't any files checked out. I can see how that would be a good thing. The thing I'm struggling with is how to make sure the Source Control Explorer (SCE) knows whether or not you have any files checked out. It doesn't currently retrieve the list of all pending changes (the Pending Changes" window does that. I suppose when you refresh the SCE we could go get that info but we'd be making an extra round trip to the server for the sole purpos of greying/ungreying a menu item. We've generally shyed aw ...Show All
Windows Forms Beta 2 Click Once Deployment & Helpfiles
How do you include Application helpfiles in the click once manafest Hi Sunny, You'll need to add the help file to your VS project, and then right click on the file and set it's build action to Content. After you've done that, your help file should show up in the Application Files dialog on the Publish property page. -Shawn ...Show All
SQL Server average of selected members?
I got a measure caled [number of persons] Now i want another calculated meassure which shows the average number of persons within the selected time period. My timedimension is : [Date].[Period].[Month] Let's say i have jan - 1000, feb - 1200, mar - 1100, apr - 1000 So if i select "feb" and "mar" in the cube, my average should show 1150 if i select jan,feb,apr i want my average to show 1066,67 is this possible Assuming that you're using AS 2005, something like: Avg(Existing [Date].[Period].[Month].Members, [Measures].[number of persons]) ...Show All
Visual Basic RegularExpressionValidator in ASP.net
I want syntax for RegularExpressionValidator in ASP.net. I mean what i will write in ValidationExpression so i will get some validation List of Expression I will write this than this expression will work some like that I use the book: http://www.amazon.com/gp/product/059600415X/102-3673649-0980951 v=glance&n=283155&n=507846&s=books&v=glance ...Show All
Visual Basic Help With Sending Mail in VB Express 2005
You know, there are several good examples for sending E-mail via C# and C++... But I have yet to find one that will send mail thru VB2005 Express. Here's my code: Function ThisDoesntWorkInVB2005() Dim client As New SmtpClient( "smtp.mymailserver.com" ) Dim fromAdd As New MailAddress( me@myworkemail.com ) Dim toAdd As New MailAddress( me@mypersonalemail.com ) Dim message As New MailMessage(fromAdd, toAdd) message.Subject = "Here's the subject" message.Body = "Here's the body" client.Send(message) End Function I replaced the SMTP and E-mail address variables simply for thi ...Show All
Visual Studio Express Editions This application has failed to start because MSVCR80D.dill was not found
The file is there in c:\windows\winsxs folder. This happens when I try a to create a simple project to test system and press f5 to bebug it. The file will create with release set and create the exe but will not debug I would appreciate any help. I have removed all re-installed all and no matter What I do comes up the same Thanks Operating system xp pro I too am having this problem but with a different twist. I was updating a piece of software that was written with an older version of VC++ a while ago and all was well for a while. Then one day, I started getting this error messages wh ...Show All
.NET Development Forcing ActiveX to load v1.1 when v2.0 is installed
I have an ActiveX control (inproc) that is written in Managed C++. When Internet Explorer (or any other ActiveX host) loads it, how to I make certain that the 1.1 runtime is loaded instead of the 2.0 runtime if both are installed on my machine I've tried a MyActiveX.dll.config file requiring the appropriate runtime, but that doesn't seem to do the trick. Any other ideas Apparently I wasn't clear enough in my question that anyone could answer... ;-) Is there a way for a Managed ActiveX Control to specify which version of the .NET runtime it should be linked to I could make a small shim ActiveX control that then runs ...Show All
Windows Forms Error deploying windows form application with web browser control
I have a windows form application in C#. The form has a web browser control on it. I have deployed this application in a virtual directory and trying to access it through IE. I get this error -- "An exception System.Security.Exception has occured in IEExec.exe". On removing the web browser control from the form the exception goes away. How to fix this Platform& ...Show All
Windows Live Developer Forums Photo APIs
Hi Dare, I read an entry on your blog a while back ( link ) regarding an API for uploading photos and altering the photo albums. Just wondering whether any more has come from these thoughts... Scott I guess in that situation, you could be right for wanting the comments. But it's good to hear that more API stuff is on the way, look forward to it. Scott ...Show All
Visual Basic Sign mail with a certificate
Hello, I'm developing a program to send mail, using VS2005, with then System.Net.Mail.SmtpClient and System.Net.Mail.MailMessage objects. By now, It works properly, but now I have to let the user sign the message with a certificate ... and that objects don't support it (only support certificates to stablish a SSL connnection). The only way could be to use Outlook objects, but I don't find how. I don't have any idea, I think perhaps I could write the message in RFC822 format, and then sign and encript some parts, by I can't believe that I am the only man in the world with this trouble ;) Any idea Thanks in advance ...Show All
Software Development for Windows Vista Limiatations of Workflows as web services
How can the receive request-send response be modeled as asynchronous inside a workflow. Isn't the model asynchronous by nature since the only relation between these two is simply the correlation parameter ...Show All
.NET Development Whats The difference between ASP.Net and creating a web page in HTML
I was wondering what is the difference between these two topics... DPowes, this would be a good issue to raise in the ASP.NET Forums: http://forums.asp.net Kit ...Show All
