Click here to Skip to main content
15,914,221 members
Home / Discussions / Mobile
   

Mobile

 
QuestionCan I p/Invoke "FindWindowEx" function in compact framework project in pocket PC? Pin
ting66811-Aug-04 23:56
ting66811-Aug-04 23:56 
GeneralI need your help. Pin
Lim Dae Kyu11-Aug-04 15:42
Lim Dae Kyu11-Aug-04 15:42 
GeneralXML Pin
Rassul Yunussov10-Aug-04 23:01
Rassul Yunussov10-Aug-04 23:01 
GeneralRe: XML Pin
João Paulo Figueira17-Aug-04 7:39
professionalJoão Paulo Figueira17-Aug-04 7:39 
Generaladding items in start menu, "new" and .... Pin
ting66810-Aug-04 0:26
ting66810-Aug-04 0:26 
GeneralI need help Pin
jenlgn6-Aug-04 4:30
jenlgn6-Aug-04 4:30 
GeneralRe: I need help Pin
Tony Antonucci8-Aug-04 9:24
Tony Antonucci8-Aug-04 9:24 
GeneralRe: I need help Pin
jenlgn12-Aug-04 7:43
jenlgn12-Aug-04 7:43 
The procedures that we use the most in our application don't work when I copy the code over. They don't exist in the .NET Compact Framework. I found a replacement procedure and most of the program works now, but there is one section of code that I can't seem to fix:

Public Function DeleteLine(ByRef intLineCount As Object) As Boolean

Dim sr As New StreamReader(strImportFile)
Dim sw As New StreamWriter(strImportFile)
Dim ret As Integer
Dim lCtr As Integer
Dim sTemp, sLine As String
Dim bLineFound As Boolean

On Error GoTo ErrorHandler
lCtr = 1
Do While Not sr.Peek = -1
sLine = sr.ReadLine

If lCtr <> intLineCount Then
sTemp = sTemp & sLine & vbCrLf
Else
bLineFound = True

End If
lCtr = lCtr + 1
Loop

sr.Close()
sw.Write(sTemp)

DeleteLine = bLineFound


ErrorHandler:
On Error Resume Next
sw.Close()
'oFSTR = Nothing
'oFSO = Nothing

End Function

I don't know how to switch this function over to use System.IO StreamReader and StreamWriter. Someone, please help us, this project is due in about 3 weeks.
Generalprocess list in Pocket PC Pin
Tammy525-Aug-04 2:04
Tammy525-Aug-04 2:04 
GeneralRe: process list in Pocket PC Pin
Daniel Strigl17-Aug-04 20:34
Daniel Strigl17-Aug-04 20:34 
GeneralOK Button Pin
Member 5308104-Aug-04 3:34
Member 5308104-Aug-04 3:34 
GeneralRe: OK Button Pin
Richard Jones16-Aug-04 7:13
Richard Jones16-Aug-04 7:13 
Generalclosing background tasks Pin
Tammy524-Aug-04 1:17
Tammy524-Aug-04 1:17 
GeneralRemote control of smartphone using RAPI Pin
Cho Sijun4-Aug-04 0:29
Cho Sijun4-Aug-04 0:29 
GeneralExcel Tables Pin
Rassul Yunussov4-Aug-04 0:21
Rassul Yunussov4-Aug-04 0:21 
GeneralRe: Excel Tables Pin
João Paulo Figueira8-Aug-04 0:51
professionalJoão Paulo Figueira8-Aug-04 0:51 
Generalturning wifi on/off through code Pin
Tammy523-Aug-04 0:32
Tammy523-Aug-04 0:32 
GeneralEmbedded VB3 SYSTEMTIME Pin
juDge_D31-Jul-04 22:18
juDge_D31-Jul-04 22:18 
GeneralProblem when building app with POOM Pin
Bui Huy Kien30-Jul-04 1:46
Bui Huy Kien30-Jul-04 1:46 
GeneralRe: Problem when building app with POOM Pin
João Paulo Figueira11-Aug-04 22:52
professionalJoão Paulo Figueira11-Aug-04 22:52 
GeneralVB.NET V Embeded VB Pin
fizzer66629-Jul-04 22:57
fizzer66629-Jul-04 22:57 
GeneralRe: VB.NET V Embeded VB Pin
Essam Salah7-Aug-04 1:38
Essam Salah7-Aug-04 1:38 
QuestionHow to pass parameters to a running program? Pin
ting66829-Jul-04 22:37
ting66829-Jul-04 22:37 
AnswerRe: How to pass parameters to a running program? Pin
Johann Gerell2-Aug-04 21:22
Johann Gerell2-Aug-04 21:22 
QuestionHow auto configure the 802.11 wireless lan adaptor Pin
Member 119359929-Jul-04 13:29
Member 119359929-Jul-04 13:29 

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.