RonGaf's Q&A profile
Visual FoxPro foxpro exe and dbf's, fpt's, bak's, tbk's, but now prgs etc.
foxpro exe and dbf's, fpt's, bak's, tbk's, but now prgs etc. I was given a foxpro program and i would like to see the code (the formulas)... i'm not sure how to do this... thank you... modify command <insert your prg file here> modify form <yourformname> use <yourdatabasename> ...Show All
Visual C# May help writes a use (C# 2.0 generic syntax ) the code example
May help writes a use (C# 2.0 generic syntax ) the code example:-) Do you mean something like: List<String> strings = new List<String>(); strings.Add("MyString"); List< int > ints = new List< int >(); ints.Add(10); ...Show All
Visual Studio Team System TFVC Compare annoyance
It is kind of lame that in the History window you only get a single compare option on the context menu and that is against the local version. You have to open up the details on a particular changeset, find the file, right click it and then finally you can compare against the previous version. C'mon I do this sort of thing all the time when tracking down regressions. The "Compare" context menu that appears in the changeset details dialog box should also be available in the History windows when you right click on a changeset for a file. Yeah I didn't even realize that the History window w ...Show All
SQL Server Could Not Bulk Copy
Hi: I am doing a full snapshot on couple of subcriptions but getting this message from last couple of days. I have to do this at night because tables are very large so it does not block the users. I am not sure which table this error is happening. It used to work fine but from last couple of days this has started to happen. I need to re-sync my subscription database with production database but some of the tables are giving problem. The process could not bulk copy out of table '[dbo].[syncobj_0x3735393934363031]'. I/O error while writing BCP data-file (Source: ODBC SQL Server Driver (ODBC); Error number: 0) ------------------------- ...Show All
Windows Forms How to handle exceptoins in datagrid
Hello every one I have a question and i would like to share it with you all and that is if I have a datagrid which is bound to datatable Tblitems .The columns of Tblitems are ItmNo(Not Null) and ItmName if the user did not insert a value in ItmNo column in the datagrid and moved to 2nd row then a message will be displayed automat ...Show All
Windows Forms TASKVISION DataLayer - How many table can the datalayer support
Hello, Suppose i have accouting and inventory system and they both add up to have around a 150 tables then can i define all of them in the common datalayer, how many tables can be supported in this TaskVision datalayer , since it sits in the memory, and is consistent . Will it be ok to define individual datalayer for specific tables to make the Datalayer component more light. Please advise If you are going to build a system with 150 tables I suggest you use a serious datalayer (the one that comes with TaskVision is IMHO only for little projects (less than 15 tables), you should take ...Show All
SQL Server Inserting non-xml data into table using bulk insert and sql schema file.
Hi, I am using the sql bulk insert (with sql schema file) to insert xml data into sql server. I have a column in the table called DataSourceId. DataSourceId is not part of the xml data. I currently set the DataSourceId by creating a default constraint on the column. Can I put the DataSourceId in the sql schema file Maybe something like this ... This fails as the attribute 'abcdef' does not exist in the xml data. <xsd:complexType> <xsd:attribute name="abcdef" default="OH" sql:field="DataSourceId"/> <xsd:attribute name="id" type="xsd:string" sql:fie ...Show All
Windows Forms AppUpdater Component
Hi, I have had success using the AppUpdater component from a Win2000 server. However, I fail from a WinXP server with the following error. "Download of a new update from 'Http://localhost/temp/2.0.0.0/' failed with teh network error: The remote server returned an error:(501) Not Implemented." I get two .xml files in the 1.0.0.0 file directory ( appupdater.xml and updatev ...Show All
Windows Forms Question regarding multi select in datagrid
Hi, all Have a datagrid with first column containing checkbox. When the checkbox is clicked I want it be checked ( or unchecked if it was checked ) and select whole row. I create MyDataGrid derived from DataGrid and override OnMouseUp where if the cell with the checkbox is clicked, then the row is selected. However, this deselects all other rows. I've sorted this out by creating an array, which stores ids of rows which are currently selected. Each time I select some row, I reselect all rows if its id is in this array. Reselecting causes all selected to flicker, which looks very annoying! How can this be avoided SetStyle() with some ...Show All
Visual Studio Express Editions Publishing to the Web
When I try to publish my project to the Web, I get an error saying that "the web server does not have FrontPage extenstions installed". What am I doing wrong, and how do I fix it hi, front page extension is option on the server like there are some servers support ftp and others don't , also there are some servers support frontpage extension so i don't think you do anything wrong this link say "If you are publishing with a URL, ensure that the destination computer has FrontPage Server Extensions enabled." http://msdn2.microsoft.com/en-us/library/ms229001.aspx hope this help ...Show All
Windows Forms Full Trust in Click Once
I have an application which uses SMO to perform various database tasks. When deployed using ClickOnce from a Website and set as a FullTrust application the application has the following behaviour when attempting to transfer database\data: ... transferObject.TransferData() ... Error: 'HRESULT: 0xC0011008', ie DTS_E_LOADFROMXML error The application runs OK in Visual Studio when run as a Full Trust Application. I can duplicate this error by setting to run as a Partial Trust Application, and then configuring to run as 'debug this application with the selected permission set'. With this option checked, even when then including all permi ...Show All
Visual C++ Debugging a for loop
Hi Guys! Sorry if this is a stupid question but I can't find an answer anywhere... So if I have a for loop which repeats 200 times and I want to stop (debug) the loop when a value inside the loop reaches a certain value, is there a way other than to press F10 a thousand times In other Words how can I debug a for loop at the 180th repetition, or when a variable inside the loop reaches a certain value I would much appreciate if anyone could answer me this question. While using a conditional breakpoint it one way to do this (and I use them a lot) they can be slow. With a conditional breakpoint t ...Show All
Windows Forms I need to build a DataGrid which is grouping rows (like Outlook pane)
I need to build a Windows DataGrid which is grouping rows and keep under a header (like Outlook pane) any help You'll need to use a 3rd party control to do this. The DataGrid does not support grouping that shows grouping headers and such. -mark Program Manager Microsoft This post is provided "as-is" ...Show All
.NET Development Newb Remoting question.
I need to write an application where the client needs to be able to add a document name/location to MSMQ on a remote server. The remote server then needs to read MSMQ to find its location and retrieve the document from the client machine. Port 80 must be used as everything else is blocked. I was wondering if this was possible/suitable for remoting. I am completly new to this subject and am a bit confused as to what application types are suitable for this type of technology. Thanks in Advance ...Show All
Windows Forms Getting selected value of databound combobox
If I populate a combo box manually with items, I can get the selected item using comboBox.SelectedItem.ToString(); But now I have created a databound combobox, but cannot find out how to get its selected value. comboBox.SelectedItem.ToString(); Returns System.Data.DataRow and comboBox.SelectedText.ToString() returns "". Even though a value is selected. How can I get the selected text/value of a d ...Show All
