Answer Questions
Jumperboy Opening So many Forms & Task Manager!!!
Hello, I'm working on a chat application where i need to open seperate Forms for private chat with each user. For Each New form I saw a Seperate instance in Task Manager, timg_msft suggest me a solution like this: Form1 frm1 = new Form1(); string myText = this.Text; this.Text = string.Empty; frm1.ShowDialog(); this.Text = myText; in Post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=703794&SiteID=1 problem with the above code is that I dont want to show it as a Modal form with ShowDialog() because I need to keep them open: Taking help from this code, I wrote 2 classes here is the code: public static class OpenedFormCollection { private static Dictionary < string , FormComm ...Show All
Alex-MyRpg Now Playing from WMP ActiveX control
Is there anyway my C# WinForm app's WMP control can change the Now Playing text in WLM 8.1 The WMP control has options to configure Plug-Ins during runtime, is it possible to put the Now Playing plugin so my WinForm app can use it If so, where can the Now Playing plugin be found, and where do I put it in relation to my app Thanks in advance ...Show All
NET PR smart device project creation failed!
Hi all, I'm using VS2005 Team Edition and WM5 Smartphone SDK. The problem is I cannot create any smart device project, but I can open existing solutions. I've reinstalled the SDK and ActiveSync, But the problem still exist. So how to solve this kind of problem Thanks doyoucy It doesn't work, I'll try to install VS and SDK again. Thanks, Gangadhar. Hi, I recently installed Vista 5472 and VS2005. I have the same problem when trying to create a MFC smart device application. I am told that there is an error and asked if I would like to continuing running the javascript. Either choice brings me back to the project selection dialog stating that the project create failed. ...Show All
manuel0081 Improving the performance of the application?
Hi, I have a form (Form2) with ImageList. When I try to show form2 with ImageList takes 6 to 8 seconds time which may make the user impatient and irritative. When I run with out ImageList takes 2 sec time. Actuallly I am taking the images from the imagelist and showing on panel. With out imagelist If I try to take images directly to pictureboxes it take more than 8 seconds time. Can any one guide me how reduce the time from form to another form. Thanks in Advance, - Show splash screen/wait cursor while data is loaded, 8 seconds is short enough to not irritate users if they know something’s going on. - Reuse same instance of the form instead if creating it every time ...Show All
XNA Rockstar How to refresh the window in this case?
hi, all I have a question about window refresh. The situation is, I need to hide the whole window. But it might show up some error message box if I need to. The problem is, after user clicks on Yes or No, the message box won't go away. The code is like this: SomeForm myForm = new SomeForm(); Application.Run(MyForm); SomeForm:OnLoad() { this.Visible = false; bool bValid = ValidateData(); if(!bValid) { DialogResult dr = MessageBox.Show(xxxxxx, do you want to continue); if(dr == DialogResult.Yes) { /// Here, do other work. /// At this point, the MessageBox is still there, won't go away. /// I think the reason is, there is no client area to refresh since the this.visible is false. So it does not re ...Show All
Olivier Cueilliez Debugging without ActiveSync -unable to get Visual Studio 2005 to cooperate
Hi All, I need to connect a new device to my computer, and I cannot use activeSync to debug it because it has no usb or com outlets. I manged to connect it by LAN and pinged it successfully. So i wanted to use my lan connection and work by it on the device. The device cpu is "Alchemy au1550" I followed the instructons from this forum : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=447917&SiteID=1 and noticed that conmanclient2.exe that i used from the mipsii folder exited immediately, the one from the mipsii_fp folder got stuck at the command prompt. I assume that neither is compatible with my cpu. does anyone know where I can get a compatible version Thanks, Yariv Kimchi ...Show All
lbc06 how to make the list box control alignment to right
Hi, i'm developing a CF 1.0 application, and i'm using other RTL languages, and i want to display a listbox items right aligned, but i didn't find any property or other way to do this... if any one got ideas please reply me .. thanks, Ahmed Waly You need to use PInvoke to set the RTL property on WinCE. Check the details here http://www.danielmoth.com/Blog/2005/03/progress-on-rtl.html , there is a sample too. Thanks for your kind words J Thanks again for your fast reply MRs. Dina, i saw the blog, but it was for Win CE 5.0, well, my application is developed using VS 2005 with CF 1.0, so i think this will be a hard a bit, isn't! i'll try again and see what happens, ...Show All
Asim Patnaik Retreiving MCC (Mobile Country Code)
Hi, Is there a way i can retreive MCC (Mobile Country Code) programmatically on WindowsMobile APIs http://en.wikipedia.org/wiki/List_of_mobile_country_codes Thanks in advance. Best Regards, -Renato thanks, though i haven't tried RIL yet. =) The information can be accessed using Radio Inerface Layer services. There is one structure RILOPERATORNAMES that can be used. This structure has a member szCountryCode ( http://msdn2.microsoft.com/en-us/library/aa918004.aspx ) that can be used to extract MCC. But to use RIL services, you need to enable RIL based Application development when generating SDK. ...Show All
Gpg Application only works in debug mode
I just want to know if anybody has encounter this bug I wrote an app to interact with hardware and try to prompt the status of CTS. It works fine while i debug it. but i start losing data while running in normal or release mode. the only factor i can think of is speed. but it still couldnot explain why the app is not working properly. Any suggestion try to find out how codes interated. Me i got it working but not calling the function which generate the error when it's not needed. Oh my point is not about the cts thing. it's more about if anybody has experienced this type of bug before. like the app runs fine during debug mode and not during release or normal execution. ...Show All
kastanienreis Accessing textbox from child form
Hi All, How can I access a textbox in Parent form from a child form in .net compact framework. I have a parent form that is already loaded and there will be a button in parent form that will activate and show the child form. The child form will then need to populate the textbox in parent form. How can I do this in c#, this scenario is very easy in vb6. Any help is appreciated. Many Thanks. could you please show the code for this How did you declate the parent form on the child form I'm struggling with this...thanks I got an error "NullReferenceException. Object reference not set to an instance." when i tried the code. ((Form1)this.Parent).textBox1.Text = "some text"; Am i mi ...Show All
Learning VB Updating listview frequently
Hi, I have a list view to support presence, it has a buddy and his status using (Session Initiation Protocol). I want to update it whenever someone changes his status. What is the best way to update it No, it's not possible to bind to LV. If you search the web, you’ll find information on how to extend it to allow for data binding. Keep in mind it would just copy all the data from the source and put it into LV, so you might as well populate it manually. It makes no difference if list is from database or not, works the same with data binding. So if I want to implement a window that displays the picture representing the status (online, offline) and next to it the buddy name, it is bett ...Show All
nirnet Form Creation
In form1 , it has a button which call the method to create a form2. i want to create form 2 and then close form 1 immediately, but when i close form1 , form 2 was closed also, please help. i use .net compact framework 2.0 and mobile 5.0 thank you very much void clickbutton() { form2 f2 = new form2(); f2.show(); this.close(); } The form you're closing is not the application's main form (the one in Application.Run()), right If it is, that would close the entire application. You can hide it instead of closing. Also, here’s a good rule to follow: never close a form which holds other forms in it. For example: Should not close Form2 unless Form3 is closed, and ...Show All
Nightowly Relation of Map Point to Virtual Earth - can someone explain?
I've been trying to get my head around this concept. What is the relation between Map Point and Virtual Earth If we want maps as a server-side only solution (no internet connection) would we use Map Point Does Map Point ship with a Virtual Earth style .js interface or would we have to build our own Any clarification would be greatly appreciated. JonnyAJAX wrote: I've been trying to get my head around this concept. What is the relation between Map Point and Virtual Earth If we want maps as a server-side only solution (no internet connection) would we use Map Point Does Map Point ship with a Virtual Earth style .js interface or would we have to bui ...Show All
barkingdog How to load XMl document?
Hi everybody. I'm using VS2005 C# to code a smart device project, which should run in Pocket PC 2003 SE emulator. When I try to load a xml document as in this sample private void Display() { try { XmlDocument doc = new XmlDocument(); string url = @"D:\NewFolder\Notebook\Notebook\Xml\diary.xml"; doc.Load(url); DateTime t = dateTimePicker1.Value; string date = Convert.ToString(t.Day) + "/" + Convert.ToString(t.Month) + "/" + Convert.ToString(t.Year); XmlNode node = doc.SelectSingleNode("diary[@date = " + date + "]"); textBox1.Text = node.Value; } catch (System.IO.FileNotFoundException e) { Messa ...Show All
joynerCN Freeze Columns DataGrid
Hi, Please, how to freeze the first column DataGrid when moved scrollbar. My application for WinCE.Net 4.2. Thanks Yes. Is it true also for Framework 2.0 (windows mobile 5.0) Only by using 3rd party data grid with this feature or by writing your own data grid, I'm afraid. ...Show All
