Minh Tan Duong's Q&A profile
Windows Forms Reg Ex Question
Can some one help me to build a regular expression to extract the keywords from a google search url. I'm sure others can benefit from this as well. For example, how can i build a regex to extract the keywords "my search term" from the following url. http://www.google.com/search sourceid=navclient&ie=UTF-8&oe=UTF-8&q=my+search+term Any suggestions would be appreciated. Thanks! ...Show All
Windows Forms "Provider cannot be found" error for Jet ODBC, Server 2003 R2 x64
I'm migrating a lot of old ASP code wich ran perfectly fine on Windows 2000 Advanced Server to a Windows Server 2003 R2 x64. When ever I make a call to a MS Access DB I get the following error... ADODB.Connection error '800a0e7a' Provider cannot be found. It may not be properly installed. /test.asp , line 6 I'm assuming this is due to a driver error. Can any body direct me to a place where I can download the latest Access mdb drivers that are compatible with 2003 x64 I've been looking around for hours and can't find anything. I tried to download the Jet 4.0 Service Pack 8 for 2003 x64 and when I try to install it I get the fo ...Show All
Visual Basic How can I create visualizations and equalizer
Hi, I am a five years programmer and I've created lots of media players but hte only problems I always have are : How to create visualizations like every media player How to create an equalizer Please Help Me . Msgbox("PLEASE HELP ME I NEED YOU !",MsgBoxStyle.Pleaseonly,"HELP") ...Show All
Visual C++ Bufferoverflowu.lib for amd64 is missing in whidbey beta 2
Lets say you compile some code with the latest PSDK for AMD64 cpu. Then you compile your files into a library and expect users to use that library. However because of the security code there is a dependency for using bufferoverflowu.lib on the PSDK since it uses old CRT code. If you use #pragma comment(lib, "bufferoverflowu.lib") then the file must exist to be able to succesfully link. This is a problem if you compile your code with the PSDK and link with Visual Studio 2005. So to solve this: 1. Can I disable the need for the symbol __security_check_cookie which is the purpose of bufferoverflowu.lib (e.g. through a compiler flag) 2. Can we ...Show All
Windows Forms How can I update the dll with new versions in Visual Studio Designer?
I am using Visual Studio 2003 (c# or C++) to build a windows forms applications that has DataGrid and RichTextBox. I have created two (for example) dll, i.e. myRichTextBox.dll and myDataGrid.dll and using these custom controls in my forms application. These dlls have context menu, and some other controls included in it. Whenever I add more controls to these dlls, how can I move and update the latest dll within the Visual Studio designer. Presently, I am deleting the myRichTextBox.dll and myDataGrid.dll from TooBox and recreating the same. Is there any simple update procedure available so that I can update the changed dlls instead of d ...Show All
Windows Forms How to populate a listbox with a complicated query
How to populate a listbox with a complicated query I created a query in the KeywordSetTableAdapter SELECT KeywordSets.KeywordSet, KeywordSets.ID FROM KSGroups INNER JOIN (KeywordSets INNER JOIN KSGroupKSAssignments ON KeywordSets.ID = KSGroupKSAssignments.KeywordSetID) ON KSGroups.ID = KSGroupKSAssignments.KSGroupID WHERE (((KSGroups.ID)=5)) ORDER BY KeywordSets.KeywordSet Fill a datatable method: FillByKSG5 Return a datatable method: GetDataByKSG5 What is this about I assign KeywordSets - say Peres, Shimon, to KSGroups. In this case I'd include Peres, Shimon to Persons, which KSGroups.ID=5. I've also assigned him to other groups ...Show All
Visual Studio Team System Error creating project in TeamSystem...
Fails when trying to add a new project: 04.19.2005 04:41:41.303 | Module: ELeadServiceMediator | URL for eLead web service retrieved as " http://teamsystem:8080/bisserver/EleadWebService.asmx " from the registration service | Completion time: 0 seconds 04.19.2005 04:41:41.303 | Module: ELeadServiceMediator | eLead web service proxy constructed | Completion time: 0 seconds 04.19.2005 04:41:42.579 | Module: ELeadServiceMediator | Template Information for domain "teamsystem" retrieved from eLead web service | Completion time: 1,2756084 seconds 04.19.2005 04:41:53.172 | Module: Engine | Retrieved IAuthorizationService proxy | Completion time: 0 ...Show All
Smart Device Development CABWIZ/Makecab problems
Hi all, I'm having trouble building a CAB file for a CF 2 project. Done the usual steps, Added a Smart Device Deployment project to my solution, set its propertys, go to build and Always get back a message saying ; Error: CAB file "C:\Documents and Settings\DAVE\My Documents\Visual Studio 2005 \Projects\Project1\DeploymentCAB\Release\Project1. CAB " could not be created It's really annoying, I dont want to have to go back to using 2003 to build projects as I really like the new features in CF 2, but if I cant deploy them correctly, then theres no point. Any thoughts/comments appreciated. Dave ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Theory: Multiple SDK/DirectX Installations and the C3635/C3377 problems
First off this is what I have installed in regards to .NET, DirectX and Programming Software - all in their own directories. DirectX - October 2005 Edition DirectX - December 2005 Edition DirectX - February 2006 Edition Visual Studio 2005 Express (C#, C++ etc) - Net SDK 2.0, DX Feb2006 Visual Studio 2003 C++ - Net SDK 1.1, DX Oct/Dec and Feb (separately) Visual Studio 6 C++ (Not used since 2003 installed last year) Net SDK 1.1 Net SDK 2.0 Both before and after installing Feb 2006 DirectX I have found I could not compile a simple program in 2003 C++, just creating a device without receiving 3 or so error messag ...Show All
SQL Server Putting Multiple Field data in a report table cell
I'm using report designer and Visual Studio .net 2003. I have a table in the report and would like to put multiple field values in a single cell. Something along the lines of this in the cell: =Fields!Phone.Value, Fields!.Fax.Value. I don't know how to seperate the values to get them to work in the same table cell. I've tried commas, semi colons, spaces, parens. How would I do this I couldn't use IsNull because it says it is not decleared. I can use IIF, so the correct code is =Fields!Phone.Value & IIF(Fields!Fax.Value=nothing,"",",") & Fields!F ...Show All
Windows Forms Webbrowser Get Selected HTML
Is there anyway with webbrowser to get the underlying html of the current selection Nevermind figured it out Public doc As mshtml.HTMLDocument doc = DirectCast (Webbrowser1.Document, mshtml.HTMLDocument) Dim sr As mshtml.IHTMLTxtRange = doc.selection.createRange Me .RichTextBox1.Text = sr.parentElement.outerHTML ...Show All
Visual C# Script to publish a web site
Hi! I want to do a script to publish a web site, so I was wondering if Visual Studio has an example of it, or what commands the publish web site command do... Any ideas Thank you! You might want to have a look at Web Deployment Projects http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/ ...Show All
Windows Forms UndoEngine in standalone Designer
I derived from UndoEngine and implemented a AddUndoUnit Method that pushes a UndoUnit onto a stack. My IServiceProvider is a DesignSurface with an CodeDomSerializationService (Serilazation seems to work and my stack gets bigger for any change I make on my UI). I expected the UndoUnit.Undo() Method to desirialize the latest SerializationStore that gets popped of the stack, but it doesnt seem to work. How is the UndoEngine meant to be implemented Tabas, did you find the solution. I'm eager to know... Alan Tabas wrote: Somebody knows how implement the StandardCommands .Undo command . Using wit ...Show All
Visual Studio 2008 (Pre-release) How can we Trace and log the WCF Service Messages?
Hi, Please provide us some information about how can we trace and log the WCF Service message information. Thanks in advance.... Please check this out: http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/WCF_Con/html/0ff4c857-8f09-4b85-9dc0-89084706e4c9.asp and http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/WCF_Con/html/82922010-e8b3-40eb-98c4-10fc05c6d65d.asp Thanks, Scott ...Show All
Visual C# Custom dictionary keys identity
I implemented a reference class (MyKey) that I use as key of a dictionary (Generic.Dictionary<MyKey, MyValue>). The problem is that ContainsKey always returns false, except when I pass the very object that I used as key. I tried to override Object.Equals: no change I then tried to implement IComparable, then IEquatable<MyKey>: still no change What should MyKey implement for this to work Chris. Hi, Thanks.. I had the exact same issue with using a generic Dictionary<>. I solved my issue by overriding the Equals AND GetHashCode() methods. Code Snippet // Overr ...Show All
