Software Development Network Logo
  • Visual Basic
  • Visual Studio
  • Architecture
  • VS Express Editions
  • Windows Vista
  • Game Technologies
  • VS Team System
  • Visual C++
  • Visual FoxPro
  • Visual J#
  • SQL Server
  • Windows Live
  • .NET Development
  • Smart Device
  • Microsoft ISV

Software Development Network >> Greg Brady's Q&A profile

Greg Brady

Member List

IVRsurveys
Ismail Pazarbasi
Hansraj
Cosmin Paun
Steve X Fu
Beav1810
DanTanzer
krj
Frank in Toronto
hansv
Tyfud
TuscoGrocers
Kristijan M.
sambath ramachandran
LordNicko
TITBASoft
Ryan Stemen
Sylvia Friedl
D Wagner
Ryan1234
Only Title

Greg Brady's Q&A profile

  • .NET Development Using Ifilters to parse/index text from PDFs in C#

    Hi.  I've found code for using the free IFilter to parse text out of PDFs for the purpose of indexing it for my search application.  It is working fine for files on the file system.  What I really need it to do though, is to parse from a Stream.  I am indexing content in a database, and some of this contain contains pdf files. I found the BindIFilterFromStream method call which seemed like it should work fine, but I am not finding the correct way to call this method from my C# class.  I think it has something to do with the first parameter being of type UCOMIStream.  I was passing a stream object, like so: &n ...Show All

  • Visual Studio Team System Problems with MSTest.exe

    I’m having problems using MSTest from the command line to execute tests on my build server. I have a VS2005 (Beta 2) solution set up as follows (actual names changed for clarity):   C:\MyProject                              [ solution root ] C:\MyProject\MyProject              [ production project ] C:\MyProject\MyProjectTests      [ test project ]   When I run MSTest from the command ...Show All

  • .NET Development Can't get ComboBox to show correct value

    I've got a dialog with a comboBox bound to a lateCodesBindingSource. The display and value members both point to the 'lateCode' field. I fill  the dataset table using:   this.lateCodesTableAdapter.Fill(this.appDS.LateCodes); In the dialog I attempt to preselect an item.    For the life of me, I can't get the combobox to show a value I select thru the program. I've tried: lateCodesComboBox.SelectedText = preSelectedTextBox.Text; lateCodesComboBox.SelectedValue = preSelectedTextBox.Text; lateCodesComboBox.Text =   preSelectedTextBox.Text; However, the comboBox does always shows the f ...Show All

  • Visual Studio Crystal Reports XI and Visual Studios 2005 Questions?

    OK I have read a lot of post here that lead me to believe CRXI is not compatible with Visual Studio 2005. Or should I say not till CRXI r2 comes out in which case it will support VS2005 .net Framework 2.0. On a Project that is updated to VS2005 from VS2003 and CRXI for the most part went very smooth.   Except and for me this is major CR Version is 10.2.3600.0 in VS2005 where as it was VS2003 it is Version 11.0.3300.0 for me. Ok from all the post I understand this has dumbed down my reports since CRXI is not ready for VS2005 till r2. In the mean time should we just use the dumb down version of our reports I have seen a lot of ...Show All

  • Visual C++ Can symbols from an .exe file be imported into a DLL?

    I would like to create an executable which uses multiple DLLs. I want to load the DLL's manually depending on execution. There is common code which resides in the .exe, which I would like to use in the DLLs. When I try and compile the DLLs I get unresolved symbol errors during the link. Is there a way for me to share the common code, residing in the .exe, with the DLLs Thanks. Omar Canon You could pass a function pointer to the DLL but that's kinda nasty. There shouldn't be a reason why this common code couldn't live a DLL, what kind of linker errors are you getting ...Show All

  • Windows Forms Enclose all Properties within #region directive

    Hai .....,          How can I enclose all of the following Members within a region directive; 1. Member variables 2. Properties 3. Methods Hai vbjunkie,                  Here is the listing: //start region title if this is the first property if (propertyIndex == 0) //indicates that this is first property member { property.StartDirectives.Add( new CodeRegionDirective ( CodeRegionMode .Start, "Title")); } //end region directive if this is the last property if (propertyIndex == Prope ...Show All

  • SQL Server Problem Installing AdventureWorksDB.msi

    I'm running on a stand alone machine. No network connections. I get the following error message when running this script: "Error 1316. A network error occurred while attempting to read from the file C:\Program Files\Microsoft SQL Server\AdventureWorksDB[1].msi" So how do I resolve this problem, so I can get the Adventure Works DB installed This often has to do with a failed installation from an earlier attempt. You may have to clean registry entries or edit the .msi file, but try this tool first: http://support.microsoft.com/default.aspx scid=kb;en-us;290301 Buck ...Show All

  • Visual C++ Newbie question about VS in general...

    OK, I got a version of VS... but im having real troubles getting anything done in this... I mean I know how to write "hello world" for example but err how to compile for one and what kind of a file/project do I choose... they all just give me these big source codes from the start but what if I want to do something all my own (hello world for example )... someone answer me quick... If you wrote that cpp file from something other than Visual Studio, you'll need to use the File -> New -> New Project From Existing Code wizard. Follow the wizard. Browse to your cpp file, give your program a name, and when asked for the proj ...Show All

  • SQL Server FMTONLY, LONG Running ?

    Hi There I have been running a trace for long running queries. I know what FMTONLY is, simply returns the metadata of the query. I have found something odd. SQLBatchComplete:SET FMTONLY ON SELECT SETID,FFIG_FIGURE_XX,(CONVERT(CHAR(10),EFFDT_XX,121)),EFF_STATUS_XX,FFIG_TYP_XX,PRCSR_CLASS_XX,SQL_SEL_TXT_XX,RUN_SEQ_AVAIL_XX,DESCR_XX,FFG_COLUMN_XX,FFG_VAL_COL_XX,LASTUPDOPRID_XX,LASTUPDDTTM_XX FROM PS_FFGDFN_XX_VW SET FMTONLY OFF. This performs 0 reads with a 0 duration time. A few commads later the same SPID does the following: SQLBatchComplete:SET FMTONLY ON SELECT FFIG_VAL_XX FROM PS_FFG_FCRB_XX_VW SET FMTONLY OFF This performs 44000 reads 449 ...Show All

  • Windows Forms ComboBox and Data Binding Problems

    Hi all. I am developing an window application in VS 2005 Pro that contains a ComboBox with the data source was loaded from a table in database. The table has two columns (CustID and CustName, which CustID is the primary key) I want the ComboBox display the CustName but the value insert into the database is the CustID. So I set in the ComboBox task menu the Data Source is CustNameBindingSource (this control was auto generated when configure the "Add new data source Wizard"), Display Member is CustName, Value Member is CustID, Selected Value is CustNameBindingSource - CustID. When I run the application, when the cursor move to the ComboBox, I ...Show All

  • Windows Forms Outlook Calendar Look and Feel - Corrupts Form Designer

    I added the CalendarLibrary project (Outlook Calendar Look and Feel) to my solution.  First I encountered the Serialization problem and used the fix listed here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=167334&SiteID=1 I add a reference from my VB project to the CalendarLibrary project, add a new form to my VB project and drag and drop the Calendar control onto the form.  When I build the solution I get this error: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX Extensions for Alias Maya 7

    When will the export X for maya 7 be released Or is there a way to convert 6 binary or 6.5 binary too work with 7 Right now, the quickest way to get Maya 7 support in the Maya Preview Pipeline is to compile it yourself (the code is available).  While I haven't tried it, it should compile fine with 7.0 once you set up the paths to the 7.0 version of the Maya SDK. ...Show All

  • Visual Studio Localizing Crystal Reports toolbar/export/print dialogs

    Hi, Looking at the feature in XI it is clear that Crystal Reports XI now supports localization of the viewer (toolbar/export popup/print popup) http://support.businessobjects.com/documentation/product_guides/boexi/en/crxi_WhatsNew_en.pdf I am using VS.NET 2005, CR XI, .NET 2.0 I have been unable to get CR to localize the toolbar/export popup/print popup. I have tried explicitely setting the page Culture and UI culture to "fr-CA" in Page_Init. I have also tried setting the thread: System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("fr-CA"); System.Threading.Thread.CurrentTh ...Show All

  • Visual Basic Web Service setup help needed

    Hi all, I'm in the process of learning how to create and consume web services. I understand how to create the service and how to access the service from vb.net but what I don't know is how to set something up that my web service runs on. I don't have a website to publish the service on so I've briefly looked into ways to set up some kind of desktop emulation or host service that I can use. I've seen references to IIS running on the desktop as well as something else (I'm drawing a blank and can't remember the other service). Can anyone point a link out on the easiest way to set up and test a new web service There has to be an easy wa ...Show All

  • SQL Server Blocking updates of a table

    Hi, I've been trying to design a way for me to issue a transaction that: Block all inserts on a table when row X has a certain value (call it A) Add a row to the table with row X containing A Add rows to another table Unblock inserts Commit transaction Is this possible Can anyone give me some pointers as to what to do Thanks in advance! I assume you only want to block Inserts but not Updates, Deletes and SELECTS. You could try using an Insert trigger that would rollback the other transactions until a condition has been achieved. ...Show All

©2008 Software Development Network