Mustafa's Q&A profile
Visual Studio Express Editions VC++ 2005 Express - for each loop
Hi everyone! I'm kinda newcomer, thus I've quickly encountered a problem which I can't solve in the 'elegant' way. The problem is how to iterate the collection of various types of controls (controls conteiner) and operate only on a specific controls type. I'm not sure if I've made myself clear, so here's a code which doesn't work: for each( Windows::Forms::NumericUpDown^ ctrl in this->tableLayoutPanel->Controls ) xmlwriter->WriteElementString(ctrl->Name, ctrl->Value.ToString() ); tableLayoutPanel contains NumericUpDown and Labels (which couses all the problem here) type controls. I want to ...Show All
Windows Forms How to update sorted values in DataGridView?
I have a DataGridView bound to a dataset where I need to insert rows. Just like the Insert/Rows command in Excel. It works ok at this point: Create the new row with table.NewRow, populate with default values (including a row number), table.AddRow. When the data table is updated, the binding source and datagridview also get updated. The binding source and datagridview are sorted by the row number, so the row falls into place. Life is good. However, I'd like to renumber the rows after the insert. This is where the issue comes up. The renumber routine is basically for each ThisRow in Me .DataGri ...Show All
Visual Studio Team System Sample Templates
I downloaded the MSF Sample Tempates v3 and tried to open the MS Project files. I can't see nothing in there, altough the files are prety big. Can someone tell me how can I see for example the Gant chart It's about MSFforAgileSwDevBetaProcessTemplate-100.1.zip from http://www.microsoft.com/downloads/details.aspx familyid=f9fd355e-98c2-4b51-86ab-4d4a6b34aafc&displaylang=en and MSFforCMMIProcessImpBetaPG-51125.00.zip from http://www.microsoft.com/downloads/details.aspx FamilyId=10B578F1-B7A4-459F-A783-04BC82CB2359&displaylang=en in the Templates folder (I'm not using the Team System s ...Show All
Windows Forms Adding an icon to my .exe file
Hey there everyone, I am having a little issue adding a icon file to my existing .exe application. I see the place where you can change the forms icon but I need to change the icon for the .exe file. Can somebody please point me to a location that give a step by step instructions on how to do this or maybe you can post i ...Show All
Microsoft ISV Community Center Forums Installing VBA6.0 on XP
Good morning and hello. Ages ago I received a SDK 6.1 containing the latest release of VBA 6.0. I happily and without problem installed this on my laptop running Windows ME and all was well. I have since updated my laptop to one running Windows XP Home and when I went to install the SDK I was confronted with an error stating that "....You first must install Microsoft Visual Basic 6.0 Service Pack 3 to install the VBA Integration Wizard...." I searched the microsoft web site and found a "service pack 6" so I downloaded all 24M on my 56k line. The files extracted correctly to the folder I selecte ...Show All
Visual Studio crystal reports and dynamic images from disk
Can someone tell me if there is a way to insert dynamic images in a crystal reports page with details from the images folder. The exact requirement is to display a company's logo at the top of every crystal report page as and when they change. i.e when you have a new logo , you only change the image(.jpg) in the images folder and the corresponding image in all the reports should change. how do we achieve this, in c# I require something like this for C#.NET i tried but its only for VB i guess , so the solution that i read is Image Tables,I am talking about CR Version9, so if anyone knows a simple way to set pa ...Show All
Windows Forms Wheel mouse event
Hi, How can I catch the wheel mouse event on panel (or user control, or every othe control) Thank's Alexei Hi, I have found the solution: in mouse enter event set focus on panel... After it the wheel event is fired. Thank's Alexei ...Show All
Visual Basic Lotus Notes
Guy's I have a windows form application that I am working on in Visual Basic 2005 and I am trying to start lotus notes, add an attachment and then send it all from my application, however although I am using lotus notes here is there a way to just open the default mail client and do this if not then if I can just fine a way to open any mail client and do this I will be happy I understand that there is a way to do it in vb 6 with a MAPI call I found this code to do it in VB 6 what is the equivalent in 2005. 'Start MAPI (email) Session MAPISession1.SignOn MAPIMessages1.SessionID = MAPISession1.SessionID 'Compose new message ...Show All
Windows Forms Build Solution
Hey, I was making a print functiojn in my program and I used this page to know how to do it: http://support.microsoft.com/kb/811401/EN-US/ But on one of the steps to make a dll apear I had to finaly goto the build menu and clikc on Build Solution, but there is no option that says that.... CTRL-B will do the same thing. It's just a build command, but I don't think Express supports solutions ( multi projects at once ). ...Show All
Visual Studio I get a null reference exception when add new elements to a CompartmentShape on JuneSDK -
i'm working with the JunSDK and i had troubles when i trying to use a compartment shape. I have a domain class that inherit from another ones abstract classes. There has a relation with another one and it's mapped to a comparment shape. So, when i ran the project, i could see the comparment shape and edit it's properties, but when i try to add a new element to the comparment i got an null reference exception :S. Also if i try to add via the domain explorer Vs simply hungs. thanks!. -jes I tried to repro this by unfolding a Class Diagram template, setting the DomainClass ModelClass to abstract, defining a new subclass of ModelClass cal ...Show All
Windows Forms Save me developing ALL of my applications twice please - develop .net framework for AppleMac!
erm... think i said it all in the title! i work for a publishing group, so the offices and design studios are a mixture of PC and Mac systems. im really praying quite hard that MS give me .net for the Mac before the time comes i have to learn how to code MacOS.....! If you don't move forward you get left behind. And&nb ...Show All
Visual Basic Catch user mouse click events in window.
Is there a way I can catch all the user mouse click events inside Window Thanks! I want to collect the mouse click information for entire OS instead of just my App. pulling message queue seems a solution ...Show All
Visual C++ How to write an App with no console window at all
Hi I haven't written any C++ since VS6 so I'm rusty and please pardon me. I have a need for a very lean application which runs as a native mode executable with no accompanying libraries or manifest file. In other words this program behaves in the manner that a VS6 application would. I seem to recall that I could get a program to run without a console window by deassigning stdin and stdout but that may have been in a detached child process. Can anyone tell me how to do this If you create a windows program you don't get a console window to. There is no need to create your own window. Just use the wizard and create an Win3 ...Show All
Visual Studio 2008 (Pre-release) SQL Stored procs and LINQ
I just heard about LINQ the other day so excuse my total ignorance but ..... if I can use, what used to be called "in line" sql, in my VB code, won't performance suffer compared to if I executed the same sql from a stored proc (From what I understand, LINQ uses remoting so the apparent client-side code actually runs on the sql server, but a database stored proc is pre-compiled and cached. I don't know if LINQ code is). TIA, Barkingdog If you were to turn on logging at your database server, you might see that DLinq queries were coming across as regular SQL strings -- not remoting in th ...Show All
Windows Forms bar chart, pie chart, line chart
Hi, How can I make various kind of charts in my application, such as bar, pie and line. The datasource is dataset. Any samples I found a few on google , but they are for ASP.net and involves HML and .aspx Thanks You can try Nevron Chart for Windows Forms. The component supports GDI+ and OpenGL rendering, numerous charting types with built&nbs ...Show All
