tdot's Q&A profile
Visual Studio Express Editions win32 application
i have read abt this frm the forum and followed steps given in the following link : http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx but still i am getting the following error: 1>c:\documents and settings\administrator\my documents\visual studio 2005\projects\test\test\stdafx.h(28) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory i am missing something . plz help I get three hits - the two you mention, and also one in C:\Program Files\Microsoft Visual Studio 8\VC\lib. This last one is obviously the one you are missing. However, why it is missing, I cannot tell. ...Show All
SQL Server about processXMLdata sample,how to insert a return in end of each row data of the result text file?
I am newbie, having a job to handle some XML files into sql server 2005. In the procXMLdata sample,,pls tell me how to insert a return in end of each row data of the result text file hi, Thanks for your reply. The processXMLdata sample was put in the sample directory of ms sql server,which just converted a xml file into a txt file ,using two xml task. The first was to preform XPATH method,output a variable, and the second xml task was to do XSLT method ,input the variable above, output a txt. I know XML little , i guess t ...Show All
Visual Basic ComboBox Click Event (Vb.NET2005)
I want to handle the Text_Changed event ( Changed by user click, not by code ) in a ComboBox. I use Combobox_click in vb6. It works fine. But in .NET, the ComboBox_Click event doesn't make sense (It fires the event just when the control is clicked before any change is made). I tried ComboBox_ SelectedValueChanged and ComboBox_SelectedIndexChanged. Both of them fire the event when the text is changed by code. I alse tried ComboBox_ SelectionChangeCommitted. However, the text in the comboBox is not updated while the event is handled (it is updated after the event handling). Does anyone know how Thanks ...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 Public Shared Function RunScript(ByVal script As String, ByVal onServer As String) As Boolean Try Dim SMOServer As New Microsoft.SqlServer.Management.Smo.Server(onServer) SMOServer.ConnectionContext.ExecuteNonQuery(script) Return True Catch ex As Exception Return False End Try End Function Where onServer would be somethi ...Show All
Windows Forms Help!
Hello, I have a question on setting up and using Terrarium at my place of employment. I read the FAQ about being behind a firewall. However, what if one or more fellow programmers want to use the terrarium program too I can talk to our network admin and see if he will open up port 50000, but how can he forward to all of&nbs ...Show All
Visual C# button links
How do I set a button to bring up another form box when it is clicked hi, in your designer double click the button and add something like this in the event handler MyOtherFormName f = new MyOtherFormName f.show()// or ShowDialog() hope this helps ...Show All
Visual Studio Team System What version of FxCop will be included with Visual Studio Team System?
Do you plan to release a special version of FxCop for Visual Studio 2005 and VSTS What version of FxCop will be included with Visual Studio Team System Will Hi, will it be possible to upgrade the version included with VS2005 if a new version of FxCop will be released Regards Daniel Walzenbach ...Show All
Smart Device Development Help Need
i am New to smart Device application development. i want to learn how to create a new application using VC++. Please Help me. Following will help http://msdn2.microsoft.com/en-us/library/b20d48w3.aspx Regards Gaurav ...Show All
SQL Server quastion about triggers
hi, I have a few quastions about triggers: 1) I want that to run a specific function or exe, after a row update. How can I run a function via the trigger 2) Is ther any trigger that for an updae of a culomn (not a row) thanks, moria Hi Moria, First of all, there are differences id you implement the trigger on a CLR basis (2005) or on a TSQL basis (<2005), so next time, try to give some information about your system, that the proposed solution will better fit your needs. "How can I run a function via the trigger " You talked about executing a EXE, therefore you cann call the extended pro ...Show All
Visual Studio Team System Traceability after merge - What was the source branch?
Hi, I would like to know how can I know after a merge what was the source of the merge. Suppose I merge from one branch to another . After the merge action I only have a new changeset at the target branch, from that changeset I can not know what was the source of the merge. Thanks Yaarit The best answer I have for v1 is to write helpful changeset notes when you check in a merge. Comments & checkin notes are not displayed by 'tf merges' but they are returned by the QueryMerges web service call. You can also view them in the IDE of course by doubleclicking on a changeset in the Histor ...Show All
Visual Studio Team System Feature suggestion: Option to open last project on load
Hello, it's been a while since I checked on FxCop, so this may have already been suggested before. If so, I am sorry. It would be practical I believe to provide an option that would make FxCop load the last loaded project whenever FxCop starts up. TIA. What FxCop provides for this is a most recently used project and analysis target menu item. Look under the 'File' menu and you'll see you can choose from several most recently loaded projects or targets. You can configure the number of most recently used items that are persisted in the Tools/Settings dialog, see the 'Count of items to retain in MRU lists' ...Show All
Visual Studio Apply VSS to already-present directory structure?
We've got a directory structure with common, database, ui, etc components split out into subfolders to enable easier reuse. I'd like to bring in VSS2005 and apply it to this directory structure, not creating duplicate common projects for every project that uses them. It appears to me that if I open a VSS database in VS.NET right now, then "add solution to source control" it's adding all projects in my solution to the project folder in VSS. Rather, I'd like to add the main project to its folder, and the components to their folders so that other projects can reference them. Ideally, I would like to import (check-in) the entire current dir ...Show All
SQL Server Can I use ALTER LOGIN in a stored procedure???
Can the ALTER USER statement be used (without a hack like using EXEC) in a stored procedure I know that the sp_password system stored procedure can not be. Additionally, it is being deprecated anyway. I guess what is boggling me about my attempts so far relate to the errors I am getting due to the user being specified not being in quotes in the syntax. All of the searching I have done so far have come up lame so far; the only examples I have found about it were in scripts that create other scripts for transferring users and other administrative tasks that would be run from the query window, but not from an application. To be complete as po ...Show All
SQL Server SQL Replication
I have an end-user question about what replication solutions are available in SQL 2005 for the following configuration. We are looking for a replication option that will allow instant replication of changes made to the database at a remote office with a WAN connection. This is a manufacturing operation and the aplication in use requires those changes to be instantly replicated to the primary SQL server located in the data center. The vendor that supports our application has never had an instance where there was a WAN separation between the application and the database (we run the application through Citrix/Terminal Services) and has yet to ...Show All
Windows Forms Adding an icon to the form taskbar when using a form with no border?
Hello, I am making a form in Vb.net using a skin so I do not have a border on my form, but I would like an icon to show up in the taskbar when the form is opened. Is this possible I haven't been able to find anything that says you could. Can someone please help, point me in the right direction, or confirm that this can't be done Thanks, Marc Paul, I tried it on an XP system and the icon is visible in the taskbar. It must be a Windows 2000 issue or an issue with my computer itself. Thanks for the help. Marc ...Show All
