gon10289's Q&A profile
Windows Forms Property Grid Question
Anyone know any good examples of data binding to a dynamic property grid Not really. Thats dynamic...not binding. I can't seem to find anything. I created a custom binding class for a listview. But that is so much easier. ...Show All
SQL Server Message compression
We have run some tests on our application. Average message is about 2.5 MB. Messages are send once every 30 minutes. This is 3.5 Gb per month for one site. Now we already have three sites that will be sending this messages. This will be VERY high load on the WAN channel, and will cost us a LOT of money . Isn't it possible to add some compression XML should compress very well, this feature will make brokers more useful. Service Broker messages are not required to be XML. They can simply be blobs. So you could perform the compression and decompression fairly easily in your app and send compressed messages through the Broker. That way you ...Show All
Software Development for Windows Vista Database monitor activity???
Hi, I was wondering if workflow has something similar to event monitoing. Something like Filewatcher and MSMQ event subscription but on database. what i want to do is, if there is a change in a table's data, i want to kickoff a new workflow instance, but I don't know if I should use timers to poll the database. thanks, Hiten The responsibility for that would reside with the host application, and there is no built in Workflow functionality for that. In your instance, you could have a trigger on the table in question, and this could signal the host application to start the appropriate workflow. Th ...Show All
SQL Server SQL DataReader Mischief ! HELP !
Why oh, Why is this happening.. Fastest winner gets a gold star ! hehe Just after i check the value of the data reader against the string in the IF statement, the code skips. If there is a record (=) to my varible everything is fine. However the IF ELSE will not work inside the While loop ! If i remove the record from the database and run the below code the IF statement skips (well skips the (Else)) and bombs out. Public Sub SqlCh( ByVal setobj As String ) Dim connectionString As String = "*************************************************" Dim sqlConn As New SqlConnection(connectionStrin ...Show All
Visual Studio Team System Web test failing RequestFailed: The value of the date string in the header is invalid.
All webtests I run from VS2005 RTM are failing with a response of: RequestFailed: The value of the date string in the header is invalid. The request looks like this: GET /Angel63/sidebar.asp HTTP/1.1 User-Agent : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Accept : */* Accept-Language : en-US Host : 600m01 Cookie : ASPSESSIONIDSATDSCQA=LMGPKPGDJNEPFDPPJKBKILEP Accept-Encoding : gzip I can successfully run the same test using the beta 2 release of VS2005. The only thing I can see that is different is that the request is slightly different. Request from VS2005 beta 2: GET /Angel63/sidebar.asp HTTP/1.1 User-Agent : Mozilla/4.0 (com ...Show All
Windows Forms System.Net.TLSStream
I have a VB.NET application that needs to make a httpwebrequest to a secure server on a non-standard SSL port. Everything works fine connecting on port 443, but I am required for production work to connect via port 5004. When I use port 5004 I get an error when my application tries to do its stream.write method. Error and stack call are  ...Show All
Software Development for Windows Vista Using ManualWorkflowSchedulerService
We are writing asp.net application with workflow (state machine exposed as web service). We would like to ask few questions. This is a fragment of our web.config <WorkflowRuntime Name="WorkflowServiceContainer"> <Services> <add type="System.Workflow.Runtime.Hosting. ManualWorkflowSchedulerService , System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> <add type="System.Workflow.Runtime.Hosting.DefaultWorkflowTransactionService, System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> <add ...Show All
Visual Studio Editing an existing connectionstring with the DataConnectionDialog at runtime
Can anyone tell me if it is possible to edit an existing connectionstring with the DataConnectionDialog at runtime in my own winform application I can create a new one at runtime in my own winform application using the following code: Microsoft.Data.ConnectionUI. DataConnectionDialog dcd = new Microsoft.Data.ConnectionUI. DataConnectionDialog (); Microsoft.Data.ConnectionUI. DataSource .AddStandardDataSources(dcd); Microsoft.Data.ConnectionUI. DataConnectionDialog .Show(dcd); Once I have created one, I would like to be able to use the same dialog to edit it by feeding it the existing connectionstring information (the equiv ...Show All
.NET Development How to send a string from one program to another?
Is there a way to send a (small) string from one program to another assuming that both programs are on the same PC I have tried using a tcp client and server connection between the two programs. This works, but I was wondering if there was a more efficient way to do this. Thanks for any ideas, MisterT Use System.Messaging namespace. One app creates a queue or both and use can send object to each queue. Just think in real world terms. The Message object under System.Messaging is a letter and the queue is the letter box. The Windows OS comes with Message Queuing which will deliver ...Show All
SQL Server Filter a Model Table?
I am using RS 2005. I am setting up a Model for use within Report Builder so our clients can write their own reports. A 2 part question, simple question first: 1. How can I filter the records in a Model Entity I thought this would be possible from a Perspective but it is not. 2. How can I filter the records in a Model Entity based on the locale of the person who is logged on And also based on their permissions TIA Is the user you are testing with a Content Manager by any chance Contrary to the text in BOL, Content Managers do have access to all data in your scenario. I know because I banged my head against the same i ...Show All
Visual Basic editing DataGridView cell content
I am developing a VB.net Windows app in VS2005. I make extensive use of DataGridView controls. I want the use to be able to edit the data in the DataGridViews. I have EditMode set to EditOnEnter for all DataGridViews. Data retrieved from the SQL db will be fine but I want to make sure that the data entered new or updated by the user is of the right type so I tried to code the CellValidating event to validate certain cells. I want to make sure that, for example, a DataGridViewTextBoxColumn used for dates is actually holding a date before I call a stored proc. to store it in the db. This is what I currently have but it is not working: ...Show All
Windows Forms DataGridView Problem
Hi All, I recently uninstalled VS2005 BETA 1 and installed VS2005 beta 2. The new beta 2 seems a little more stable, but I ran into the following problems: 1.) I have a base user control "A", which contains a datagridview. This user control is inherited by user control "B". With beta 1 , I can visually add, edit, remove any column in the datagridview using VS2005 IDE designer. With beta 2, I can't no longer edit the columns interactively using the designer. Beta 2 only allows us to edit the column on the base level. 2.) With beta 1, I set the AutoGenerateColumn to false, when my code bind ...Show All
Visual Studio Team System Where did this came from?
Sorry for the post size. 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): 13-01-2006 10:49:42 Machine: TFS Application Domain: /LM/W3SVC/3/Root/VersionControl-3-127816229810534998 Assembly: Microsoft.TeamFoundation.VersionControl.Server.Proxy, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Process Details: Process Name: w3wp Process Id: 2768 Thread Id: 240 Account name: VISABEIRA\tfsservice Detailed ...Show All
Windows Forms datagrid parent and child tables
I currently have a parent and child tables in a datagrid (via relastionship). all works as you would expect. but I would like to see the child on the same screen with out having to click on the child table to see its contects I would like it to be like Access where you can add a parent record and still be able to see the chil ...Show All
Visual Studio 2008 (Pre-release) Trigger runtime exception
Hi, What's wrong with this XAML that throws an exception at runtime <StackPanel.Triggers> <Trigger Property="IsMouseOver" Value="True"> <Setter Property="Cursor" Value="Hand" /> </Trigger> </StackPanel.Triggers> Thanks, Fernando Only EventTriggers are supported in this case - Property triggers are not, and hence the exception. To achieve this, you can try setting this via a style. Thanks, -Unni ...Show All
