NandaRengasamy's Q&A profile
SQL Server Identify/parse content within binary documents?
I've got a full-text index on a table in which I've got word docs and pdfs (in an image field). I want to parse out certain types of content from these documents, and include the parsed content in the info I give back to the client. In this case, I want to collect the e-mail address(es) from each document yielded by a query. In other words, the client would input a term like 'indexing', I query the database to yield those docs which contain this term, then for each doc parse out the e-mail addresses it contains and provide them back to the client. I imagine I could identify these with a posix expression; but I can't find an example of t ...Show All
Visual C# Syntax Error in Update Statement
Dear All, I had encountered Syntax Error in Update Statement when I execute the following code. private void UpdateNewPwd( string EmpID, string NewPwd) { string strUpdate = "Update Users SET Password = '" + NewPwd + "'" + " where EmployeeID = '" + EmpID + "'" ; string connectionString1 = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + System.Windows.Forms. Application .StartupPath + "\\Local_Database\\DryEtch.mdb;User Id=admin;Password=;" ; OleDbDataAdapter dbAdapter = new OleDbDataAdapter (); OleDbCommand dbCom = new O ...Show All
.NET Development ADODB.DLL Command Output Parameters
Hi, Having probs with ADODB.DLL (C:\Program Files\Microsoft.NET\Primary Interop Assemblies\adodb.dll) Here's one issues I'm seeing with the following VB code if you use CreateObject calls it works and I get a return parameter back. If you use the ADODB.dll (Replace the createobject lines with the commented out Dim x As New ADODB.xxx) then I can't get back output params. NOTE: To replicate this create a console app, replace module1 with following and add a reference to adodb.dll. Then Make a DB add the sproc below and put your DB and user in the connect string. Thanks in advance for any help. Is anyone actually using ADOD ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Editboxes
Using the sampleFramework, Is there a way to keep the caret with in the Editbox, I have tried a ton of seting and code with no luck, I even tried to add a scroll bar to the Editbox and failed badly. No I meant the c# I just used the : to mean look in the FocusText() method in the EditBox class. Sorry if I confused anyone. THe c++ example of UI works perfectly, the caret positioning error is only in c#. David has made sure the MDX team is aware http://forums.microsoft.com/msdn/ShowPost.aspx PostID=65266 ...Show All
Visual Studio Team System Using Team System Team Builds from outside Visual Studio
My organisation wants to use Team System for all its development. We are primarily a .Net shop but we also have significant bits of Java and Cobol using the MicroFocus Cobol IDE. Is it possible to use the Team Build feature of TFS for projects developed in an IDE other than Visual Studio How hard is this to set up Has anyone tried it Are there people out there working on tools for this kind of integration Thanks. You can launch builds remotely with the build web service, and also use the Source Control API to get the build configuration file and administer it, and also other APIs to get the resu ...Show All
Visual Basic Problem installing VB6
Just for the record, i've tried this Off the CD normally, i've created an ISO and mounted it, i've even copied the entire CD to the HD and tried installing it from there. Same problem every time. The problem is that when i run setup.exe to install the program, it crashes "setup.exe has encountered a problem and needs to close". Doesn't matter if i run the file myself, it's it's though the CD or mounted ISO's autorun, it's always the same. As soon as the setup.exe launches, it crashes. I've never had a problem with any other version of VB. I took a guess that the installer might run on the .net framework 2.0, so i download ...Show All
Visual Studio Installation of Visual Studio 2005 to a computer with Visual Studio 6
I need to install Visual Studio 2005 to a computer with Visual Studio 6 already installed in it. This new VS 2005 installation should not break Visual Sudio 6 in any way. Also, the existing Platform SDK or MSDN installations shouldn't be changed. Does anybody know if this is possible I'm having my doubts... Thanks. Your assumptions are correct. VS 2005 will install SxS with VS 6.0 without affecting it. ...Show All
Visual C# Design Question
Wondering what my best bet is, control-wise, for the following. Need to dislpay the full path of many exe's...with associated icon. Getiing this info is complete. There will be hundreds of exe paths, meaning hundreds of 16 X 16 icons. Thanks I think listviews will be good, as you can place the icon in the ListItem image and any details about the file can be categorized in the columns.. ...Show All
.NET Development How to get the latest certificate from X509Certificate2Collection
Hi, Please redirect me if I have landed in wrong forum. X509Store store = new X509Store ( "MY" , StoreLocation .CurrentUser); store.Open( OpenFlags .ReadWrite); //Get all the certs from 'Personal Store' X509Certificate2Collection coll = ( X509Certificate2Collection )store.Certificates; In above code I am taking all the certs from Personal store into CertificateCollection. From this collection i want to find out the latest certificate which was issued. Is there any way to get this Or can someone please suggest me some other way to get the object of latest cert issued in the Personal store Thanks i ...Show All
Visual C++ Error 4 fatal error C1001: An internal error has occurred in the compiler.
Hi, I am trying to update an application from VS2003 to compile under VS 2005 Pro. Works fine under VS 2003. At the following line ======= template < class BASE> BOOL (WINAPI CDialogMinTrayBtn<BASE>::_TransparentBlt)(HDC, int , int , int , int , HDC, int , int , int , int , UINT)= NULL; ======= I get: Error 4 fatal error C1001: An internal error has occurred in the compiler. c:\projects\emuleplus\src\DialogMinTrayBtn.hpp 66 There seesm to be a lot of reports of a similar problem from the days of Vc6 or 2002 but it was fixed in VS 2003. I have tried most of the suggested fixed (optimization f ...Show All
.NET Development Call me an idiot at the end
Hello, I'm primarily a company secretary, although I am realising the practical power of this er thing. I'm reading the instruction manual for VWD Beta2, and would like to begin working with data forms and grids, although I cannot connect to the recommended Northwind DB. I'm using a local server because this stupid f..., telecommunications company doesn't run any dynamic script! So, any suggestions would be greatly appreciated. I'm using Windows XP Home; tried upgrading to XP Pro but MS's evaluation tool said I did not have too. Your assistance may be invaluable. Kind regards Thanks DMan, I think I get what you mean. But don't tell me a ...Show All
Visual Studio MSDN Library - Empty Content Pane
Problem: Msdn library document explorer opens but the content pane is empty or the content pane don’t display anyting about VS 2005 documentation (other topics such SQL Server 2005 are displaied) if opened from within VS 2005. Context: I have installed MSDN Library for VS 2005 on a Network share in wich System and Me have Full Control permissions. Tanks for any help Jony Hi Jony, You will have to install MSDN library for VS 2005 on a local machine to work. "Run from source" feature is not supported in MSDN library for Visual Studio 2005. Please install MSDN library for VS 2005 on your ...Show All
Smart Device Development bindingsource.filter
How can I set a filter in code from a textbox.text value I tried this HorsebindingSource.Filter = "CODE='SMI'"; works but not useful I would like to do something like this: HorsebindingSource.Filter = "CODE = 'codeTextBox.Text'" ; Thanks Jon Stroh You can do this: HorsebindingSource.Filter = String.Format( "CODE = '{0}'", codeTextBox.Text); If you want filter to change as you type in a text box, please add TextChanaged event handler and set filter in it. ...Show All
Visual Studio Express Editions Form Updates not showing
I have a form that contains only a progressbar and several labels that are updated during a data conversion. Specifically If linecount Mod 20 = 0 Then Label1.Text = "Processing line # " & Str(linecount) & " of " & MaxSize ProgressBar1.Value = dstart 'Label1.Refresh() : ProgressBar1.Refresh() Label1.Update() : ProgressBar1.Update() End If If linecount Mod 500 = 0 Then Label2.Text = ( "Elapsed Time in Seconds: " & Str(STime.Elapsed.TotalMilliseconds / 1000)) Label2.Update() End If The problem occurs if I minimize the program while it is run ...Show All
Software Development for Windows Vista DirectShow Semantics Troubles: SampleGrapper: Acquiring the BitMap.
The project I am working on for school is working in its current form; which is basically displaying video from the composite input of the ATI X1800 All-In-Wonder video card. The next step in the project is to grab the frames from the steam in bitmap form in able to perform some basic (trivial) image processing. Where I’m at: I determined the size of the buffer for the sample and created an array the size of the buffer to store it in (follow exactly what is in the tutorial called “Using the Sample Grabber”.) Where I am not clear (and having a difficult time with) is the step after. How do I get it to a BitMap data ...Show All
