laiseng's Q&A profile
Smart Device Development Device Emulator 1.0 standalone with Windows Mobile 5.0 MSFP
Hello Everyone, Device Emulator 1.0 (yes, the same one that released with Visual Studio 2005), is now available as a standalone download from: http://www.microsoft.com/downloads/details.aspx FamilyId=C62D54A5-183A-4A1E-A7E2-CC500ED1F19A&displaylang=en This release comes along with the OS Image for Windows Mobile 5.0 w/ Messaging and Security Feature Pack (MSFP). Using this OS image with the emulator will allow you to demonstrate and play with technologies like Direct Push. Better still, you can now include the emulator and OS images in your online training materials Thanks, Anand for the Device Emulator Team For Internet connectivity, you will need to have installed the Virtual Switch (VMNet) Driver. Thi ...Show All
Smart Device Development Override Record button
Hi everybody! I face with such a problem. I have smartphone Qtek8310 and I want to override record button. I found how to obtain WM_HOTKEY messages from hardware buttons with the help of SHCMBM_OVERRIDEKEY message. But my app doesn't recive them when it is on background. Does anybody know how to recive messages from record button when window is on background Any solution this problem Actually I'm looking for a way to change the fuctionality of some of the hardware buttons. For example i want to change the camera button from activating the camera with just a click on that button. I want to activate the camera by pressing and holding that button for a couple of seconds. ...Show All
Visual Studio Tools for Office Office Word 2003 component in .Net 2005
Hello. I've posted this mesage at "Visual C# Generals" forum, but I'll post again in this topic. Hello. I need to develop a plugin for Word in Visual C# and as a test, I have to do the following application : in a Word document, I have to insert a button and when I press it, a windows form must appear with a textbox. That textbox contains all I type in document. Can you help me with some examples and tutorials about how to develop Word plugins in Visual Studio .Net 2005 using Visual Studio Tools for Microsoft Office 2003 System Thanks' very much. Start with the links in Mike Hernandez's VSTO 2005 Resource List, posted at the top of this forum: http://forums.microsoft.com/MSDN/ShowPost.aspx P ...Show All
Visual Studio 2008 (Pre-release) Transactions in DLinq
Hi there, As I understand it DLinq automatically wraps any call to SubmitChanges() in a Transaction right Does this mean that all the updates made since SubmitChanges() was last called are guarded by the transaction I.e. that either all the updates made since SubmitChanges() was last call will succeed or none of them will be submitted Thanks, Ulrich I started with the DLINQ designer for C# I worked through the whole example and all worked OK. Then I wanted to see what SQL was being generated I started application as a SqlServer express application with an attached file. The sql profile analyzer did not show me any sql generated againast the db. I changed it so I ...Show All
Visual Studio 2008 (Pre-release) LINQ and .NET Runtime Version
Hi! I know that it is impossible to load different versions of the .NET Runtime into one Win32 process. We are writing components for a host, that is working with the .NET Framework 3.0 (and therefore .NET Runtime Version 2). Our components should use LINQ. As far as I know LINQ CTP preview is working on the same .NET Runtime version. But what about the final release Will the final release still operate within an environment that hosts .NET Runtime Version 2 Thx in advance, Jorn Hi! Thx for your reply! So nobody can guarantee this for me. This is still a statement, but not what I wanted to hear :( Grusle, Jorn ...Show All
Software Development for Windows Vista Is System.Transactions default IsolationLevel configurable?
According to the documentation (http://msdn2.microsoft.com/en-us/library/system.transactions.isolationlevel.aspx), "By default, the System.Transactions infrastructure creates Serializable transactions." Is it possible in machine.config, app.config, web.config, etc. to set the default level to something else I know you can use the overloaded constructor on the TransactionScope Class to set that particular scope to a requested IsolationLevel. However, is it at all possible to set the default behavior from Serializable to something else, say ReadCommitted I believe it is not possible to set a default isolation level in one of the config files. I will double-check to be sure. Cheers! ...Show All
Windows Forms Setup driver and application in VS2005
Hi there. I'm trying to create a setup for driver and application. (in setup project in VS2005) I can get it by referring to such as guide for setup in VS2005, if just application one. However, in case of driver one it's hard to find out. I'd like to move a driver file(*.sys) to C:\WINDOWS\system32\drivers, and to load the driver file(*.sys) and start service (whatever requiring reboot) during setup progression. Is it possible If so, could you tell me how to do Look at the DIFx tools: http://www.microsoft.com/whdc/driver/install/DIFxFAQ.mspx ...Show All
SQL Server SQL Into XML
Can someone point me to a web reference on how to export SQL into XML. I was looking on the internet and could not find a lot of How-to's or Step-by-Step articles. Thanks Hi Lawrence, What do you mean by export SQL into XML, is it the query result or what You can process the query result or data by using one of the following methods: 1- CREATE PROC Process... @doc xml -- xml data AS -- Declare document handle DECLARE @hdoc integer -- Create memory tree EXEC sp_xml_preparedocument @hdoc OUTPUT, @doc -- Process Document -- Remove memory tree EXEC sp_xml_removedocument @hdoc 2- <Customer CustomerID="1" CustomerType="S"> <Order SalesOrderID="43860" Status="5" OrderDate ...Show All
Visual C++ VCCodeFunction adding override keyword
We are using the visual studio automation from an external application to write classes with functions in them in .cpp and .h files. With the VCCodeFunction I can see no way to add the override keyword after the funtion. Can anybody please point me to a way to do this. (Using the VCCodeFunction we can set access rights parameters, whether it is virtual etc.) Thanks Tiaan ...Show All
Visual C++ yet another dwmapi.dll/IE7 issue
There have been several threads concerning dwmapi.dll and IE7. Here's another one: I've created an MFC DLL that is being accessed by a Ruby script, something like: MyFunction = Win32API.new(mydll,"MyFunction",["P"],"V") On an IE7-installed machine, the Ruby script hangs (or, with the debug version of the DLL, the DLL fails to load). Running depends on the DLL indicates dwmapi.dll is missing. Earlier versions of my DLL which also had this delayed dependency didn't cause the Ruby script to hang, but when I added functionality to the DLL (functionality that must eventually depend on dwmapi.dll), the Ruby script started to hang. As with other threads related to this issue, uninstalling IE7 fixes the problem sinc ...Show All
SQL Server Send Mail Task in SSIS Weird errors
Hey there all, i am having a weird problem with the send mail task in SSIS. I have tried to different things, and i end up with two different errors: Firstly, i have setup a data dump to excel, and the send mail taks emails this to specific email addresses. In the Send mail task i have validated to SMTP server, and its correct. I have manually entered all the information in the Send mail task, and i am sending to multiple email addresses. These are all seperated by a semi colan. I run the task and it fails on the send mail task with the follwoing error: Error: 0xC002F304 at Send Mail Task, Send Mail Task: An error occurred with the following error message: "Unable to send to all recipients.". Task fai ...Show All
Visual Studio Express Editions Snipets ??
Hiya, I was wondering if anyone could help me. I am very very new to visual basic (just going through the first tutorial in my book :) Its telling me to use snipets to add code in, which is fine, but i have noticed that when i put snipets in its only putting in a few lines of code, compared with the pictures in the book there should be alot more. At first i thought it might be because I have a different revision of VB than the one used in the book, but when testing it my programme is not working so i guess i am missing code :( Is there any setting's I need to change It's possible that the book was written using a beta version of the software: the snippet they used may have changed for a final ...Show All
Smart Device Development Browse to IP
Hello, I've a question about a ppc. I've a testserver with ip 192.168.0.25 From a pc in the network I can go to the server via start; Run; \\192.168.0.25 From the ppc I always got the message the network path was not found. next message: Network resource cannot be found or you do not have permission to access the network, But if I fill in \\Testserver it works. How do I solve this Because \\Testserver is not an option if there are more networks. Thanks No, If its in the same network range it doesn't appear. Only in another network range because DNS doesn't work then i guess example Device Id 10.0.0.5 ServerA 10.0.0.6 then works file.copy(test.txt,\\serverA\test.txt) ServerB 10.0.2. ...Show All
Visual Studio 2008 (Pre-release) Changes with RTM?
For those of us still on the Sept. RC, is there a document available that lists the breaking changes and/or bug fixes in the final release The last time I checked in early Nov it was still a work in progress. I just posted it to the community website (here's a direct link ). ...Show All
SQL Server Problem with Historical Prediction in Sales Forecast Model
Hi, I have built a time series model to forecast sales value I have data from jan 2004 to jan 2006 and the sales value is at a day level in my database. But I am aggregating it to month level in the DSV of the mining model. I am required to make only historical predictions using the above model starting form jan 2004 to jan 2006 for every month. I have set Historical_Model_Count and Historical_Model_Gap parameter values to 24 and 10 respectively, and trying to predict for the past few months ( PredictTImeseries(SalesValue,-1,1) ) But its throwing me the following error Error(Data Mining): A time series prediction was requested with a start time further in the past than the internal model ...Show All
