dsavill's Q&A profile
Smart Device Development SslStream Pocket Pc
I have a multiple layer application, that communicates with sockets I have UDP and TCP sockets, for 2 way communications, the problem is that I need to encrypt the channel and a good way is using SslStream, but it’s not supported in the compact framework, because I’m using embedded systems. The question is when the SslStream will be supported in the compact framework Hi bistok, NETCF V2 does not support SslStream. We will be considering adding support for the class in the next release. Thank you for your suggestion. In the meantime, you can use the classes in the System.Security.Cryptography namespace to encrypt the data. Cheers, Ant ...Show All
Visual Studio PDF to RPT Is there a way to do this?
Is there any posible way to import a PDF into the crystal reports designer Or is there a way to convert a PDF into an RPT If none exist I might try to figure it out, can anyone offerr some helpful input Thanks in advanced. ...Show All
Visual Studio To Microsoft: Sporadic COM exceptions adding/removing commandbars and buttons from Visual Studio add-ins
Hi Microsoft people, My add-in adds buttons to built-in commandbars of Visual Studio and also it creates several commandbars with lots of buttons. It is my painful experience (from user bug reports) that the Commandbars of Visual Studio .NET 2002/2003 and VS 2005 are very fragile and cause sporadic COM exceptions in non-reproducible circumstances. When a user reports this, my first question is: "Is it reproducible " and the answer is always "No, the add-in loaded/unloaded fine the next time". So, I am certain that my add-in is not buggy. I have done a lot of effort to identify some reproducible cases and I have repo ...Show All
SQL Server Fail to Connect Report Service via Management Studio
Dear sir, I installed a copy of SQL Server 2005 Evaluation Edition in my XP Professional Computer. When I try to connect to Report Service using Management Studio, it fails to connect with the following error: ********************************************** TITLE: Connect to Server ------------------------------ Cannot connect to XXXXXXXXXXXX ------------------------------ ADDITIONAL INFORMATION: The server committed a protocol violation. Section=ResponseStatusLine (Microsoft.SqlServer.Management.UI.RSClient) ********************************************** I have no problem connect to other services. Also, I can connect to the Report Manage ...Show All
Visual Studio 2008 (Pre-release) WinFX Beta 2 - ScreenSpaceLines3D: where did they go?
As the subject states: WinFX Beta 2 - ScreenSpaceLines3D: where did they go I really like the speed of beta 2 but this is holding me back now... Thanks Are you serious ! If so, do you have any suggestions how I should continue with my 3D editor: http://blogs.infosupport.com//images/blogs_infosupport_com/ernow/151/o_Screenshot2.jpg As you can see I need a replacement. I thought about reflectoring the old CTP ScreenSpaceLines3D but soon found out they are dependent on some serious internal classes... Any suggestions Please ... I'll beg if I need to... ...Show All
.NET Development Online artwork design
I am developing a system which enable user to customise artwork. The tool i use is ASP.NET. I would like to know if I need a component to do that in dot net. The system accepts texts, uploaded image by user and display the result on a graphic (JPEG). Firstly user can select one of the templates and then input texts and upload image. User can change the fonts, colors, position of the text. After updating the system would show the output on graphic form. In the end, the system would generate EPS file based on the design by the user. Q1: Is there any component tat can support that Q2: Is it possible to do in ASP.NET Your advises are tr ...Show All
Visual C++ How to add this warning of folder protection?
Hi All, I noticed that some time when you are trying to rename, move or delete a folder, Windows prompts a warning dialogue box like this: Renaming, moving or deleting 'Program Files', could make some programs not work. Are you sure you want to do this (sorry, but I couldn't find a way to post image here ) My question is: Is that possible to add this kind of folder protection in my application if so, how I searched the web and didn't find any information about this. Can anyone give me a hint Thanks Chris Using ShFileOperation should do the job ...Show All
Windows Forms Application config: automatic or not?
In tinkering with application and user-bound settings to persist form controls between invocations, I came across the article "Binding to Client Settings Sample" ( http://msdn2.microsoft.com/en-us/library/ms180993.aspx ) and the article "How to: Create Application Settings Using the Designer" ( http://msdn2.microsoft.com/en-us/library/wabtadw6.aspx ). The former provides a working example that is semi -automatic; the binding is done with the designer in part, but there is user code to connect and save the pieces. The latter states quite clearly that " you can create new application settings and bind them to prope ...Show All
SQL Server Create a flat file for each record in a table
I'm rather new to ssis and I've been reading and testing but didn't find a solution for this problem.Supose I've got a table Customer with some fields. One of the fields is CustID.I want to create as many flat files as there are Customers in the table with flat file name set to the CustID.If you could point me in a good direction, It would be nice.Greetings from Belgium It sounds like you want to run a exectue SQL task to get an ADO object which holds the records you want. Then for each of these you what to push thenm to a for loop and have a dataflow inside the for loop. In the Dataflow the source would be ...Show All
SQL Server Report Manager Config Issue
Greetings, *Microsoft Windows Server 2003 *MSSQL Server 2005 (with reporting services installed) I have found a configuration issue after setting up the virtual directorties for the report service and report manager. The reporting virtual directories are assigned to a non default website and the assigned site has a defined IP Address other than the machines assigned IP. The Reporting Services Configuration Manager Created the virtual directories properly but there seems to be a problem with it reconizing a non-default IP Address for the site the reporting services directories are created under. Because I get - "The ...Show All
Visual Studio Text field prints trash
When I preview a report with pictures and text fields, it looks normal. Then I print the report and the pictures are OK, but all the text fields are printing trash (garbage) characters. Wanted to post this follow-up as I have learned more about my problem. I have two printers: One a HP Laserjet 5si (w/Postscript) and another HP Officejet 7410 All-in-one. I have never had a printing problem with the 5si, so I never suspected the problem was related to the 5si. At any rate, I just tried printing to the 7410, and my text printed just fine. I tried again to the 5si, and the text printed as garbage. It does not look like ...Show All
Visual Studio Team System TFS Security
If I add "Domain\Domain Users" group to "Project\Contributors" then domain users ("Domain\User1") cannot access TFS. If I add "Domain\User1" to "Project\Contributors" group then everything works. Is this by design or a bug The Beta 3 refresh code has a problem detecting group membership if the group is set as the user's primary group. By default, all users have the Domain Users group set as their primary group, so the Beta 3 refresh code thinks that the Domain Users group has no members. The workaround is to create another group in Active Directory, and add the users to it. This problem is ...Show All
Smart Device Development How to change profiles programmatically on SP2003?
Hi, In an application of mine I want to switch the phone's profiles. Currently, I do this through emulating key presses to the Quick List window. But as there are now QVGA and WiFi devices out with changed Quick List, this is not very robust. So my question is: Is there a way to switch the profiles by code I can change the registry value HKEY_CURRENT_USER\ControlPanel\Profiles\ActiveProfile, but I have not yet found a way to communicate this change to the OS Does anybody know how to do this Thanks! Regards, Danny Unfortunately, there's no good way to do this. (This request has come up before.) Yo ...Show All
Windows Forms List of Generic Collections? Trees?
Where is there a published list of generic collection classes available in Whidbey If there's no list available, are there any Tree classes such as red-black, AVL or b-trees I realize this is an old post, not sure if anyone is still monitoring it anymore or not but I wrote a generic implementation of an AVL tree that you are welcome ...Show All
Visual Basic Opening forms on 2nd monitor
Hi all, I'm trying to get a form to open on a secondary display. Anybody know a way to open a form on a different screen other then the primary one Or even if you can't open on the 2nd screen, how to move a form to a secondary display by code. Dustin. Use the Screen object: Dim f As new Form Dim screens() As Screen = Screen.AllScreens f.Show() For Each sc As Screen In screens If MessageBox.Show(String.Format("Move Form to Screen {0} ", sc.DeviceName), "Pick Screen", MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.Yes Then f.Location ...Show All
