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

Software Development Network >> Nic Oughton's Q&A profile

Nic Oughton

Member List

Iraqi
Bhargavi
大頭仔
RLewis
Stanley35
RDF
Dude1
George Henne
Scott Francis McGrath
Moishe
WarauInu
jcfiesta
lost.sync
Joe Bruce
ajay_dekavadiya
Brendan McLoughlin
Carlo_DiGiacomo
Jetgunner
Dawson
linker
Only Title

Nic Oughton's Q&A profile

  • Visual Studio Tools for Office C++ AddIns 4 MS-Word

    Hi all, I programed an addin (with C++ .NET) which works with ms-word. I wish to parse the text of an active ms-word document and to replase some of its words and chars. The questions are: How can I retrieve the documents text How can I write text into the document AND how can I replace text in the document. Moreover, can I get a text with specific format ; as example, all the text in the document which is in Bold or Italic format or alternatively all the text which is font "Courier New" I have searced for help all over the internet with no success. Pleas help me with that, Im having a hell of a tim with it. ...Show All

  • Visual Basic VB.NET reference to VB6 DLL recompile

    Hi all, I have developed a simple VB6 DLL to be used in VB.NET. My problem is that everytime I compile VB6 DLL, my reference in VB.NET was loss and I have to re-make the reference. Do I miss anything to automate it Thanks. Make sure you've enabled Binary Compatibility in the VB project properties (and that you don't break any exported interface).   ...Show All

  • Visual Basic Bug?: Accessing array of objects in a function

    When I try to use an array of objects through a function or certain types of subs, I get a NullReferenceException and a TypeInitialization exception. Any subs tied to a button do not cause this. This code explains better: This is in a module: Public checkBoxes() As CheckBox = {frmLaunch.uiCheckBoxDeveloper, frmLaunch.uiCheckBoxDebugFile, frmLaunch.uiCheckBoxAltDeath} This sub will use the checkbox array with no problem when called from a button: Private Sub Save_Settings( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles uiMenuItemSaveSlot1.Click, uiMenuItemSaveSlot2.Cl ...Show All

  • SQL Server Hierarchical data in result set

    How can I create a function that returns hierarchical data from a table with this structure: - CategoryID - CategoryName - CategoryFather I want to bring the result set like this... CategoryID | CategoryName | CategoryFather | HierarchicalLevel 1 | Video | 0 | 0 2 | DivX | 1 | 1 3 | WMV | 1 | 1 4 | Programming | 0 | 0 5 | Web | 4 | 1 6 | ASP.Net | 5 | 2 7 | ColdFusion | 5 | 2 How can I do this Does anybody has a sample code I need this on SQL Server 2000 and if it's possible (but not too necessary) ...Show All

  • Windows Live Developer Forums Fetching MSN Hotmail contact list

    I'm wondering how ringo and hi5 and alike (sites) implemented login functionalities to access the MSN contact list. Do I need to legally have a tie up with Hotmail to offer this service Or It's a webservice I can use Please advice, Wa-gee Not supported officially , that is. The scripts work by logging in to the server using sockets just like the official client does. The scripts will then get the contact list sent by the server. However, Microsoft doesn't officially allow any third party clients (except bots) to log in to their server, and I don't think they'll ever officially allow you to log in using the & ...Show All

  • Visual Studio 2008 (Pre-release) Will be UDT's support in DLINQ?

    Now, in early look, it's impossible. For example we can't write something like this [ Table ] public class Line { [ Column (DbType = "UniqueIdentifier NOT NULL" , Id = true )] public Guid LineID; [ Column (DbType = "Point" )] public Point A; [ Column (DbType = "or may it must be Udt " )] public Point B; } and call db.CreateDatabase(); because of fact, that UDT's can be deployed only at already existing database. Thanks DLinq s ...Show All

  • Visual FoxPro Help with query in VFP 9.0

    I'm new to VFP folks - I have a database in Access that I query to get results for up to date jobs. I have tried mirroring the database in VFP but I can't get my query to work in VFP, even with the wizard. Can anyone help just by looking at the SQL for each I get only 15 or so records in VFP, whereas I return 95 records in Access. Thanks! Access SQL Code: Probably you had a problem in mirroring the tables. Check FAQ #8039 on www.universalthread.com for that (however there I didn't take into account that a user might want to have column names like % - it's not valid for VFP, change to something that contains only alphanumerics first) ...Show All

  • Visual Studio How to find the location of a .targets file?

    We have a .targets file that implements a few custom build steps we need for our projects. One of those tasks is to call a command line tool to do some work with the assembly that was just compiled. We store the .targets file and the commandline tool directly in our source control (since they are both small) so that it is very easy for developers to build. They just grab the latest source tree and they have everything they need to build. Here is today's problem: How can our .targets file find the location of the command line tool Developers may have checked out the source code anywhere. The commandline tools is in the same ...Show All

  • Software Development for Windows Vista Passing parameters into the workflow.

    Hi, I'm very new to workflow, and need help... I created a workflow library that has a custom workflow action developed. Then I used a winapp to test the workflow, in preparation to deploy the custom action into office 12. Basically the workflow action will try to escalate anything to a person's manager using information stored in active directory, so that users in office 12 do not need to specify the manager. The problem is, I don't know how to pass parameters into the workflow. I have the workflow book, but I can't really make sense to what is written the codes are in snippets. You can not access ...Show All

  • SQL Server SQL 2005 Compatibility Level

    I am migrating some MSSQL 2000 databases to a MSSQL 2005 machines. I am creating a backup on the MSSQL 2000 Server and restoring the backups on the MSSQL2005 Server. The MSSQL2005 server databases have the Compatibility Level set to "SQL server 2000(80)". Are there any performance reasons to set the Compatibility level to "SQL Server 2005 (90) " If I change this setting some of the SQL stored procedures do not recompile. Thanks. I'm moving this thread to the SQL Engine forum, where experts can help. Paul ...Show All

  • Windows Forms Tear-off ToolStrips?

    Is there a way to allow ToolStrips to be moved around and undocked as in Office and Visual Studio We went from being slammed in getting B2 done to being slammed in getting RTM done...we still have plans to do these samples, but I wouldn't expect any sample code to compete featurewise with third party controls on their Nth revision.& ...Show All

  • Visual C++ dialogs appearing behind the main window

    hey guys, i have a simple problem with my MFC app. the messagebox's and color dialod's r appearing behind the main window. maybe is it because i have directx rendering a static text control in the main window so it always stays in focus or soemthing i dont know here is my code for displaying for displaying a color dialog: CColorDialog cd = CColorDialog(0, CC_ANYCOLOR); cd.DoModal(); when i press the alt button the color dialog appears. is there some special setting of some sort i have to do to get the dialogs to appear infront of the window im quite new to mfc so sorry for my newbie questions. thx in advanced ...Show All

  • Visual Basic DAta Sources Toolbox functionality reversed

    When I am looking at a code window all of my data sources are visible in the data sources toolbox. When I am looking at a form, the toolbox is empty and greyed out and no options can be accessed. This is exactly opposite from how it worked in beta 1, 2 and RC1. Anyone know what the deal is with this As of right now I cannot drag/drop a table onto a form because all the tables are hidden when I am looking at a form. Thanks, Josh Josh: Just in way of follow-up.  It appears that I was wrong about the problem the other programmer was having.  It appears that the failure of the Data Source to properly di ...Show All

  • Visual Studio How to support Temporary Projects

    Please teach us how to support temporary projects. Please teach us the topics about temporary projects in Visual Studio 2005 SDK. Best Regards. Shinya Watanabe Hi Douglas, I have created a new thread here - " MPF bug: Solution is not saved when "Save new projects when created" is unchecked ". Could you please have a look at Your input will be much appreciated! Thanks, ...Show All

  • Windows Forms Is there a Non-Databound Grid?

    I'm looking to use a grid to display information. It would work like a list box but would have columns and headers. Surprisingly, I don't see anything I can use in VB.net. Can anyone suggest a control Thanks. The ListView in Details View is probably the easiest unbound grid to work with; depending on how much functionality you want.   ...Show All

©2008 Software Development Network