ec's Q&A profile
Smart Device Development Synchronization of 2 desktops from pocket_pc with Pocket PC as master
I apologize if this is the wrong forum for asking this question. I have recently changed from using a linux based PDA to a Pocket PC based PDA and am trying to figure out how to accomplish the same tasks and capabilities as I previously used. I need to be able to synchronize my PDA to two different machines, one personal and one corporate. On my other device i was able to sync my personal information (contact, calandar, and todo's) to may personal machine and my corporate information to my corporate laptop leaving my PDA as the master repository for both machines. I do not want my personal information on my corporate machine and really ...Show All
Windows Forms ClickOnce - How to detect Online/Offline mode
Hi All, We are developing a smart client product which will be work both online and offline. In online mode, it would work with central datastore and offline would support working with local datastore when there is no connectivity. Since we are planning to utilize the Clickonce Depployment here, I have a question on how to detect whether the application is running Online or Offline How does ClickOnce manage it This would help us redirecting the request to correct store. Thanks, YT Unfortunately, ClickOnce doesn't provide a way to tell if the application is running online or offline. A better way to to do this is to ch ...Show All
Visual Studio 2008 (Pre-release) How to make a TextBox to AutoSize in a Grid?
When I put a TextBox into a StackPanel it automatically sets its height to ensure that you can read the current font. How can I get this behaviour in a Grid ATM: I have the problem that the text looks different on Vista (Segoe UI, 9pt) and XP (Tahoma 8pt). I can't read the text on XP systems but can read it on vista ... Now I always use independent values for Size, Width and Height (not pt, px or something like that) but still I have to assign a manual height to all TextBoxes (26,4 on XP). Hello - I've tried your example and I removed the height settings on the row's & replaced them with "Auto"; the TextBlocks and TextBoxes app ...Show All
Visual C# Converting code from VB to C#
Does anyone know of any tools (preferably free) that can convert VB code to C# code Please post any links to such tools in this thread. Thanks in advance. We produce Instant C#, which converts VB.NET to C#. A free Demo Edition is available at www.instantcsharp.com David Anton www.tangiblesoftwaresolutions.com Instant C#: VB.NET to C# Converter Instant VB: C# to VB.NET Converter Instant C++: C# to C++ Converter Instant J#: VB.NET to J# Converter Clear VB: Cleans up VB.NET code ...Show All
SQL Server samples database revisisted
I still can not get the samples databases installed. I am tring to following step 3 from Ten Things You Need To Know To Get Started with SQL Server 2005 Samples which is 3 – To install the samples and sample databases from the SQL Server 2005 Setup, you need to click the Advanced button on the Components to Install page, then expand Books Online and Samples and select Samples. This only installs the Samples MSI on your machine. To complete the installation, you need to run the Samples MSI. You can do this from the Start menu: click All Programs, click Microsoft SQL Server 2005, click Documentation and Tutorials, click Samples, and ...Show All
Visual C# Loading word document parameters into datagrid
Hi, I am developing an application where user will browse and load the word document template into the webbrowser control. This word document template will contain few words like <<word>>....<<word>>. I want to load only these items into the datagrid. I am trying to use mailmerge but it is not supporting. Thanking you, Prashant ...Show All
SQL Server Connecting to Reporting Services Server failed!!!
SQL Server 2005 and SSRS 2005 is curently installed on the same box. The OS is Windows 2003 (S) enterprise edition. When I connect to the Reporting Services Server using the Sql Server Management studio I get the following error message The request failed with HTTP status 407: Proxy Authentication Required. (Microsoft.sqlserver.Management.UI.RSClient) rsAccessDenied I am tring to connect using the Windows Admin id. I would like to get an answer from this form. -Aza ...Show All
Smart Device Development Can Compact Framework2.0 support WCF Http WebService?
I have made a WindowsFX WCF Http WebService available in my local machine,and i could contract the webService in my pocketPC Internet Explore(not the emulator). And i tried successful using a ASP.Net2.0 WebService in my application. But when i use the WCF Http WebService,it could not connect to my local Server. I am sure the WCF Http WebService is available. I suppose that Compact Framework2.0 dosen't support WCF Http WebService,but i'm really not sure... How can i solove the problem I hope you can help me,Thank you VVVVVVVVVVVVVery Much!!! zz1_27@hotmail.com .NETCF 2.0 does support WCF HttpWeb ...Show All
Visual Studio Team System How to force refresh after modifying WorkItemChangedEvent.xsl?
I have modified the ...\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Services\v1.0\Transforms\WorkItemChangedEvent.xsl file. I would like to be able to force a refresh so that I can test the changes. How do I do this Currently I'm waiting a few hours before the changes are propogated. Thanks . ___________________________ Sarah Cameron - InCycle Software They are kept in memory until the appdomain restarts. IIS recycles it every 1700 minutes, 20 minutes of inactivity, a config file is touched. You can always do an iisreset ... ...Show All
Visual Studio Class not registered - DTSConnection
I have created a number of reports on my local machine which work well. These have been incorporated into our web site. When the reports are run on our development machines they can be seen. When we made the site available on our web server then the error “Class not registered – DTSConnection” is given. I have not been able to solve this problem. Can any one help Server Error in '/' Application. Kencol, Did you ever get this resolved I am getting the same error on a windows app trying to run a crystal report. I would appreciate any info about a solution on this or even things you have tired that have not w ...Show All
Visual Basic Size in bytes of a boolean
How do I get the size, in bytes, of a boolean variable It appears to be a single (1) byte by empirical testing, but the documentation seems to imply that it depends upon the 'implementing platform'. (for example, an IntPtr has a size property, which returns the size of the pointer in bytes). I can't imagine a world in which anyone would need more than one byte to impliment bool. It only needs one bit, there are only two values. ...Show All
Windows Forms VS2005 Beta 2 form designer problem: error while parsing EntityName
I can create and code 'user controls' or 'controls' directly inherited from Windows.Forms.Control. When I try to place them on a normal windows form directly from the toolbox I get the following error message:- Failed to create component 'componentname' An error occurred while parsing EntityName, Line 2, position 51 If I declare and instantiate the control directly in code it works fine. For some reason the form designer cannot display them. If there's some XML code involved then the problem is that this xml has data which contains special characters like ampersand for example (&). A ...Show All
Windows Forms DataGridView: Column error for Binary, VarBinary, LongVarBinary data fields
Hi all, I am doing databinding with DataGridView, but some of my table coulumns have Binary, VarBinary, LongVarBinary attribute. The problem I am having is that the grid is redering these columns as Image columns, and is generating an error when the data are not valid images. I just want these columns to display as byte array, when bound. I do not want to use loop to insert rows, as this would be slow. Can some one tell me how to set this right Thanks in advance Hi Mark, Thanks for the quick response. To use AutoGenerateColumns and then remove the offending Image column and replace it with a custom column; a ...Show All
Windows Forms Can I download sourcecode of "New Windows Forms 2.0 Section"
I am using vs2005 beta1 now, but I do not know how to write code to apply the outlook2003 style panel. If I can download the example , it would help me to do it. Hi Allenpan, You may try to download the newly added sample application - <a href="http://www.windowsforms.net/Applications/application.aspx PageID=40&tabindex=8">IssueVision</a>, in whic ...Show All
Visual Studio Different namespace for DDEX compact framework provider
Hi, I am writing a DDEX package that should work with both a provider for the .NET Framework and with another provider for the .NET Compact Framework. I want to have a single VSPackage dll for both data providers. The problem I have is that I want to use another namespace when I generate code for the Compact Framework provider. Under the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\v2.0.0.0\PocketPC\DataProviders\{my .NET provider GUID} I have to specify the InvariantName of the .NET provider namespace, but I would really like to use the Compact Framework namespace (I think). Can anyone point me in the ...Show All
