David F's Q&A profile
.NET Development code generation using an XML scema produced from Enterprise Architect
good day everyone.. i am just wondering if there are other approach that i can use to generate sql scripts and c# codes out of the xml produced by EA(Enterprise Architect), for the mean time i am using the strategy which goes like this.. i parse the main xml document produced by the EA into another xml document which corresponds to the template i used to create the script and the codes. and for me this method is somewhat tiresome and inaccurate because most of the result is based on my own conception which eliminates the property of being reusable. it would be great for me if anyone can help me regarding this matter, thank you ve ...Show All
Windows Forms DataGridView not showing values for first added row
I have a DataGridView bound to a custom collection that implementes IBindingList. Everything works great except for the very first time that I add a new item. When I first add a new item to the underlying collection, a new row in the DataGridView appears with all of the proper columns, but the values are blank. I know the values are there because I've implemented an "Edit" button which opens up a customized form for the item in the collection. The DataGridView appears to be getting notified that a row has been added; I just can't see the values! I can even raise a ListChangedType.Reset event in the cust ...Show All
Visual Basic how to set release configuration in VB express
Hi, Anyone know how to set release configuration in VB express i can't find the build option specify by msdn. Go to the "Tools | Options" menu. Under the "Projects and Solutions" tree node, select the "General" node. There should be an option to "Show advanced build configurations". Check that box and click ok. Now, right click your project file in the "Solution Explorer" pane. On the "debug" tab, you can select the build configuration you want. Hope this helps. ...Show All
Windows Forms Hosting a server vs. simple peer-to-peer?
Is it better to host a Terrarium server or simply have many peers connecting via peer channel I'm trying to setup Terrarium for our engineering dept within our intranet. I want our group to be able to access a private ecosystem, but hosting a server seems to present many obstacles. Thank you! If I understand it correctly, yo ...Show All
Visual Studio Specifying a generated CS file as to be not-source-controlled
I'm using integrated source control in a C# project. I recall a Source-Control related feature in the VS.NET 2003 (or 2002 ) IDE that let you identify a particular file as to be not-source-controlled'. I used this feature in the past to indicate that a generated CS file was to not be checked in with the project. I had thought a menu option on File->Source Control let you do this, but I cannot find any such menu option. Is it possible in VS.NET 2005 to specify that a particular file is to be not source controlled I'm using a Perforce SCC provider, in case this is a source-code-provider specific feature. Thanks in advance, Ho ...Show All
Visual Studio Express Editions Visual Studio Common IDE Package
I recently installed VC++ 2005 express, but receive a couple error messages when starting and another when attempting to create the form app project. Here are the first errors: " The Visual Studio Common IDE Package ({6E87CFAD-6C05-4ADF-9CD7-3B7943875B7C}) did not load because of previous errors. For assistance, contact the package vendor. To attempt to load this package again, type 'VCExpress /resetskippkgs' at the command prompt. The Visual Studio Explorers and Designers Package ({8D8529D3-625D-4496-8354-3DAD630ECC1B}) did not load because of previous errors. For assistance, contact the package vendor. To attempt to lo ...Show All
Windows Forms setting textbox text onto a child Form
Yes that helps. I've figured out that I need to pass the pointer to the textBox to function X. Here's what works : function X definition : X(System::Windows::Forms::TextBox* box, .....) {..... box->set_Text(S"hi"); ....} inside Form2, the function X is called : X(textBox1, ....); The only thing left is to pass a group of textBox pointers to function X. Should I create a struct or enum of pointers How will I call function X inside Form2 ak ...Show All
Visual C++ Why AfxGetResourceHandle causes Asserts?
My scenario is somehow complicated but I try to simplify it: I have a CLR class libraray that wrapps some functionalities of a MFC dll. The MFC dll has a class with a method that calls AfxGetResourceHandle() method, when I use the corresponding method on the wrapper the Asserts are generated. The method is trying to get a handle of a resource that is defined inside the MFC dll, why I got asserts ..\Microsoft Visual Studio 8\VC\atlmfc\include\ afxwin1.inl _AFXWIN_INLINE HINSTANCE AFXAPI AfxGetInstanceHandle() { ASSERT(afxCurrentInstanceHandle != NULL); return afxCurrentInstanceHandle; } ...Show All
Visual Studio Support of Project Designer Style
There is an interface named IVSSpecifyProjectDesignerPages in vsshell80.idl for the project designer. Can you do by using this interface for the project designer Best Regards Shinya Watanabe Hi Everyone The project designer style is not supported in C++. Is the support of the project designer style possible in the languages other than C#, VB, and J# Best Regards. Shinya Watanabe ...Show All
Visual Studio 2008 (Pre-release) Are WCF services ready for primetime??
I'm curious to get the opinion of you on this forum. I'm in the very early stages of an SOA, enterprise application for a large company. We will not be ready to roll out a production quality application for at least a year. However, with WCF getting release w/ Vista, and scheduled to go out sometime early next year, do you think it makes sense to be building WCF services in Beta 2, or does it make more sense to build traditional ASMX web services now, and then upgrade to WCF sometime down the road when they're fully baked Thanks Kirk Hi Kirk, We can discuss this from development point o ...Show All
Smart Device Development Intaller corrupting files
Our installation process is corrupting one of the file being installed and we can't figure this out. Does anyone have an pointers Our application comprises of a Setup.exe file that is 63,026kb. This setup installs several files including a 62,264kb data file which contains all the data for the app. When we install the application to the 128meg SDCard this large file is getting corrupted. Here is what we know thus far. This problem happens in PocketPC 2003 but this does not happen on Windows Mobility 5.0 We cannot duplicate this problem with 1 Meg SD Cards. We have tested this with ActiveSync 4.0 (buil ...Show All
Visual C# Required and Optional Fields - Your Ideas Plz
Hi, In my application, I want to let the user specify which objects are required and which are optional by enterring all objects (textbox, combobox, etc) as fields in a table so the table will continue the following: Form Name Object Name Is Required (Y/N) Is Enabled (Y/N) and I want to load these values everytime the form loads.. How can I do that.. do you have a better idea to do it will it slow the form load specially if i have many objects on the form.. Best Regards, Jassim Rahma Many ideas can deal with your problem, such as using ini files to configurate the user special setting values, also you can give user another win ...Show All
.NET Development reading arabic text from mysql
hi, i have some text in arabic stored in a mysql archive. i inserted them using phpmyadmin and are shown fine. i'm trying to read them using odcbconnection and odbc driver, but if i try to read it i receive a string full of ' '. i have to make some settings to the connection to be able to read arabic text ok Try to write the new records using ur new connection ... i did face this sort of Problem in SQL Server ... but when i wrote it with my new connection it worksfine ( OR another reseon check the field type ... ) hope this HELP ...Show All
Visual Studio 2008 (Pre-release) my pet project: AnimationBehaviors
I’ve been working on a project in my spare time called “AnimationBehaviors”. Now that I’ve got it working reasonably well I’d like to share it with the world. The animation system in WPF is really powerful, however it’s not always easy to create certain effects in XAML without falling down to code. Even when code is not required, it’s not always easy to create reusable animation effects. Enter AnimationBehaviors. AnimationBehaviors is a library that makes it easy to add common animations to elements in XAML with little effort. By utilizing attached properties I’ve created a system where adding (sometimes) complicated animations becomes ...Show All
.NET Development PLease Help me in Updating My DataBase .....!
Can Any ONe OF You Please Tell Me Why My DATA BASE is not able to save the records which i add through my application .I can have new records added only still my apllication runs .Once i close and start i lose my new records . I give code here :(1 table called folder with 2 columns folderID increments automatically and FolderName takes from user for new records ) using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace updateBase { public partial cla ...Show All
