Click here to Skip to main content
15,897,704 members
Home / Discussions / Mobile
   

Mobile

 
Questionpredictive text Pin
Jazzy Jeff10-Jun-06 21:34
Jazzy Jeff10-Jun-06 21:34 
Questionencription analogy Pin
rituparn10-Jun-06 11:27
rituparn10-Jun-06 11:27 
Questiontray application Pin
NikoTanghe9-Jun-06 10:19
NikoTanghe9-Jun-06 10:19 
QuestionDo CCommandBar Tooltips work? Pin
compiler9-Jun-06 9:18
compiler9-Jun-06 9:18 
Questionwriting to parallel port in VC++ in window CE 5.0 environment Pin
fatin hamimi6-Jun-06 22:41
fatin hamimi6-Jun-06 22:41 
QuestionIP to Mobile video transfer [modified] Pin
cashi_qau6-Jun-06 19:26
cashi_qau6-Jun-06 19:26 
QuestionHow to communicate from mobile to system Pin
Musharaf Zaheer5-Jun-06 9:36
Musharaf Zaheer5-Jun-06 9:36 
QuestionClipboard support for Pocket PC Pin
unistat5-Jun-06 5:04
unistat5-Jun-06 5:04 
Hi all,
I want to be able to copy and paste text into TextBox controls programmatically using command buttons. (Don't want to wait for edit menu!)
I found the following snippet but it gives me an error:
'Clipboard' is not a member of 'Forms'.
Am I missing a declaration or a reference?
Your help will be much appreciated.


========================================================
Namespace Clipboard
Public Class Clipboard
Public Function GetText() As String
Dim Text As String
If System.Windows.Forms.Clipboard.GetDataObject.GetDataPresent( _
System.Windows.Forms.DataFormats.Text) Then
Text=System.Windows.Forms.Clipboard.GetDataObject.GetData( _
System.Windows.Forms.DataFormats.Text)
End If
Return Text
End Function
Public Sub SetText(ByVal Text As String)
Dim oDataObject As New System.Windows.Forms.DataObject
oDataObject.SetData(System.Windows.Forms.DataFormats.Text,Text)
System.Windows.Forms.Clipboard.SetDataObject(oDataObject,True)
End Sub
End Class 'Clipboard
End NameSpace 'Clipboard


NewBee
AnswerRe: Clipboard support for Pocket PC Pin
Mike Rothermund5-Jun-06 5:51
Mike Rothermund5-Jun-06 5:51 
GeneralRe: Clipboard support for Pocket PC Pin
unistat5-Jun-06 6:32
unistat5-Jun-06 6:32 
GeneralRe: Clipboard support for Pocket PC Pin
Mike Rothermund5-Jun-06 6:40
Mike Rothermund5-Jun-06 6:40 
GeneralRe: Clipboard support for Pocket PC Pin
unistat5-Jun-06 6:47
unistat5-Jun-06 6:47 
AnswerRe: Clipboard support for Pocket PC Pin
likefood21-Jun-06 12:13
likefood21-Jun-06 12:13 
QuestionGetting Start Pin
Socheat.Net4-Jun-06 23:19
Socheat.Net4-Jun-06 23:19 
AnswerRe: Getting Start Pin
Mike Rothermund5-Jun-06 1:29
Mike Rothermund5-Jun-06 1:29 
GeneralRe: Getting Start Pin
Mike Rothermund6-Jun-06 1:25
Mike Rothermund6-Jun-06 1:25 
QuestionConnecting to Activesync... Pin
Mike Rothermund1-Jun-06 5:01
Mike Rothermund1-Jun-06 5:01 
AnswerRe: Connecting to Activesync... Pin
GDavy1-Jun-06 19:57
GDavy1-Jun-06 19:57 
GeneralRe: Connecting to Activesync... Pin
Mike Rothermund2-Jun-06 2:31
Mike Rothermund2-Jun-06 2:31 
GeneralRe: Connecting to Activesync... Pin
GDavy2-Jun-06 2:51
GDavy2-Jun-06 2:51 
GeneralRe: Connecting to Activesync... Pin
Mike Rothermund2-Jun-06 3:32
Mike Rothermund2-Jun-06 3:32 
QuestionEthernet Permanent MAc Address Pin
PierMario31-May-06 0:07
PierMario31-May-06 0:07 
QuestionProblem with net use and windows CE Pin
Netherxx29-May-06 23:52
Netherxx29-May-06 23:52 
QuestionSlow Update DataSet to XML - Need Help Pin
salianrakesh28-May-06 23:45
salianrakesh28-May-06 23:45 
AnswerRe: Slow Update DataSet to XML - Need Help Pin
Ray Kinsella29-May-06 2:34
Ray Kinsella29-May-06 2:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.