Jeff McKune's Q&A profile
.NET Development debug xslt command not available
I'm trying to debug a xslt fle with Visual Studio 2005 beta 2. I loaded an xslt file and selected an xml file for input. But the "Show XSLT Output" button and the "Debug XSLT" button are disabled. I failed to do a required action, but I have no idea what I did wrong. Anyone has any idea Okay, and what if I just finished installing the office system, which is indeed claimed to have the xslt debugger, and the command is still not available. What then Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Tools for the Micro ...Show All
Software Development for Windows Vista CreateProcess() + "highestAvailable" = error 740
On vista Beta 2, i have added a manifest to one of my executeables that specifies the "highestAvailable" application marking. If I am logged on as a member of the administrator group, with UAC at the default setting, and call CreateProcess() on this executable, it fails with GetLastError()==740. Wouldn't it be better if the process creation succeeded, but as a limited user This makes things very difficult to code for - if my application is started directly by the user, via cmd.exe for example, I get the UAC dialog, but if it is started silently via CreateProcess(), it fails completely. How about if a service needs to im ...Show All
Visual C++ Can not add control based variable in Add Variable wizard
I have a wierd problem. For some reason I am unable to add a member variable that is a control.. the check box is disabled when I click add variable. Some context here: I have a project that has a rc file included in the projects rc file. i.e. resource.h myprojectname.rc The commonresource.rc is included in the myprojectname.rc file. commonresource.h commonresource.rc Also the to prevent compliling the commonresource.rc we have it set in the project as exculde from build as it gets built when myprojectname.rc is built. I have tried the normal checks to see if the appropriate files are checked out / read only etc... An ...Show All
Visual Studio Please insert the Visual Studio .Net Prerequisites disk for visual studio.net
Following a system failure I have been trying to re-install VS2003, it fails to find the Prerequisites CD the "CD's" are all iso's I have installs VS2002 from physical CDs but 2003 still fails, help!!!! Message "You have inserted the incorrect disk. Please insert the Visual Studio .Net Prerequisites disk for visual studio.net" Yes, I was starting to think as much I don't suppose you know where I could get a replacement my MSDN subs has expired thanks for your time ...Show All
Visual Studio Team System May I ask a Question outside .net?
I came up against a word "streo",when I read som e_book about .net. It means "stereo",but how to pronounce it According to your opinion,"streo" may pronounce [s'tri: u]. Right I guess. ...Show All
Windows Forms VS 2005 (no beta). DataGridView. Problems with RowHeadersWidth and .ErrorText
Hi ! I use VS 2005 (no beta). I think I found a Bug in the DataGridView class. I set the ErrorText property and could not see the red icon because I altered the RowHeadersWidth property. Then I comment this command and I could see the error icon and the error text on the row header again. It's amazing ! best regards, Joao Araujo this .dgrView.BorderStyle = BorderStyle .Fixed3D; // dgrView.RowHeadersWidth = 32; dgrView.MultiSelect = false ; dgrView.AllowUserToResizeRows = true ; dgrView.AllowUserToResizeColumns = true ; dgrView.AllowUserToAddRows = false ; dgrView.SelectionMode = Dat ...Show All
Visual Basic fun with arrays
Hallo, Does anyone knows an answer to this array-related questions... 1) Is it possible to concatenate arrays, or add elements like you do with strings.Pseudocode would look like: dim myarray() as integer foreach element in elements myArray=Array( myArray, element) next element 2) Can a function return an array and how can I read the returned value. Now I work with a globally declared variable to return the calculated array. I always get the error "assign to a matrix is not possible" Dim MA1(), MA2() As Integer &n ...Show All
.NET Development Datamining SQl queries from excel documents
Hi, I have been given a heap of data to sort through in excel it has been csv dump out of another program but instead of filtering the document as its quite large i would like to look at writing some SQL statements to extract the information i need. However when i go into excel it says its not a registered table the file i'm opening does anyone have any suggestion on how else i should attach this. Morkz wrote: Hi, I have been given a heap of data to sort through in excel it has been csv dump out of another program but instead of filtering the document as its quite large i would like t ...Show All
Windows Forms How to include native DLLs into the installation package?
When I use Whidbey Beta2 to publish projects, I could not add more DLLs in "Application Files..." dialog. How can I add native DLLs in ClickOnce deployment Thanks! In general you can add files as follows 1. Add the file to solution explorer. 2. In the properties page for the file set its build action to None.' 3. In the properties page Copy to Optput Directory - select Copy Always or newer. 4. Build the project. 5. In the Publish page, select Application files button. 6. Check Show All Files check box. 7. You file should show up in the grid. 8. Change the Publish status for the file to Include. Thanks, Sameer ...Show All
Visual Studio Express Editions Form close and BackgroundWorker
I have a BackgroundWorker retriving data to a report viewer and it takes a minute or so. What should I do for when the user closes the form (MDIChild) during the life of the BackgroundWorker I added BackgroundWorker.CancelAsync() in the formclosing event and it seam to work, but when you exit the application you get an error. Hi, In the FormClosing event of the main application wait until the IsBusy property of the BackgroundWorker becomes FALSE. A better implementation is to cancel the form closing and to start a custom timer which checks every N milliseconds the IsBusy property. You may also test whether the Cl ...Show All
SQL Server URGENT : Failed to run snapshot agent ?
Everytime I generate the snapshot always show this error on replication monitor: Error messages: Executed as user: toshiba\snapshot_agent. The replication agent encountered a failure. See the previous job step history message or Replication Monitor for more information. The step failed. Then I go to SQL Server Agent tree and view Job Activity monitor, an got some steps, like this: 1. Snapshot agent startup message => Success Message : Executed as user: NT AUTHORITY\SYSTEM. The step succeeded. 2. Run Agent => Success Message : The replication agent has been successfully started. See the Replication Monitor for more informat ...Show All
SQL Server Sync SQL2000 to SQL on an external Web Server
Hello All, I would like to connect my SQL server which sits on a LAN to a SQL server on the internet and have them sync-ed. Both would basically contain matching information that needs to be the same at almost any given point in time. Can some one indicate how this would be possible Thanks MP You can check out SQL Server Replication http://msdn2.microsoft.com/en-us/ms151198(SQL.90).aspx Or, newer Sp1 feature, http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx ...Show All
.NET Development connecting Bindingsource with objects
Hi, I have a question that's been bugging me for the last couple of days, and i'm afraid there isn't an easy solution. I have a list of objects - say Customer, which contains an Address object. I take that list and create a BindingSource object. This bindingsource is then used as the datasource for a datagridview object. However, on display, the internal attributes of the Address object aren't added to the datagridview as columns - there is only one column which displays namespace.classname How do i get the Address object to display on the datagridview Thanks, Jay Reading this may help... http://foru ...Show All
Visual C# Can i set Tranparent BackColor For TreeView Control?
Hi all, it is simple question..How i can set the backColor of TreeView Control as Transparent color. Each time i make transparent color..it show me an error that the control does not support that..how i can it support..that any feedback,,please help.. thanks in advance.. Bassam Basamad I that case you will have to write your own implementation of the treeview. Create a new customcontrol and inherit from treeview. override the OnPaintBackground Now in windows forms there is actually nothing like transparent background color. The framework does a little trick here. If you set the background of a control to transp ...Show All
Windows Forms Datagridview...
Hi to all i have a datagridview populated by a query.in form laod event i populate the grid with 10 blank rows.The query is based on use imput in textbox My question is this: how can a have a fixed 10 row grid when the query result is less than 10 rows( say 5 rows.When the result is more than 10 rows it shows the scrollbar.That is OK) sample code is much appreciated Are you loading the grid by databinding the query to the grid If you are then I know of no way force a set number of rows short of cloning the resultset and adding to it until rowcount = 10. If you're manually addi ...Show All
