dorkes_malorkes's Q&A profile
Windows Forms "Index was out of range." error. Gridview.
Hi, I'm trying to pass the contents of a data cell onto a command using GridView. I keep getting the error that's listed in the subject on the line in red below. If I have a line like: lblStatus.Text = Convert.ToString(e.CommandArgument); (lblStatus is just an arbitrary label on my page) The output returns the correct row number. What is going on Thanks! protected void gridSearchResult_RowCommand( object sender, GridViewCommandEventArgs e) { if (e.CommandName == "PingURL" ) { if ( Convert .ToInt32(e.CommandArgument) > -1) { int index = Convert .ToInt32(e.CommandArgument); GridViewRow row = gridSearchResult.Rows[index]; string Pingy = ( string )row.Cells[1].Text; ...Show All
SQL Server SQL Server 2005 Install fails on Vista
During the install, I get the following message: Setup has detected a problem with Microsoft .Net Framework installation and cannot proceed. Microsoft .Net Framework 2.0 is either not installed on this system or is corrupt. I cannot uninstall 2.0, as its part of the Vista. I have tried repairing it. I tried downloading 2.0 and installing it, but it says that its allready installed. I was able to install Visual Studio with Sql Server 2005 express. I am stuck. Is the case that Sql install dosent know about the latest version of 2.0 that came with vista Can you post the contents of two log files The ones we need are these: C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0021_JAZZ_Cor ...Show All
Visual Studio 2008 (Pre-release) vs 2005 express an march orcas
I am a bit confused with the downloads and maybe someone can help I am running vista and I have VS2005 C# Express and Blend. In order to develop xaml apps between express and blend what do I need to download As far as I can see I need the march orcas but that also points me to a batch of other downloads and do I need the VS extensions as well Do I also need virtual pc thank you for any assistance thank you again Rob I think that having orcas and VS installed would cause an issue when you create a trigger event in Blend - it would surely pick up VS rather than orcas or indeed it may get confused thanks for the help ...Show All
Visual FoxPro Web page scrapping form Visual FoxPro
I am not sure if this is even possible so i will just say what i am hoping to accomplish and let you all tell me how crazy it is. i want to have a foxpro application on my computer that opens a set of webpages i want to knoe if it is possable to look for a set of numbers on the page once it is opened. the numbers will probly never be the same. is this possible in FoxPro 8.0 VFP can manipulate text rather well, once it's in its environment. Maybe this is a good start to getting your web page in the VFP environment: How to use Visual FoxPro to download a Web page from the Internet http://support.microsoft.com/default.aspx scid=kb;en-us;311306 ...Show All
Visual Studio Team System Moving States and Transitions to new Work Item Types - what gets left behind?
We are encountering a number of situations at our client sites that involve modifying Process Templates to 'correct' the client's attempts at designing new workflows. That is, clients have used template modification tools such as PTE to add work item types and global lists and work item type fields and work item type states and transitions and reasons. Then they have used witimport to upload the changes to specific TFS projects. Of course, they need to modify each TFS project to make the changes apply consistently to each new project. By the time we arrive on the scene, they have realized they now understand their process more better and they want to make a more organized modification. So the problem that is arising centers on ...Show All
Visual C++ HOW can I do this in IE browser
Hi My problem is a singularly problem; I want to write a program that can put a Option to the PopMenu of the IE browser and when the user choose it he can put something into a database which is in a web sit. but I can not find out how to do it . I am sorry about my pool English but I really need some advise ; all reply will be grateful I'm pretty sure a browser helper is what you need to make. Take a look at http://www.adp-gmbh.ch/win/com/bho.html . ...Show All
.NET Development Unable to read data from the transport connection
I am trying to connect to a FTP server with a 3rd party FTP component (using FTP over SSL). I am able to get a directory listing, and download files from the server without any problem. But, when I am trying to upload a file to the server, I get this error: "Unable to read data from the transport connection: An established connection was aborted by the software in your host machine." I am using VB 2005 on .net framework 2.0. The FTP component is in 2.0. Just to try if the uploading works with other FTP component, I downloaded one more component and tried it. I am able to upload files without any problem. I emailed the tech at the frst FTP component (one that does not work), and he tested it from his side, and it works fine ...Show All
SQL Server SQLCE team: Call to Get___ methods entail boxing?
Greetings - It appears in tests that the calls to the type specific Get___ [e.g. GetInt32()] methods of the System.Data.SqlCeClient.SqlCeResultSet type result in an internal unboxing from some internal storage of values. I've been calling these methods diligently to avoid the boxing tax... Can you confirm this behavior If this is the case, will you be improving the internals or would it be better for me to wrap the native interface myself to avoid this -rory As Brian pointed out, we've moved from assembly to C, from C to C++ and from C++ to managed code for reasons far from code performance improvements, quite the opposite in fact. However, these languages are not gone. If you your ...Show All
Visual Studio Team System Two questions on Team Builds
Q1: How I can delete build from TeamBuildTypes folder I guess I can't edit build in visual editor after it's created... Never mind - I found the answer on this one (Version Control is micromanaging...) Q2: When I am running through Create Build Wizard - as soon as I get to the options it won't let me proceed untill I uncheck "Run tests" checkbox. Why It allows me select proper test metafile but I can't see anything or edit in test list listbox and Next button is disabled... Is there are any plans to bring list-creationg functionality in the Developers edition in v.2 Or at least automatically generate default llist which includes all the tests (so I would be able to fix it manually) ...Show All
Visual C# Launching an application from within a C# application
When you want to launch an application from within Visual Basic 2005 you use the following format: Process.Start("......"). How do you accomplish this using C# I haven't been able to find an example. If I enter the following code: Process.Start("calc.exe") I have no problem launching a program but if I enter the following: Process.Start("C:\Program Files\Internet Explorer\iExplorer.exe"); I get this error: "Unrecognized Escape Sequence." This doesn't occur with Visual Basic. The C# help file explains why this occurs but the help file for "Process.Start" is not much help to me. If C# and Visual Basic use the same framework why the extra code just to ...Show All
Visual Basic Need help with settings that won't synchronize
In my application I use the Project Properties Settings. So far, when I made significant changes to the settings, I used the synchronize button to activate the changed settings. However, this has now stopped working. When I press the synchronise button , a message comes up listing a lot of directories where it did not find " user.settings ". BTW, a file search does not find any user.settings either. However, when I run the program (in debug mode) it loads the same filename saved in the previous settings. For example, I have a setting called " My.Settings.DataFilePath ". It is set to nothing in the settings, but when I run the program it finds a file name previously saved in " My.Settings.DataFilePath ", but I ...Show All
Visual Basic AddHandler causes FileNotFoundException?
I have a COM object that I'm using in a VB.NET application. When I create it, my application runs fine: Hi, That's a tough on to diagnose outright. If you have the original COM component source, try recompiling it and rereferencing the new version in your .net application. Maybe something has been corrupted along the lines so hopefully this 'remapping' exercise will resolve any problems. ...Show All
SQL Server ScriptComponent with multiple ReadOnly variables
I'm having trouble with a script component in which I'm trying to use two ReadOnlyVariables. If I use only one of the two variables, everything works without issue. If I use both of the variables (as part of a comma-delimited list) I get the following: The variable cannot be found. This occurs when an attempt is made to retrieve a variable from the Variables collection on a container during execution of the package, and the variable is not there. The variable name may have changed or the variable is not being created. I don't believe the variables themselves are the problem. Both are scoped to the package level and I can use either of them if I have it as the only variable. Seems bug-like, but thought I'd get some ideas before pursuing t ...Show All
SQL Server Looping through source connections
I am trying to build a package that loops through different SQL Server connections and puts the result set in a single SQL Server connection. I have looked at the Flat File example but this does not help. How do I loop through a list of SQL Servers (can be in a table, or file) make the connection to that SQL Server, run a script against Master to gather DB names (have this part) and write it to a reporting server (have this part). I have tried the For Loop and For Each Loop, but can't get either to work with SQL connections. I have seen this question a lot, with no real answers. (Everyone who answers just points back to the Flat File example) Thanks, Pete That was pretty close. Thank you. I ha ...Show All
SQL Server CLR .Net Framework 3.0
Hi Is there any way to get the Sql 2005 to load the .Net 3.0 Framework instead of 2.0, when running a Stored Proc Thanks You wouldn’t ask if you used SQLServer 2005 since beta :-) No, you can’t. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
