Bob Pokorny's Q&A profile
Smart Device Development cannot configure "TCP connect transport" settings in the Remote Registry Editor
Hello, I can't connect to my device with the Remote Registry Editor (running a custom WinCE 5.0 image without ActiveSync) because I can't change settings of the connection. When I select "TCP Connect Transport" in the "Windows CE Connectivity Manager Configuration" -> Properties and click "Configure", nothing happens. I can reproduce this with standard WinCE 5.0 SDKs too (Smartphone 2003). I'm using VS2005 SP1 " It is not good enough to just make a connection and sync with the activesync - I must also open one of the remote applications. Anyone will do, for example, I open the remote file viewer while the device is in the cradle - works fine - I see the files - c ...Show All
Visual Studio Team System Load test with Unit Test
Facing the error when trying to run the load test. Error Description :Error LoadTest1 TestProject1 (Computer Name) Could not access the load test results repository: The number of rows inserted or updated by an operation on the results repository (1) did not match the expected number (-1) . Tried setting up the store repository using SQLCMD /S localhost\sqlexpress /i loadtestresultsrepository.sql as I am using the Sql Express. Provided the correct connection string using the "Administer test Controller" yet not able to run the Load test. Help on this highly appreciated. Thanks, Mazzie Ok, from your log and responses, I believe I've determined that the SQL statement that is getti ...Show All
Windows Forms Save from a Datagrid to .TXT
Can anyone help me to save information from my datagrid to a .TXT file. I am populating the datagrid with information from a SQL query that I already have set up. All I need to do is to save the information to a .txt file now. Thanks Hi,Lawrence007 I write the following code for you information using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; using System.IO; namespace WindowsApplication1 { public partial class Form8 : Form { & ...Show All
Visual C++ Visual Studio Professional vs Visual Studio Express
My company spent a large sum of money to buy Visual Studio Professional 2005 about a year ago. I am not familiar with Visual Studio Express. Does Visual Studio Express have documentation on MFC Is it better than Visual Studio Professional Thank you. Thanks for your reply. I did not realize that Visual Studio Express was free. Why didn't they just call it Visual Studio Free Edition instead of Visual Studio Express How on earth can you write a Windows application without MFC Please explain. Isn't Win32 native == MFC ...Show All
SQL Server automatic data import
I just got sql 2005. Can someone point me in the right direction on getting started importing data. I need to be able to load ascii data into SQL 2005 on a weekly basis. This ascii file will have the same data structure but data will change weekly. I have heard to do this automatically (basically with a click of a button) you should use a DTS package. I also see this SSIS. I am trying to understand what to use for this import process. I would really appreciate any help on this. Thanks. ...Show All
Visual Basic round down function
is there any function can do round down. eg. 127.35 round down to 120.00 ...Show All
Visual Studio 2008 (Pre-release) Policy Assertions & WCF?
I needed to get an idea as to how we can add a custom policy assertions to a service description (or WSDL). The other part of the problem is executing the policy itself. For example, I may want to attach an SLA to the service telling that the service will provide a response in less the 3 seconds (not a good example perhaps). And I want add this as a policy assertion to my service description like this wsdl snippet: <service name="StockQuoteService" > <port name="StockQuotePort" binding="tns:StockQuoteBinding" /> <wsp:PolicyReference URI="http://www.fabrikam123.com/policies" /> <soap:address location="http://example.com/stockquote" /> ...Show All
Visual Studio VSI, Project and Item Templates Together
I have a template installer ".vsi". which inside is - Template.vscontent |- WebProjTemplate.zip I have two questions. 1) When i run the project, it complains about "No signature", i can continue, and install the template jsut fine. But I am not sure what I am supposed to sign to get it to work without that warning. Any info on that topic would be great. 2) I would like to add some Item Templates to the VSI, and have them install as well, along with the Web Project Template. But I am not sure how to include that into the VSI definition. My VSI looks as follows, is it just a matter of me adding more Content Attributes How do you define one for an Item Template < VSContent xmlns = " http://schemas.mi ...Show All
SQL Server SQL Server 2005 Data Encryption Issues
I read a couple of articles related to encryption topic in this forum and I feel that's really helpful I don't know if anyone has some knoeledge about the encryption issues in replication and clustering environment. I read some documents from Microsoft web site that explains how to move an encrypted database from its original server to another new server instance. That cause a lot manual works, if the database master key has been encrypted by the original service master key and you still want to enjoy the auto-open feature in the new environment. As we know the Microsoft SQL Server 2005 has a hierarchy encryption key structure and its top level service master key is really service oriented. For what kind of mechanism or set up, Microsoft ...Show All
SQL Server SQL 2K installed on compressed volume, need to uncompress
SQL Server 2K was installed on a compressed volume in compressed files. My manager freaked when I told him that this situation is unsupported. There are 2 databases and their backup files here, one db is 2 Gbytes, the other is 38 Gb. What is the safest way to get the db back into uncompressed files What is the easiest way to do this Is there any experience out there in fixing this situation joe ...Show All
Visual Studio 2008 (Pre-release) UsernameToken over Certificate authentication
I need to use client certificate to validate the domain of the request and user name token to validate the user in that domain. I know that this is a classic case for federation but lets ignore that for the purpose of this post. So the first authentication of the request was through certificates, which was relatively easy. Instead of passing user name and password as arguments to a method, I would like to send a user name token in the request. On the server side, I would like to validate the user credentials in the WCF plumbing. How would I go about doing the second part given that it has to happen right after the first part Thanks. Since I was able to make this work with configuration only with one service and one client certifica ...Show All
Visual Studio 2008 (Pre-release) if client use more than one service
Dear All, Please explain me, how client can access more than one service I generate 2 proxy-files over "svcutil" tool but these files cannot be compiled together in one project because it has doubled types in this proxies. If anybody have a sample - it would be great! In a scenario where two services share types I believe that svcutil is suppose to be able to generate proxies for multiple services at one time. The way I have done it is to pass multiple endpoints in the command line. would look like this: svcutil /d:"D:\My Stuff\SampleCode\WCF\Contracts\ClientAndTwoServicesSameType" /out:proxy1.cs /config:a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to draw an arc between two points
Im trying to make an application in C# to draw an Visio Drawing. The problem is that I dont know how to implement the ElipticalArc statement in the .vdx file. Is there a way to draw an eliptical arc between two points and thru a control point with direct3d Any will do. Are you still in school If so just use whatever book your school uses to teach algebra. Ask your math teacher about this problem and he/she will likely be more than happy to help you. ...Show All
SQL Server retrieve from db then write to text file
basically i am trying to create a program wherein after saving a new transaction to the sql database, the fields saved will be retrieved and then written to a text file. i read a thread here which is similar to what i am trying to do but it was in xml format.. hope someone anwers me...i really need help! thanks! I'm not sure what the difference is between the thread you mentioned and what you want to do. I would expect that the challenging thing is to retrieve the fields that were just saved. Once you have the information, changing it to the appropriate format is potentially tedious, but not difficult. Do you have a reference to the thread ...Show All
Visual C++ visual c++ 6.0 vs visual c++ 2005
I am looking forward to upgrade VC++ 6.0 to Visual C++ .NET 2005. But there are things I need to know before I do... 1. What are major changes in the "object class" structure ( if there are changes). 2. Do I need to make changes for the MFC libraries that I used while coding with VC++ 6.0 when I upgrade to VC++ .NET 2005. 3. In VC++ 6.0 I can use openGL and MFC together, and I can run OpenGL in a window with the integration of OpenGL and CDC ( class of device-context objects). Can I do the same in VC++ .NET 2005 4. In VC++ .NET 2005 , Are there any restrictions for using pointers with Arrays, List, Map Classes and my own classes 5. If I want to make a long-term MFC pr ...Show All
