henton's Q&A profile
Visual C# datagrid in vs2005
In VS 2003 there was Datagrid1.Columns or Datagrid1.Rows, in vs 2005 none. I want to define width of a column, so i can't use Datagrid1[0,0]. My question is: Is necessary do datagrid1.Tablestyle[0].gridcolumnstyle[0].width or there is another way Thx YEs i know but gridview has some bug we are trying to solve. Moreover they are not the same... i haven' t datagrid.rows in vs 2005 Thx ...Show All
Visual FoxPro Fatal Error when writing to excel
Hi, The version of Foxpro is 6.0. The application I am buliding is to write data into Excel 2003. There are times when I am getting a Fatal Error at a stage when I am writing the data into the cells. Prior to this step I have other processes where I add more sheets and rename them, setup the borders and page setup and all works fine. I try to debug the application and it runs fine. The problem is that the message is intermittent even after I build the exe. Installing the EXE on different PCs also gives different results, somtimes the extraction writes to the excel file well but sometime I receive the fatal ...Show All
Visual Studio Team System I suppose I could do that but that really isn't as useful as I'd like
What is the best alternative for tracking developer hours against work items in Team Foundation Server Any third party tools It would be nice to have more details on what do you exactly want, but I think for tracking the hours and tasks in Team system, the best would be use the work items in Team Foundation Server, together with Microsoft Project for tracking task dependencies and hours worked in a task. ...Show All
.NET Development Fill database from XML
Hello guys, I have a database stored in an XML file (Dataset.WriteXml()). Now i want to recreate the database file from the XML file. I already know how to create a database file using ADOX I also fill a dataset with ReadXML from the XML file i have. What i dont know is: How am i going to fill the database created with ADOX from the XML file. I also know how to create tables in ADOX what i dont know is how to fill the tables with data from the XML file into the ADOX database file i created. Thx Alan Bugeja You can only get DataRelations that were added to the original DataSet. If you are talking about the R ...Show All
Visual C++ Is it Possible ?
to jump to VC7 without learning VC6 or its just a compiler difference Of course it's possible. I would even r ecommend that since every new VC version is more in line with the standards than the previous one. ...Show All
Visual Studio Express Editions No Server Explorer
This is getting a bit frustrating. Nearly all of the help files concerning connections to a database reference opening the Server Explorer. Most say something like, "From the View menu item, select Server Explorer." I'm trying to work in VB2005 Express. There is no Server Explorer menu option in the View menu item. I do have Database Explorer but the options in it do not match up with what is being discussed in the Help files so this must not be one and the same as Server Explorer. I have reviewed the Import/Export Settings to no avail. Any help out there Thanks, Bill - Sounds like you are getting help related to the full version.&nb ...Show All
Visual Basic How to execute click, some select, input text in HTML page, using WEBBrowser Control (VS2005)
I use new WEBBrowser control (VS2005) in my program (WinForm) for open web site. (VB2005) After using method "navigate", in my webbrowser control I have HTML page from some website. This HTML page has some input button with events or input text control or other interactive control on it. I can click with mouse on that buttons or input text from keyboard or select value from combo box to send this page back. question: How I can execute this from my program code, using property and methods WebBrowser control Thank for attention. Hi, You can do it by accessing the ...Show All
Visual Studio Team System VSTF Beta 3 play nice with SQL 2005 when it's released?
Will Visual Studio Team Foundation Beta 3 work with the SQL Server 2005 version that will be released Nov 7th When Visual Studio 2005 & SQL Server 2005 ship, we're shipping an update of Beta 3, called Beta 3 Refresh that will 'play nice' with them. ...Show All
Windows Forms SendKeys in DataGridView.
Dear all, I have some ComboBox column in DataGridView. In order to user-friendly, when user focus in ComboBoxCell they drop down automatically, so i use SendKeys.send method. This is my code : private void grdStandardNotes_CellEnter( object sender, DataGridViewCellEventArgs e) { if (grdStandardNotes.Columns[e.ColumnIndex].Name == "CityID" ) SendKeys .Send( "%{DOWN}" ); } However, it do nothing. Please help me to fix it. Thanks for your help and looking forward information from you. Khiem Vo set the DroppedDown property of the combobox = True ...Show All
SQL Server How to UPDATE ID in SQL
Okay, I was able to delete some records from my db, however, I notice that I have some gaps in the record (ID) field such as 1, 2, 3, 5, 6,9... the missing numbers are the deleted records. How do I update these records to be in numeric sequence such as 1,2,3,4,5,6,7 I keep getting an error that ID is not updateable (set on Auto). How do I change it Thanks. ...other than creating a new table and transfer the info, would help a lot. Thanks. ...Show All
Visual Studio 2008 (Pre-release) Problem with composite duplex for duplex contracts
Hi, I have problem with custom binding for duplex contracts. When I define the binding the following way , <customBinding > < binding name = " SampleCustomBinding " > < compositeDuplex /> < binaryMessageEncoding /> < reliableSession /> < security authenticationMode = " SecureConversation " > </ security > < httpTransport /> </ binding > </ customBinding > I get the exception "Binding 'CustomBinding' doesn't support creating any channel types. This often indicates that the BindingElements in a CustomBinding h ...Show All
SQL Server Build dynamic restore script by executing restore filelistonly
Hi My requirement is as follows. I have a backup file (full backup of SQL Server 2005 database), say TestDatabase.bak I execute the following command to find the list of logical file names in my .bak file. restore filelistonly from disk = 'H:\SSSOL001\Backup\TestDatabase.bak' I would like to build a restore script from the results displayed from the above command , meaning have something like below :- In other words how can I select the LogicalName, PhysicalName from the restore filelist only command. restore database TestDatabase1 from disk = 'H:\SSSOL001\Backup\TestDatabase.bak' with move 'So ...Show All
SQL Server Search with %t%y% => Error, %ty% => ok...
Hi! I have a problem with a Select statement: In a ordinary table there is a column called NAME. I want to make the following search: SELECT * FROM TableName WHERE NAME LIKE '%t%y%' this should give me all entries that have a "t" and a "y" in the NAME column. However, it gives me no entries. If I instead run this search: SELECT * FROM TableName WHERE NAME LIKE '%ty% it gives me the correct result. Since the wildcard character % means no or all characters it should work. The problem only seems to occur when the wildcard character is used between "t" and "y", other characters are ok. ...Show All
Software Development for Windows Vista How to use ValidationOption
I want to validate activity properties by using the attribute [ValidationOptionAttribute(...)] . Here is a simple activity containing the property Text . public class Activity1 : System.Workflow.ComponentModel. Activity { public static DependencyProperty TextProperty = System.Workflow.ComponentModel. DependencyProperty .Register( "Text" , typeof ( string ), typeof ( Activity1 )); [ ValidationOptionAttribute ( ValidationOption .Required)] [ Description ( "Text" )] [ Browsable ( true )] [ DesignerSerializationVisibility ( DesignerSerializationVisibility .Visible)] public string ...Show All
SQL Server How can I use SemiAdditive aggregations on a dimension other than Measures?
Our cubes include a dimension that needs semiadditive aggregation (inventory calculation) on some of its members. As I read the documentation (what there is of it), it seems the only way to do this is to make my dimension a parent-child dimension of type "accounts". Unfortunately, we have several levels in this dimension, each of which needs the functionality. SSAS tell us that we can have only one attribute in the entire dimension of type Account and only one member of type AccountType. So, that eliminates the all by one level in the dimension. we tried configuring the dimension as a parent child dimension.  ...Show All
