Omid Sadeghian's Q&A profile
Audio and Video Development Video Transitions and Effects missing
Hello! I got problem when I tried to make my slideshow. I could not find any transition and effect in Windows movie maker. This program displyed "Video Transitions and Effects missing" Please help me how to get them back. Thanks you so much. Regards, FFFC You have reached the wrong forum for your question. I suggest you post your question in the Movie Maker Newsgroup at http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx Sumedh ...Show All
SQL Server Date Range Issue
I've been trying to find a good way to do this and it seems every idea I come up with or find only accomplishes the desired result in one scenario. Here is my issue. I'm designing reports with SQL Reporting Services 2000 and many of these reports need to show values for a dynamic date range such as the last full month, last full week, etc. similar to the built-in functions in Crystal Reports. To accomplish this, my first effort was to filter my results by looking only at results where a specific date parameter matched the current week or month -1 or -2 or whatever was needed. The following example would look at records for the previous month only: SELECT * FROM tbExample WHERE MONTH([Entry Date]) = MONTH(GETDATE())-1 AND YEAR([Entry ...Show All
Windows Forms ClickOnce - .chm file is not available
Hi, I have a C# application that I publish with ClickOnce. I want to include a .chm help file in it. However, the file is not found after deployment. I tried setting it as Content file with different copy options. I added it as existing file and tried setting it as a data file in the publish option as well. I also tried showing it through the text file. I have gone through the posts: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=199239&SiteID=1 and a few others. It still does not work. Is there anything else I am missing Thanks, Avanti ...Show All
Gadgets File upload with Sidebar Gadget
Is there any possible way to upload a file through a gadget I am creating a gadget that takes a word document or .txt file as input, post that to our servers and then we display information to you every day based on that information through the gadget. (the user gets a infoId that will give them their own customized info) Any ideas would be appreciated. Thanks. Thor. Are you actually running this inside a gadget Gadget security environment is not the same as the Vista IE security environment. ...Show All
SQL Server Connectivity issue
I am using the connection string as "Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=TMS_CHECK_CONVERSION;Data Source=PHILDCAP4Q\VENDOR" in specified named instance is installed on the Respective machine. It is giving the following error., Sqlserver does not exist or access denied., Please suggest ... Is this SQL Server 2000 or 2005 If it's SS2005, is your sql browser running What are the protocols enabled on the server Any firewall issue You'd better follow the instruction here and give us more details. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=362498&SiteID=1 ...Show All
Windows Forms TextBox and ContextMenuStrip
On a form with a few TextBoxes and one ContextMenuStrip, if a TextBox is right-clicked I can get the particular TextBox instance that opened the ContextMenuStrip from the SourceControl property in the Opening event. But if the menu items have shortcut keys, the Opening event isn't raised. So how do I figure out which TextBox had the focus when the shortcut key was pressed Tony Use the form's ActiveControl property, it will point to the control that has the focus and invoked the context menu. ...Show All
Visual C# NetworkStream doesn't support seeking
I want to play sound from network stream. For playing sound i use directsound, but when i try to create SecondaryBuffer: try { ApplicationBuffer = new SecondaryBuffer ( this .netStream, ApplicationDevice); } catch ( Exception ex) { MessageBox .Show( ex.ToString()); } i'm getting error that netStream doesn't support seek operation. I know that property "Seek" of NetworkStream is ReadOnly... how can i work around this problem You can't because the the stream needs to support Seekif you want to use it with a SecondaryBuffer. An NetwortStream doesn't support seeking in most cases. There is no workaround for you problem and you have to seek for an other solution. Can you specify your pro ...Show All
Visual Basic Print PDF with PrintDocument
Is there any way to print a PDF through a PrintDocument control If you have a PDF printer installed, yes. Simply select that as the printer. Installing a PDF Printer Driver is usually the simplest way. ...Show All
Visual Studio 2008 (Pre-release) How do I scroll a TreeViewItem into view?
Is the a ScrollIntoView equivalent for TreeView Well, Programmatically expanding TreeViewItems can be a bit tricky, Curently I know there are two waya to implement it, one way is to use ItemContainerGenerator.StatusChanged event, and another is to use nested message pump, I will write an article on how to achieve this using the two methods in my blog, if you want to have a quick look at the code I use to expand nodes, just let me know Sheva ...Show All
Visual Studio 2008 (Pre-release) Dynamic diagram creation
Hi! I have to create a kind of diagram that is circle with 1 filled sector. I take only 1 argument - percentage - and correspondantly fill that sector. Is there any simple or proved method of such task solution The first thing that comes to mind is to create circle, and then some kind of filled path containing arc and two lines that connect arc endpoints with center of circle. And then combine all these elements into 1. Maybe there is a better way Thanx you could do it in XAML like this( to be dynamic, we could just start converting this structure to C#) < Path Stroke = " Black " StrokeThickness = " 1 " Fill = " Beige " > < Path.Data > < Geometr ...Show All
SQL Server What should the maintenance plans be on your mirror server?
If your principal fails and your mirror assumes the main role and it is in Full recovery mode (which it has to be in Standard edition), then the log files will grow and grow until a transaction backup and shrink is executed. I have maintenance plans running daily (and hourly for transaction log backup/shrink) on my principal, but nothing on my mirror. Do I need to set up the same maintenance plans on my mirror server Thanks Ed ahh...I see what you're getting at now Ed. Sorry for the confusion there. If you select either 'all' or 'all user databases', it will be backed up if it's online...you could also create a job that would do it I guess if the database is online, though the Maint. Plan sho ...Show All
Software Development for Windows Vista Sound Cards and gameing
I am an SB XFI user. I have wondered forums both creative and here for information which way to turn. Vista has improved the way sound is for us the user by a long way and as far as I can see for the right reasons. It does leave some of us though bewildered, with a hardware product that is at best is trying to side step what MS have created and do there own thing. I figure the more software you have on a system the slower every thing is, I certainly dont want a product that is using masses of software to beat a products guidlines. So my question is a simple one. I love me music and my gameing so what hardware option do I have that is totally vista friendly and takes advantage of said software. I realise I might not ...Show All
Visual Studio Problem installing SP1 Update for Vista
Hi, the Vista Update for SP1 doesn't install. The error message says wrong version of programm or not installed. I installed VS2005 Pro + SP1 GERMAN. Is it the language which is wrong ...Show All
SQL Server How to get rowcount
Hi, How to get the row count for a particular query being executed within a session and scope. is there any option to get the value being displayed in the messages tab when a query is executed (no of rows affected). is there anything equivalent to scope_identity for getting the identity value inserted in a session and scope. Vivek S to obtain number of rows affected... @@RowCount (return an int) RowCount_Big() (return a big int) to obtain last genereted identiy value... @@IDENTITY, SCOPE_IDENTITY, and IDENT_CURRENT are similar functions because they all return the last value inserted into the IDENTITY column of a table. @@IDENTITY and SCOPE_IDENTITY return the last identity value gene ...Show All
SQL Server Secure Replication from Cluster to Workgroup
I am trying to set up replication (transactional with updates) from a 2-node Active/Passive SQL Server 2005 Cluster to a SQL Server 2005 server in a Workgroup. When configuring the Snapshot Agent, Log Reader Agent and Queue Reader Agent from the Publisher (Cluster) we are advised not to use the SQL Server Agent Service Account for security reasons. When I specify a Domain Account I get an "unknown security error" staring the snapshot agent. When I select the option to run under the service account all works well. Strange thing is when I specify the service account I still get the "unknown security error" message. Anyone got any ideas Peng the srvSQL2005 account is non-admin (i.e. no ...Show All
