PJFINTRAX's Q&A profile
Windows Forms CheckedListBox selct all items...
Hi... How i can select all items in a CheckedListBox on selction of a first CheckedListBox item... Items in CheckedListBox are as follows- 'Selct All' First Item Second Item Third Item So on click of 1st CheckedListBox item(SelectAll), i want to select all items...How i can do this... Thanks in adavnce, Vinay I was just asking what if you had to deal with the issue sideways That means treat the itemcheckedevent of the checkedlistbox in order to update the checkbox's state if all itesm are checked. Normalley this would lead to endless loops cause one events calss the other and so on. I would like to know if there is some way to get around this issue. Thx ...Show All
Windows Forms I need ur help guys
Hi guys! I wanna create calculater form Can any1 help me,I want to get the code hi, please do not ask us such an abstract problem. If you have some problem in doing your calculater form, please tell us all what's your problem. If you have totally no idea how to do that, please refer this link first http://www.csharphelp.com/archives/archive131.html ...Show All
Visual Studio 2008 (Pre-release) MediaElement in a FlowDocument
Hello Everyone! I am trying to add a MediaElement (video file) inside a BlockUIElement to a Figure, then add the Figure to a Paragraph and finally stick the Paragraph into a FlowDocument. I have set the MediaElement.LoadedBehaviour to Play, and as soon as it gets added to the figure it starts to run, the only problem is that the video doesnt update, meaning that the only thing that "moves" is the sound. Basically the Video freezes on frame 0 but the audio plays fine. Now the interesting thing is that if I resize the FlowDocument or hover the mouse over a button inside the Grid where the FlowDocument lives, the video also updates fine. In the case of the button, at least for the duration of the little OnMouseOver animation attach ...Show All
Visual Basic HDD serial number
Hi everybody:) How can I get a serial number (physical number) of the disk within VB2005.net (or at least C#2005) Is there any function for retrieving this number which does work independently from platform or anything else I 've already tried out Win32.PhysicalMedia, but it retrieves nothing !!! Thanks take a look at this http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=530031&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=845110&SiteID=1 ...Show All
.NET Development How do I control Windows service application from external program?
Hello, I hav a task of creating Windows service which has some GUI for configuration data used by service. So I plan to have 2 projects in solution - Windows service itself and frontend manipulation program. How do I attach from within a program to Windows service and how do I call events inside Windows service to reread configuration file once changes are made Thanks, G How much additional code do I have to write if I'll do remoting or IPC as compared to reading/writing from text file At this point while it's not elegant reading/writing from single file appears to me the best way to pass one time information from controller to service. ...Show All
Visual C++ need help with vC++ 2005
Can somebody tell me how to run programs made with MV C++ 2005 cuz when I try to fing out how to run the Hello world code thing I cant find a run program putton or anything. Note: Im a 15 year old trying to learn C++ and maybe C# so try to keep the anwser simple please C++ is not simple. If you must have something simple then start with something else. I don't want to discourage you from learning C++. I has been frustrating for me that my nephew would not learn it. He is now in college and wants to be a rocket scientist but his interest in programming has been limited. It is exciting when people your age pursue C++. I mainly want to say that I hope you don't always have to have a simple answer, because you will soon enc ...Show All
Smart Device Development how to knew whether a call is incoming
hi how to knew whether a call is incoming my develop platform is c# .net cf 2.0 thank you Hi If you're working on a Windows Mobile 5.0 device, have a look at the Microsoft.WindowsMobile.Status Namespace . The class SystemState provides the requested info. ...Show All
Visual Basic Why do my DataGridView columns repopulate when resaving the dataset?
This has been driving me crazy from day 1. If I have a fairly large dataset with many tables and I make a change to a table and save, it randomly repopulates columns in some of my dataGridView controls across many different forms. Sometimes it just reorders columns, others it duplicates the columns and crunches them into the end of the control. Does anyone else have this problem This has happened to me in sevaral projects so far. The sample code mentioned previously can be found on-line at the following link: http://www.awprofessional.com/articles/article.asp p=446453&seqNum=13&rl=1 This sample needs enhancement, however, because it assumes that the column order of the DGV remains fixed within ...Show All
Windows Forms Resizing and rescalling Forms
Hello, I have in my project a form with several buttons and ~20 PictureBoxes loaded with some images. How I can resize and rescale the whole form (by pulling right bottom corner of the form), so I can get all components, images, fonts... everything inside resized and scalled proportionally. For example if I make the form twice smaller I want to make all images to schrink twice, fonts to become twice smaller, buttons.. everything to be scalled down proportionally. I'll be very thankfull if you can bring me some sample code. Thank you Best regards Hello, It should be possible ( I meant the answer should be YES), at least for the non graphical components (I found these links today) http://www.informit.com/guides/co ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Plans for future XNA webcasts?
Just wondering if there were any official plans for webcasts One of the guys at the webcast that was done a couple weeks back said they'd like to do others. I guess we could see here what the community would like to see to determine what the interest would be. Hmm, can't seem to get that to play. Is that your mug on the first frame edit: downloading, we'll see what happens. edit2: OK, so that's not your mug. Have to watch all of it to see who it is. edit3: So George is famous now and I want the XNA Asteroids game that was shown! edit4: FONTS!!!!! YEA!!! edit5: OK, so the face was Major Nelson. Wow, that didn't look like him at all in the frame. Yeah, I'm sad, aren't I ...Show All
Smart Device Development DLLs and Message Queues
Hi all, I have a service EXE which creates a window and recieves windows messages from one other exe that I have. Based on the message recieved, it performs necessary operations. I need to convert the service EXE into a service DLL. I am not able to make this work. The findwindow fails in my EXE and I can not find the handle to the DLL where I need to post the messages. The reason I understand is, service DLL is a child window now and findwindow do not find child windows. One more problem is since this DLL makes a window I am not able to see my EXE's main windows also. How to tackle these Any guidance on this would be appreciated. Best regards, Ashish Vyas However I do not see my code re ...Show All
Smart Device Development Non-overlapped Serial I/O - Does one operation block another?
Hi, just wondering if someone could confirm the blocking behavious associated with serial I/O on Windows CE 5.0 (more specifically Windows Mobile Smartphone). My understanding is that a thread performing a read (ReadFile) or write (WriteFile) operation will block until the read or write completes (or an error or timeout occurs). However according to this article ( http://msdn2.microsoft.com/en-us/library/ms810467.aspx ) , related to Win32... "If one thread is blocked waiting for its I/O operation to complete, all other threads that subsequently call a communications API will be blocked until the original operation completes. For instance, if one thread were waiting for a ReadFile function to return, any other thread that issued ...Show All
Visual C++ Complie Error
I am a new to use VS.net 2005 Today when i complie a DX's application,two errors had happened: error C2440: "init" can't transfer "const char [4] to "LPCWSTR" error C2664: "CreateWindowExW":can't parameter 2 transfer "const char [4] to "LPCWSTR" and why the DX'SDK on june 2006 has not include DirectShow if it has,what is instead of The program is following: ============================ #include "stdafx.h" #include "DX1.h" #include <d3d9.h> #define MAX_LOADSTRING 100 LPDIRECT3D9 g_pD3D=NULL; LPDIRECT3DDEVICE9 g_pD3DDevice=NULL; LPDIRECT3DVERTEXBUFFER9 g_pVertexBuffer=NULL; struct CUSTOMVERTEX { FLOAT x,y,z,rhw; DWORD colour; }; ...Show All
SQL Server Best Practice for detecting Feature Pack components?
I'm responsible for the install of an application whose next version will be using the 2005 SMO objects. I've already located the feature pack page and discovered what MSI's need to be installed. What we would like to do is in the install of our application, detect if the required 3 modules have been installed yet, so that we can prevent our install from continuning if any are not present. Does Microsoft have any preferred way to accomplish this I know how to use the Windows Installer Engine objets to querey on various properties. In fact I do this for one of our installs where I querey for related products based on the UpgradeCode, then use the resulting ProductCodes on the ProductInfo method to get the VersionString. Can I do a si ...Show All
Visual Studio Team System Error checking out files "user cancellation occurred"
I'm getting the following error when attempting to check out a file: "An error or user cancellation occurred during checkout. Some files may not have been checked out. (File was not checked out.)" I had TFS source control working fine for a long time. Then, I ran into a problem with VS and its default Project directory in Documents and Settings. I was getting pathnames that were too long because of extreme nesting of folders in an example application I downloaded. So... I decided to move Visual Studio and that's when my problems began. I used My Documents > Properties > Move from the Start menu's My Documents link and moved the folder to C:\My Documents so I could ditch the "Documents and Settings > MyName" ...Show All
