Chris Lively's Q&A profile
Smart Device Development Missing Functionalities in CF 2.0 !!
I miss some good functionality in CF 2.0 just like VBCodeProvider, CSharpCodeProvider to dynamically create assemblies on the road. also how can I write a today-plugin with VB.NET or C# (not VC++) any one have any idea how to use the compile code dynamically on WM5 Hope Microsoft include these classes in CF 3.0 I want to write a script engine for managed code similar to PowerShell for Win32, (of course, with the limitaion of WM5) ...Show All
SQL Server Scheduling Info.
Hi I am using RS 2000. Currently I am scheduling the job by manually giving the date, time. Is there any possibility to make it as data driven so that I can configure each user with different timings. Regards, Venkataraman M You can create multiple data driven subscriptions to run at different schedules for different users or user groups. You can filter users for which the subscription is run in data driven subscription query. ...Show All
Visual Studio 2008 (Pre-release) Threadsafe-ObservableCollection
Hello, I have started playing with WPF. It is very cool. I have a singelton collection object that is derived from ObservableCollection (let’s call it MyCache). I'd like to make sure that it is thread-safe. Seems like I have at least 3 options (I'm not sure if all of them are correct): Option 1: I can go through and make sure the users of MyCache lock the instance before using it. However this is not very appealing. Options 2: So what if I were to override ObservableCollection's virtual methods (InsertItem, RemoveItem, etc.) and lock a common instance every time someone accessed MyCache. Would that solve the problem What would happen to public (non-virtual) methods such as Add and indexOf I have a feelin ...Show All
Visual Studio Team System CTP import SQL 2005 schema errors
First, great job getting CTP5 out early ! Second, as promised, I'm reporting back the errors I received (if any) when importing my four new SQL 2005 databases into CTP5 (see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=638221&SiteID=1 for original post). Total of 37 errors (much better than the 230 :): 2 errors on first database: 2 - Incorrect syntax near CONNECT. (this is on a user script for both users in the db, the script contains a create user followed by a grant connect to) 1 error on second database: 1 - Incorrect syntax near CONNECT. (this is on a user script for the only user in the db for the only user in the db, the script contains a create user followed by a grant connect to) 6 errors on third data ...Show All
SQL Server Timeout on successive messages
I am experiencing an issue with service broker timeouts. I have a c# app which sends successive message with the second message needing to be in the same conversation as the initial message. As part of a .net 2.0 transaction, I send a request to the following stored procedure: ALTER PROCEDURE [dbo] . [POST_AuditMessage] @MessagePackage xml , @dh uniqueidentifier out AS BEGIN -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SET NOCOUNT ON ; -- Begin a dialog and send the audit conversation. BEGIN TRANSACTION BEGIN DIALOG CONVERSATION @dh FROM SERVICE AuditInfoDeliveryService TO SERVICE N 'AuditInfoRecipientServ ...Show All
Visual Studio 2008 (Pre-release) Can't assign MenuItem's icon property using setter. Get Error!
Can someone tell me why this doesn't work <MenuItem.ItemContainerStyle> <Style TargetType="{x:Type MenuItem}"> <Setter Property="Header" Value="{Binding XPath=@Title }" /> <Setter Property="Icon"> <Setter.Value> <Image Source="{Binding XPath=@IconSrc}"/ > </Setter.Value> </Setter> </Style> </MenuItem.ItemContainerStyle> I get the following error... {System.Windows.Markup.XamlParseException: Cannot add content of type 'System.Windows.Controls.Image' to an object of type 'System.Object'. Error at object 'System.Windows.Controls.Image' in markup file 'M ...Show All
.NET Development packaging XML with images-- newbie
I have around 105 images that has to be arranged in hirearcheal order. Every time I make a selection it will give another set of selections(which are basically it child nodes) and depending upon the selection a final output is generated. I want to compress all these 105 images as a package and need to specify the path in the xml file. later with my program I need to extract the specific files and load in to the application. I don't want to use sql mobile database though I can do it by adding it as an embedd resource which I don't want to do. I need these file in the compressed format. I can also include during the deployment later (deployment cab file) while setting up I can extract the files in to separte folder too. but I need it to have ...Show All
Smart Device Development Compact Framework - Function Keys
I am trying to create an Application for Pocket PC 5.0. (Windows Mobile 5.0). My application relies on Function Keys (F1, F2 ... F10). These functions are preassigned to set functions in Windows Mobile 5.0 (E.g. F6 - Volume UP, F7 - Volume Down, etc.) So when the user presses these keys the form which i have created does not get KeyDown Event. I am able to access F3, F4, F5, F8, F9, F10. All other keys F1, F2, F6, F7, F11, F12 are not resulting in the event. I was wondering if there is a solution for this problem Thanks for your time. Parsh Sorry, but this is off-topic for the Device Emulator General forum. I recommend posting to the microsoft.public.pocketpc.developer newsgroup instead. Barry ...Show All
Windows Forms Question on ClickOnce Deployment
I want to create a ClickOnce appliaction to replace my windows control hosted in IE. We have hundreds of customers and they way it works now is that they download a package from our website and install the software on there web server. I would like to be able to have the ClickOnce application on our customers web servers, but from what I have been reading to create the ClickOnce (using VS 2005) you have to set the publish location, which I would not know. It seems that what I want to do, which is have a customer download the ClickOnce application and subsequent upgardes to their web server so that their users can install the application from that web server is not possible or at least I have not found any documentation on that. Ca ...Show All
SQL Server SQL Server 2000 - Service Pack 4 SetUp problem
Hi, I am trying to install Service Pack 4 to set up the SQL Server 2000 but I am having problem. When I clicked the setup.bat, the screen just "froze" with the message " validating user. Please wait..." What seem to be the problem Please help!!! Thanks and regards, If your account is not priviledged to do an update on the SQL Server (The account must have sysadmin access to SQL Server) then you won’t be able to make the update of the server. Try to login with your Windows accoutn credentials on SQL Server to see if you have access to the system databases which are changed during the update process. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Windows Live Developer Forums MSN Search: How can I bind the results to a GridView to take advantage of built-in paging?
I was wondering if anyone had some samples of binding the results to a gridview to take advantage of the built in paging. I am in the process of doing it but thought that someone out there must have done it already. Hello Tadmeister! There is a sample how to bind the results of a web service call to Gridviews. Cf.: Search Box of Steve C. Orr ...Show All
SQL Server can't connect to the ODBC database named aspol54
can any one provide any suggestions to help this error i installed automation studion 5.4 and the program will not run on my laptop. i traced the data below when i try to start the program. AsProjet db0-b5c ENTER SQLAllocEnv HENV * 015CF6B0 AsProjet db0-b5c EXIT SQLAllocEnv with return code 0 (SQL_SUCCESS) HENV * 0x015CF6B0 ( 0x015e1540) AsProjet db0-b5c ENTER SQLGetEnvAttr SQLHENV 015E1540 SQLINTEGER 201 <unknown> SQLPOINTER [Unknown attribute 201] SQLINTEGER 4 SQLINTEGER * 0x0013E380 AsProjet db0-b5c EXIT SQLGetEnvAttr with return code 0 (SQL_SUCCESS) SQLHENV 015E1540 SQLINTEGER 201 <unknown> SQLPOINTER [Unknown attri ...Show All
Visual Studio Hiding Explicit Interface Implementations
I could have sworn that somebody has asked this before, but I don't find the thread anymore and I can't remember the answer... Is there a way to hide explicit interface implementations from the documentation generated using Sandcastle Thanks Eric. Your work was a great motivation for us to provide a similar transform (RemoveExplicitImplementations.xsl) in our September CTP. Please see September CTP at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=779674&SiteID=1 . You can call the new transforms in September CTP by involing xsltransform.exe on the line that applies the AddOverloads and AddGuidFilenames transforms like the following: /xsl: RemoveExplicitImplementations.xs ...Show All
Visual C++ Using CTS in RS232 Comm
Trying to send data using a COM port to a device that uses CTS to control data flow. Using OpenFile and WriteFile. Setting the dcb.fOutxCtsFlow seems to have no effect on the output stream, the system sends out characters when CTS is not asserted. Thanks for any help, Bob Thank you for your reply! I did not call WaitCommState(), and when i first time call the GetModemSatus(), it returns ok, but call it next time it will return error. ...Show All
SQL Server Dbmail sending mails but recognised as spam by outlook07 and spamassasin.
Just started playing with the server 05 demo I am trying out the dbmail tool/ sp. Problem is that mails are being recognised as spam! Emails are being sent as text. Both Outlook 07 and spamassasin recognise the mail as spam :S.... I sent same info via outlok and all is ok. Difference is the header. Has anybody come across this Know of a solution Thanks DBMail does not require Outlook or any of the client pieces that SQL Mail required. What SMTP server are you using Where are you sending the mail Paul A. Mestemaker II Program Manager Microsoft SQL Server Manageability http://blogs.msdn.com/sqlrem/ ...Show All
