|
Hello Rupesh,
Here is the code to achieve the desired:
Imports Microsoft.WindowsMobile.PocketOutlook
Public Class Form1
Dim nc As Contact
Dim os As OutlookSession
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
nc = New Contact
os = New OutlookSession
os.Contacts.Items.Add(nc)
nc.FirstName = "Dave"
nc.LastName = "Traister"
nc.MobileTelephoneNumber = "99999999"
nc.Email1Address = "abc@test.com"
nc.Update()
End Sub
End Class
Regards,
Dave
Dave Traister
Software Engineer
ComponentOne LLC
www.ComponentOne.com
|
|
|
|
|
Thanks Dave. Its work for me
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
source code on voice chatting in bluetooth device,
|
|
|
|
|
|
source code on Text chatting in bluetooth device,
|
|
|
|
|
|
Is it not possible to, CreateWindowEx, create a window which is originally minimized in Windows CE 5.0? Look here: http://msdn2.microsoft.com/en-us/library/ms908193.aspx
The following dwStyle flags are not supported:
WS_CHILDWINDOW WS_ICONIC
WS_MAXIMIZE WS_MAXIMIZEBOX
WS_MINIMIZE WS_MINIMIZEBOX
WS_OVERLAPPEDWINDOW WS_POPUPWINDOW
WS_TILEDWINDOW WS_THICKFRAME
WS_TILED
The best I've accomplished so far is a window which has the width and height == 0 and the position x:400, y:300 (the middle of the screen). But there's a shrinking square which exists for a fraction of a second. Is there no way to get rid of it?
|
|
|
|
|
Hi every body ,
i have a treeview control in windows mobile 5.0 pocket pc , i want when the user select a node to clear all other nodes , i try to do it but it does not work , so can i find some help ??
Thanks ,
Mona
LA ELAH ELA ALLAH MOHAMED RASOL ALLAH
|
|
|
|
|
Hello Mona,
I tried using the following code and it worked for me:
Me.TreeView1.Nodes.Clear()
Are you doing anything different? If yes, can you post the code snippet you are using?
Regards,
Dave
Dave Traister
Software Engineer
ComponentOne LLC
www.ComponentOne.com
|
|
|
|
|
thanks dave for your reply , i already use this code but the problem was :
i have parent nodes which have a child nodes and the child nodes have also childes and all data returned from a database .
so to make the performance better , i have when the user select any node to clear all other expanded nodes which was selected before
so i wrote this code
For i As Integer = 0 To TreeView1.Nodes.Count - 1
If (i <> e.Node.Index) Then
TreeView1.Nodes(i).Nodes.Clear()
End If
Next
and it works but not totally correct ,
when i select a parent node and then select another it works and clear all the childes nodes under the selected node ,
but when i select a child node which has sub childes it clear the parent of this node and it's normal because the index here has changed ??? that's the problem !
LA ELAH ELA ALLAH MOHAMED RASOL ALLAH
|
|
|
|
|
You can try creating a function to clear the nodes and call it recursively for child nodes as shown below:
Private Function ClearChildren(objTV As TreeView, strParentNode As String) as Boolean
On Error Goto Hell
Dim i As Long
'Use a reference to the Parent node
With objTV.Nodes(strParentNode)
'Loop through the children
For i = 1 To .Children
'Determine if the child has a sub node
If .Child.Children > 0 Then
'Recurse this method
ClearChildren objTV, .Child
End If
'Clear the node
objTV.Nodes.Remove .Child.Index
Next
End With
'Success
ClearChildren = True
Exit Function
Hell:
End Function
Regards,
Dave
Dave Traister
Software Engineer
ComponentOne LLC
www.ComponentOne.com
|
|
|
|
|
Hi,
I have a problem to make a CAB file for my project exe (create in Visual studio 2005, C#) into PocketPc 2003. When i execute a cab on a PDa with pocketpc 2003 I retrive an error: "It's not a valid CAB file for windows CE".
The CAB work perfectly on PDA with windows mobile 5.0.
Why? I can create a CAB file compatible with pocketpc2003?
Thanks a lot.
Alex
|
|
|
|
|
Hi Alex,
Might be possible there is not installed Framwork.
Pavan Pareta
|
|
|
|
|
Hello,
I am developing an Icon Drawing program for Pocke PC, I am using Visual Studio 2008, and VB .NET Compact Framework. Can someone help me do something like this: http://www.talpykla.com/files/3992/Pavizdys.jpg
I want that the pixels look like big squares when drawing, and that there was a grid. Ant that I could save that picture in a normal (16x16 or 32x32) .ico format. Can someone help me?
Thanks in advance!
|
|
|
|
|
Hi all,
I have a little problem in my simple application I'm developing with VS 2005 and C.F. 2.0 in VB.
The sorting code to sort a normal string array do works perfectly in developing environment and also in Emulator, but when I transfer program in real device, I don't obtain the correct sorting of array.
But, there is no error in the program.
The above string array, during the code execution is converted (before sorting)in Single values, as strings rapresents decimal number.
The only hypothesis I have, is that while developmet environment is in English, the real device is Italian language, and then have respectively "dot" and "comma" separator for decimal value.
But I tryed different way to input and manage numeric values but in any cases sorting is not correct on PDA.
Some idea?
Thanks
Marco
|
|
|
|
|
Hi all,
How to develop system for IVR..........any idea.
Regards
|
|
|
|
|
I really do not think it is feasible.
You may refer the link below which explains why:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2858014&SiteID=1
Regards,
Dave
Dave Traister
Software Engineer
ComponentOne LLC
www.ComponentOne.com
|
|
|
|
|
After a fresh install of Platform Builder 5.0 on WinXP, i create a new
project, but very strange , "OSDesignView Tab" is not there.
if i sysgen, error occurs, "Invalid parameters passed to Wince.bat".
I then try repair-install PB, reinstall WinXp, all in vain.
i haven't found a sollution yet.
Would anyone give me some clue ?
E-Mail: carr123@163.com
|
|
|
|
|
Hi all, I am trying a quick C# app using that can parse through a Midi file, get the current note as it parses, play the note and update a display to show what note had just been played. I had found some examples that include winmm.dll through interop, but winmm.dll is not included in the .NET CF. I tried to make a cab project and include it in the GAC but it is (obviously) not a valid assembly, I tried to register it using cgacutil.exe but when I click it, it just pops a message box up stating the versions installed, I included it in the app's executing folder, but still could not be found.
So is this possible to do at all? if not can anyone point me in a using an API. I have tried to use SndPlay but that takes a filepath. MessageBeep is... well not gonna work cause there is no freq or duration. Does beep only work on pc pocket 2003??
I have been using WM6 but could use any platform emulator. Also I could try this in C++ but I'm less familiar with it.
Thanks for any ideas / suggestions in advance.
|
|
|
|
|
Hi all,
does http protocol and its authentication remains same?? When it comes to mobile web form(in mobile browsers) and desktop webform(in normal IE/firefox...)
CAN U Give Me Various mobile web Browsers????
thanks,
Prashanth
prashanth,
s/w Engineer
|
|
|
|
|
Hi all,
please suggest me the some authentication types other than(Basic,Access and Digest HTTP authentications)
I need to impliment authentication to my mobile appliation,
I want to know the available methods, that I can use to authenticate a web form in WinCE.
Hope U got me,
I just want to know HTTP Authentication types and suggestions.
thanks,
Prashanth
prashanth,
s/w Engineer,
integramicro systems
modified on Wednesday, April 23, 2008 5:49 AM
|
|
|
|
|
hi all,
how can i get all the contact of Windows mobile ?
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
Hello Rupesh,
Are you talking about Sim contacts or Outlook Contacts?
Incase its SIM contacts; there is a wrapper for SIM API in the OpenNETCF.Phone.Sim Namespace of the SDF (Smart Device Framework), which can be downloaded from the following link:
http://www.opennetcf.com/Products/SmartDeviceFramework/tabid/65/Default.aspx
It should save you a lot of work.
You may also refer the following article from Microsoft for SIM programming:
http://msdn2.microsoft.com/en-us/library/ms839358.aspx
Regards,
Dave
Dave Traister
Software Engineer
ComponentOne LLC
www.ComponentOne.com
|
|
|
|
|
hi all,
how can i determine that particular form is open or not ?
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
Mike Calligaro has an excellent blog entry about determining whether your app is in the foreground or not (and what you should do about it):
Power to the Developers part 1[^]
|
|
|
|