bola shokry's Q&A profile
Software Development for Windows Vista How do you reduce the frame rate?
How do you reduce the frame rate For example, I am using the ezrgb24 sample directshow filter using graphedit, how do i reduce the frame rate, to for example, only have 50-75% of frames displayed Which parts of the code need to be changed Hi, I think you must be more precise in describing what you want to achieve. Do you actually mean : display only about half of the frames, in half of the original clip duration, resulting in fact in a 100% speed up of the clip Or something else As you are using EZRGB24, there are two things you can do easily : 1) you can skip a frame by returning S_FALSE in the transform function. Add in_framecount and out_framecount as members of the Filter. HRESULT CEZrgb24: ...Show All
Visual Basic MDI parent form and child form
Hi, I m doing migration from VB6 to VB.net Previously, i call a child form within MDI form is using call form1.show() Whereas when upgrade to VB.net, even i change the call method to Dim frm1 as new form1 form1.show() But it still give me AccessViolationException The above coding gives me no problem when calling 1 form from another form but when i add MDI form it causes it Error!!! Does anyone know how to solve this problem HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Try changing the following piece of code (in bold) Get If m_GlobalForm Is Nothing OrElse m_GlobalForm.IsDisposed Then m_GlobalForm = New MDIForm() End If Return m_GlobalForm End Get ...Show All
Visual C# help with saving data on an access database
Good day, I am learning C# and someone has given me a certain software to write for him. I have been trying to add a new record to the Access Database that has already been added to the a Visual C# Application that i created, After adding the datasource to the form, i tried to add a new record to the database. but when i click on the save icon to save the data, it doesnt save.Can anyone give me some hints and directions as how to solve the above mentioned problem, my email is cfjchi@yahoo.com thanks. Fruce You need to identify if you send data to access or not you can use DataSet.GetChanges Method () (System.Data) to get the changes before call OleDbDataAdapter.Update method you can post some ...Show All
Windows Forms How to set the scrollbar?
Hi.. I have a problem with scrollbars. The right scrollbar in a panel is sitting at the bottom of the window when the application starts up. Is there anyway set it to be at the topmost when the application start up Thanks, tdcntt I don't get it. Describe "sitting at the bottom of the window". A screenshot through www.imageshack.com would help... ...Show All
Windows Forms Troubleshooting errors after a background worker operation
I have a simple Windows form with two buttons: - the first button calls a method that throws an exception - the second button runs a background worker whose RunWorkerCompleted event calls the same method that throws an exception My question is why the "Exception was unhandled" window displays in different places depending on whether the method was called via the background worker or not. Without the background worker, the error is displayed where the exception actually happens. When using the background worker, however, Visual Studio displays the error in Program.cs, pointing to the line: Application .Run( new TestApp ()); The latter behavior is not very helpful when debugging. It seems to me that both error wi ...Show All
SQL Server Where is install for SQL Server 2005 Mobile, Cofigure Web Synchronization Wizard???
I have something called Configure Web Synchronization Wizard under my SQL Server 2005 Mobile Edition on my XP machine. My problem is that I need to install it on a Windows 2000 machine and I can't find the installation package for it. I installed SQL Server 2005, which installed SQL Server 2005 Mobile Edition, but I didnt' get the wizard. I also installed Visual Studio 2005. Anyone know where it is In SQL Server 2005 Management Studio, create a publication (right click on the Replication node in the Object Explorer and choose New Publication). Then right click on the publication and choose Configure Web Synchronization. Darren ...Show All
Windows Forms UserControl resizing in a container
Hello, I have a user control in a tab page, which is in a tab control section. Whenever the main form window resizes itself, I can't get the user control to redraw in the newly available width. I set the SetStyle() method with a flag of ResizeRedraw, but no avail. How do I resize Do I have to do it programmatically Or tap into a resize event Hello All. bmains: When your form resizes, does the tab control resize as well I'm assuming it does, since you say that on resize there is newly available width for the user control. Check the anchor settings for the user control, and anchor it Top, Bottom, Left, and Right. That's if you don't want it to fill the tab control page. If you do want it t ...Show All
Visual Studio Team System How the web test plugin works
Hi, I have two web tests and both of them use the same web test plug in which gets the recordnumbers from local database table. I am using a select statement in the webtest plugin for data binding. Both the web tests use the same plugin. I get the recordnumbers from the select statement in the plugin. For example, the select statement returns record numbers A, B, C and D. So when do loadtest with both the web tests, i think each of the web tests work on A, B, C and D. Is that true If so, how can I make the web tests work on mutually exclusive data. i.e I want webtest1 to work on A and B and webtest 2 to work on C and D. How to achieve this Are there any resources on how the web test plugin work Thanks., ...Show All
Visual Studio 2008 (Pre-release) How to Bind to an ADO.NET Data Source.
somebody knows as to connect data of a table of data base to one grilla How to Bind to an ADO.NET Data Source. this is what I have done: Imports System.Data Imports System.Data.OracleClient Public Class Form1 Dim Cnn As New OracleConnection( "Data Source=SOURCE;User ID=Iili;password = lili; Unicode=True" ) Dim DataAdapter As New OracleDataAdapter( "SELECT * FROM GE_SEG_ROLE" , Cnn) Dim DataSet As New DataSet Private Sub Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load DataAdapter.Fill(DataSet, "GE_SEG_ROLE" ) End Sub In the XAML file this it is code: < Window x:Class = " Window1 ...Show All
Internet Explorer Development Creating DOM nodes
I am trying to create something that allows javascript to change the node within the document, which i have manage to achieve, but I have problems when try to add attributes to the new nodes. I can add the basic ones, like id, name, length, type, size. But can't add onclick, onmouseover, onmouseout. Has anyone got any ideas how i can add these. Since using DevToolBar I can see that the onclick, onmouseout, onmouseover attributes are set. var a = document.createElement('<div name="test"></div>'); a.onclick = function (event) {alert(1);}; a.setAttribute('id', 'test'); ...Show All
Windows Forms C# applet displays broken image
Hi All, I created a simple applet in C# and displayed it in an html page. It worked fine on one server but when I deployed it to a testing server the applet displayed as a broken image in my web browser. The servers have slight configuration differences but they are rather similar. I have read several posts and could not resolve the issue. Does anyone out there have any idea what to look for Thanks To solve my problem I had to go into IIS. The folder that holds the dll must be changed to an application. Then in properties, click configuration, click add, browse to a dll called aspnet_isapi.dll, add the extension .dll, select all verbs, and click OK. This solved my applet issue. ...Show All
Windows Forms DataGridViewCheckBoxColumn returning to its old value when changing rows
I've got a DataGridView bound to a BindingSource (bound to a List<T>). I mapped a DataGridViewCheckBoxColumn to a boolean property of my business objects stored in the BindingSource. This works so far. When I check the checkbox for one object and uncheck it again, then check or uncheck a checkbox in another row, the checkbox for the former row gets checked again. Same thing the other way round (uncheck-check). When I first set focus to the other row and then check/uncheck it's checkbox, everything works fine, meaning the checkbox in the first row doesn't change back. It seems to me that when I leave the first row and directly edit the checkbox on another row, the changes to the first row don't get commited. How can I work around this ...Show All
Windows Search Technologies WDS 3.0 Beta 2 desktop search leaving shadow
I have had a couple of occasions where I use the Search Desktop box on my (top of screen) taskbar to search for an item. When I click More... for Communication (I am using Outlook 2007 B2TR) I see the pop-up search window blink a few times covering the full search window. When I click X to close it, the shadow stays on the screen and I must logout to remove it. NOTE: I can get the pop-up window to blink twice before closing every time just by clicking in the Search Desktop box then clicking on the X, however this does not cause the shadow to stay behind. While it has happened more than once (and I rarely use the Desktop search, normally I use the Outlook one), I can not reproduce it consistently. I am running a lot ...Show All
SQL Server Page break
Hello, I'm using SQL 2005 reporting services. I habe table with two group. Group A and Group B. I set Page break at start and at end for each group in order each group will be in the new page. it is not working and I'm getting group A and B in the same page I know this problem but no, I have no visibility set. I currently change from table to list and it seemse to work fine but still.. I have group A header and footer and also for group B My problem is that the first header from group A is in the same page with first header from Group B Also last record in the Group B in the same page with the footer from group A. Aslo I have a problem with document map. I create a do ...Show All
Windows Forms Skinning VB applications
can i & how do i skin my app, and design the skin, do i do it in photoshop etc, and is the any tutorials anyone know that can help Use the form's BackgroundImage property to display the bitmap. Use the Region property to alter the shape of the form. You'll find lots of examples when you search the forums for "skin" or "skinning". ...Show All
