Ajil's Q&A profile
Visual Studio Express Editions stacking text in a text box
hi in my form i have two text boxes, the first is where you enter the message and the second is where the message is displayed but i want it so when you send a new message it doesn't erase the las one out of the display box and stacks it oh well that explains it i was using TextBox2.Text = TextBox2.Text + TextBox1.Text, when i do it it puts the new message on the same line, how do i move it onto the next ...Show All
Visual FoxPro there is a problenm when save unicode data into SQL Server
Dear Expert: I am facing a problem which is after the Asia characters saving to SQL server (MSDE version), the field will show all question marks, the develop enviroment is VFP 8.0 and the Windows system is already configured to Unicode, the VFP collecting Sequence is configured to Machine. I have also set the field format in database is nVarChart, when I manually key in these Asia characters, the SQL server is accepted. Any response is ...Show All
Visual Basic Error when trying to XML serialize list-arrays
Hi. I'm working on a project where I have have an array of lists: Public Orders(7) As List( Of clsOrdersSaving.sOrder) (sOrder is a structure...) When I try to Serialize this information into a XML document, I get this error: System.InvalidOperationException was unhandled Message="Unable to generate a temporary class (result=1). error CS1026: ) expected error CS1002: ; expected error CS1525: Invalid expressio ...Show All
Windows Forms How to keep lock button from resetting all entered data?
How can I get around the fact that the protect form lock button will delete all entered data when it is clicked What is the "protect form lock button" I'm not sure what control/property your referring to... ...Show All
Windows Forms Can you hide an item in the component tray at design time
Hello, We have a custom collection which is based on component. Everything is working fine except that the component tray gets cluttered up with custom components which don't need to be referenced indiviually. Is there any way to hide them similarly, at least in concept, to applying a Browsable(False) attribute to a property Thanks in advance for any ideas and/or suggestions! Thank you very much Martin! That ...Show All
Visual Basic Datagrid CurrentCellChanged Problem
I hope someone can give me advice on my datagrid problem. I have a datagrid in my window form, when user click on any cell in the grid, the following code will highlight the entire row. Private Sub DataGrid1_CurrentCellChanged( ByVal sender As Object , ByVal e As System.EventArgs) Handles DataGrid1.CurrentCellChanged DataGrid1.Select(DataGrid1.CurrentCell.RowNumber) End Sub Problem arises when user delete the last ro ...Show All
Visual FoxPro How to check if an Array exists?
Select * from myTable where isnull(myTable.keyField) = .f. into array myArray if alen(myArray) > 0 ** Loop through array and Do processing end if In a situation where records selected by the query are 0 then the array is not created and thus the next statement gives an error. How can I check if myArray exists before doing any further processing Thanks for the indepth explanation CetinBasoz. I see your poin ...Show All
Visual C# Assertion Failed error from MonitorDocumentsService during project load
When loading a solution containing several projects (converted from VS2003) I get the following error message twice: Assertion Failed: Abort=Quit, Retry=Debug, Ignore=Continue X at MonitorDocumentsService.OnBeforeDocumentWindowShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame) If I try to debug it just shows disassembly code and doesn't help. If I select Ignore, I can continue and things seem ...Show All
Visual Studio Team System Is it possible to use internal data as a Data Source for data driven tests?
Hello All, There is a test method which uses test data from a static array defined in a class, e.g. public void MyTestMethod() { foreach (MyTestCase testCase in myStaticTestCases) { // use 'testCase' data and verify } } I would not like to use this 'foreach' consturction. Instead, it would be great if it were possible to make the framework call the tes ...Show All
Visual Studio Problem extracting source code from VSS to local folder.
Hi guys, i been trying to extract a certain project based on the labels that a user select from a web based UI that i have developed,however when my backend code tried to retrive the project based on the label, the source code just does not appear in the folder i specified. I have attached a fraction the code that does the getting of source code from the VSS. foreach (IVSSVersion ver in labelCollection) { if (ver.Label ...Show All
Visual Studio 2008 (Pre-release) how to open a word file thru my application
hi, i need to open a word file. i got that solved from a recent thread posted in this forum. i opened it by using Process.Start("winword.exe","C:\myfile.doc"); but it opened in a new window. what i need is, i wanna open that file in a panel ( a canvas) in my application Window. How thanX advance, Sris Hi, You add web browser control ...Show All
SQL Server sql 2005 updating table definition with 'large' amounts of data - timeout
I'm trying to move my current use of an sql 2000 db to sql 2005. I need to update a table definition (to change a field to an Identity) I'm getting a dialog box (in SQL server management studio) on save saying : 'xxxx' table - Saving Definition Changes to tables with large amounts of data could take a considerable amount of time. While changes are being saved, table data will not be accessible. I press 'Yes' to the dial ...Show All
Visual Studio Team System Custom Warehouse Adapter sample or Walkthrough?
I'm trying to figure out exactly how to publish custom test results (see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=247781&SiteID=1&mode=1 ). It sounds like I need to write a custom warehouse adapter to handle the custom test results, but I'm not having much luck finding documentation about that in the SDK docs. Can someone point me in the right direction for some help on implementing a warehouse adapter sample or walkthrou ...Show All
SQL Server CreateSubscription - Specify the Job Name or Get the GUID Job Name
We're using the CreateSubscription method to schedule a report for automatic delivery, using SQL Server Agent. Everything is working great. But, we had a question (or two). Is there anyway to specify the name of the SQL Server Agent job that gets created when the CreateSubscription method is called If so, how If not, is there anyway to get the GUID job name back after calling CreateSubscription TIA T ...Show All
Visual Studio disable the normal prompting process
I have a C#.NET project, where I am filling parameters. I need to disable the normal prompting process in the report. How could I do it (and how could it depends on VS version when I worked in Beta 2 everything was fine, but in RC1 version it's not) Hi bigRazoron, That did it. I used rptDoc.SetParameterValue function and I am not getting anymore prompts. Thanks ...Show All
