Answer Questions
damnhippie 'IndexOutOfRangeException was unhandled' ??
Database1DataSet myInstance = new Database1DataSet (); object Timo = myInstance.Tables[ "Table1" ].Rows[0].ItemArray[0]; so this is my code (still :p) but it says 'IndexOutOfRangeException was unhandled' but why does it say that error its not under 0, the number is 0 so is the first row (cant be too high), and what do they mean with: 'Make sure data column names are correct' where do I need to type data column names pls help me :< thx in advance I have this: private void Form1_Load( object sender, EventArgs e) { this .table1TableAdapter.Fill( this .database1DataSet.Table1); } I'm trying to change data of a spe ...Show All
LukeD S "An unexpected error has occurred" After Upgrading Portal Server to SP2
I did a dumb thing and upgraded the Portal Server to SP2. WSS had apparently upgraded itself to SP2, and I couldn't add custom web parts (from Microsoft downloads). So I thought I'd upgrade to SP2 on the Portal Server. Now, I can't get to the default page or my home page, they all give: "An unexpected error has occurred. Web Parts Maintenance Page: If you have permission, you can use this page to temporarily disable Web Parts or remove personal settings. For more information, contact your site administrator." So now I am sweating bullets, because it appears I can't unistall this SP2, and I don't really want to do the restore route if possible. I have the link for the hotfix for this problem, though I don't want ...Show All
Paul-I get latest on checkout macro with prompt
I want to implement the get latest on checkout macro mentioned before on this forum, but I would like to get prompt with warning, that newer version exists on server then I have. Thanks Hi Mario, I have found get latest on checkout macro on this forum. However, I want get dialog box with message about warnings when I do checkout (and get latest with mentioned macro). Thanks Janko Can you point us to the location of that macro ... there are way too many things on the forums right now and it takes too much time to find the exact thing. Either way I think your question is about programming a message box within the macro or obtaining information from the OM so you can display the correct thing. For the mess ...Show All
mahima Splash Screen
I can't seem to be able to see it after I launch my program despite having it prepared in the design environment. Dophine You can use any form you like as a splash screen - I don't think there is anything special about the one that is created when you add a splash screen apart from the bits of code that add application info. Just design your own form and then set it to be the splash screen under Project- Properties - Application - Splash Screen the splash screen will be short but if you are creating an application which requires connections to MySQL or an online database to retrieve information the splash will display for longer as the application is loading these objects But there's ...Show All
Lou Machado syntax code
to those of you who are familiar with the coding, could you write a simple code example so we can understand,give us simple syntax examples please of; deleete command accept changes command that way those of us who are beginners can read the syntax and get a better view of how it works. i undertsand about the pasing a string when it should be an integer, but the bit od code i gave you was newsong was a string field of my records, that the bit i dont seem the grasp. the records is my table name,the data set and adapter wre created from the toolbox. in my table i have artist, song, year. all are string exept yr which is integer. the update i undertsand more now, but i am having great p ...Show All
Elaine.Wong Menus quit working after showing context menu on element history
My menus are all inoperative. I got to this point by showing the history of a file and then right-clicking on one of the entries for the file in the history window. At first I could not get the context menu to dismiss. I could click on other files in the folder and file view and I can click on VS buttons. The context menu persists. Also VS will not show tooltips for buttons and all VS menus are inoperative. The items on the top-level menu bar highlight but clicking has no effect. I finally got the context menu to exit after clicking on an item (the command did not run but the menu dismissed). Still after getting it to go away, no VS menus work. Nor do the TFS context menus work. I can get, e.g., the context menu in the TFS view to show ...Show All
GrahamY Tweak work completed query to account for changing bug ownership
========================================== Update: Please see the post dated 9/28/2006 for a new request for help. ========================================= I have a need to report developer hours by work item by week. I am attempting to use the warehouse filed "Current Work Item Microsoft_VSTS_Scheduling_CompletedWork" and add a "Date Week" perspective to it, but obviously that will only return the value of the "Completed Work" field at the end of the week (and is actually a sum of all Completed Work thus far.). I need to report the change in completed work by developer by work tiem. I attempted to enter a formula in the report using Report Designer to subtract the current value of "Completed ...Show All
amazingsunday How to publish (clickonce) a solution
Hi, I havent been able to find anything to help me to do this. I can do this manually thru the IDE, but not thru the Build Types. What do I have to place in the Build Type to get the program and its files published to our website I tried the following with no luck I just get an Entry Point error and I dont understand why. Please help. ======== < GenerateApplicationManifest AssemblyName = " AdminUtilGUI.exe " AssemblyVersion = " 1.28.1.0 " EntryPoint = " @(EntryPoint) " OutputManifest = " \\dalxpdss\DMDB_CODE\MARS Branch Project\DailyBuild2\Sources\daily build\MARS_Platform\Tools\MarsServerAdmin\SysAdminTools\obj\Release\AdminUtilGUI.exe.manifest " > < ...Show All
OmegaMan Question about Forms
Dear All i have developed an application which has mainForm, form1, form2 and form3, in mainForm.cs i created a button and created form1 using the following code form1 frm = new form1() frm.show() now in form1.cs i created a button and created another form as following form2 frm2 = new form2() frm2.show() now in form2.cs i created a button and created another form as following form3 frm3 = new form3() frm3.show() when i am pressing "Alt + Tab", i watch Four forms. My Question is 1) How to see one application form 2) Is there any way that old form be placeholder of newly created form 3) Or any trick An efficent solution will be appretiated Thanks jehan wrote: ...Show All
AndrewBadera Why doesnt this work ?
Im trying to make a delay for 2 seconds... This is what im trying to do: 1. Button click 2. event happens 3. wait 2 seconds 4. event happens 5. and so on. But i cant get the timer to work. Im pasting the code part that i cant get to work. all help is greatly appreciated. Thx Imports System Imports System.Timers Public Class Form1 Public Sub timer() Dim aTimer As New System.Timers.Timer() ' Hook up the Elapsed event for the timer. AddHandler aTimer.Elapsed, AddressOf OnTimedEvent ' Set the Interval to 2 seconds (2000 milliseconds). aTimer.Interval = 2000 aTimer.Enabled = True End Sub Public Sub ...Show All
yosonu Is there a way to format displayed value in work item type customization
For example, I have two fields, one is Double type and the other is Datatime. Their value could be 3.87903587457 and 2/14/2007 12:00:00. But I want the form display the value in specific format (3.87 and 2/14/2007). How can I implement this feature without triming the actual value Yes, I think it is important. Because I am customizing a work item type that has quite a few calculated fileds. For now, I have to trim the calculated value and save it as field value in my code so that it will be displayed in my expected format. But when I use the value in another thread, the accuracy will be lost. Tao, I added this to codeplex custom control project feature ideas at http://www.codeplex.com/witcustomcontrols . If you think it is imp ...Show All
thukralz how to rectify the problem "AssembliesShouldDeclareMinimumSecurity" that FxCop shows
Hi, FxCop shows error " ComVisibleTypeBaseTypesShouldBeComVisible ". How could this be resolved. Thanks in advance. Hi, I receive the error message " AbstractTypesShouldNotHaveConstructors " in FxCop. What could be done to avoid this message. Thanks in advance. Hi, I receive the error " MarkAssembliesWithClsCompliant " when my project is scaned in FxCop. How to rectify this problem. Thanks in advance. Hi, I receive the error " SpecifyIFormatProvider " in my project when i scan it with FxCop, how can it be rectified. Thanks in advance. Thanks a lot David... Hi, FxCop shows "MarkAssembliesWithComVisible" problem when my ...Show All
programmer127 View History Errors
We are getting errors on some files when we try to View History. Event Type: Error Event Source: TFS Version Control Event Category: None Event ID: 3000 Date: 10/5/2006 Time: 2:27:19 PM User: N/A Computer: TFS1 Description: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 10/5/2006 9:27:19 PM Machine: TFS1 Application Domain: /LM/W3SVC/3/Root/VersionControl-2-128045557970820364 Assembly: Microsoft.TeamFoundation.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Process Details: Process Name: w3wp Process Id: 5716 Th ...Show All
Sami Karaeen Execute a console application from C++
Hello to all! I am engineering student new at MFC and inexperienced at C++.For my project it is asked from me to design a GUI in MFC with buttons and edit box.When i clicked the button it will provide to execute to exe file that i specified, at the background and display the result that i see in command window, in the edit box . Can anybody help me send me any source code i will appreciate..many thanks in advance! Eyup Schools are still teaching MFC Wow... Hello, First of all the VC++ express edition doesn't include any support to MFC and hence you will have to use a larger edition. Also, I woudn't depend on the forums to learn any technologies. There is a list of recommended boo ...Show All
biw Version Control of Database Schemas
Hi, We are working with Visual Studio. I am familar with source safe for version control of source code and application code. However, we are working as well with a database (SQL2000). We have a local / development database and a production database. Whenever we finish new feature development the schema from the local database needs to be updated to the production (table fields, stored procedures, views, triggers, etc..) without corrupting the actual data. Is there a good way to do this As well, what are the options available for version control of database. Can anyone point us in the right direction. Dwight The best option right now is to create a new "database project" in VS and bind it to source control. This o ...Show All
