|
Seems like direct copies into runtime directories are the best bet.
ZAK
|
|
|
|
|
|
Hi,
I want to sync my mobile programatically. It should not run microsoft active sync program, instead of that my application is running in background and it should be popped up and sync my mobile.
Is that possible?
Help me out.
Thanks & regards
|
|
|
|
|
If you want to make your own syncronization program you can. But if you are not using active sync you will need to define your own data transport and protocols.
|
|
|
|
|
|
You can transfer files via TCP given that it has a connection to the desktop.
-Raymond
|
|
|
|
|
I have done something similar once. We made a service that ran on the pc, that transfered some files to/from the mobile. It is very doable.
Onne problem though... We needed ActiveSync to establish the network connection to the mobile (it does so automatically when you dock the mobile). We did not sync anything via ActiveSync, but ActiveSync needed to be running. I do not know if you can establish the network connection to the device without ActiveSync
|
|
|
|
|
Hi All,
I want to block BACK KEY of WM Smart phone in my entire application.
What i am trying to do is my application should not get Minimized if I press WM Smart phone's Back Key.
Please help me.
Thanks in Advance.
Pavan Pareta
|
|
|
|
|
You didn't mention what language/technology you are using, so I will assume this is a .Net program.
You need to add an event handler to the KeyPress event and in the event handler check to see if the KeyChar on the event args object is Keys.Escape . If it is then set the Handled member of the event arg to true.
|
|
|
|
|
Thanks J2i
It's help full for me.
Pavan Pareta
|
|
|
|
|
I'm hoping to find someone here who can answer some basic question for me on this topic.
Does eVC++ 4 allow for userdrawn list boxes?
Does it allow for color text, different fonts, italics, etc in list boxes?
If the answer to the above two questions is yes, do you know of a sample of code for list boxes in eVC++ 4?
thanks,
ele
|
|
|
|
|
I don't think that IDE is robust enough to allow you to do that with it's resource editors. But you can certainly do that in code. Try reading over this[^]. You could adjust the window and control styles and even draw your own control on WM_PAINT.
I'll try to scrounge up a code snip if I can find it.
ɹǝʌo ɹoʇıuoɯ ɹnoʎ dılɟ sıɥʇ pɐǝɹ ʇ,uɐɔ noʎ ɟı
|
|
|
|
|
i have seen too much demo show how to use the hibernate. just access the only one talbe. i need set up the multiple relationship tables .
so i need the demo to show how to step across to access other talbe.
please contact me ,thanks!
|
|
|
|
|
If you are trying to get your database to behave properly you might want to try the database forum: Here[^]
ɹǝʌo ɹoʇıuoɯ ɹnoʎ dılɟ sıɥʇ pɐǝɹ ʇ,uɐɔ noʎ ɟı
|
|
|
|
|
I need to create a Excel Sheet from a cf application. I'm doing a "mobile version" of an PC program, and the result is sent to a server processing the data, so a csv file is not good enougth.
Since pocet Excel don't have any API like the "PC version" has, I cant do it in the same way as I have in my PC program.
Bacicly I have a DataGrid, that I need to dump to a excel file.
Does anyone have an idea on how to do it?
Same link to the big mysterius MSDN, that I havent found...?
Or perhaps someone know that there is'nt any good way to do it?
Myabe someone knows about the file spec for an Excel file, so I can write my own "ExcelWriter"??
Thanksfull for any answer...
|
|
|
|
|
|
WM6 programming...
How do I detect that my program is already running and switch to it instead of creating an new instance?
Thanks!
ggg
|
|
|
|
|
I am assuming you are writing using a native language (c/c++) since this is less of an issue with managed programs. I can think of two options. One involves using events, the other using the FindWindow function .
You can make use of named events so that a program knows
- Whethere or not it is the first instance
- If it is not the first instance the event can be used to notify the already existing instance to take focus
To use the event to detect whether or not a starting instance is the first instance all you have to do is look at the return result from a call to CreateEvent . If the return value is SUCCESS then this is the first instance of the program. If the return value is ERROR_ALREADY_EXISTS then this is a secondary instance of the program. ERROR_ALREADY_EXISTS is a successful error code and what is returned to you when this occurs is a handle to the same underlying event object that the first instance of the program is using. A full discussion of events isn't something that I can put in this reply but that is what you may want to look at.
You other option is to use the FindWindow function to see if another instance of your application is already running. If a window is found then use SetForegroundWindows to give it focus. This is far easier than using events but has drawbacks.
With the event solution you will have to make use of multiple threads. So it's more complex but also more reliable. With the FindWindow/SetForegroundWindow solution if two instances of your application are started in rapid succession then they could both check for the existence of a window before either instance has actually created a window. So neither instance will find the other. Since event creation is atomic this problem would never occurr.
|
|
|
|
|
Hi.
I try to Run the fallow pice of code above on my xbox 360 and I get a Compact Framework error saying the XBOX 360 is not compatibily with Asynchronous Calls.
Probably my code has some kide of error because the xbox has the method Guide.BeginShowKeyboardInput and Guide.BeginShowStorageDeviceSelector who as Asynchronous.
What I'm doing wrong?
CODE:
------------------------------
using System;
using System.Threading;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Storage;
namespace GameTest
{
public class GameTestProgram : Game
{
private bool flag = false;
private event EventHandler AsyncEvent;
public GameTestProgram()
{
AsyncEvent += new EventHandler(GameTestProgram_douglas);
flag = true;
}
void GameTestProgram_douglas(object sender, EventArgs e)
{
throw new NotImplementedException("Finaly BeginInvoke Works");
}
protected override void Update(GameTime gameTime)
{
base.Update(gameTime);
if (flag)
if (AsyncEvent != null)
AsyncEvent.BeginInvoke(null, null, null, this);
flag = false;
}
}
static class Program
{
static void Main(string[] args)
{
using (GameTestProgram game = new GameTestProgram())
{
game.Run();
}
}
}
}
Thx for help
|
|
|
|
|
The implementation of the compact framework used on Windows CE based devices defines BeginInvoke and EndInvoke only to provide interface compatibility but these methods are not implemented on delegates and as such throw NotImplementedExceptions. I can only assume that same behaviour is present in the compact framework for the xbox 360.
Other methods that you encounter that contain the word Begin and End are not implemented as compiler generated delegates and thus don't fall under the same usage restrictions. The Begin and End exists in these methods because of a coding pattern and naming that Microsoft is conforming to. But adherence to these patterns is independent of the absence of the compiler generated Begin/End Invoke methods on delegates.
Keep in mind I am writing this based on assumptions from the Windows CE compact framework.
|
|
|
|
|
Hello,
I have installed VS.net 2005 and i want to know the additional softwares required for developing mobile applications using VB.net 2005.
When i try to create any sample application, it shows message to install .NET Framework 1.0.
but When i try to install .NET Framework 1.0 it says that Framework 1.1 should be installed first.
Please anyone can list the softwares required, also please can give me some idea or sample code to start developing for my Nokia 3230.
Thanks In Advance.
|
|
|
|
|
Perhaps i am wrong, but i am not thinking that you can develop applications for Nokia phones, using V.S. 2005 and .NET Framework (or .NET Compact Framework).
With these tools you can only develop for Windows Mobile /Windows CE based Phones.
I have not a Nokia phone and then I can't suggest more.
|
|
|
|
|
Go here[^] for how you can develop for a Nokia phone using .Net Framework.
|
|
|
|
|
Visual Studio 2005 does not ship with everything you need for targetting the Compact Framework. You will also need to install the Windows Mobile SDKs.
|
|
|
|
|
You may want to look at the IDE from ZHMICRO. It is based on C++, doesn't need SDK's, and the applications you write can run on other mobile OS's without having to change any code.
|
|
|
|