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 TouchToneTommy 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: *

  • Users: d00ape
  • Content: Threads
  • Order by date
  1. d00ape

    Write to the Visual Studio Output window

    How do I write to the Visual Studio Output window? Can I read user input from there like I can in Eclipse?
  2. d00ape

    Playing my animated gif in a Form

    How do I play animated gif or an avi clip in a Form?
  3. d00ape

    Console.WriteLine(myFloat.ToString()) with two decimals?

    I want to print a float with value 1.98765 with only 2 decimals: (1.99 in this case). How?
  4. d00ape

    Call a native dll from my managed dll

    I’m about to call a function in a native windows dll from my managed C# dll project. I want the function to return some kind of string (char*) so I get it as a System.String in my mandaged dll. How can I do that? I’ve tried to add CLR support on my native dll but for different reasons it can’t...
  5. d00ape

    Invoke a controls property

    I’m struggling with a thread that should update a TreeView. I’ve started to use the Control.Invoke method when for e.g. adding nodes and so on. I now wonder how I “Invoke” a property. (I got the “Cross-thread exeption…” when I try to set the TreeView.ImageIndex property)
  6. d00ape

    Force my WinForm application to show…

    I’ve created a Spash-form that shows and hides while my main form initializes. When I closes the splash-form my main window is paced behind other applications in Windows. How can I force my application form to be the “on top application”? I’ve tried all these functions: this.Activate()...
  7. d00ape

    MPD-file to xml-file (MS Project 2003)

    I have a program that reads Microsoft Project 2003 XML-files Now I'm in need to read in mpd-files as well. Any tip on how I can do that? A simple tool/service for converiting mpd to xml would be great!
  8. d00ape

    Variant in C# ?

    I’m coding in C# and I am working with a COM object that I earlier in C++ made this call: COleVariant varBeforeEnd(DISP_E_MEMBERNOTFOUND, VT_ERROR); hresult = pTemp->Add(knownObject, &varBeforeEnd ); How do I make the call in C#? The IDE in VisualStudio say that the Add(…) function should...
  9. d00ape

    Creating an options dialog for my WinApp.

    I’m about to create an options dialog that will be opened from my windows application main Forms menu. I have many different “modules” in the application which each of them need to have an own options dialog. For sure this is a common situation. I need some kind of “pattern” to create an...
  10. d00ape

    Creating a typed dataset of MS Project 2003 XML files

    Where can I find the typed dataset for MS Project XML files? Iv’e tried to create my own but when trying to read an MS Project XML-file like this: MSProjectDataSet dataset = new MSProjectDataSet(); dataset.ReadXML(“savedXMLfileFromProject.xml”); I get different exceptions. All tips in this...
  11. d00ape

    The XML Schema for MS Project 2003?

    Where can I find the XSD schema for how Microsoft Project 2003 XML-files are formatted? I’ve searched on MSDN but no result…
  12. d00ape

    ScreenToClient C#...

    I get the mouse position using Control.MousePosition. How can I convert this global mouse-cords to a windows local cords?
  13. d00ape

    Inserting Image in my Report (ReportViewer)

    I finally have an understanding of how to create simple reports from my dataset using the ReportViewer. I now wonder how I can make custom (SQL-queries) on my dataset that will fill for e.g. a table. For example I have a picture that I like to insert into my report. That picture do I store as a...
  14. d00ape

    Programmatically creating Reports using Reporting Services

    I’ve made some reports using the ReportViewer and Reports (*.rdlc-files) in visual studio 2005. I really enjoy the ReportViewer!! My reports is now generated direct from my SQL 2005 database but I now want to generate a report from a typed DataSet that is instantiated locally in the program (my...
  15. d00ape

    Hide a Form when X-button pressed

    I hane an application where one of my dialogs is created when the program starts. I like to call Form.Show() and Form.Hide() to show and hide the form. When the user presses the system-X button the form is per default disposed. How do I prevent that I just want a Form.Hide() when the user...
  16. d00ape

    Previewing images (64*64) control....

    I like to preview some Image objects in 64*64 format in some kind of control. Is there any .NET control for that. I only find the ListView control but with that I only can preview pictures in 16*16 format and that is to small for me…
  17. d00ape

    Cast unmanaged type to managed type

    Is it possible to for e.g. send a MFC CString as a System::Object^ parameter. I’m between an unmanaged and an managed environment.
  18. d00ape

    QueryInterface call in .NET (C#)

    I’m working with an ActiveX and it’s API has some samples on how to handle COM interfaces and so on. How do I make the call QueryInterface in C#? My C++ codline work like this: hr = pMaterialField -> QueryInterface ( IID_ISFColorObject, (void**)ppDiffuseColor );
  19. d00ape

    Catching ActiveX callback in C#

    I’m using a third party ActiveX control in my .NET Application. I manage to handle the callback in unmanaged C++ like this: class MyCallback : public ICallback { … void OnComplete() {…} } … MyCallback *callback = new MyCallback(); someobject->SomeFunction(“just a string”, callback); The...
  20. d00ape

    Plug-in based development… and docking windows ala Visual Studio 2005

    I’m going to build an application that should be based on plugins that extend the core application with extra customer specific functions. I like my plugins to have a common look, fell, and behaviour. I like tips on how to design my application to make it extendible. I like some tips on design...

Part and Inventory Search

Back
Top