Barden's Q&A profile
Windows Forms Problem with Mdi forms and Show method
Hi guys, I have a Mdi Container that can be minimized to tray. So when when I click minimized button I Hide the form and I show the notify icon. The problem is that during the mdi parent is not visible, maybe I have to create new  ...Show All
.NET Development WSE 3.0 "Could not load file or assembly"
I've built a VS2005 webservice using WSE 3.0. I'm trying to deploy it on a local development server which has .net 2.0 framework installed and the administration version of the wse 3.0 runtime. I get the following message when viewing the asmx file in a browser: Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details belo ...Show All
.NET Development what "OleDbType" Enum Can be used for DateTimePicker "Short" Format?
I am trying to create OledbCommand Paremeters. My Code is the following; cmd.Parameters.Add( "@Day" , OleDbType .Date).Value=dateTimePickerDay.Value.Date; cmd.Parameters.Add( "@Start" , OleDbType .DBTime).Value=dateTimePickerStart.Value.TimeOfDay; The 2nd line works but not the 1st. For "dateTimePickerDay" My "Fotmat" property is set to "Short" and for "dateTimePicker ...Show All
Visual C++ MFC CArray conversion sintax for MFC CAtlArray
Hello! I'm new with ATL and i need some help in this problem: which is the equivalent MFC CAtlArray for m_Array variable declaration using MFC - CArray: CArray<CFVector3D,CFVector3D&> m_Array; kind regards, Ioan Thank you Martin! I'm using the m_Array to work with a class called CFVector3D. I have following your idea.. but i get 2 error error from compiler: error C2558: class 'CFVector3D' : no copy ...Show All
Visual Basic cannot find file needed for lesson02
Anyone who's gone through the video lessons, please tell me where the 'Lesson Resources' are located/downloaded from...I'm not sure whether they were supposed to be included with the initial download or if they're available elsewhere. Thanks for any help Hi, I'm quoting these from http://lab.msdn.microsoft.com/express/beginner/ Lesson 2: Creating a Windows Application User Interface This lessons walks through ...Show All
Visual Basic How to get Stings of 8 bit Chars from Comm Port
I am using an MSDN RS232 sample VB code in VSTS2005 to read and write from/to the Com1 port. But the example uses System.Text.ASCIIEncoding.GetString which only handles 7-bit ASCII characters, not 8-bit. I don't see any Encoding format that will return strings of simple 8 bit bytes of characters from the Serial port unmodified. What Encoding code can I use for simple strings of 8-bit bytes so that I can handle 8-bit binary data from the COM1 ...Show All
.NET Development Web Services Security on Microsoft platform
Hi Everyone, I was reading following article on security of web services using SAML (Security Assertion Markup Language by Sun Microsystems' Eve Maler http://java.sun.com/features/2003/03/webservices-qa.html I would like to know , how Microsoft is maintaining the security issue in Web services. Is Microsoft also working on such standard like SAML. Thanks , Arshad Micro ...Show All
.NET Development Error while storing image into sql database.
Hi All, I was trying the below code : -------------------------------- try { MemoryStream stream = new MemoryStream(); this .gearPhoto.Image.Save(stream,System.Drawing.Imaging.ImageFormat.Bmp); byte [] content = stream.ToArray(); // insert new entry into table sqlinsert = "INSERT INTO pr_person_image (national_number, capture_date,expiry_date,operator_id, wstation_id, picture)VALUES("+ Convert.ToInt32( this .TxtNat.Text)+",'"+ this ...Show All
Software Development for Windows Vista Builing SharePoint workflows in VS.
I know this might not be the right forum, but is there anyone who could tell me where to find the visual studio project template for creating SharePoint Workflows Thanks Mikael The last I heard the templates were not ready yet. A better place to find out would be the newsgroups set up for Office 2007 at http://www.microsoft.com/office/preview/community/newsgroups.mspx . ...Show All
Visual Studio 2008 (Pre-release) X509 Certificates between a web service and another service
Using X509 certificates between a user and a web service seems "failry" stright forward. However, how does one configure the X.509 certificates to work between a web service (running a network service by default) and another WCF service I have trief everything using tools to the likes of FindPrivateKey and MakeCert ... to no avail. You need to configure you WCF service as you configure your WCF client in additi ...Show All
SQL Server DTS Mail task breaks after SQL 2005 uninstall/install
When I try to add a Mail Task in my SQL 2000 DTS, I get a message "Please make sure semmap90.dll is installed. When I try to register that dll using regsrv32.exe, it says the entry point is not found. Any ideas on how to get my e-mail task back I should point out that I've installed, uninstalled, and then reinstalled SQL 2005 on this machine. ...Show All
Visual Studio can't install .Net Framework
I have Window Me. I've tried updating my windows installer components and it tells me that I have completed the updates. Thereafter, I try to re-install the dotnetfx.exe file...it loads it on the computer and ask me to complete. When I do, it gives me this message: Set-up cannot access windows installer components/set-up cannot continue. I've tried this variouys times after updating windows components...has anyone e ...Show All
Visual Studio Team System Setup catch22 - install seems impossible
I'm trying to make a single server install of TFS on a machine with a previous install of SQL2005 Beta 2. TFS requires me to run both the Analysis services and the Reporting services AND to uninstall .NET 2.0. Now the tricky part here is that the Analysis services and the Reporting services both require .NET 2.0 to run! How can this ever allow anyone to install Thanks anyone, Nikolaj First of all - th ...Show All
Smart Device Development Create a secure socket
Hi, after that I understood that I have not SSL object in the CF, I am doing it in the hard way... :) Instead of import all the functions and the types to the c# project (P/Invoke) I’ve decided to write this unit (the socket) in c/c++ and then to import it as dll to my project and use it. I create the secure socket through this article: http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcecomm5/html/wce50conImplement ...Show All
Software Development for Windows Vista WorkflowPersistence simple question
Hi there, I'm writing my own workflow persistence service to support another database. I have following two save methods to override in my service: SaveCompletedContextActivity(Activity root) SaveWorkflowInstanceState(Activity root, bool unlock) The question is quite simple, how do I find in these two methods when I need to INSERT workflow record in database and when I need to UPDATE workflow record in database I can't find any b ...Show All
