Craig_inb's Q&A profile
Visual Studio Move task would be nice
It sure would be nice to have a Move task which could also be used for rename operations. MSBuild Community Tasks Project has one. It can be used to move files to a different folder or rename files. Example: <Move SourceFiles="Test\Move\MoveMe.txt" DestinationFiles="Test\Move\Renamed.txt" /> ...Show All
Windows Forms How do I create a GridView/edit screen?
Newbie question. I have DataGridView that has a list of records. I want to double click on one row and bring up a NEW form with a detailed edit form for that record. 1) How assign a KEY to the DataGridView 2) How to I access the key and pass it do the new form 3) How do I create all this on a row double click (not cell double click) Thanks. you can do it by the following I have answered based on your question number 1. Key = DataGridView.CurrentRow.Cells(columnindex/name).value 2.You can declare the Key as public in your Form1 and call it in Form2 in Form1 Public Key as string/anydatatype in Form2 ...Show All
Visual FoxPro CA
Hello Guys Can someone redirect me to a page where i could find a simple sample of CA (Native) or if one could send me an email. Please don't use the ca class if you would send me an email. The problem is when i use an access database, it works fine but when i use a vfp database, it shows me just one record. Please help me out with this too. Jitendra Shahani shahani.jitendra@gmail.com You will find some articles on CA in the article section at www.foxite.com . Registration while required is freen. ...Show All
Visual Studio Team System Tests
Hi how can i edit the test documents because i want to see the documents on every new test projects (for example a word file as test) I want to write a manual test and on every new test project this manual test should be here pleas help me Hi, I'm not clear what your looking for. However, I have some suggestions. If you want to add a manual test to your project, Go to the test Menu, select "New Test", and then select a manual test. Once it's in the project, double click it in solution explorer, and you'll be able to edit it in word. If you want to make sure that manual tests are created as part of the creat ...Show All
Visual Basic OleDBAdapter Update Not Functioning
have created/binded a datagrid to a table in Access and manged to get the data to be copied from Access into the datagrid table. I also created a button that can update information in the datagrid when the button is press. All of this seems to work fine up until the point were I try to get that change I made to the data grid to update the table in the Access database. I am using .Net and have the following code written to try and update the Access database... myAdapter.Update(myDataSet, myTable Like I said everything is smooth until this point and I can see where I am messing it up. Also I never closed my OleDBConn ...Show All
SQL Server CLR Integration - call function and returning dataset/datatable?
Hi, I'm very new to Yukon and the CLR integration, but I think I understand the basics. I have worked through the CLR tutorial on MS demo servers in which a function was created in vb.net that sql server could call, returning a string. One thing I am wondering is if sql server can call a .net function that returns a dataset or a datatable. Would I be able to query directly off of the dataset returned by the function The reason i ask is because I would like to be able to do this: Create a function in .net that calls a web service that returns a large query to a datatable or dataset as part of a SSIS package that uploads that query ...Show All
Windows Forms Splash Screen
I am creating a splash screen that will load up initially when my program opens up and closes when the main form behind it opens/loads. Similar to the Microsoft Office applications. The problem is I do not know how to close that splash screen. What kind of logic do I need to give the splash screen to close at the right time.  ...Show All
Visual Studio Team System Several issues with TeamBuild, July CTP
I'm using the July CTP and have setup the application tier to be the build server. During the configuration of TeamBuild, I ran across the following: Since Visual Studio also guards the Bin folder in Web projects, any assemblies in that directory are added to Source Control. When these assemblies are actually project references, TeamBuild fails (MSB4126) to copy the output of these projects to the Bin directory (Access denied, files are read-only). I had to override the BeforeCompile target to remove the write-protection from these files to work around this. CodeAnalysis fails (CA00058) because Microsoft.VisualStudio.QualityTools.Resource ...Show All
Visual Studio Team System Error 28703
Hi, I have a problem during the installation of Team Foundation Server, the error is: Error 28703. Unable to connect to the SQL server. Please check that you have the necessary permissions and the SQL server process is running on the data tier. See the setup logs for more information. In spite of this I can connect from another pc to the SQL Server. I can conect to SQL Server using the user TFSERVICES During the installation I'm using the user TFSETUP. Somebody can help me, thanks. I am facing the same problem with the same error message while installing TFS. Error 28703.Unable to connect to the SQL se ...Show All
Smart Device Development Serial "COM" Port IO on Windows Mobile 2003
Hello, Using Visual Studio .NET 2003 and C# for developement how do you access a Serial "COM" Port on a Pocket PC running Windows Mobile 2003 Thank you for your help, My .NET rs232 story should help you: http://www.danielmoth.com/Blog/2004/09/serial-rs232-communications-in-net.html Cheers Daniel ...Show All
SQL Server How to sort table in sql2000 with ipaddress(format x.x.x.x) as column with nvarchar datatype in ascending order
How to sort table in sql2000 with ipaddress(format x.x.x.x) as column with nvarchar datatype in ascending order without using stored procedure Ex: Table: netComputers(3 rows) Column Name: ipAddress (string data type) ipAddress 0.0.18.1 0.1.1.2 0.0.0.1 Sql query : if I use the query Select ipAddress from netComputers order by cast( replace(ipaddress,'.','') as numeric(12)) asc Gives result as : ipAddress 0.0.0.1 0.1.1.2 0.0.18.1 Where as expected result should be: ipAddress 0.0.0.1 0.0.18.1 ...Show All
SQL Server SQL 2005 and SQL 2000, one Dev server, co-existence
We have many SQL 2000 servers and are beginning to plan our upgrade path. Has anyone had experience running SQL 2005 and SQL 2000 on the same machine This would be in a development environment to aid in our analysis. Is this possible Any issues or concerns Hi Marco, I'm not an expert on the CDW. You should post this to: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=84&SiteID=1 for a quicker reposnse. Sorry I couldn't help. Dan ...Show All
SQL Server User-defined functions - best practice suggestions.
I've got a couple guys on my team who seem to think user defined functions are a "risky" feature in SQL 2000. I've been using them for years without problems. Yeah, this one of those loaded prove me right or flame me questions ... whatever. I promise not to consider posts on MSDN forums authoritative answers to this practice question. I'm just trying to see where people stand. What I'm interested in knowing is: Do you consider UDF's in SQL advanced, hard to figure out, hard to get right or risky Any cases where they've caused you more problems than other MS SQL features Random hints on best-practice for UDF's - where do t ...Show All
Visual C# Please specify the assembly explicitly in the type name.
I am trying to set up Global.asax and a Code behind page but I am getting the following error: The type 'Global' is ambiguous: it could come from assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\aaw\2de92fac\492e65b1\App_Code.gyumgjze.DLL' or from assembly 'C:\Inetpub\wwwroot\AAW\bin\App_Code.DLL'. Please specify the assembly explicitly in the type name. How can I get the code to reference only the 'C:\Inetpub\wwwroot\AAW\bin\App_Code.DLL' file Thanx. Delete all binaries and re-compile. Failing that, Remove the folder listed in the error code and re-compile and re-run. Every .net a ...Show All
Microsoft ISV Community Center Forums access - importing specific data from excel
hello, i know this command to import data from excel to access : DoCmd.TransferSpreadsheet acImport, 3, _ "Employees","C:\Lotus\Newemps.wk3", True, "A1:G12" i know how to use this command, the only problem is i have a variety of excel files differ from each other in the upper-left and lower-right edges of the tabular data. is there any way i can get into the workbook and check this information thanks refael Hi Refael Not sure I understand your question, to see the data before importing is as simple as opening the files with Excel. If there is just a formating issue you could import into a temporary table, then us ...Show All
