Alexander Klizhentas's Q&A profile
Windows Forms XML writing through VB.Net
Hi.. I am fairly new to Vb.Net. Can anyone please let me know how to write/append a XML document using Vb.net I have this xml <root> <online>abc</online> <online>dfshgh</online> </root> Now i want to append the <online> tag of the xml file with more such records how can i do that ..if any one give an example code is more prefered as the oth ...Show All
Windows Forms How do i pass control to another form in a button click event
Hi I am new to windows forms. How do I pass control to anohter from in a buttons click event. eg When you click on a button located on form 1. It then shows form 2. how do you do this. Thanks OOPS I thought you wanted something else. I thought you wanted to pass "A" cotrol not control. :) ...Show All
Visual Studio Team System Excel as a data source for Web Test Databinding ?
I am currently using Sql Server 2000 tables as a data source in my web tests. Is it possible to use an Excel spreadsheet as a datasource for databinding in a Web Test If yes how can I do it in VS2005 Team Suite June CTP If this cannot be done in the june CTP can it be done in the july CTP Or will it be avaialble in some future CTP or the RTM -Ahmed There should be no perf problems that will impact execution of the test since we load all data into memory before the test starts. Note that we do not support inserting and updating records in the data source for test data on the fly. Ed. ...Show All
Windows Forms Date Time Picker
Hi everyone, I am using a windows application where I use a date time picker. what is the event raised when I click on the date time picker so I see the calendar. thanks Thanks Roxana, what really I want is the following: I have a textbox and a date time picker. the text box is used to display the value choosen from the date time picker. When the focus is on the textbox, if the user click the ENTER key, I want that the date time picker open, and the focus is on it so the user, by using the ARROW keys, can choose a date. I know how to test the key pressed by the user, this is my code: Private Su ...Show All
Smart Device Development Can't open Windows Mobile 5.0 PocketPC CPP win32 projects in 2005
I am unable to load the sample projects that come with the Windows Mobile 5.0 PocketPC SDK in Visual Studio 2005 All I get is an empty error dialog with an OK buttom. Has anyone else seem this behaviour I can open the C# SDK projects with out a problem. Thanks We did have Windows Mobile 5 SDK intalled and still go this error. I realized that we had the Standard Edition of Studio installed and not the Professional Edition. Looks like Professional Edition resolved this issue. Thanks ...Show All
Visual C++ C DLL using VS2005
Is there a example code for writing C DLL using VS2005. -mic Take a look at the following links: general dlls: http://msdn2.microsoft.com/library/1ez7dh12(en-us,vs.80).aspx mfc dlls: http://msdn2.microsoft.com/library/wd5f0z40(en-us,vs.80).aspx Hope this helps! Thanks, Ayman Shoukry VC++ Team ...Show All
Windows Forms Best practice? Use panels or other method?
Hi, I'm designing a Windows form that is divided vertically by a vertical splitter. On the left hand side is a TreeView. On the right hand side I want to (ideally) display one of two forms and have the form completely fills the remaining area. The idea is that if a TreeNode is clicked then the right hand side of the screen displays (read-onl ...Show All
SQL Server CLR and SQL 2005 Compact Edition
I believe that there is a also a new SQL database for the PDA. Am I right Is it also possible to use (CF) .Net code inside this edition SQL Mobile does not support UDT or UDF. Also the CLR is not inside SQL Mobile database. The programming model is different. Simply stated: SQL Mobile components is a bunch of dlls that are linked in your device application project. So the database routines are embedded in your application code. You declare some variables, structures Application logic - pre data processing query, modify, delete data from SQL Mobile Application logic - post data processing So it an embedded ...Show All
Visual Studio Dynamically generate and "install" DSL
Hallo, I'm currently working on a DSL for a Component-Based Software Architectures. I've created a DSL for the basic entities and their properties. Now I can design "childs" of the DSL (e.g. an EmailEntity) and add different properties in the created designer. What I want to do next is to dynamically create a new DSL from the model I've drawn in my designer within the debug instance (where I have drawn my model). When I now click "New Item" I want to have a template for my new dynamically created and installed/registered DSL, so that I now have EmailEntities etc. in my Toolbox and can draw instances of e.g. ...Show All
.NET Development Removing a Relationship in a Microsoft Access Database
I am a C# developer, using a Microsoft Access Database for data storage. How can I remove a relationship between two tables from within my C# program You first need to determine where the relationship is in your code and what it's called. Then you can delete it like this: DataSet1 ds = new DataSet1 (); ds.Relations.RemoveAt(0); ... or ... ds.Relations.Remove( this .myDataRelation); I'm assuming you had the designer create a DataSet for you with all of the related tables, constraints, relationships and so forth Of so, finding the relation is easy: open up the DataSet in the IDE and fi ...Show All
Windows Forms How to publish a project to CD'S using ClickOnce
Hi guys, I have tried to deploy my project to a CD, using ClickOne feature, but it always report an error, telling me that the process could not be completed.... thanks for your help... Are you trying to publish the project directly to the CD. I mean do you specify the CD driver as the destination for publishing your project Thanks, Sameer ...Show All
Visual C++ Any way to output the Build Order?
G'day! I'm working on converting a massive (171 projects) vc6 workspace to VC2005. I'm building them 1 at a time because of the effort each requires. The Build Order dialog was very helpful in determining which projects have the fewest dependencies, but with 171 of them I can't easily just jot them down and work through. Does anyone know of a handy way to print the list or otherwise get it ouput in a text format If I had that I could print the list and cross them off as I go. The best way would be to take screen shots of the dialog box. You can do this by hitting Alt+Print Screen button on ...Show All
Visual C++ Adding a property to a class, help please!...
Hello. Since Classwizard is gone from visual studio 2005, I cannot seem to figure out how to 'add a property'!...How can you do that Hope someone can help me out! thanks... Hey Brian..have a new question... Ok, I have a Visual C++ book I've been reading..and been coding the controls that the author has me go through. Now, I have to Add a MFC Class from TypeLib....This book is published during VS6..And when I create it, it creates a Header and CPP file....Well, in VS2005, it seems to only create a Header file, not a source file. Do you know why that is A bug, maybe I'll just include the .cpp file for it tha ...Show All
.NET Development I need a good profiler for .NET 1.1, any ideas ?
thanks. http://msdn.microsoft.com/msdnmag/issues/03/01/NETProfilerAPI/ ...Show All
Smart Device Development Adding Strings to an Array
Hi, I'm trying to add strings into an aray, when it matches the criteria: If strProdCat = "Beer" Then strAgeRest(intCount) = strSelProd intCount = intCount + 1 End If This isn't working, can anyone suggest what to do Thanks How exactly it’s not working Are you getting an exception Which one What's stack trace, error message How variables are declared ...Show All
