textbox height in Pocket PC

TheMSsForum.com: The Microsoft Software Forum

  • The MSS Forum ‹ PocketPC Developer
    • Archive
      • Biz
      • MCSE
      • CRM
      • Drivers
      • Framework
      • ADO
      • ASP
      • Compact
      • Forms
      • Dotnet
      • C#
      • VB
      • FontpageGen
      • Excel
      • WorkSheet
      • Exchange
      • Setup
      • Fox
      • Fontpage
      • ASP
      • IIS
      • Entourage
      • Money
      • Messanger
      • PocketPC
      • Powerpoint
      • Project
      • Publisher
      • Excel
      • VB
      • Security
      • Portal
      • Services
      • SQLServerDev
      • SVCS
      • SQLServer
      • VB
      • VC
      • MFC
      • ExcelGen
    • Previous
      • 1
        • IPaq Bluetooth Hello! I need enumerate all bluetooth device (RS232 profile) and silent connect to it. I'm use functions CreateFile, ReadFile and etc. I can do it without any third party SDK (Widcomm and Highpoint)? IPaq support any native microsoft functions, like WSALookupServiceBegin and other? May be who have prototype of functions for search and connect to bluetooth device from WIDCOMM and send it to me (victorsav@tut.by) Yours sincerely, Victor Tag: textbox height in Pocket PC Tag: 73907
      • 2
        • Color.FromArgb & .NET CF Hi Is Alpha component of ARGB in .NET CF ignored Actually I am trying to fill a few geometric shapes that overlap with each other using some color (setting Alpha componet to 128).But I don't observe transparent behaviour Thanks in advance Tag: textbox height in Pocket PC Tag: 73901
      • 3
        • IE support for DHTML Does anyone know if Microsoft plans to support DHTML with Pocket IE? Tag: textbox height in Pocket PC Tag: 73900
      • 4
        • URLDownloadToCacheFile : undeclared identifier Hello, I have searched the web and find that URLDownloadToCacheFile should do the job as I want the file to be cached. However, I have received the following compiling error: -------------------------------------------------------------------- #include <urlmon.h> ... HRESULT hr = URLDownloadToCacheFile(NULL, _T("http://domain"), _T("/dir/image.jpg"), 1024, 0, NULL); error C2065: 'URLDownloadToCacheFile' : undeclared identifier -------------------------------------------------------------------- Can somebody help me? Thanks very much! S wrote: > Hi~ > > I am using imgdecmp.lib to display local images through CFile. > I want to display an image from a remote server by url, > which class should I look for? Do I need to explicitly store the image first and then use CFile to refer it? > Tag: textbox height in Pocket PC Tag: 73899
      • 5
        • coredll.dll not available Hi all I'm building a Windows CE dynamic-link library the depents on the coredll.dll. When I use the dll in a managed application I get an error "coredll is not available on your system". I know this system dll should be available on the Windows CE device and if not it should be part of the Pocket PC 2003 SDK Can somebody tell where i can download the coredll.dll. I thank you in advance Silversurfer Tag: textbox height in Pocket PC Tag: 73897
      • 6
        • RAPI and CeCreateProcess Hi all! I'm using RAPI CeCreateProcess function to execute an application on my device (by the way, i use some samples from OpenNETCF.org Communication class, guys, you have made wonderfull job!! Thanks very much for that!). Everything works fine but i would like to wait when my application finishes it's job (by yourself, in code or by the user) and then process some other operations after that. How can I do this? Would you give me any ideas? Thanks for any help! Kind regards! Krzysztof Kazmierczak Tag: textbox height in Pocket PC Tag: 73895
      • 7
        • Playing a sound file in eMVB. Is there a command that plays sound files (.wav is fine) in eMbedded Visual Basic ? Tanks in advance. Alex -- W.A. de Bruin Royal Brinkers Projects & Services de Paal 33, 1351 JG Postbus 50091, 1305 AB Nederland Telefoon : + 31 36 538 2266 Telefax : + 31 36 531 7996 E-mail : wadebruin@royalbrinkers.nl Tag: textbox height in Pocket PC Tag: 73893
      • 8
        • How can load a image and place the control :Skins Hii all, In eVC4++ I am using the LoadDibitmap function to load the image from disk. Its working porper. But the other control going back to this background. I think some tranparaency problem. Any body help how how I can set trans.... Thanks in Advance Solanki Tag: textbox height in Pocket PC Tag: 73891
      • 9
        • Creating a separate desktop in WinCE 3.0. Hello, Is there any way to create a new Desktop in WinCE 3.0. I am using HPC2000. -- Regards, Sami Tag: textbox height in Pocket PC Tag: 73888
      • 10
        • Shut up Pocket PC Hi NewsGroup i hope that somebody can help me. I want that my Pocket Pc in no-load operation shut up on 7 minutes. Via the system options, it is possible to take 1 till 5 minutes as selection How can i do it via vb.net or registry Thanks alot for advance Greets André Tag: textbox height in Pocket PC Tag: 73884
      • 11
        • My app won't deploy on my device But it will deploy in the emulator. I've got a Siemens SX56 with the new PPC 2003 installed. Does anyone have any suggestions as to why this does not work Thanks Therese Tag: textbox height in Pocket PC Tag: 73878
      • 12
        • slow I am using C# & SQL CE. Im finding my forms loading are extremely slow Also i would like the forms to load so that you cannot see the GUI being drawn An example of how a form loads I do an update on the SQL DB before i close the form i am currently leaving. The DB record is all ready created so only an update is needed On the new form that is being loaded i do a check to see whether any data exsists in the DB that has been previously entered for that particular form. I am not using indexes as there'll only be around 5 records in the DB at one time EXAMPLE CODE using System using System.Drawing using System.Collections using System.ComponentModel using System.Windows.Forms using System.Resources using System.IO using System.Data using System.Data.SqlServerCe using patientREADYmobile.Common using patientREADYmobile.Business using System.Data.Common using System.Text.RegularExpressions using System.Xml using DateTimePickerControl namespace patientREADYmobil /// <summary /// Summary description for PInfoFrm /// </summary public class PInfoFrm : System.Windows.Forms.For public static string adddetails private const string m_strFileName = "\\Program Files\\patientREADYmobile\\Configurations.xml" static public string MaleOrFemale static public string Male = "M" static public string Female = "F" static public string DOB static public string PchkInterpretor static public string PchkAborTSI static public string YesNo = "Y" static public string todaydate static public string TYearUpDown static public int IAgeUpDown private PictureButton btnExpand private Icon iconOpened private System.Windows.Forms.TabControl tabControl1 private System.Windows.Forms.TabPage PInfo_1Tab private System.Windows.Forms.RadioButton btnF private System.Windows.Forms.RadioButton btnM private System.Windows.Forms.Label AgeLbl private System.Windows.Forms.Label DOBLbl private System.Windows.Forms.TextBox MiddleNameTxt private System.Windows.Forms.Label MiddleNameLbl private System.Windows.Forms.TextBox txtGivenName private System.Windows.Forms.TextBox txtFamilyName private System.Windows.Forms.ComboBox cmbTitle private System.Windows.Forms.Label GivenNameLbl private System.Windows.Forms.Label FamilyNameLbl private System.Windows.Forms.Label TitleLbl private System.Windows.Forms.TabPage PInfo_2Tab private System.Windows.Forms.CheckBox chkInterpretor private System.Windows.Forms.CheckBox chkAborTSI private System.Windows.Forms.Label StateLbl private System.Windows.Forms.ComboBox StatecomboBox1 private System.Windows.Forms.TextBox NumStTxt private System.Windows.Forms.Label NumStLbl private System.Windows.Forms.Label TownSubLbl2 private System.Windows.Forms.ToolBar toolBar1 private System.Windows.Forms.ToolBarButton toolBarButton3 private System.Windows.Forms.NumericUpDown MonthUpDown private System.Windows.Forms.NumericUpDown DayUpDown private System.Windows.Forms.NumericUpDown UnderUpDown private System.Windows.Forms.Label UnderLbl private System.Windows.Forms.NumericUpDown AgeUpDown private System.Windows.Forms.Label YearLbl private System.Windows.Forms.Label MonthLbl private System.Windows.Forms.Label DayLbl private System.Windows.Forms.NumericUpDown YearUpDown private System.Windows.Forms.Label LanguageLbl private System.Windows.Forms.ComboBox LanguageCombo private System.Windows.Forms.ImageList imageList1 private System.Windows.Forms.ToolBarButton toolBarButton1 private System.Windows.Forms.ToolBarButton toolBarButton2 private System.Windows.Forms.ToolBarButton toolBarButton4 private System.Windows.Forms.TextBox TownSubTxt private System.Windows.Forms.ToolBarButton toolBarButton5 private System.Windows.Forms.ToolBarButton toolBarButton6 private System.Windows.Forms.ToolBarButton toolBarButton7 private System.Windows.Forms.ToolBarButton toolBarButton8 private System.Windows.Forms.RadioButton LocRadio1 private System.Windows.Forms.RadioButton LocRadio2 private System.Windows.Forms.Label DetailsLbl; public PInfoFrm() { // // Required for Windows Form Designer support // InitializeComponent(); InitializeControls(); // // TODO: Add any constructor code after } private void InitializeControls() { ResourceManager resMan = new ResourceManager("patientREADYmobile.localimages",this.GetType().Assembly); iconOpened = ((System.Drawing.Icon)(resMan.GetObject("i_folder_opened"))); // // btnExpand // this.btnExpand = new PictureButton(); btnExpand.BackColor = System.Drawing.SystemColors.Control; btnExpand.Icon=iconOpened; btnExpand.Location = new System.Drawing.Point(210,0); btnExpand.Size = new System.Drawing.Size(32, 23); btnExpand.Click += new System.EventHandler(this.btnExpand_Click); btnExpand.Left=210; this.Controls.Add(btnExpand); btnExpand.BringToFront(); } /// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose( bool disposing ) { base.Dispose( disposing ); } #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { //LOAD ALL FORM TOOLS } #endregion private void PInfoFrm_Load(object sender, System.EventArgs e) { //Populate ComboBoxes XmlTextReader ComboReader = null; ComboReader = new XmlTextReader (m_strFileName); while (ComboReader.Read()) { if (ComboReader.NodeType == XmlNodeType.Element) { if (ComboReader.LocalName.Equals("Languages")) { LanguageCombo.Items.Add(ComboReader.ReadString()); } } } SqlCeConnection cn = null; try { cn = new SqlCeConnection("Data Source = \\Program Files\\Database\\patientREADYmobile.sdf; Password=axisaxis"); cn.Open(); SqlCeCommand cmd = cn.CreateCommand(); //Select everything from the table. cmd.CommandText = "SELECT * FROM tblPatientDetails where RecordNum = '"+ Tab.RecordNumber +"'"; SqlCeDataAdapter da = new SqlCeDataAdapter(cmd); DataSet ds = new DataSet(); da.Fill(ds); for(int i = 0; i < ds.Tables[0].Rows.Count; i++) { Tab.RecordNum = ds.Tables[0].Rows[i]["RecordNum"].ToString(); } if (Tab.RecordNumber == Tab.RecordNum) { for(int j = 0; j < ds.Tables[0].Rows.Count; j++) { DOB = ds.Tables[0].Rows[j]["DOB"].ToString(); PchkInterpretor = ds.Tables[0].Rows[j]["Interpreter"].ToString(); PchkAborTSI = ds.Tables[0].Rows[j]["AborTSI"].ToString(); MaleOrFemale = ds.Tables[0].Rows[j]["MaleFemale"].ToString(); } txtGivenName.DataBindings.Add("Text", ds.Tables[0], "FName"); cmbTitle.DataBindings.Add("Text", ds.Tables[0], "Title"); txtFamilyName.DataBindings.Add("Text", ds.Tables[0], "SName"); NumStTxt.DataBindings.Add("Text", ds.Tables[0], "Address"); TownSubTxt.DataBindings.Add("Text", ds.Tables[0], "TownSuburb"); StatecomboBox1.DataBindings.Add("Text", ds.Tables[0], "State"); AgeUpDown.DataBindings.Add("Text", ds.Tables[0], "Age"); UnderUpDown.DataBindings.Add("Text", ds.Tables[0], "Month"); LanguageCombo.DataBindings.Add("Text", ds.Tables[0], "Language"); MiddleNameTxt.DataBindings.Add("Text", ds.Tables[0], "Middle"); if (PchkInterpretor == YesNo) { chkInterpretor.Checked = true; } if (PchkAborTSI == YesNo) { chkAborTSI.Checked = true; } if (MaleOrFemale == Male) { btnM.Checked = true; } if (MaleOrFemale == Female) { btnF.Checked = true; } if (DOB == "") { } else { Regex r = new Regex("/"); // Split DOB string[] s = r.Split(DOB); DayUpDown.Text = s[0]; MonthUpDown.Text = s[1]; YearUpDown.Text = s[2]; } } else { cn.Close(); } } catch(SqlCeException sqlex) { foreach(SqlCeError sqlError in sqlex.Errors) { MessageBox.Show(sqlError.Message); } } catch(Exception ex) { MessageBox.Show(ex.Message); } finally { if(cn.State!=ConnectionState.Closed) { cn.Close(); } } tabControl1.SelectedIndex = Tab.tabctrl; DetailsLbl.Text = Tab.PatientDetail; } //Home Button private void btnExpand_Click(object sender, System.EventArgs e) {//Main Menu EDITDB(); MenuFrm newForm = new MenuFrm(); newForm.Show(); this.Close(); } public void EDITDB() {//Update Database PHCREdit phcrEdit = new PHCREdit(); phcrEdit.Update(Tab.RecordNumber,this.cmbTitle.Text,this.txtFamilyName.Text,this.txtGivenName.Text,this.MiddleNameTxt.Text,this.NumStTxt.Text,this.TownSubTxt.Text,this.StatecomboBox1.Text,MaleOrFemale,DOB,this.AgeUpDown.Text,this.UnderUpDown.Text,PchkInterpretor,PchkAborTSI,this.LanguageCombo.Text); } private void toolBar1_ButtonClick(object sender, System.Windows.Forms.ToolBarButtonClickEventArgs e) {//Toolbar EDITDB(); if(e.Button == this.toolBarButton1) { PHCR_Info PHCR_InfoForm = new PHCR_Info(); PHCR_InfoForm.ShowDialog(); this.Close(); } else if(e.Button == this.toolBarButton2) { TimesFrm TimesForm = new TimesFrm(); TimesForm.ShowDialog(); this.Close(); } else if(e.Button == this.toolBarButton3) { TransportInfoFrm TransportInfoForm = new TransportInfoFrm(); TransportInfoForm.ShowDialog(); this.Close(); } } Thanks Adam Tag: textbox height in Pocket PC Tag: 73876
      • 13
        • Pocket PC and Sql 2k Question. Greetings All, I'm currently working on a VB.Net project that uses the .NET Compact Framework. I have a question regarding setting the time. My application connects to a SQL server across the network, is it possible to set the Pocket PC's time to that of the SQL server? I need to do this as part of a function everytime I connect to the server. Any ideas or suggestions will be greatly appreciated? Thanks, Wayne Tag: textbox height in Pocket PC Tag: 73868
      • 14
        • Marshaling Value Types I've read that, with the compact framework, MarshalAs is not available and the only automaticly marshaled types when using P/Invoke is: C# C++ === === int int short short bool BYTE char WCHAR I have a UINT32 in C++ and UInt32 in C#. Testing a function call (a .dll supplied by the vendor) in both C++ and C# gives different results when UINT is used. Might be bad code on my part, or might have something to do with the above. This particular book (Microsoft .NET Compact Framework, Microsoft Press, by Wigley and Wheelwright) says that to marshal other value types it must be "performed explicitly in managed code." Now my questions: - I'm wondering if I understand this correctly - would it be technically correct to ask the .dll vendor if they plan to ship a "C#.NET Compact Framework compatible version"? - If they don't and I still want to wrap the .dll, I'm thinking of creating another .dll that does the marshaling, and acts as an intermediary between their .dll and C# - does this idea have merit? TIA, Mike Tag: textbox height in Pocket PC Tag: 73867
      • 15
        • VB.NET and ACCESS on an IPAQ I'm new to the VB.NET envoronment and I'm trying to talk to an ACCESS database on an IPAQ. The .NET documentation says I should be able to use OLEDB connections, but they don't appear as a tool when I develop a Smart Device Application, nor can I find an reference for the project that I can add that seems to do it. VB has always talked to ACCESS in previous versions. ACCESS databases automatically synchronises to the IPAQ. I would expect VB.NET to be able to talk to ACCESS on the IPAQ? Am I overlooking something obvious? Tag: textbox height in Pocket PC Tag: 73864
      • 16
        • Not defined when using example Hello! Trying to create a proof of concept app for an idea, and I'm using the example code from http://samples.gotdotnet.com/quickstart/CompactFramework/doc/httpgetwithproxy.aspx Dim req As WebRequest = WebRequest.Create(url) Dim result As WebResponse = req.GetResponse() Dim ReceiveStream As Stream = result.GetResponseStream() Dim encode As Encoding = System.Text.Encoding.GetEncoding("utf-8") Dim sr As New StreamReader(ReceiveStream, encode) I'm using VS .Net 2003. When I create my function it gives me Type WebRequest not defined, and the same for all other types. What do I have to include to have this working? TIA! -- Mauricio Freitas Bluetooth Guides: http://www.geekzone.co.nz/content.asp?contentid=449 Performance Center: http://www.geekzone.co.nz/content.asp?ContentId=2028 Tag: textbox height in Pocket PC Tag: 73863
      • 17
        • ANN: Signature Capture Control 3.0 for the .NET Compact Framework Hood Canal Systems is pleased to announce the release of their Signature Capture Control version 3.0 for the .NET Compact Framework. This release provides greatly improved performance over prior versions when it comes to saving signatures as bitmaps. Take advantage of the E-Signature Act and provide your customers with the digital signature capture capabilities they need to meet their commerce, approval, and proof of delivery requirements. With full Visual Studio .NET designer support, this .NET Compact Framework custom control makes it easy to build powerful digital signature capture applications using either C# or Visual Basic .NET. This control provides you with a resizable signature capture area as well as methods and properties to clear a signature, change the ink and signature surface colors, add a signature line, add signture text, and save your signature as a 16-bit bitmap. Signature fraud reduction features include the ability to know if a signature exists and how long it took to create. This control can be redistributed royalty-free when embedded in your application. It works with Pocket PC 2002/2003/Phone Edition and requires the .NET Compact Framework Service Pack 2. For more information, visit http://www.hoodcanalsystems.com Tag: textbox height in Pocket PC Tag: 73860
      • 18
        • USB device dose not work certain PCs I have a USB device was designed on USB 1.1 spec. It works for most of PCs with USB 1 or USB 2 port. But it doesnâ??t work on Compaq Evo N1000c laptop which has USB 2 port. It works on a DELL PC which has USB 2 port. But if I plug my device via a USB2 HUB to the same DELL PC, it doesnâ??t work. My USB driver is not show on the device manager. It blinks. Any idea why I made some changes on control transfer on my device firmware. Now my USB driver is recognized by the Compaq laptop. My client software can run. But it halted very often. I know it is in the â??Pendingâ?? state. It stops at â??KeWaitForSignleObject()â??. At this point, my client dose not responding any more. I have to unplug my USB device and plug it in again to run. Any suggestion on what should I do to my USB driver Thanks in advance Nancy Tag: textbox height in Pocket PC Tag: 73859
      • 19
        • Sql 2000 Connection with ADOCE Hi All I'm new to Pocket Pc with wirelwess network card installed. and i have just installed Microsoft Embedded Visual tools and ADOCE sdk to develop a database application. i'm using Embedded visual basic. Now I want to make a simple application to retrieve my database from SQL 2000 not SQLCE (SQL Server 2000 is connected to wireless network too) I'm confusing how to connecting my application to SQL Server (Open Connection). What is true, if i'm using ADOCE component ? Does any one can help me or give a simple sampl... Tag: textbox height in Pocket PC Tag: 73857
      • 20
        • FORMS I have a 2 forms When i load form2 from form1 i would like form2 to appear at once instead of drawing the form bit by bit I am using c Thank Tag: textbox height in Pocket PC Tag: 73855
      • 21
        • How can i store the data as xml file with c sharp on pocket pc hi i need some help in data storage I want to save some information on file. some body told me to use xml file , i want to try to access xmlserializer but i could not able to access it . can any one tell is there alternative avaialble if then please let me know how i need to store some system setting on file tats all. thanks Tag: textbox height in Pocket PC Tag: 73851
      • 22
        • Difference between target of Windows CE or PocketPC? What kind of differences are there between compiling for a PocketPC device or a Windows CE device? What differences in functionality and class library support are there? MS VS .NET 2003 offers both platforms as targets for a C# project, but the supported devices it shows are pretty much the same in both cases (just eliminating the CE.NET devices in the PocketPC target). Also, eVC 4.0 seems to have both targets shown as well. Can someone give me a quick idea of what the differences are? Thanks, Eric Gross Tag: textbox height in Pocket PC Tag: 73850
      • 23
        • Allocate more Memory to Windows CE.Net 4.2 Emulator I have installed the CE.Net 4.2 Emulator and it works fine. I installed a JVM on it because my app has a Java applet (very small) running on it. I got the install to work fine but the problem I am having is that the emulator runs out of memory when I run IE and the jvm together. Is there any way I can increase the size of the memory in the emulator- allocate more memory to it? I have allocated more memory to RAM from the available memory but I still come up short. Any help will be greatly appreciated. -Ibrahim Akar Tag: textbox height in Pocket PC Tag: 73844
      • 24
        • Compiler C++ on PocketPC Is there any C++ compilers that work on PocketPC, so I can compiler my programs anywhere? Tag: textbox height in Pocket PC Tag: 73841
      • 25
        • A quick explanation of how to open bitmap resources. How can I open a bitmap resource and bitblt some of its contents into a memory location of my choosing? I would like to use this to print to the screen from a bitmapped font within GAPI. Also, is there a simple way I can combine use of GAPI and GDI in my application? GDI calls seem to rely on the WM_PAINT message. With GAPI, I can draw to the screen whenever I want. How do I combine GAPI draws with GDI draws? Any information would be appreciated. Thank You, John Tag: textbox height in Pocket PC Tag: 73840
    • Next
      • 1
        • Custom button How can I create custom button in Smart Device Application using C# Can any one help please? Tag: textbox height in Pocket PC Tag: 73836
      • 2
        • PocketPC VS.net 2002 how can i create pocketpc application in visual studio.net 2002??? somebody can help me???? thanks Tag: textbox height in Pocket PC Tag: 73835
      • 3
        • different Icon sizes in PocketPC Hi, I created a 16x16 icon in PPC2k3. It shows up correctly when the display is small icon. However in the file explorer when large icons are shown, the remaining space (of the larger icon) is filled with black. Am I supposed to have 2 icons....one 16x16 and the other 32x32? How do I specify them? Thanks. Vishal Tag: textbox height in Pocket PC Tag: 73828
      • 4
        • Embedded visual basic changes does anyone know where i can find out how to alter the code from regular visual basic into the code for embedded visual basic for a pocket pc Tag: textbox height in Pocket PC Tag: 73826
      • 5
        • CoCreateInstance Class not registered error even though it is Hi, I am porting an application from PocketPC 2002 to PocketPC 2003 using evc 4.0. The code worked perfectly in PocketPC 2002. But even with the newly compiled code using evc 4.0 it keeps giving Class Not Registered error on PocketPC 2003 even though I have made sure it is registered. I did that using regsvrce.exe and also EVC 4.0 reports successful registration on download. I came across a similar problem posted on the microsoft.public.pocketpc.developer newsgroup as given below. http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF- 8&threadm=LyKAs9kcDHA.460% 40cpmsftngxa06.phx.gbl&rnum=1&prev=/groups%3Fq% 3DCoCreateInstance%2Bclass%2Bnot%2Bregistered%2Bin% 2Bpocketpc%2B2003%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe% 3DUTF-8%26selm%3DLyKAs9kcDHA.460%2540cpmsftngxa06.phx.gbl% 26rnum%3D1 This article suggested changing Single Thread model to MultiThread model and Apartment to Free. It said that PocketPC 2003 does not support Single and Apartment model. I am facing the same problem as mentioned in the newsgroup now but the solution mentioned there did not resolve the issue in my case. Here is my scenario. Could anyone please let me know what I might be missing? 1. The earlier code was built using evc 3.0 for PocketPC 2002 and ran fine on both iPAQ and Symbol devices with this OS. 2. The client has now switched to a new model Symbol PPT 8846 having PocketPC 2003. 3. So I am porting the application to PocketPC 2003 using EVC 4.0. 4. At first I did not make the changes proposed in the article and the code compiled fine in EVC 4. 5. However it was unable to perform a CoCreateInstance and the error code said "Class not registered". However both EVC 4.0 registered it successfully and I even used the regsvrce.exe and it said successful registration. 6. After I read the posting, I made the changes proposed, in all the COM components and registered them on the device. But still no luck, it still keeps giving the same error. Would anyone have an idea what I might be missing? This project is on a deadline so I would appreciate any help you can provide. Regards, Swami Tag: textbox height in Pocket PC Tag: 73823
      • 6
        • EVC 3.0 2002 Edition Can someone tell me what is the difference between EVC 3.0 and EVC 3.0 2002 Edition? Is it recommended to upgrade or will EVC 3.0 cut it?? What are your feelings on it? Brian Tag: textbox height in Pocket PC Tag: 73820
      • 7
        • Slow data retrieval Hello All I'm using the following code to get data into my datagird and it takes about 7-8 seconds to load 10 rows. Am I doing something wrong? Can I speed this up somehow cn = New System.Data.SqlServerCe.SqlCeConnection("Data Source=\Program Files\first_app\star_mobile.sdf" DataGrid1.RowHeadersVisible = Fals Dim myCommand As New System.Data.SqlServerCe.SqlCeCommand("SELECT * FROM SM_DEMO ORDER BY LAST_NAME", cn myCommand.CommandType = CommandType.Tex Dim myAdapter As New System.Data.SqlServerCe.SqlCeDataAdapte myAdapter.SelectCommand = myComman Dim ds As New DataSe myAdapter.Fill(ds, "SM_DEMO" DataGrid1.DataSource = ds.Tables("SM_DEMO").DefaultView( Thanks for your input ; Tag: textbox height in Pocket PC Tag: 73816
      • 8
        • How do I programmatically scroll the datagrid to a particular row? Hi All I have a text box on my form and when the user types in it I want my datagrid to automatically 'drill' down to the row that matches the users input How can I programmatically scroll the datagrid to a particular row Thanks for your help Tag: textbox height in Pocket PC Tag: 73814
      • 9
        • Radio problems I observed that when the wireless radio was on in samsung and t-mobile units, my application (EVC++, SQL CE2.0, ppc2002) locked up frequently. When the radio was off, it dint lock up. I don't know what it has to do with the radio being on. Any clues? This is really strange problem and is occurring quite frequently. Tag: textbox height in Pocket PC Tag: 73813
      • 10
        • <ok> and <x> button for exit ? I created a simple PPC mfc app (single document, no document/view architecture support) I built .exe without editting, and downloaded it to iPAQ PPC I started the app, then clicked <X> button on the up-right corner to exit the app Then I went to settings/memory/running programs, and my app was still on the Running Program List why it's still running ? any harm what need to be done in the code to make it auto-stop I had another dialog based PPC mfc, after I clicked the <ok> button on the up-right corner to exit the app was no longer listed on Running Program List. Why it's <ok> button for dialog based mfc ap and <x> button for single document mfc app Thanks ! Tag: textbox height in Pocket PC Tag: 73812
      • 11
        • Read sms without freezing the application im developing an sms application in embedded visual basic 3.0 and have the following problem when i need to read sms using SmsReadMessage() i need to use the WaitforSingleObject() otherwise the Smsopen returns the error, cant open sms port. if i use WaitforSingleObject my application freezes. how can i run this in the background without freezing my application thank Tag: textbox height in Pocket PC Tag: 73806
      • 12
        • Does Pocket PC support GPRS and PDP_Context? Hi, Does anyone know any pocket PC support for GPRS (GSM and UMTS) using PDP-context? Thanks. -Tom Wang 3 Tech Partner, Inc. Tag: textbox height in Pocket PC Tag: 73805
      • 13
        • CeReadRecordProps paramater problem Hi all I'm trying to do a test CEDB program using an example from Boling's book but can't compile the following .. PCEPROPVAL pcepv=0; CEOID oid; ..... oid=CeReadRecordProps(g_hDB,CE_ALLOWREALLOC,&wProps,NULL,&(LPBYTE)pcepv,&dwR ecSize); ...... It seems not to be able to cope with "&(LPBYTE)pcepv" which I can see is unusual but don't know enought to 'correct' it. It's saying & requires 1-value I've checked the sample code on the book CD and it's the same here so it's not a book typo ? Please help ;) Thanks Andrew Tag: textbox height in Pocket PC Tag: 73796
      • 14
        • EVB3.0 cann't connect to emulator on P4 computer My old computer is based on Intel Celern1.0G CPU,and my new computer is based on P4 CPU.I can use EVT3.0 by my old computer normally,but EVB3.0 cann't connect to emulator when I use the new computer.I have had a test,and found that all the P4 computer have the same problem.So I must debug the program in the device.I have several programmer,but only one device.What shall i do thanks Tag: textbox height in Pocket PC Tag: 73795
      • 15
        • MSCEGRID.dll cannot register in my Ipaq Poqueck PC Aid please when try to register this MSCEGRID.dll file in my Ipaq Poqueck PC, appears hidden the file and says that I cannot register appears east error "LoadLibrary ("MSCEGRID.dll") failed. Since I can do? In Emulator run very nice,but in the Ipaq send this messages No be create control.... Grid({52356565 .... Thank You Don Quijote de Nicaragua Tag: textbox height in Pocket PC Tag: 73794
      • 16
        • EVB3.0 Cann't connect to emulator in P4 computer My older computer is based on Intel Celern1.0G CPU,and my new computer is based on P4 CPU.I can use EVT3.0 by my old computer normally,but EVB3.0 cann't connect to emulator when I use the new computer.So I must debug the program in the device.I have several programmer,but only one device.What shall i do thanks. Tag: textbox height in Pocket PC Tag: 73793
      • 17
        • SHCreateMenuBar I have a very frustrating problem with an application that used to work which is now failing in the call to SHCreateMenuBar. I'm wondering what could cause this function to fail. To the best of my knowledge IDR_MENUBAR is defined in the resource file and I can view/edit it in the resource editor. I'm really stumped. This is my call which pretty much looks like it was taken from one of the msdn samples. aygshell.lib is included in my linker under the input section. // // Add our system menubar. // SHMENUBARINFO mbi; mbi.cbSize = sizeof (SHMENUBARINFO); mbi.hwndParent = m_hWnd; mbi.dwFlags = 0; mbi.nToolBarId = IDR_MENUBAR; mbi.hInstRes = ::AfxGetInstanceHandle(); mbi.nBmpId = 0; mbi.cBmpImages = 0; BOOL success; success = SHCreateMenuBar( &mbi ); Thanks in advance -- Brian V. Minier Tag: textbox height in Pocket PC Tag: 73790
      • 18
        • Definitive way for cabwiz to install to PPC2003 and not PPC2002 Hi, I am looking for a definitive way for a cabwiz install to differentiate between a PPC2003 and a PPC2002. I have seen many posts, websites, ... that talk about this but none of them seem to work. The only way I am able to prevent a PPC2003 install from installing to a PPC2002 is by adding UnsupportedPlatforms="Pocket PC" (space) entry in the PPC2003 INF file. No problem with this. Doing the same thing in the PPC2002 INF file with UnsupportedPlatforms="PocketPC" (no space) prevents the installation to PPC2002, which is not what I would have expected. Apparently the PPC2002 treats "Pocket PC" and "PocketPC" as the same string. I have tried monkeying with the VersionMin and VersionMax but I have not been able to prevent installation to PPC2002 or PPC2003 by modifying these entries at all. I have tried all different combinations of the PlatformString, PlatformMin, and PlatformMax strings. I have tried combinations with and without UnsupportedPlatforms, VersionMin, and VersionMax . Has anybody had ANY success in this area? Thanks, Bob Tag: textbox height in Pocket PC Tag: 73788
      • 19
        • install windowsCE Hi, I need to install windowsCE to use some header file I have already installed eVc4 and PPC 2003 sdk on my machine should I re-install eVc4 and PPC sdk after install windowsCE Or, I should install windowsCE on different machine an pull the header file I need to my machine THANKS ! Tag: textbox height in Pocket PC Tag: 73784
      • 20
        • eVB display icon Hiya, I own a iPAQ 3650 with PPC2002. I recently downloaded eMbedded Visual Tools 3 (since I have a strong background using VB) to start developping for my PDA. Unfortunately I'm kinda annoyed with the icon displayed in the "iTask" and "Programs" folders. Is VS.Net the *only* developpment tool to be able to change the associated icon with my future application ? Even more, does it HAVE that feature like good-old-plain VB6? BTW, I already read the following. It works, but it adds 7K to my software :) http://support.microsoft.com/default.aspx?scid=kb;en-us;268309 Thanks in advance, Philippe L. Tag: textbox height in Pocket PC Tag: 73781
      • 21
        • MainForm disappears after new window closes Hi all, I'm not sure if this is a bug, but I hope that some of you also experienced something similar: I open my main form, and then let it open a login form to verify the user. Waht happenes is the following: - main form loads - login form is shown - after a successful login the login form closes - the main form stays in the back, and it is only visible in the running tasks Here's some code (I hope the formatting doesn't get lost): [CODE] Me.Enabled = False createAll() 'runs some sql statements Dim ret As String = frmLogin.ShowDialog() Me.Enabled = True 'Email check Dim retValue As Boolean = Check_Emails() 'Me.Invalidate() <-- doesn't help either ... [/CODE] And there's also a general question open: which is the best practice to have one main form and several other functional forms in one app? I mean, I would I programmatically start? I think that VB.NET changed in a way, because I normally had one main form that I would load and unload at some point, but somehow VB.NET doesn't react in the same way ... Thank you for your help and hints! Sascha Tag: textbox height in Pocket PC Tag: 73780
      • 22
        • PPC Serial Hardware suppliers in Aus I am developing a PPC application that will connect to a machine using a serial port. I will be using Visual Studia Pro .NET (any feedback on preferred deveopment systems?) I am trying to find a supplier of aftermarket PPC hardware in Australia. I haven't been able to find one as yet. My wishlist is as follows: Any PPC -will probably go with hp h1930 Serial Cable -will probably have to make my own Brackets for PPC - will probably have to make my own Ideally a serial and charging cable combined as my machine can power the PPC and charge it. Any supplier suggestions (preferably but not exclusively in Australia) would be appreciated. TIA Steve McKewen Tag: textbox height in Pocket PC Tag: 73775
      • 23
        • How to backup databse in object store? I used MFC to get a CEOID and which api can let me clone them to a file ? Tag: textbox height in Pocket PC Tag: 73774
      • 24
        • embedded VB for 2002 - Works for 2003? I've been developing with VB 6.0 and would like to know if the embedded VB download for2002 Pocket Pc's will work for the newer 2003? Any suggestions? Tag: textbox height in Pocket PC Tag: 73760
      • 25
        • Which Notes window to paste to? Hi there, My app is trying to paste text to the PocketPC Notes application using WM_PASTE. Which window do I send the WM_PASTE message to? In Remote Spy++ I can see the following Notes windows: (class names in brackets) "Notes" (Worker) "Notes" (InkX) "Notes" (richink) "Notes" (Notes) "DocList" (DocList) "" (ToolbarWindow32) "" (SysListView32) "" (SysHeader32) My guess is the "Notes" (richink) window but the WM_PASTE doesn't seem to do anything when directed to that window. However a manual paste via Notes's menu works fine. Do I have the wrong window?? Thank you Robert Tag: textbox height in Pocket PC Tag: 73759

Top

  • The MSS Forum
  • The team • All times are CDT