Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. adrianjohnson

    WPF: How to drag a label within a custom canvas control

    Hello, I've got a Window which has a treeview in the left column and a canvas control in the main area. The canvas control is based on the custom control from the WPF Recipes in C# 2008 book published by Apress. I've managed to get the drag and drop to work to a standard canvas control, but...
  2. adrianjohnson

    Create user stored procedure

    I'm trying to use the stored procedure that asp.net uses to create a new user on a web database. The reason I'm doing this is because the user wants to export a list of over 400 username and passwords from Excel into the aspnet_users table without having to create new users manually. So, I've...
  3. adrianjohnson

    WMP Now Playing

    Quite a simple question really, but a search on Google & Windows Live hasn't produced much of a result. How do I capture the track currently playing in Windows Media Player 11? I've added the reference to WMPLib, but from there on in the examples get complicated. Do I need to add a WMP control...
  4. adrianjohnson

    Add menu item at runtime

    I seem to be struggling with this, yet it should be so easy. I've got a winform, with a main menu already created. However, I want to add items to the main menu when the program is running. I've already tried the code from here: http://msdn2.microsoft.com/en-us/library/aa984267(VS.71).aspx...
  5. adrianjohnson

    Pick random file - .net 3.5

    I'm trying to write a program which picks up an image at random. Here is some of the code: string nextImage = ""; int fileCount = 0; // Get a count of images within the folder. DirectoryInfo imageFiles = new DirectoryInfo(Properties.Settings.Default.ScreensaverImagePath); // For each image...
  6. adrianjohnson

    Convert field text to html ok in VS 2005, not in PDF

    Hi all, We've developed an ASP.Net application in Visual Studio 2005. The data is stored in a SQL Server 2005 table, and the field concerned is of type nvarchar. We then created a Crystal Report (version 11.5 SR 2), and added the field into it. Next, we formatted the field to display as html...
  7. adrianjohnson

    Add drag 'n drop item to ListView group

    Hi all, I've implemented a drag and drop facility on a ListView (WinForms) application. The drag and drop itself works fine, as I write to the console the name of the file to be dropped. However, my list view shows it's items in detail view (just 2 columns) and they're all bunched together in...
  8. adrianjohnson

    C# & Access 2003 - TableAdapter query with parameter

    Hi all, I'm trying to add a query to an existing TableAdapter using VS 2005 and Access 2003. I add the query ok, including the parameter field, add the name, but when I save the DataSet it changes the (@ to underscore. This means I cannot access the new query. My Query: SELECT * FROM Contacts...
  9. adrianjohnson

    Distribute app with MSDE 2000

    Hi all, I downloaded and followed the instructions from this page ( http://msdn2.microsoft.com/en-us/library/aa214935(SQL.80).aspx ) on how to install MSDE 2000. I'm using it in conjunction with a VB6 project. However, I now need to distribute the project, but all the instuctions I've found...
  10. adrianjohnson

    Problem with fly-out menu and images

    I'm having problems with using a fly-out menu when there is an image in the main content area. The menu is ok in itself - when the mouse is positioned over an item, the sub menu is displayed. The submenu covers text in the main content area ok, but when there's an image there the submenu is...
  11. adrianjohnson

    Help on programming career path

    Hello. I have the following programming IDE's at my disposal: Visual C++ 6 Visual Studio 2005 standard Borland Turbo C++ Explorer If I wanted to develop in C++, which would be the best tool to use in terms of: 1. Programming ability - e.g. easiest to use/code in 2. VCL vs. MFC 3. If MFC...
  12. adrianjohnson

    Adding an eventhandler to a list box at runtime

    Hello, I've got a function which reads a text box, and creates a tabpage with a listbox on the fly. This means there may be more than one listbox at any one time. Within my code, I create an event handler for the listbox. It fires off ok, but I'd like to get the selected text from the listbox...
  13. adrianjohnson

    Create new tab on TTabSheet at runtime

    I've decided to have a play with Borland Turbo C++, and decided to write a multi-tab web browser (to help me understand the language, IDE etc.) I've added a TPageControl to the form, with a TTabSheet, plus a button which I would like to use to add a new tab, with a web browser control in it...
  14. adrianjohnson

    Application development - .Net 2.0?

    I've been chatting with some friends about a software application we'd like to develop. Both friends are VB nuts - they both prefer VB.NET 2005. I'm easy - don't mind VB.NET, C++, Java. I even looked at Turbo Delphi at the weekend. My question, how many people are likely to have .Net framework...
  15. adrianjohnson

    datagrid/details on a form, linking 2 tables - VB.NET 2005 & SQL 2000

    I have 2 tables in a SQL Server 2000 database - Users and Department. The link between them is an integer field, ID. In my form in VB.NET 2005, I have a datagrid, and some details fields, showing the data from the Users table. So when a user selects a cell in the datagrid, the details section...
  16. adrianjohnson

    datagrid/details on a form, linking 2 tables - VB.NET 2005 & SQL 2000

    I have 2 tables in a SQL Server 2000 database - Users and Department. The link between them is an integer field, ID. In my form in VB.NET 2005, I have a datagrid, and some details fields, showing the data from the Users table. So when a user selects a cell in the datagrid, the details section...
  17. adrianjohnson

    Netbeans and Eclipse

    I've just been testing Java development with Netbeans 5.0, and found it ok speed-wise and so on. One thing it does is when you create a jar file you can run it on other PC's as long as they have a jre - you don't need to add a classpath (I tried it for testing purposes). Anyone know how that's...
  18. adrianjohnson

    Connect to Progress DB using VS2005

    Hello all, I'm trying to connect to a Progress DB through ODBC within VS2005. It connects ok, displays the tables with schema, but when I want to view the data I get "Access denied (7512)" error. The ODBC driver is "DataDirect 4.20 32-BIT OpenEdge SQL v10.08" - I know there are other...
  19. adrianjohnson

    Compilers and Widgets

    I've looked for another forum for other C++ compilers, so apologies if this is in the wrong place. I used the mingw compiler to write a simple program using wxWidgets, but the final exe file size was 20Mb. Are there any other suitable compilers for use with wxWidgets that don't have this...
  20. adrianjohnson

    Refresh JTextField (Swing)

    I'm developing software which will retrieve some information from a database, but I'd like to have a text field which will be display "Working" whilst the system is getting the data. The user will activate this part by selecting the table name from a JTree. So, I've added the text field, set...

Part and Inventory Search

Back
Top