REMOVE SPEAKER AND X FROM START BAR
I would like to remove the speaker and x button from the
right side of the Start Bar. Does anyone know how to do
this. Thanks for any help provided.
The bigger picture...
Don't need the Start Bar but I do need the Main Menu and
possibly a SIP. I originally wanted to remove the Start
Bar all together and replace it with my own heading bar,
but somehow it is intimately assiciated with the Main Menu
and you can't have the Main Menu with out the Start Bar.
My new thinking is to keep the Start Bar and use it for
the purpose to show the form's heading and the time.
Another posting showed me how to remove the Start Icon
from the Start Bar and it works beautifully. Now I just
need to get rid of the speaker and the x button and it
will be complete. I will post the details of the total
solution in my posting from yesterday; Subject: NO Start
Bar.. YES Main Menu. Tag: Flash space Tag: 16214
Desparate - ASAP - P/Invoke probs
This is a multi-part message in MIME format.
------=_NextPart_000_00D7_01C3C634.8A06DB10
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
Major problems w/ deadline tonight! :(
I've created a DLL with the SmartPhone SDK. I've created a .NET CF app =
and try to p/invoke a function in the DLL. I always get =
System.MissingMethodException.
I've copied the DLL to both my application's folder and in the \windows =
folder on the PocketPC.
Here's my DLL code (actually, this is all auto-generated by the SDK)
#ifdef MYSTUFF_EXPORTS
#define MYSTUFF_API __declspec(dllexport)
#else
#define MYSTUFF_API __declspec(dllimport)
#endif
// This is an example of an exported function.
MYSTUFF_API int fnMyStuff(void)
{
return 42;
}
Here's the .NET code:
[System.Runtime.InteropServices.DllImport("MyStuff.dll")]
public static extern int fnMyStuff();
private void DLLButton_Click(object sender, System.EventArgs e)
{
int DLLReturned =3D fnMyStuff();
MessageBox.Show(DLLReturned.ToString());
}
The fnMyStuff() line is what triggers the exception.
Any help is greatly appreciated.. and the sooner the better! :)
------=_NextPart_000_00D7_01C3C634.8A06DB10
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Major problems w/ deadline tonight! :(</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>I've created a DLL with the SmartPhone SDK. =
I've created=20
a .NET CF app and try to p/invoke a function in the DLL. I always =
get=20
System.MissingMethodException.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>I've copied the DLL to both my application's folder =
and in the=20
\windows folder on the PocketPC.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Here's my DLL code (actually, this is all =
auto-generated by=20
the SDK)</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>#ifdef MYSTUFF_EXPORTS<BR>#define MYSTUFF_API=20
__declspec(dllexport)<BR>#else<BR>#define MYSTUFF_API=20
__declspec(dllimport)<BR>#endif</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>// This is an example of an exported =
function.<BR>MYSTUFF_API=20
int fnMyStuff(void)<BR>{<BR> return 42;<BR>}</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Here's the .NET code:</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2> =20
[System.Runtime.InteropServices.DllImport("MyStuff.dll")]<BR> =
=20
public static extern int fnMyStuff();</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2> private void=20
DLLButton_Click(object sender, System.EventArgs=20
e)<BR> {<BR></FONT><FONT=20
size=3D2> int =
DLLReturned =3D=20
fnMyStuff();<BR> =20
MessageBox.Show(DLLReturned.ToString());<BR>  =
;=20
}</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>The fnMyStuff() line is what triggers the=20
exception.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Any help is greatly appreciated.. and the sooner the =
better!=20
:)</FONT></DIV></BODY></HTML>
------=_NextPart_000_00D7_01C3C634.8A06DB10-- Tag: Flash space Tag: 16201
PocketPC 2002 address book access
Hello All,
I searched google groups for info about .NetCF apps(C#) accessing the
address book for customer information.
I am looking for a way to access the address book for customer information
in my application. This only seems logical because it is updated everytime
they sync with the desktop.
regards,
Jay Tag: Flash space Tag: 16192
Setting DialogResult dosen't close a form
I have an application that has a Form that is shown using the ShowDialog
method. I try to close it using this statement : this.DialogResult =
DialogResult.OK;
This works fine moste of the time. But sometimes the form will not close. I
do not use any of the Close events on the form.
The form does not du much. I't just collects at string in a textBox
controll.
Do anyone have any idea on what might be the cause of this problem?
Thore Berntsen
Norway Tag: Flash space Tag: 16191
SP2 Listview
When using the Columns.Add method and specifying a length
of -1, the listview displays properly the first time. If
however you clear it and re-populate, the columns are
collapsed. I had to specify explicit column widths to get
around the problem. Tag: Flash space Tag: 16190
How do u Configure a Full Screen?
Hi,
How do u configure a full screen that does no have a menu bar with keyboard
selection and no start bar with title and time?
I've managed tofiddle with form properties to remove the keyboard input
method but not the start menu and time.
Thanks,
Thanks,
Paul Tag: Flash space Tag: 16187
strange click problem
hi,
i've got some troubles with trapping some click events on button in a non
modal form under compactFramework
my application, throw two form , with the Show() function.
so one of them goes in background
on the frontground form, the click event of my Buttons work perfectly
but when i bring the second form (kind of hand-made toolbox) to front, by
clicking its tab in the windows bar, i can't managed to trap the click
events of this form's buttons
with the debugger, it nerver go in the event handlers!!
but thoses are present in the code
i've made them with lines like:
this.btCalculs.Click += new System.EventHandler(this.btCalculs_Click);
i can' t understand why these events don't get fired in this form
any ideas ?
Christophe Tag: Flash space Tag: 16180
Stop Program from Running Programs
I have sort of a strange problem that I have yet to uncover the cause
of...
If a user attempts to stop my application from the Memory>Running
Programs control panel applet, the following screen appears:
This program is not responding. It may be busy, waiting for a response
from you, or it may have stopped running.
Tap cancel to ignore...
To close program immediately, tap End Task.
Anyone have any thoughts as to why Tag: Flash space Tag: 16179
Corba on Compact Framework
Hi,
I am searching for support for Corba under Compact Framework (particularly for PocketPC 2003)?
I am searching for a commercial solution...
Thanks
JPRoot Tag: Flash space Tag: 16176
download file from web server using sockets
Hi Chris,
I am downloading an exe file into my PPC from a web server
using sockets. In socket.send(Encoding.ASCII.GetBytes(myQueryString))
method, myQueryString is the following.
"GET http://172.16.3.109/SGIPPM-HH-LiveUpdate/VersionInfo.EXE HTTP/1.0
Accept: */*
User-Agent: myusername
Host: 172.16.3.109
Authorization: Basic myusername:mypassword
Pragma: no-cache
Cache-Control: no-cache
"
My web server security is "basic authentication"
Its giving "not autorized" error.
My doubt is something is wrong with "Authorization" statement. I tried
converting username and pasword to a base64 string also, that too
doesn't work.
It works fine with unanimous access on server and with query string
without "Authorization" statement
Thanks
Basha. Tag: Flash space Tag: 16166
Accessing Pocket Outlook from a Windows .Net application?
Hi,
(this post is also posted in the vb.net newsgroup - sorry - i just found
out about this compactframework newsgroup)
I've developed a Windows VB.Net CRM application for my company.
I need my own CRM application to be able to replicate it's calendar
with my Pocket PC 2003 Outlook calendar.
Understand me correct ...
* I'm not developing a compactframework VB.Net application, but a
Windows VB.Net application.
* I'm not using Outlook in my windows environment, here I use my own CRM
application.
* I of course use Pocket Outlook on my Pocket PC 2003.
I've looked at POOM, but it seams like it's a compactframework component
communicating with the Pocket Outlook. I need a windows-framework
(windows application) to communicate the the Pocket Outlook.
Any controls "out there" doing the above?
Any other suggestions??
Thanks in advance!!!!!
M O J O Tag: Flash space Tag: 16161
Sub & Function Comments?
hi,
im wanting to add comments to my sub's and functions so that when you
call them, in the hint/tooltip that appears, you get an explaination
for each parameter.
for example if you type the follow:
string.Copy("hello")
you get a hint/tooltip:
-------------------------------
|Copy(str As String) As String|
|str: |
|The Sytem.String to copy. |
-------------------------------
is there anyway i can do this for my parameters in my subs and
functions?
thanks,
craig. Tag: Flash space Tag: 16154
compatibility CF and Full FrameWork
Hi group
If i develop an aplication on the CF,
will it work on the full framework ?
I suppose yes, can you confirm ?
thanks
ROM Tag: Flash space Tag: 16148
Installing the emulator 2003
I wonder if I can install the emulator for PocketPC2003 sdk on my PC
with VisualStudio 2003 without problems.
When I try to run the setup it tell me that already exists a platform
registered with platform manager and the setup will overwrite it... (I
think this is the one installed by VisualStudio).
If I go on will all work again? :)
Thank yoo! Tag: Flash space Tag: 16143
Disapperaring bytes
Hello,
i have a serious problem with some data. It looks like all Stream
objects simply lose bytes when reading from a file.... in particular all of
those chars that have an ascii code >127 i.e. (for me, i am italian...)
"è","°","é" etc etc.
Any idea??
--
Official Coffe & Donuts Beta Tester
Cake Product Manager
homer|at|nexmind|dot|com Tag: Flash space Tag: 16140
Building assemblies for Compact Framework
Hi,
is it possible to create dinamically an .NET Compact=20
Framework assembly with System.Reflection.Emit (using the=20
full .NET Framework)?
Thanks in advance.
Jos=E9 Antonio. Tag: Flash space Tag: 16139
Getting correct MousePoint in ContextMenu.Popup?
Hello NG!
In the Popup-eventhandler of a ContextMenu I need to get the position where
the stylus hits the control to call the ContextMenu.
Asking the MousePosition-Property in ContextMenu.Popup returns the expected
values on the emulator, but there's a strange behavior on my device (iPAQ
3850 (ARM)):
The Control.MousePosition contains the point, where you last clicked (just
clicked, no ContextMenu) the 'clear' form (where is no control under the
stylus and what perhaps has been some ContextMenus ago).
Why does it work in the emulator, but not on my device?
So how to get the point? You can't even save the position in MouseDown,
because it is not fired, if the ContextMenu is called. Or is there a way to
force the control to fire MouseDown before the ContextMenu pops up?
Thanks, D.Barisch Tag: Flash space Tag: 16138
MSDN Help problem
I have used VSS and the MSDN library installed locally on my PC for more
than a Year. Suddenly the MSDN help has stopped working. I get this message
every time I try to use help :
"Action canceled
Internet Explorer was unable to link to the Web page you requested.
The page might be temporarily unavailable
"
I have tried to reinstall MSDN, but that does not seem to help. Can anyone
please help?
Thore Berntsen
Norway Tag: Flash space Tag: 16137
Keep PPC on with mouse_event fails on PPC2003
Hi!
I've found some code using the mouse_event function to prevent the
PocketPC from falling asleep:
Private Declare Sub mouse_event Lib "coredll.dll" ( _
ByVal dwFlags As Int32, _
ByVal dx As Int32, _
ByVal dy As Int32, _
ByVal dwData As Int32, _
ByVal dwExtraInfo As Int32)
Private Sub oTimer_Tick( _
ByVal sender As Object, _
ByVal e As System.EventArgs _
) Handles oTimer.Tick
mouse_event(&H1, 0, 0, 0, 0)
End Sub
It works fine on PocketPC 2002, but my PocketPC 2003 still switches to
standby after a few minutes. Has anyone an idea how to fix it on PPC2003?
Kind regards,
Benjamin Lukner
trinomix GmbH Tag: Flash space Tag: 16136
SP2 - My App does not show main form
Hi all,
Yesterday, I upgraded the .NET CF to SP2 on the PPC. Today has been the
first chance to run a Deploy and a Debug session on the device (PPC WM2003)
from VS .NET 2003.
After deploying, I noticed that when my app starts I get the usual wait
cursor then, after a time, the wait cursor disappears and all I see is the
Today screen again. I have found that my app has started but I now need to
tap on Start then tap on my app again in order to see the main form, in
other words, bring it to front.
Under SP1, this did not happen. When the wait cursor disappeared the main
form displayed. The problem only began with SP2.
I use a timed splash form that starts when the main form's Load event
occurs. I tried adding BringToFront() to both the splash form and to the
main form but the problem still persists. Any ideas?
Regards,
Neville Lang Tag: Flash space Tag: 16135
FTP client for PPC 2003
Hi frnd,
I'm suppose to implement a FTP client in our Pocket PC
application.
Can u plz suggest me a way to implement a FTP client?
Any suggestion or tip would be of great help.
Thanks Tag: Flash space Tag: 16132
Tab Order and Focus improvements with SP2
As of the .NET Compact Framework Service Pack 2 (SP2), tabbing is based on
the TabIndex property and is consistent with full .NET Framework (desktop)
applications. If one or more controls have the same tab index, tabbing
defers to z-order. For more information about these improvements, see the
"Tab Order and Focus" QuickStart on
http://samples.gotdotnet.com/quickstart/CompactFramework/. This QuickStart
is listed under the "Windows Forms and Graphics" section.
To get SP2, see
http://msdn.microsoft.com/mobility/downloads/updates/default.aspx.
Thanks,
- Bruce Hamilton
NET Compact Framework Programmer Writer
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm. Tag: Flash space Tag: 16127
Microsoft Mobile Dev Con 2004
Details at http://www.smartphonethoughts.com/index.php?action=expand,4650
--
Robert Levy
http://SmartphoneThoughts.com
Microsoft MVP - Mobile Devices, Smartphone Tag: Flash space Tag: 16125
Image.FromFile
Hi,
I'm having problems adding pictures to an imagelist using a filename in my
working directory. Heres the code i'm trying use -
myImageList.Images.Add(System.Drawing.Image.FromFile("tree1.gif"));
I get complaints about using from file i guess its because it does not
exist for the compact framework, is there another way of doing the same
thing.
Thanks,
Paul Tag: Flash space Tag: 16117
LF & CR in Textbox
The textbox will not goto next line when addindg a new string or VBCrLf.
All the lines are put on the first line of the textbox. I need to put a
textfile in the Textbox using streamreader. Wordwrap=false, multiline=True,
scrollbars = both. Sample code is included. Using it as a test bed.
References are correct.
Dim sr As StreamReader = New StreamReader("\storage
card\cncmgr\setting.txt")
Dim input As String
input = sr.ReadLine()
While Not input Is Nothing
TextBox1.Text = input + vbCrLf
input = sr.ReadLine()
End While
sr.Close()
A far as I can see, this should work.
Thanks for any help
A. Myrick Tag: Flash space Tag: 16114
Feedback on CodeBase for .NET CF
Hey all,
Has anyone had experience with "CodeBase for Windows CE - C# & VB.NET
Edition" <http://www.codebase.com/products/windows_ce/NETCompact/>.
Cheers,
Rod O. Tag: Flash space Tag: 16112
Debugging VS.Net "Cannot establish a connection." Errors
Anybody got any clues on debugging the error:
Error: Cannot establish a connection. Be sure the device is physically
connected to the development computer.
I just upgraded my development system from ActiveSync 3.5 to 3.7 (build 3083
and hopefully NOT 3.7.1) and now none of my CF projects can be deployed of
my primary devo box. I've got multiple iPaqs and other devo systems and
they all work except any device attached to my primary devo system.
I can sync and see all folders on an attached iPaq and I can run Remote
Display Control Host so it is not a connectivity issue.
I'm using a cable and USB connection.
In VS my tools -> options ->Device Tools ->Devices for Pocket PC Device is
set to use Transport: TCP Connect Transport and Startup Server is:
ActiveSync Startup Provider.
I've never changed these and everything was fine until AS 3.7. I tried
uninstalling 3.7 and reinstalling 3.5 and that didn't work either.
Are there any debug switched or log files that I can look at.
I'm ready to format my drive and reinstall windows (Arggh...)
Funny thing is now my emulators don't work on this system either (and it is
connected to a network that also works). Tag: Flash space Tag: 16111
Show Current Time (like a clock)
I have removed the Start Bar from my project, but I would
like to show the current time on my form. I can see how I
can capture the current time and set its value to a Label
on the Form, but by doing this I am responsible for
updating the Label every minute. I feel that this is an
unnecessary process and there is an easy way to display
the time to be used like a clock.
Any guidance would be appreciated. Tag: Flash space Tag: 16098
CARRIAGE RETURN - LINE FEED
How do you put a carriage return and/or a linefeed in a
string. I am actually putting several line of text in a
Label but I need some blank lines in the middle of the
label.
Thanks for any help. Tag: Flash space Tag: 16097
NO Start Bar... YES Menu Bar
I do not want the Start Bar but I do want the Menu Bar.
I have found that you can hide the Start Bar and Main Menu
on a Pocket PC by using the following code
this.WindowState =
System.Windows.Forms.FormWindowState.Maximized;
How can I hide the Start Bar but still show a Menu Bar.
Thanks for any help. Tag: Flash space Tag: 16096
Problems w/ VS.Net connecting to iPaq after ActiveSync 3.7 install
I am in the process of upgrading some iPaqs to Pocket PC 2003 (this is being
done on a different system from my development system).
I have just installed Actve Sync 3.7 on my development system and now when I
try to debug my application (which has worked for months) the VS Net
deployment step fails with:
Error: Cannot establish a connection. Be sure the device is physically
connected to the development computer.
I can go to Active Sync and explore my device without any problem Remote
Display Control Host (cerhost.exe) can connect fine and maintain the iPaq's
screen on my desktop so I know it's not a physical connection problem.
I've tried multiple re-boots of my desktop and soft resets of my iPaq and
nothing seems to work.
Any Suggestions? Tag: Flash space Tag: 16093
2003 SDK Question
What is the recommended way of targeting other devices for
Pocket PC 2003 after installing the 2003 SDK? Selecting
the Build Cab menu creates cabs for 2002. Changing
the .ini file and using cabwiz? Also, How does one access
the 2003 emulator through the .Net IDE?
Thanks in advance.
James Russell Tag: Flash space Tag: 16091
problem using DIME and WSE (based on Casey´s code)
Hi, has anyone had the same problem?
I'm using the WSE code from Casey Chesnut smartphone project.
I cant get the Echo method to accept values i pass to it from the Pocket PC
client. Any values i pass are null when recieved in the web service soap
method. Also i can return string values from the service to the PPC client
but not int values.
Also, I'm sending a binary file to the web service and returning a modified
binary file to the PPC client. The binary files are handled correctly and
work.
Has anyone seen this same problem?
Any ideas? Tag: Flash space Tag: 16089
Include SP2 in platform builder?
How can i include the .net CF SP2 in platform builder
build without having to include the CAB file and manually
install it every time? Tag: Flash space Tag: 16084
New SP2 ListView bug
I have a custom control that uses a ListView control in it. It worked as
expected until SP2. Now with SP2, the left-most visible (width > 0) column's
width is displaying much too wide, for no apparent reason.
Scenario:
ListView Column 1 width set to 0 (I hide the first col)
Column 2 width set to -2 (auto-size col width to header text width), column
header text set to "Name"
Column 3 width set to -2, column header text set to "Gender Id"
With SP1, the first col was hidden, the second and third column widths were
sized to the width of the column headers, as the -2 value is supposed to do.
With SP2, the first col was hidden, the second column was about 3 times the
width of its column header value (which is "Name") and third column width
was normal (sized correctly to the header value width).
I took the same code and ran it on a device that still had only SP1 on it.
The results were back to normal, the columns with -2 as their width
property, were sized correctly to the width of the headers.
Conclusion:
It seems to only affect the left-most visible column. If the left-most
column is set to width = 0, then the next column to the right, set to -2
width, will display too wide (way too wide). The columns following that, set
to -2 width, will display correctly.
If the first column's width property is set to -2, then that column displays
too wide, and subsequent columns set to -2 display predictably.
Does anyone else see this behavior? Can Microsoft look into this?
Thanks,
Tim Tag: Flash space Tag: 16071
MemoryStream
Hi,
I want to copy the stream:
Stream st = File.Open(@filename, FileMode.Open);
the file is a bmp
to a memorystream, what is the best way to do this?
Greetz
JC Tag: Flash space Tag: 16058
WebRequest Operation Timed-out
I am trying to download a CAB file using webrequest object, utilizing
both synchronous and asynchronous.
It always works for the FIRST time (in both sync and async) and then
it stops working. "Web exception - Operation timed out" comes after 1
or 2 minutes.
Plz help
-Basha. Tag: Flash space Tag: 16057
Size of custom class
Is there a easy way to calculate the size of a custom class at a particular
moment in the code? I.e. I fill it up with standard data to get a average
size of the object...
regards,
Peter Tag: Flash space Tag: 16052
Subclassing Forms
Is it possible to create a form with standard controls on it and subclass it
like you can do for a normal windows desktop app?
Thanks...
Tommy Tag: Flash space Tag: 16048
Custom Components
I have ActiveX controls that
were developed in Embedded 4.0. Now I want to use these
same
ActiveX controls in .Net Compact Framework. I understand
that ActiveX controls are not supported in Compact
Framework. So I made a wrapper to be able to expose these
components to .Net. Which works fine if I import the dll
and call the methods which looks like this:
Imports System.Runtime.InteropServices
Imports System.Text
Public Class Form1
Inherits System.Windows.Forms.Form
Friend WithEvents unit As System.Windows.Forms.Button
Friend WithEvents Version_button As
System.Windows.Forms.Button
<DllImport("PrintCF.dll")> _
Public Shared Sub UnInitialize()
End Sub
<DllImport("PrintCF.dll")> _
Public Shared Function Initialize() As Integer
End Function
<DllImport("PrintCF.dll")> _
Public Shared Sub Version()
End Sub
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form
Designer.
InitializeComponent()
'Add any initialization after the
InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal
disposing As Boolean)
MyBase.Dispose(disposing)
End Sub
Private Sub Version_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
Version_button.Click
Dim CRNL As String
Dim mcr_data As New StringBuilder(999)
CRNL = Chr(13) + Chr(10)
Version()
End Sub
Private Sub Form1_Load(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles MyBase.Load
Initialize()
End Sub
Private Sub unit_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles unit.Click
UnInitialize()
Me.Close()
End Sub
But instead of manually keying in these methods like
Version() I would like to create a component that I could
drag and drop (like a timer component) that declares the
method and the appropriate arguements.
Thanks. Tag: Flash space Tag: 16045
Probs with EZSetup + .net installation
Ive build an installer using EZSetup and having major probs ..
"Application manager cannot install this application on your mobile device
due to an invalid setup file"
I've rebuild cabs, exe's etc and still cant get it to install -- anyone got
any ideas or another suggested installer thats nice and easy to use like
EZSetup.
Thanks
Adam Tag: Flash space Tag: 16039
GetColorPalette and BitmapData
Hi,
Does anybody know how i can write easy methods that replace the
GetColorPalette and BitmapData from the Full Framework.......
I need the functions because I get a bmp, i have to change the colormap from
it......
Also in some parts, the bmp pixel data must be set, because that data i get
from an extern source...
Hope you can help me or give me some good sites about drawing in compact
framework
Greetz
JC Tag: Flash space Tag: 16037
SP2 TextBox.Focus event problem
Hi,
My application uses the TextBox.Focus event to display the SIP (through
P/Invoke).
When using SP2 this causes the application to terminate unexpectedly when I
click in a textbox.
Anyone have an idea what causes this ?
thanks,
Stephane Tombeur Tag: Flash space Tag: 16030
modal and modeless forms
Hi,
I have following questions regarding modal and modeless
forms in .NET CF.
1. How do we create modal and modeless forms?
2. What are the differences between PPC forms and
WinCE.NET forms behaviour?
3. Can we resize forms in PPC and WinCE.NET?
4. Any pointers or links for understanding forms in .NET
CF?
Regards,
Vishal. Tag: Flash space Tag: 16026
Bulk Upadtion in DB
Hi frnds,
I'm supposed to do a Bulk updation. The updation would be
carried on about 70 - 80 tables.
Is there any bulk updation facility given by SqlCe like
the one given by Oracle ?
Any suggestion or tip would be of great help.
Thanks Tag: Flash space Tag: 16019
How can I display Chinese under Compact Framework?
I am sending a bytestream of Chinese characteratics through sockets. I need
to display the Chinese characters (possibly BIG5 words) in my Pocket PC.
How can I do that? The output only consists of question marks when I
implement the code below:
checkbox.Text = "";
String checkpath = @"\My Documents\~result.txt";
if (File.Exists(checkpath))
{
File.Delete(checkpath);
}
FileStream checkfs = File.Create(checkpath);
BinaryWriter checkw = new BinaryWriter
(checkfs,System.Text.Encoding.UTF8);
// Receive the transcribed text for verification first
byte[] bytes = new byte[resultClient.ReceiveBufferSize];
resultstream.Read(bytes,0,bytes.Length);
checkw.Write(bytes);
checkw.Close();
//Convert the bytes received to a string
String checking;
checkfs = new FileStream (checkpath,FileMode.Open,FileAccess.Read);
StreamReader checkr = new StreamReader(checkfs);
checking = checkr.ReadLine();
checkr.Close();
checkbox.Text = checking; Tag: Flash space Tag: 16013
<seealso cref= to Class Constructor fails
I am trying to get a seealso link to the Class Constructor where a Field is
set.
This seems to be the last major problem to get a Warning free compulation,
so it would be nice to get it solved.
There are two Constructors in this class and I have tried the following :
/// <seealso cref="Cards.Cards(Panel,string,int,int,int)"/>
or
/// <seealso cref="Cards.Cards()"/>
or
/// <seealso cref="Cards.Cards"/>
all of which failed (Function could not be found - "'Cards.Cards', das nicht
gefunden werden konnte").
Any help to get this solved would be nice.
Mark Johnson, Berlin Germany
mj10777@mj10777.de Tag: Flash space Tag: 16011
SP2 - How to check the .NET version installed on PPC
Hi all,
In past posts on this group, there was information on how a user can
determine which version of .NET CF they have on their PPC. With the release
and installation of .NET CF SP2, I re-ran the CGAUTIL program in \Windows
directory on the PPC and found:
SP2 = 1.0.3316.00
For completeness, the previous versions were:
RTM = 1.0.2268.0
SP1 = 1.0.3111.0
Regards,
Neville Lang Tag: Flash space Tag: 16010
Does anyone have an idea on how I can programmatically
get the amount of free space available on a flash memory
partition of a device using vb?