jsbWS's Q&A profile
Visual Studio Team System AccessViolationException in Command-Line MSTest
We run our unit tests nightly and last night, a test which succeeds in VS got this exception: Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Microsoft.VisualStudio.TestTools.Common.Tip.Dispose() at Microsoft.VisualStudio.TestTools.TestManagement.Tmi.Dispose(Boolean explicitDispose) at Microsoft.VisualStudio.TestTools.TestManagement.Tmi.Dispose() at Microsoft.VisualStudio.TestTools.CommandLine.CommandFactory.DisposeTmi() at Microsoft.VisualStudio.TestTools.CommandLine.TmiAdapter.Dispose() at Microsoft.VisualStudio.TestTool ...Show All
.NET Development Timeout Error
How can I set a higher commandtimeout value for the following dataset I have 300,000 records and it gives timeout error in the .fill statement. string str_SQL = "SELECT * FROM mytbl"; SqlDataAdapter adptr_DataAdapter = new SqlDataAdapter(str_SQL, cnn_DataConnection); DataSet DS = new DataSet(); adptr_DataAdapter.Fill(DS, str_table_name); I think as per my knowledge , there is nothing such called commandtimeout. Assuming CommectionTimeout ,I have my views below You can set the Connection Time using the below property for Connection SqlConnection myConnection = new SqlConnection("........"); cnn_DataCo ...Show All
Windows Forms Keydown in datagrid
Hallo, I am working with datagrids for the first time and struggling a lot. My problem is that i want to capture the keydown event when i press the key in any of the cell in the datagrid. unfortunately the event gets captured only if i frist click on the rowheader or on the rand of the table. This is the same case with double click also. For keydown events i have added the following: private void dataGrid1_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) { MessageBox.Show(e.KeyValue.ToString(), "KeyValue"); } Fo ...Show All
Windows Forms DataGridView , DataSource and myGridView.Rows return null (same for .Columns)
Well, I was very happy to be able to set up a complex query to fill a DataSet and use that DataSet as a DataSource for a DataGridView. But the issue is that the DataGridView displays the data in a very raw mode and that I need to apply many different style depending on each cell. But the Columns property returns null and the Columns.Count return 0 Same for Rows and Count. I have had to create all the columns manually from code to be able to apply styles to columns, but now I need to apply styles to cells/rows and I can't see any way of getting that Rows collection... Is this my poor knowledge Is this a bug Is there a workaround Thanks f ...Show All
Visual C++ problem using "string"(CLR project)
hi i built a clr project,and i have some code below like this : ----- String ^jc = gcnew String(pHeader->m_pReportV3 .m_szName); ----- then i have the exception below: ----- "The pointer passed in as a String must not be in the bottom 64K of the process's address space." ----- i can't understand this,so help me,thanks This typically occurs when one of your objects is NULL, and you attempt to dereference one of its members (since the member is located at an offset of this , it leads to a near-NULL dereference). Have you checked whether pHeader==NULL, or m_pReportV3[ i ] is NULL I find it strange that it ...Show All
Visual Studio Express Editions Please Help!! Can't download due to BITS error!!
I have read the faq on my error message: "Background Intelligent Transfer Service (BITS) Disabled" and I have set the BITS service to Manual - (it already was) and the only dependency it has is RPC and that is set to 'automatic' (it is disabled so I can't change it to 'Manual'). I tried to "start" BITS and I ran the BITS admin repair tool but still get the same error when I begin to download. Please help friends - I can't even get the download to start. And this is odd - I have never ever had a problem downloading anything before. J. And this relates to VB Expr ...Show All
Smart Device Development How to graphically show the data in a vector?
This is maybe a silly question, but I just started C++, still a fresher. vector<double> a (1000); //a is a vector with 1000 double variables how can I show the data in the vector graphically like the wave simulation produced by Matlab It's possible to plot a graph with the points connected by lines. Are there any better ways to do it Thank you indeed. Can any experts please help me ...Show All
Visual Studio Team System Number of times the web test runs
Hi, all. I created a web test and connected it to a data source, which is a SQL Server database. I have a table in my database that contains a bunch of values I want to use for running my test (in the Form Post Parameters). I want my web test to run once for each record in the database. I've selected "One run per data source row" option in the localtestrun.testrunconfig, but my web test only runs once (for the first record in the values table). Am I missing something How can I make my web test case to run as many times as there're records in the data source table Any input will be greatly appreciated. Thank you. ...Show All
Visual Basic Splashscreen "Application Title" won't take new value
Hi, I created a splashscreen using the splashscreen from the template. After changing the Application Title to different text a few times, it will not display any new text I've entered. It kept displaying the old text from a few changes ago. I have deleted the splashscreen and recreate it again and again. It seems the "older version" is saved somewhere and whenever I ran the program it brings up the old version, not what's actually there. Anyone ran into this Thanks Joe Oops! Never mind. Found the default codes in SplashScreen1_Load that's setting the ApplicationTitle.Text. ...Show All
Visual Studio Team System Get Latest Version not working (Workspace broken?)
Hi everybody, a colleague of mine had this problem yesterday, lets call him colleagueA. He was not able to get the changes that where made by colleagueB into his workspace. We used the "Source Control Explorer" to try a "Get Latest Version" as well as "Get Specific Version" with and without the "force" option. The old file remained in the local workfolder and was not replaced. There were even some files added in Source Control that the "Source Control Explorer" showed as dimmed, but did not appear in the local workfolder after a get. We solved this by creating a new workspace. rk ...Show All
SQL Server XML DataSource / Designer Dataset definition failure
hi all, i'm using a webservice as datasource for my report which returns a dataset. i use the following query to get my data: <Query> <Method Namespace=" http://tempuri.org/ " Name="GetInvoiceData"/> <SoapAction>http://tempuri.org/GetInvoiceData</SoapAction> <ElementPath IgnoreNamespaces="true">GetInvoiceDataResponse/GetInvoiceDataResult/diffgram/Invoice/invPosition</ElementPath> </Query> i use the ElementPath element to get the correct datatable of my resultset. and i have a parameter(invID) to get a specific invoice i want. everything works fine when i run this ...Show All
SQL Server Exclude a Table from SQL 2005 Backup Maintenance Plan
Hi All, I'm seeking feedback on a backup issue. I have several databases that I run full backups on nightly (simple recovery) using a SQL 2005 maintenance plan. Each database has 1 or 2 tables that hold non-critical spam hit data. This data accounts for approximately half the database size and grows daily. My question: Is there a simple way to skip / exclude 1 or 2 tables during a native SQL backup routine either via SQL maintenance plan of TSQL. All help is greatly appreciated. Thanks. Rick B Have you considered moving this tables to their own file group. You ...Show All
Visual Studio Getting VS2005 Trial
Hello, I live in Germany and I wanted to get the new 90-day trial of VS2005. Though the software is a trial version I should enter an address to be send a bill. Is this right If yes, how much will I have to pay Greetings Till All the info you need will be here or subsequent links from it: http://www.microsoft.com/emea/msdn/getthetrials/default.mspx ...Show All
Windows Live Developer Forums How to replicate the collapse dashboard "glyph" (^)
On "local.live.com", the dashboard and Scratch pad have a little glyph "^" that allows you to collapse the windows to a small rectangle. I can't find a way to replicate that feature in my Virtual Earth application. Is it possible ...Show All
SQL Server OLAP Error Provider ,high access with com+
Hi In the company when I work, we have some problems when we have many acces to OLAP Services. We have pages in ASP, that rendering olap information, and we access to a SQL 2000 OLAP Server by COM+ Components in vb 6.0 running in MTS Win 2003, and some times when the quantity of querys increases, a provider error is throwed. we used this connection string: "Initial Catalog=XXXX ;Data Source=XXXX;Provider= MSOLAP ;Execution Location= 1 ;Client Cache Size=25 ;Large Level Threshold=1000 ;Auto Synch Period=10000 ;APP=XXXX Also our components are in a trasaccion mode " Uses Transaccion", other important t ...Show All
