|
Thanks a lot Bilal, but i think u forgot to put d links up. I can't find any links.
He who goes for revenge must first dig two graves.
|
|
|
|
|
I am a Software Developer,working on VS2008 and SQL Server2005.I am new comers in PDA.When I run my project from program,it's works fine.But when I run from bin\debug\pda.exe then an error message shows that Top-level control cannot be added.Please help me.
|
|
|
|
|
Seems you have not set the MDIParent of the child form to the main form.
Childform.mdiparent=this;
~Dave
Dave Traister
Software Engineer
ComponentOne LLC
www.ComponentOne.com
|
|
|
|
|
Thanks to you for reply me.frmMdiMain is my main form.I write in every child form that,Me.Parent=frmMdiMain.I use your code but mdiparent doesn't come.I used VB.NET.
|
|
|
|
|
Hello, I need to connect to a remote MySQL DB that lives into a remote host-server.
I am developing a pda application Windows Mobile. I am working with Visual Studio 2005 and C# as language.
Any code-example? can anybody help me?
Thanks
|
|
|
|
|
Can you write your connection string here.
|
|
|
|
|
I already get to connect it to remote database. I am using the free MySQL 5.1... connector. But it is too slow (about 7 seconds to connect from DB). Anybody knows any connector of pay?
Regards
|
|
|
|
|
See you can use RDA(Remote data access)or replication for this purpose , choose one of them depending on the size of data you want get on device ..., up to 10 mb on device by using RDA is very efficient...
Windows mobile development, pocket pc development , C#.net compact framework, Desktop application , web service
|
|
|
|
|
Can anyone tell me how to bulid a one click installer, that will install, my 3 cab files (SQL stuff, and deploy my application to the PDA? So that we do not have to do it manualy.
Thanks!
Computer Programmer Web/Mobile .NET
|
|
|
|
|
|
using System;<br />
using System.Collections.Generic;<br />
using System.ComponentModel;<br />
using System.Configuration.Install;<br />
using Microsoft.Win32;<br />
using System.Reflection;<br />
using System.IO;<br />
using System.Diagnostics;<br />
using System.Windows.Forms;<br />
<br />
namespace WindowsControlLibrary1<br />
{<br />
[RunInstaller(true)]<br />
public partial class CustomInstaller : Installer<br />
{<br />
public CustomInstaller()<br />
{<br />
InitializeComponent();<br />
}<br />
<br />
protected override void OnAfterInstall(System.Collections.IDictionary savedState)<br />
{<br />
string programName = "\"" + CeAppMgrExe + "\"";<br />
string programArg = "\"" + IniFilePath + "\"";<br />
<br />
MessageBox.Show(programName + " " + programArg);<br />
Process.Start(programName, programArg);<br />
base.OnAfterInstall(savedState);<br />
}<br />
<br />
const string _ceAppMgRegistryPath = @"software\Microsoft\Windows\CurrentVersion\App Paths\CEAppMgr.exe";<br />
const string _iniFileName = "PDARAM.ini";<br />
const string _filePrefix = @"file:\";<br />
string CeAppMgrExe<br />
{<br />
get<br />
{<br />
RegistryKey subKey = null;<br />
string exePath = null;<br />
try<br />
{<br />
subKey = Registry.LocalMachine.OpenSubKey(_ceAppMgRegistryPath);<br />
exePath = (string) subKey.GetValue("");<br />
}<br />
finally<br />
{<br />
if (subKey != null)<br />
subKey.Close();<br />
}<br />
return exePath;<br />
<br />
}<br />
}<br />
string IniFilePath<br />
{<br />
get<br />
{<br />
<br />
string installFolder = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase);<br />
string iniFilePath = Path.Combine(installFolder, _iniFileName);<br />
if (iniFilePath.StartsWith(_filePrefix))<br />
{<br />
<br />
int index = _filePrefix.Length;<br />
iniFilePath = iniFilePath.Substring(index);<br />
<br />
}<br />
return iniFilePath;<br />
<br />
}<br />
}<br />
}<br />
}
Can anyonehelp me? I am buliding the Desktop installer, and it starts the install proccess, but tells me there is an error in my setup file?
This is my INI file
[CEAppManager]<br />
Version = 1.0<br />
Componet = DeviceApplication1<br />
<br />
[DeviceApplication1]<br />
Description = PDA RAM Data Collection Application<br />
CabFiles = SmartDeviceCab1.CAB<br />
Computer Programmer Web/Mobile .NET
|
|
|
|
|
Hi all,
I'm find some problem to bind a simple String Array (NamesWpt()) with a Datagrid (DataGrid1).
The only result I obtained with this simple code line:
DataGrid1.DataSource = NamesWpt
is to populate the DataGrid with length of strings contained in Array (NamesWpt()). And the name column is been named "Length".
How to see contained Names?
Is it possible to bind a multi-column DataGrid with a multi dimensional array?
Thanks
Marco
|
|
|
|
|
You would need to create an ArrayList, add any number of classes having n number of properties you want to the ArrayList and bind it to DataGrid.
To bind an Arraylist to a DataGrid, refer the link below:
http://www.c-sharpcorner.com/UploadFile/mahesh/ArrayListBinding10212005102338AM/ArrayListBinding.aspx
~Dave
Dave Traister
Software Engineer
ComponentOne LLC
www.ComponentOne.com
|
|
|
|
|
Thanks for reply Dave,
I visited page you suggested me, and surely I'll can get some guideline.
Marco
|
|
|
|
|
How to load DLL in all processes in Symbian OS
Regards
Manisha
|
|
|
|
|
Hi
Anyone help about how to establish GPRS Connection using VS2005, VC++, pocket pc platform. Please suggest me with any sample code or article
Thanks in Advance.
|
|
|
|
|
if use VC++ to establish GPRS Connection ,there is a lib to dial,the name is "RasDial".
But I don't know how to establish GPRS Connection using VS2005,Csharp(C#)
|
|
|
|
|
We can Connect the GPRS through C#. Using Pinvoke Native Interop services,
|
|
|
|
|
hello,
If there is any API for hooking and intercepting in Symbian OS .
Please tell about that
Regards
Manisha
|
|
|
|
|
I need a help to send the query to GPS via serial port. I am using VS2005, VC++, Pocket PC 2003 Platform.
Anyone please suggest me with example source code ASAP.
Thanks
|
|
|
|
|
What is the exact problem and where are you stuck ? What did you try so far ?
|
|
|
|
|
Hi,
Thank you fo your reply. I tried code from Serial Port Enumeration on Window Mobile in Code project for my applicaiton, it shows COM2 : GPS_HWCOM. But actually on this Pocket PC 2003 GPS Port is COM5, I checked that GPS setting.
I try to read the data from serial port COM2, it shows letters are small square box, then I use COM5 to read the buffer it show the GPS information.
can you please suggest me how to solve this problem and how to scan this port by 1 sec or 2 sec delay..
Thanks
|
|
|
|
|
hi use serial ports and set the readdatabuffersize = 1024 and then register the
serial port DataRecieved event where you will get the data of GPS
when the buffer gets full, and then parse it.
hopefully this helpsgm
|
|
|
|
|
Hi All,
I am working on windows Mobile 6.0 and I want to use SIP(session Initiation Protocol) in my application. Is there any third party support for SIP API's which I can use in WM 6.0.
Thanks in Advance
Atul
|
|
|
|
|
Hi all,
I'm finding great problems in an apparently very simple piece of code:
I obtained that from a string (or an integer value) rappresenting an ARGB color, to reproduce the correspondig color, but I am not able to obtain the inverse (obtain a string (or an integer value) from a color.
Instead of a value I obtain only the string "System.Drawing.Color".
This is the code:
Console.WriteLine(Color.FromArgb(Red, Green, Blue))
I also tryed to use Color.ToString, but it seems it is not supported in C.F. 2 SP2.
I also tryed many other possibilities without results.
I find very strange there are no possibility.
Please help me to obtain a number or a string.
Regards
Marco
modified on Monday, May 12, 2008 6:31 AM
|
|
|
|