Christian Lucht's Q&A profile
Visual Studio Platform SDK Build Enviro Corrupts VS .NET 2003 Builds
The Platform SDK has documentation on how to build the SDK samples using the command line with Vcvars32.bat from VisualStudio .NET 2003 and SetEnv.cmd from the SDK: http://msdn.microsoft.com/library/default.asp url=/library/en-us/sdkintro/sdkintro/building_the_sdk_samples.asp Using this information, a very simple COM DLL walkthrough example provided on MSDN located here at this link: http://msdn.microsoft.com/library/defa ...Show All
Windows Forms Open Form
hi i have 2 forms i want when i go from form 1 to form 2 form1 to be closed and form 2 appers when i do that all the appliction closes plz tell me what to do The challenge here is that when you start you ...Show All
.NET Development DataRow.GetParentRow returns null when it shouldn't
Hi all.. I have a DataSet with some DataTables with their respective DataRelations. Two tables are named Role and User, with a relation between them by mean of an intermediate table named RoleByUser. Key fields are RoleId and UserId, respectively. Well... By mean of calling the Select method against RoleByUser table filtering by a UserId value I get a DataRow with 2 fields, RoleId = 7 and UserId = 1. Using that RoleId I need to get the ...Show All
.NET Development Gridview Control - VWD2005
Hi. I'm having a big problem with the subject control. I've done a lot of searching and it seems it is a common problem but I haven't found a solution. When I click Update on the Gridview, the page refreshes but does not do an update. Can somebody please tell me what I am doing wrong. I am at my wits end... I believe I have done this exactly to the examples provided in help and Microsoft online examples. Here are parts of the code. ...Show All
Software Development for Windows Vista Time Out for 1 {minute/hour/day/etc}
I want my workflow to remind me when it has been in a certain state for, say, 1 hour. For Example Start, Write and then Send a document which should be replied to in 1 hour. Go to AwaitingReply state, waiting for host to raise ReplyArrivedEvent If no reply in one hour, email me or change to a waiting-too-long state Any thoughts You can use the Listen activity to achieve this. Have one branch of t ...Show All
Visual Basic Finding length of structured data
I am trying to convert a VB.6 program to VB .Net 2005. The program reads up fixed length records from a file and does stuff with them. The code to read the file and load up a combobox looks something like this (sorry about the double-spacing ... don't know how to avoid it): fPayees = FreeFile FileOpen(fPayees, gMasterPayeeDatabaseFile, OpenMode.Random, , , Len(PayeeData)) i = Len(HistoryItem) i = LOF(fPayees) j = Len(PayeeDa ...Show All
Visual Studio PLK Submission and the VSITsignoff.xls spreadsheet
Hello, As I was going through the February 06 help I was following through how to submit for a PLK for distribution. I was going over the sections for the VSIT and the signoff checklist. When I was reading it, I was under the impression that it needed to be filled in and submitted for a PLK... But when I looked at the PLK submission area in the VSIP control panel there is no area for submitting it. Is this checklist just to help you out ...Show All
Windows Forms Setting TreeNodeText Property is too slow
Hi ! I've developped a Drag & Droppable Treeview. You may reorder and change the hierarchy dynamically. In my Treeview, Each TreeNode Text contains its order. Example : 1 - Node 1 ......1 - Node 5 ......2 - Node 6 ......3 - Node 7 2 - Node 2 .. ...Show All
Windows Forms Startup Menu SHortcut in setup project.
I'm just finishing a setup project and I need to have the app shortcut in the users startup menu.. So far I've read that one makes an entry in the application manifest. Where is this file and what is it's name Is this an editable text file and what does the entry look like Thanks. For setup projets, you need only to add a shortcut to your application inside of the User's Programs Menu folder. This folder is vis ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Work with Graphics for C++ console application
could i work with graphics in c++ console application i tried, but the visual studio dont come with the library nescessary, what can i do and one more question is it with c++ for console application that I can create games A console application is not the place to be writing games. The console is based on the idea of the system waiting for input, and displaying text in response. You want to w ...Show All
Visual C# Retrive Dates between 2 dates
How can we retrive working dates (consider a have 5 working days) between 2 dates. we can input like getdates(startdate,enddate,noofworkingdays) and the output become 01/01/2006,02/01/2006 ,01/03/2006...... and so on . i have to do the same in c#. thanks alal The work week is relative to who you are and what culture you live in. Instead a more useful function might be to retrieve the DateTime values between ...Show All
SQL Server Generating XML based on XMLSchema in a SQLSERVER2005 Stored procedure
Can a stored procedure in SQLSERVER 2005 generate XMLdata based on the schema Are there any features in SQLServer2005 to achieve this Please suggest me in this regard. Thanks vaishu Yes this is possible. Michael Rys' article about FOR XML support and the Xml datatype shows examples of this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnsql90/html/forxml2k5.asp ...Show All
Software Development for Windows Vista Error in VS2005 Workflow Designer after fresh install of Beta 1.2
I am using VS2005 Pro RTM. I have installed WinFX SDK and Workflow Beta 1.2 (everything is the current, latest version). When I try to create a new project, or open an existing sample, I get the error listed below: Warning 1 Method 'ElementRemoved' in type 'TypeProviderHost' from assembly 'Microsoft.Workflow.VSDesigner, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation. This ...Show All
SQL Server Execute installation script.
Hello. I will export the database generated script for all objects, I want to make an installer that executes that script on the remote server, I think the installer must ask for sa password; anyway thats not the problem, How can I make with SMO execute an script file Thanks SMO expects you to either use the SMO object model to modify the database interactivly or else script the changes and run them externally later. If you ar ...Show All
SQL Server define number of rows returned from query
Is there a way to limit the number of rows returned from a reporting services query as in my query will return 500 rows but i only want the 1st 5 rows. right after the select you would use "TOP 5". So it would look something like select top 5 * from table_name ...Show All
