dondragon2's Q&A profile
Smart Device Development (URGENT) How to get the file path of the currently copied file
Hi, I am developing device applications in Visual Studio 2003 and also Visual Studion 2005. I have one doubt about coping files. I copied a file from windows to Pocket PC using Active Sync. Actually what my question is " How to get the file path of the currently copied file " using vb,c# or c++. (which file is copied from windows to device ) Please send your suggestion as early as possible. Thanks, GANESAN .M This is the way I got my application's folder. Hope this will give you some idea. ================================================================= Imports System.Reflection ...Show All
Smart Device Development Desktop application to be ported to run on smartphones
I have a small desktop application developed using C#.NET 2005 (.NET 2.0). It does have 3 command buttons, 1 tree control and has the capability of accessing the Web services offered by another application. I just want to know if the same can be ported to run on Smartphones. If yes, how and If no, what is preventing me to do so Please let me know. Appreciate your help! You can certainly share the business logic. See this: http://www.danielmoth.com/Blog/2004/09/share-code-if-fullframe_17.html You will have to redesign your UI e.g. the buttons can become menu items, sizing etc. Cheers Daniel ...Show All
Windows Forms View ClickOnce deploied application from other computer
Hi, I try clickonce deploy. Build simple windows application and published it by online mode on local web site (xp windows) I launch it from this computer, but from other xp in my local network i get DNS error ... What must I do to run it from other computer IE. Thanks Isra. Thank You for response. I published my "TestOnleCick" application as http://localhost/TestOnleClick/ MIMe file types for this directory is: .application application/x-ms-application .deploy application/octet-stream .manifest application/x-ms-application From localhost computer i launch the appl ...Show All
SQL Server Cannot create new SQL database file.
Hello, I'm using MS Visual C# 2005 Express, but I can't create a new local database file in the "Add -> New Item" dialog. The Studio doesn't create the database, but shows a file not found message. Any ideas Can you connect to SQL Server Express and create the database manually If yes, then the issue is within Visual C# and you should post this issue on a Visual C# Express forum. If you encounter an error with manually creating the database, let us know what that error is. Thanks Laurentiu ...Show All
Smart Device Development I want to handle PDA 's panel button action,how to do ?
I know use RegisterHotKey function can set some keyboard button to respone my prgoram keyboard hit . but I don't know what is value of PDA(wince )'s keyboard button (hard keyboard not soft keyboard) . I know system can set them to run specific program by modify registry . can anyone tell me thanks! calvin. RegisterHotKey only works with specific application keys most devices have only 2/4 of these, if you are using a "proper" keyboard then you can capture the key events in your form. Peter ...Show All
SQL Server SSIS Requests...
May be it's too late, but I think this requests could be scheduled at least for a SP1 if it's not possible for the RTM. 1) Execute Task without debugger: it would be very nice to be able to execute a single task without going in debugging mode. Just as you would ask "Start Without Debugging CTRL+F5" but for a single task 2) Customize default properties for task and component: when you drag a task on the package you get a default value for the properties that you could want to change; often I need to change the same property in the same way each time (for example I'd like to set the Batch Size for a OLE DB destination to 1000 instead than 0 ...Show All
SQL Server Writting to multiple tables
Hi All, I need to read data from a table, on a remote server, and write the data to an identical table on the local server. (That I did and all works fine.) The local server is were we do analysis services. So, with the data from the remote, I need to write parts of it to 2 tables other than the local identical table. (I hope this is clear) What tools do I use to accomplish this If this is not clear, let me know and I will try to clarify. Your help is very much appreciated. Thanks, Roy ...Show All
Visual C++ CEdit fails to set text on out-of-proc edit control
I have an application that allows client software to create a dialog box in the application. The application returns the handle to the created dialog to the client. I am running the client out-of-proc. The client is able to initialize all the dialog box controls except for the edit controls. For some reason, when calling the SetWindowText message, the text never makes it into the edit control field. If I later call GetWindowText, the CEdit does return the text set earlier. Using Spy++ on the edit control, I can see WM_GETTEXT, but not WM_SETTEXT messages being sent and processed by the edit control. I added extra code for one of my but ...Show All
Windows Forms Ordering Items in a Property Grid
This is really pathetic. I have tried a ton of stuff to try to order property grid items in VB.NET but it seems there is no way. I have heard that it is a VB.Net langauge bug, but very low priority on Microsoft's list... Well, its something everyone with a propertygrid wants, so can't Microsoft just add an Attribute for "Order" pizzayoyo wrote: Ok, i found how to do it in VB, by converting a C# file (PropertySort.cs) into VB. I still can't sort the categories, but at least i can get the properties in order. I tried to convert the code to VB.net and couldn't get it to work. Can you post the ...Show All
Visual C# Tablet/Mobile PC development forum now open
Hi all, I just wanted to point out to posters in this forum, that today we opened new Windows Vista Development forums, and in particular, if you have Tablet PC-related questions, we're glad to have them in Windows Vista Development/Mobile PC and Tablet PC Development thanks! We've made a lot of improvement to existing features as well as added newTablet-specific features to Windows Vista. Including new gestures called 'Pen Flicks', Panning in Internet Explorer, new pen cursor feedback, personalize handwriting recognition, new Tablet PC Input Panel (TIP) which supports Auto-Complete , and a lot more. ...Show All
.NET Development Update Query in Access
I am trying to convert some SQL Server code to work with Access. Update is giving me trouble. This update code works fine for SQL but not for Access. I don't get an error but the proper record corresponding to @ID is not updated. Am I missing some required Access sql formatting Fred Dim UpdateCommand As String UpdateCommand = "UPDATE Table1 SET ChildIndexList = @ChildIndexList WHERE ID = @ID" Dim MyUpdateCommand As New OleDbCommand(UpdateCommand, con) MyUpdateCommand.Parameters.Add("@ID", AdditionStructure.ParentId) MyUpdateCommand.Parameters.Add("@ChildIndexList", AdditionStructure.ParentChildIndexL ...Show All
.NET Development Passing streams in .NET remoting
I have a class implementing MarshalByRefObject, it has a method that return a stream. When the client consume the method the stream returned has all the properties OK except the data, it contains no data even when its length is > 0. If in the server I put the stream in a byte array and the method returns this byte array instead of the stream, the client get all the data OK. I'm using remoting with TCP binary formatted in VS2005. Hi Hermes, can you post the code to your solution Passing a stream should work. Cheers, JJustice [MSFT] ...Show All
Windows Forms Terrarium Server Temporary Difficulties
I am trying to access the terrarium server without much luck. I get the following message on the screen. The Terrarium server is experiencing temporary difficulties. This is why you are probably not receiving any animals. Please bear with us while we get the issue resolved. I do not know if this problem is truly with the server or if it is ...Show All
.NET Development Custom MembershipProvider Help
I'm having a heap of trouble implementing a custom MembershipProvider. Here are the details: I am creating a site that uses WebParts functionality, which, in turn, requires Membership functionality. Currently, I do not have SQL Server (in any incarnation) installed on the machine (in fact, it's a virtual PC running WinXP with SP2, and VS 2005 Beta 2, only), which, in its default configuration, Membership requires. So, I thought that I'd write a custom provider that would suffice for now (that does not use a backend but simply returns some static data for it's methods), which would alleviate my need for SQL server (I do not currently need to ...Show All
Smart Device Development Reservation System
Hi. I want to make a client-server application used for reservations. The client is a pocket pc 2003 CF2 and the server app is a basic C# application running on a Windows XP Sp2. I am using VS 2005 and C#. So the basic idea is that the Pocket PC is connected by WIFI to the windows machine running the C# app. With the PP you should be able to make a reservation which will be shown in the C# app and the pp should be able to show reservations made by the C# app. 1) Is the smartes thing here to use web services or .NET remoting 2) When using web services, how can the C# app update the reservations made by the client PP Synchroniz ...Show All
