.NETGURU
microsoft.public.dotnet.framework.compactframework
Up to: Discussion Lists

  • RSS Syndication
  • Post a new message to this list...
    Latest Discussions Archive
    Overriding WndProc in custom TextBox (12 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Hi! I'm trying to override WndProc( ref Message m) in my custom TextBox control. Unfortunately it seems like the System.Windows.Forms.Message class is not available in CF. Is there a was to reference this class anyway? I tried referencing Microsoft.WindowsCE.Forms but I get the following compile error: WndProc(ref Microsoft.WindowsCE.Forms.Message)': no suitable method found to override I am not s...
    More on my Dataset / Datagrid problem (10 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    I wonder can someone tell me if it is possible to use 2 databases(.sdf) to return the rows i want for my grid. How does the connections work. As you can see from the code below i use only 1 db connection and default QUANTITY to zero. In fact, QUANTITY must come from an Orders DB under the OrdersDBconnection. How can I do this?? here is my code... sqlDS New DataSet ' TODO: Quantity will come from O...
    Memory profiling (10 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Hi, Is there any way to check memory allocations? I am losing memory and can find no way of tracking down why, it may be an outstanding reference but I can't see it. Any suggestions? Cheers
    Socket Disconnect (10 replies)
    microsoft.public.dotnet.framework.compactframework
    Hello All, I am using the below code to create a socket connection via wi fi to another device. The problem is that if the device I am connecting to losing power and reboots I lose the socket connection however, my device dosn't know it was dropped and dosn't receive any type of error when it sends messages. From what I have read, CF dosn't support SetSocketOption so my question is does anyone kno...
    IP release & renew (13 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    hi all, i need to release and renew the IP address... (using VB.net) so i look in the newsgroups, and everybody talking about a AdapterInfo.zip file from www.alexfeinman.com, but the site is down... so i'm asking: does enybody have information about the file? or any other suggestions for me? thank you very much... matteo gabella
    stringformat (8 replies)
    microsoft.public.dotnet.framework.compactframework
    Is there any way to get StringFormat in the compact framework? All I need are the pieces below. This would save hours if not days of manual adjustment. This would be used in user created class. Thanks, Joshua Moore StringFormat format new StringFormat(StringFormatFlags.NoWrap); format.LineAlignment StringAlignment.Center; format.Alignment StringAlignment.Center;
    interop between VB.NET and eVC++ (11 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    hi there, i'm working on a smart application project on VB.NET. i must call API (custom eVC DLL) but i have some trouble with mashalas attribute..... i have copy/past a sample on msdn help but it's not working.. IDE says "unknown 'mashalAs' attribute".....and i don't know why.... i have try exactly the same code on a normal windows project and it work (compile) fine... i don't know what i've misse...
    two windows & 2 threads (10 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Hello. In my app I have two threads and two windows. Each window is created and managed by a different thread. Everything works fine except for one thing. When I click on the window which was created first, on screen of my PocketPC appears this twirling circle as if system was busy doing something. If the other window has focus the circle disappears. Is there some way I can prevent the circle from...
    Need to list files in a directory on ipaq (6 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    I have extracted the following code from http://msdn.microsoft.com/library/default.asp?url /library/en us/cpref/html/frlrfsystemiodirectoryinfoclasstopic.asp I am new to .net and I was simply wondering how to use this code in vb, i.e. to where exactly do I paste this code. Normally we have Form Load rather than Main ? Imports System Imports System.IO Public Class Test Public Shared Sub Main() ' Sp...
    memory issues vs storage card (6 replies)
    microsoft.public.dotnet.framework.compactframework
    hi, Our PPC App seems to have memory issues such as it is exited unexpectedly, I've taken a look then the memory information as follows: CE Database: 70 MBs Program : ~ 28 MBs Thus it's most likely to suplement memory for device, and storeage card comes as a result. My questions is: 1. Can our PPC App overcome memory issues by storage card? 2. If 1 is OK, how to take most adavantage of memory issu...
    Problem after Disposing a ShowDialog() Form (5 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Hi, Can someone clarify the position on memory usage after a form has been shown modally. I have read that in order to reclaim memory I must call Dispose() after assigning a DialogResult to it (as it is simply hidden) but surely if there are no outstanding references to it in my code it will be subject to the normal laws of GC and scoping? I ask because I have implemented dispose after assigning a...
    Accessing SQL Server (7 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Can someone point me to the jest of what it takes to connect directly to a SQL Server? My PPC has network connectivity and can ping the network server, but not sure from here, how to gain access to the data in my sql server database. I've used SQLserverCE onboard my ppc successfully, but not directly connected to my server's sql server database. Thanks for any leads you can offer!
    Play backgroung music? (5 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Is there any way to play the WMA / WAV files as the background music when my application is launched?? Thanks, Arvind "eRiva Systems" Where Technology Meets Life, Every Minute. arvindr@erivasystems.com www.erivasystems.com
    Unable to access form in Designer View. (6 replies)
    microsoft.public.dotnet.framework.compactframework
    Hello, I created a VB.Net Smart Device Application solution with only 1 project in it. The project has only on form that I created by selecting Windows Forms from the Windows Forms Toolbox. After writing and running the code, I copied the entire Solutions directory to another folder. When ever I go to the copied folder and open its solution, then look into the Solution Explorer, there "View Design...
    upcase textbox input? (7 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Someone a while back mentioned the use of OpenNetCF's TextboxEx control to aid in upcasing user input... I've loaded a textboxex control, but am seeing nowhere to have the user's input upshifted. how do you recommend, upshifting the user input into a textbox? Preferrably without a bunch of screen flicker. Can it be done? Thanks, Mike
    Debugging question (9 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Where does VS.NET 2003 load the symbol (pdb) files from when debugging a smart device? I've got a DLL in a sub folder off where my main exe lives, and I can never debug this DLL as it never loads its symbols. Does the pdb file have to be on the device, or on the PC? In the same folder as the EXE? If so is there an automated way to copy the pdb file from the sub folder to the main folder after each...
    TabControl ?! (6 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Can someone please explain to me whats up with the TabControl in CF .net (VB) ??!! I've been beating my head trying to find out why in the @#$@ all the tabs keep swapping around on me. It happens on occasion in the ide, but more so in the program when run from either the debugger or on the ppc itself!!!!! I can't find anywhere in my app that causes this especially when it happens in the IDE. OF CO...
    Fatest method for accessing xml (5 replies)
    microsoft.public.dotnet.framework.compactframework
    Alright, Ive just began diving into the lovely world of .net cf dev. I have an xml file similar to the one below: Root Database "accvalquery.xml" Structure Field Field Name QNAME /Field Name Field Type Character /Field Type Field Len 10 /Field Len Field Dec/ /Field Field Field Name QTXTVAL /Field Name Field Type Character /Field Type Field Len 49 /Field Len Field Dec/ /Field Field Field Name QVAL ...
    missing elements in XML when loading into dataset with schema (7 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Hi, The following works with NETCF 1.1 & SP1, but not in SP2: I'm creating a dataset with a schema and then loading an XML document (which matches the schema) into it. With NETCF 1.1 SP2, the dataset is always missing certain elements. I've narrowed it down to a minimal schema and XML but always the same element is missing. here are the relevant pieces of code: DataSet dsTaskData new DataSet(); ds...
    RDA pull mangles primary key name? (4 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    I am using RDA pull to get data from tables in SQL Server and put it in a SQL CE database. I am using RdaTrackOption.TrackingOffWithIndexes. The name of the primary key in my SQL Server table is PK PageInfo. I do the RDA pull and then look at the new database in SQL CE Query Analyzer. For this table, it shows an index named: Z2477086746773650105119562920131380331068849245893932942491572 Is there a...
    editable fields in datagrid (6 replies)
    microsoft.public.dotnet.framework.compactframework
    Hey On my PDA C# app. i have a datagrid called dataGrid1. This datagrid is showing the contents of a DataSet. The DataSet is coming as a return value from a web service. I have 4 columns with a lot of rows in it. Now, what i want is to be able to edit the value in the 4th column if the value in the 1st column is 0. Ive searched everything (i think), and i really dont know how to make a field in th...
    SoapException (8 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    I have been developing a web service for use with the compact framework. When I invoke it I get the following message: An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in System.Web.Services.dll However, when I invoke the same service with the .NET desktop/server edition, it works just fine. I'm at a loss on what to do. The SOAPException doesn't provide me any ...
    MessageBox/Windows.Form compromise (9 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Is there anything in between a MessageBox and a Windows Form for the CF.NET. I would like to have a pop up box which a user can enter a number, but I don't want it to take over teh whole screen. Is there any way to do that? Dan Diephouse http://envoisolutions.com/people/dan
    using foreach Vs for (4 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Hi all, I have 2 examples, when to use "for" and when "foreach". In "example 1" we are using a simple array and the foreach loop the is faster than the for loop. In "example 2" we are using ArrayList and the for loop is faster than the foreach loop. The "TestOptimize()" is faster than the "TestStandard()". I don't understand the reason for the difference between the 2 examples... if you understand...
    Form.Hide (4 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Hi, I need a application running on the PPC without any interface, like a windows service. Is it possible in the CF? Googling for it didn't really give me any relevant tips. So I thought of creating a Form and the Hiding it in the constructor itself, and then quietly keep doing what the application needs to do. Not too neat, but would work I thought. Wrong! this.Hide() in the Application (Form) co...
    Interop: passing an array of strings (5 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    I'm just dipping my toes into writing a native DLL and P/Invoking it. I'd like to pass an array of strings to a function in the DLL, but it's currently failing. The documentation is somewhat inpenetrable to my interop newbie brain anyone care to enlighten me? I'm trying: [DllImport("xxx.dll")] public static extern int yyy(string[] value); in the C#, and: extern "C" xxx API HRESULT yyy(const wchar ...
    How to implement SelectSingleNode in Compact Framework (4 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    I've discovered, to my annoyance, the System.XML.XmlDocument in the compact framework does not implement either the SelectSingleNode or SelectNodes method. How do you get around this? Thanks...Dan
    RightFill? (5 replies)
    microsoft.public.dotnet.framework.compactframework
    CF VB.NET I'm filling up a fixed length field format string. As I'm appending the text fields, I need to pad them on the right with spaces to a given length. ie. sPartNo is 15 chars. A part no of "PX 22", needs to be written to the line as "PX 22 ". This field will then be appended to a string variable, where other fields will be appended. strRec "A" strRec rFill(sPartNo, " ", 15) strRec rFill(sQt...
    CreateGraphics() ==> NotSupportedExpeption (5 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    hi I try to mesure the width of a string in a listbox to autoadjust its size. But when i call the CreateGraphic methode of the list (either of the panel that contains it) I get an NotSupportedExeption... I'm running my soft on an WindowsCE 4.2 device (Gotive H41) and developping with vs.net 2003. thanks a lot.
    Datagrid does not update (3 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Hi, We have a master detail form for pocket pc 2003 (we're using VS 2003) that show orderlines in a datagrid and order details in a custom form on one screen. When we make a change in the detail form, we would like to update the datagrid that shows all orderlines. However, this datagrid does not update until we move the scrollbar to the right or select on of the rows in the datagrid. We already tr...
    Version of installed Compact Framework (3 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    hi, please how can i check wich version aka service pack is installed on a pocketpc ?
    VS won't allow sharing CF and desktop projects with each others' solutions (3 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    I've seen (thanks to google groups) that it's possible to share code between projects which target different .NET frameworks, by linking code files. I'd like to share an entire class library project, which is framework independent, between two solutions, one targetting the CF and one the desktop. My problem is that VS.NET 2003 won't allow me to share projects. If I load up my desktop targetting so...
    Catching SoapException (4 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    I'm developing a PPC 2003 client that consumes a web service that simply returns the text entered into a text box. It's a trivial app we are using to test WLAN communications between the client and our server (iSeries WebSphere). Everything is working correctly except the remote exceptions thrown as soap exceptions. What I don't understand why I can catch the SoapException in the PPC 2003 emulator...
    Device buttons (4 replies)
    microsoft.public.dotnet.framework.compactframework
    Hi all, does anyone know how to use the device buttons, not screen buttons in my VB CF .Net code? Thanks, Jason.
    inheritance from System.Windows.Forms.Form (3 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Hi I got a problem with the Microsoft Visual Studio .NET 2003 and the compact framework. A try to inheritance from System.Windows.Forms.Form in my own class, and the inheritance from my own class in my form But this failed after an reopen of the project. I have made a short step by step describtion, on howto see the fault: 1. Open Visual Studio New project 2. Visual C# Projects Smart Device Applic...
    CF chat earlier today (3 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Asking for a favour from anyone that was at the chat earlier... My internet connection died during the chat and I didn't get a chance to see replies (if there were any) to two questions I asked. If you were there and recall the answers please let me know here or via email please. The questions where (not verbatim): a) When will CF 1.0 SP3 be released? This year?? b) In a previous chat, it was conf...
    Converting TextBox control to TextBoxEx (4 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    I've installed the OpenNETCF extended controls and would like to convert all of my textbox controls to TextBoxEx. Per a previous suggestion by Peter Foot, I added a reference to OpenNETCF.Windows.Forms to the project (tried both the Imports and Add Reference under the Project menu). Then closed down the designer windows and opened my form in code view. I then did a find/replace of all occurances o...
    Hello. I am using Emulator to test my application written on .NET CF (3 replies)
    microsoft.public.dotnet.framework.compactframework
    I found that it works very slow on emulator, the drawing of controls and other windows is to slow... I wonder if it is only an emulator's problem and on a real device the application will work fine or I MUST to optimize drawing in my application.... and also... If there is a way to use double buffering in drawing components or some other practic to improve drawing capability?
    text gets destroyed (5 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Hey Im writing text in a multiline textbox. Im pressing a button wich results in a call to a web service that saves the data in MS SQL Server as ntext. At another point in my application i do a select on this ntext field and then i want that text to go into the same multiline textbox. My problem is that when i write out the text it puts out a lot of squares in the text where there should be a new ...
    Socket Error (6 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Dear All I wrote this function to try to connect 2 devices. The error message is "inValidCastException". Please help and thanks a lot! Public Function Connect(ByVal ServerIP As String, ByVal ServerPort As Integer) As Boolean Try SocClient New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.IP) Dim ep As System.Net.IPEndPoint New System.Net.IPEndPoint(IPAddress.Loopback, 16999) S...
    How to disable the sort function of DataGrid? Thanks! (2 replies)
    microsoft.public.dotnet.framework.compactframework
    Hello. How to disable the sort function of DataGrid? Thanks!
    Bound ComboBox very slow to load (3 replies)
    microsoft.public.dotnet.framework.compactframework
    I am populating several ComboBox's on a page by binding them to a query from an SQLCE table. The page is very slow to load and flashes in a bad way. There are 4 dropdowns on the page and each has about 10 items in it. The table is indexed on the category id cloumn and I am using the latest service packs. I bound them for simplicity so that I could use the SelectedValue property. Would it help to d...
    Correctly using forms (2 replies)
    microsoft.public.dotnet.framework.compactframework
    Hi all, I come from a VB6 background and noticed that one cannot simply load forms the way we used to. What is the best way to code using multiple forms within one's ppc application? Any pointers to reading material will help greatly. Thanks and regards John.
    App.Exit (2 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    I have a class that is loaded from the main form. And if certain req's are met, it needs to close the entire program. I am using the Application.Exit command, but it seems to ignore it! it keeps executing other code after its been called. Is there any way to force the program to close down?
    Label.click not firing (3 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    hi all, I'm trying to catch the 'click' event on a label, but it seems not to be fired. I put a breakpoint on the callback function.. Here is the "hierarchy" of my label: MainForm PanelMission PanelParcours Label and a bit of code: l new Label(); l.Location new Point(200, 0); l.Size new Size(90, 18); l.TextAlign ContentAlignment.TopRight; l.Text m mesure; l.Click new EventHandler(l Click); l.ForeC...
    TcpClient (2 replies)
    microsoft.public.dotnet.framework.compactframework
    I'm sure I'm close, just not quite there. I have a eVC app and a CF.NET app, both are test apps at various stages of completeness. Both are trying to connect to the same server from the same handheld unit, though at different times of course. So, what simple thing I have left out/gotten wrong? eVC code that works: ..... CString IP "192.168.0.81"; destination sin.sin family PF INET; destination sin...
    get device info (4 replies)
    microsoft.public.dotnet.framework.compactframework
    I want to get the device name and/or description. Ie the info that is displayed from the system popup screen in the control panel. I tried the assembly reflection, but no luck.
    How can I retrieve handles of images/icons ? (2 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    My .NET Compact Framework application uses an ImageList to hold all icons/images. How can I retrieve the handles to these icons/images to pass them to functions such as SHNotificationAdd ? Many thanks Joseph Gia
    ComboBox refresh display item (3 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Hi All, Really silly question, but how do I get a combo box to refresh the display field if I update the object that it is based on. For example, I am populating my combobox by adding instances of a custom object. That custom object has a ToString property that the combobox uses as the display field. If I change a property on the custom object then the ToString value also changes, but the combobox...
    Is it possible to change the ForeColor of a RadioButton control?!?! (3 replies, VIP)
    microsoft.public.dotnet.framework.compactframework
    Hi, How can I change the ForeColor (Color of the Text Property) of a RadioButton in a SmartDeviceApplication Project of Visual Studio .Net 2003?? The PocketPC is a Windows Mobile 2003. Thanks Camilo
    Visit the archive for messages from this site.
  • October 2001 (2 items)
  • November 2001 (16 items)
  • December 2001 (7 items)
  • January 2002 (13 items)
  • February 2002 (6 items)
  • March 2002 (14 items)
  • April 2002 (39 items)
  • May 2002 (130 items)
  • June 2002 (113 items)
  • July 2002 (103 items)
  • August 2002 (67 items)
  • October 2002 (44 items)
  • January 2003 (22 items)
  • February 2003 (57 items)
  • March 2003 (25 items)
  • July 2003 (97 items)
  • January 2004 (1001 items)
  • February 2004 (517 items)
  • March 2004 (308 items)
  • April 2004 (779 items)
  • May 2004 (371 items)
  • June 2004 (369 items)
  • July 2004 (282 items)
  • August 2004 (792 items)
  • September 2004 (257 items)
    Ad


    Need Dot Net Interview Questions?
    Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
    .Net Projects
    Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
    Free .net Help
    Commission ExamGuru, Inc. and his team for your next bespoke software project
    FogBUGZ
    The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
    Awesome Tools
    If you don't know about these, you're missing out... IT Certification Questions
    IT Interview Questions
    Free Oracle 10g Training
    MCSE Boortcamp
    Cisco Study Guides
    Cheap Study Guides
    Exact Questions
    Dot Net Interview Questions
    Oracle OCP
    Cheap Travel
    Designer Perfumes - Wholesale Prices
    Free Programming Tutorials
     
    ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
     Copyright © ExamGuru, Inc. 2001-2006
    Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification