cwlaualex's Q&A profile
Visual Basic Keyboard sendkeys
Hello, In a windows Form I have two buttons : One to navigate on the Web The other one to send to the active page ( in my example : "google"), a string (in my example : "test".) I do not see on the Google welcome page the "test" indication arriving !. What is wrong Thanks for your help ! Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click mybrowser.Navigate( "www.google.fr" ) End Sub Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click My .Computer.Keyboard.SendKeys( "test" , Tru ...Show All
Software Development for Windows Vista Vista Logo Compliance
Hi All, I am currently working with Vista Logo Compliance for software need following information urgently. Please help. What is the process of getting Vista Logo Compliance for Software ( Applications). How can one apply this to any application for getting the same IS there any example available or data found that can be shared for getting Logo compliance. Is there any tools available for getting Logo Compliance. What approach one should follow to achive the same. What are the best practices for getting Logo Compliance. Whate are the Check list for getting Logo compliance. Regards, Ajay Kumar Ajay, I would have thought that that page or links on that page would lead you to answers to ...Show All
SQL Server report manager
i have a sql server 2005 standard box with a \Dev engine and a \Tst engine on it for dev, i cannnot see the site settings from within Report Manager for tst, i cannnot see the new folder, new data source, upload file, site settings from within Report Manager my windows domain account is in the Local Admin for that box. what's the issues here I found the solution here: http://msdn2.microsoft.com/en-us/library/bb283249.aspx ...Show All
SQL Server Optimizing datediff
Hey all, I run a monthly delete that's recurring; delete data > 2 months old. For December, I thought up two ways to do this: Query 1: delete from daily_statements where daily_statements < '2006-10-01' Query 2: delete from daily_statements where datediff(month, statement_date, getdate()) <= 3 I've plugged in Query 2 into the job step because it can be run at any time without having to change the value, but it took 22 minutes to delete 2.5 million rows versus 4 minutes to delete 5.3 million rows for the other one. Is query 2 the best it can be Thanks! Please don't use the local variable approach. It does not allow the optimizer to do parameter sniffing for example. And since the batch is optimized as a whole an estimate wil ...Show All
SQL Server I ran a update quey by mistake
With out any BEGIN Transaction statement , i ran a update query. I had to update just one record using the "Where field='abc'" But i happened to miss that. Is there any chance of recovery can i use the transaction logs to bring back the records before the update A quick answer is appreciated. Sahel Hi Sahel. No way to get it back directly using native Sql tools/operations without performing some restore type operations. Best way may be, if you have a standard backup structure in place, take a log backup immediately, then restore a copy of your database side-by-side with the existing db (using a different db name), and restore logs up to the point in time right before you ran th ...Show All
SQL Server Need help from someone who is an expert w/t-sql
I am trying to create a query that will determine if a field has a specific value first. If that field contains the specified value then use that value, else determine if it contains a secondary value. A row the contains the first value takes precedence if one exists so it is not a straight 'OR' situation. I have no control over the data in the way the tables in the db are designed or I would have done it a lot differently, I just have to work with the data as is. Any advice would be most welcome. If I come up with a solution on my own and anyone is interested, let me know and I will send you the solution. SELECT @SBCUID=c.xcrt_xonr_sbcuid, @OwnerName = o.xonr_gps_ownername FROM exception_criteria c LEFT JOIN exception_owner o ON ...Show All
SQL Server Error in restoring SSAS database
Hi, getting this error on restoring an ssas database .abf file with a different database name. ------------ Backup and restore errors: Restore under different DatabaseId/DatabaseName can not be done for a database with partitions with specific location. (Microsoft.AnalysisServices) Program Location: at Microsoft.AnalysisServices.AnalysisServicesClient.SendExecuteAndReadResponse(ImpactDetailCollection impacts, Boolean expectEmptyResults, Boolean throwIfError) ------------ The db from which the backup was created had its partition data outside of the cube specific folder ....\Program Files\Microsoft SQL Server\MSSQL.1\OLAP\Data\XYZ.cub That is the partition data was in the root folder ...\Data in the guid ...Show All
Visual Studio Express Editions Can't run source code from VB textbooks
I own several VB 2005 texts with source code downloaded from the publishers' websites. Unfortunately, about 80% of the time, I can't run the code in VB2005 Express. There are no build errors, but when I attempt to run the project in the debugger, I get the following exception message: "Could not load file or assembly 'Microsoft.VisualBasic, Version=2.0.0.1, Culture=neutral, PublicKeyToken=6315780d5082271f' or one of its dependencies. The system cannot find the file specified." Is there any way to overcome this problem Yep, sounds like a bad install. Try repairing the installation, and if that doesnt help try uninstalling and reinstalling. ...Show All
Visual C# How to write Urdu on C# Controls
How can i write Urdu on C# Controls(e.g. Button, TextBox, Treeview, etc.). In urdu there are multiple glyphs for every characters. Different glyphs of a character are used depending upon the position of the character in the word. Its Urgent.... Plz Reply as soon as possible... Thanks, Actually i have to write urdu on the controls, dynamically. But when i write urdu on the controls it dosn't joins the the characters, as it does in the richtextbox control of C#. In the richtextbox control i only provide the unicode of the urdu character and it automatically joins the characters according to the position of the character in the word. Is there any such class or function in C# that joins the chara ...Show All
Visual Studio Tools for Office Saving OLEObject content to a file
Greetings, colleagues I have spent quite some time on trying to solve the following problem: I get the OLEObject from the Excel worksheet, e.g. Excel.OLEObject myOLEObject = (Excel.OLEObject) currentSheet.OLEObjects(1); I need to to save this myOLEObject object back to file on hard drive (in my Excel 2003 managed code extension). The only thing I know about the OLE object is that it was created in Excel 2003 through "Insert -> Object -> Create from file". So the exact data type of this OLE object is unknown. Casting it to Bitmap or Word document does not solve the problem. I.e. it may be a bitmap image, a word document, etc. including a generic binary file of unknown format. Manually an Excel 2003 user ...Show All
Windows Forms Visual Studio abnormal shutdown when drop control on form
Hi, I am using third party framework to build my application. The framework come with a derived label inherit from System.Windows.Forms. It works fine. However, I created my own derived label class inherit from the framework's label. When I drop my label on form, Visual Studio IDE would shutdown abnornal. No error/warning prompted. My derived label class is simple as below: Public Class myLabel Inherits MyFramework.UI.Windows.Forms.Label End Class How could I check for this Thank you Hi, I just tried to create an user control and drop myLabel to it. VS encountered error and need to close. I click link to show more info. It shown VS "dies" abnormal is caused by WinXP SP2 and th ...Show All
Windows Forms How do you tell the IDE that an entry in the collection has been deleted?
I was finally able to serialize the collection property of my usercontrol. It contains complex object. It does add and update correctly and populates the collection properly. The only thing I can't figure out is when an entry in the collection has been deleted. Right now the IDE will just detach the object from the collection, but leaves the orphaned object reference in InitializeComponent(). Same thing happens when I set the collection property to (none). It removes the collection object, but it leaves the orphaned objects. Any ideas My problem is design time when I dropped my user control to form. I think I'm still missing a Serialization Design-Time Attibute or something. The collecti ...Show All
Smart Device Development cancel resize event
Hi, Is het possible to cancel the resize event I need it because when the keyboard is slide out, it shouldn't go to landscape mode grtz Annihil8 ...Show All
Visual Studio Tools for Office Features or Bugs in VSTO.
Are these features or bugs I've found two things that there may be a reason for but I can think of none. 1. If you have a form field in a word document project that has a default value in it. You cannot populate that bookmark in code with a bookmarkname.Text = "AAA" line of code. It gives you an error along the lines of "Out of Range" or something like that. 2. If I am trying to populate a data island from code on a web server. I open the the document file with a file stream and then assign it to a "ServerDocument" class as shown below If File.Exists(BlankDocumentPath) = False Then Return ("File " & BlankDocumentPath & " Does not exist") Exit Function ...Show All
Audio and Video Development Welcome to the Media Foundation Development Forum!
Media Foundation is the next generation multimedia platform that we are shipping with Vista. We have built this platform from the ground up to embrace the wave of next generation premium content. Our focus has been on robustness, audio video quality, and seamless interoperability thereby making the Vista PC a great platform for all your audio video experiences. And last but not the least, thro Media Foundation we have tried to address some of the limitations in the current digital media platforms. Please feel free to post any questions or comments you have about the Media Foundation platform. We are eagerly waiting to help you in any way we can. Thanks and happy posting! Prakash Channagiri (and the rest of the Media Foun ...Show All
