Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. listbox not visible in thread

listbox not visible in thread

Scheduled Pinned Locked Moved Managed C++/CLI
sqlitegraphicsdockerquestionlearning
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Thilek
    wrote on last edited by
    #1

    i guys , i am running a threat which will scan for worm in given directories.. currently its scanning but it supposed to show the scanned files in the listbox.. but its not showing.. how can i make it to show on list box ya.. Below is my coding :-

    #pragma once
    #include "Form1.h"
    #include "QUARANTINE.h"
    #include "Scanner.h"

    using namespace System;
    using namespace System::ComponentModel;
    using namespace System::Collections;
    using namespace System::Windows::Forms;
    using namespace System::Data::SQLite;
    using namespace System::Data;
    using namespace System::Drawing;
    using namespace System::Collections::Generic;
    using namespace System::IO;
    using namespace System::Threading;

    char status ='S';

    namespace Enhan_GUI {

    /// <summary>
    /// Summary for autoscan
    ///
    /// WARNING: If you change the name of this class, you will need to change the
    ///          'Resource File Name' property for the managed resource compiler tool
    ///          associated with all .resx files this class depends on.  Otherwise,
    ///          the designers will not be able to interact properly with localized
    ///          resources associated with this form.
    /// </summary>
    public ref class autoscan : public System::Windows::Forms::Form
    {
    public:
    	autoscan(void)
    	{
    		InitializeComponent();
    		//
    		//TODO: Add the constructor code here
    		//
    	}
        int Data;
    
    protected:
    	/// <summary>
    	/// Clean up any resources being used.
    	/// </summary>
    	~autoscan()
    	{
    		if (components)
    		{
    			delete components;
    		}
    	}
    private: System::Windows::Forms::Button^  cmdClose;
    protected: 
    
    private: System::Windows::Forms::Label^  label1;
    private: System::Windows::Forms::Button^  cmdPause;
    private: System::Windows::Forms::GroupBox^  gbxfunction;
    private: System::Windows::Forms::Button^  cmdStart;
    private: System::Windows::Forms::Label^  label2;
    private: System::Windows::Forms::Label^  label3;
    private: System::Windows::Forms::PictureBox^  pictureBox1;
    
    private:
    	/// <summary>
    	/// Required designer variable.
    	/// </summary>
    	System::ComponentModel::Container ^components;
    

    #pragma region Windows Form Designer generated code
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    void InitializeComponent(void)
    {
    System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentMode

    T 1 Reply Last reply
    0
    • T Thilek

      i guys , i am running a threat which will scan for worm in given directories.. currently its scanning but it supposed to show the scanned files in the listbox.. but its not showing.. how can i make it to show on list box ya.. Below is my coding :-

      #pragma once
      #include "Form1.h"
      #include "QUARANTINE.h"
      #include "Scanner.h"

      using namespace System;
      using namespace System::ComponentModel;
      using namespace System::Collections;
      using namespace System::Windows::Forms;
      using namespace System::Data::SQLite;
      using namespace System::Data;
      using namespace System::Drawing;
      using namespace System::Collections::Generic;
      using namespace System::IO;
      using namespace System::Threading;

      char status ='S';

      namespace Enhan_GUI {

      /// <summary>
      /// Summary for autoscan
      ///
      /// WARNING: If you change the name of this class, you will need to change the
      ///          'Resource File Name' property for the managed resource compiler tool
      ///          associated with all .resx files this class depends on.  Otherwise,
      ///          the designers will not be able to interact properly with localized
      ///          resources associated with this form.
      /// </summary>
      public ref class autoscan : public System::Windows::Forms::Form
      {
      public:
      	autoscan(void)
      	{
      		InitializeComponent();
      		//
      		//TODO: Add the constructor code here
      		//
      	}
          int Data;
      
      protected:
      	/// <summary>
      	/// Clean up any resources being used.
      	/// </summary>
      	~autoscan()
      	{
      		if (components)
      		{
      			delete components;
      		}
      	}
      private: System::Windows::Forms::Button^  cmdClose;
      protected: 
      
      private: System::Windows::Forms::Label^  label1;
      private: System::Windows::Forms::Button^  cmdPause;
      private: System::Windows::Forms::GroupBox^  gbxfunction;
      private: System::Windows::Forms::Button^  cmdStart;
      private: System::Windows::Forms::Label^  label2;
      private: System::Windows::Forms::Label^  label3;
      private: System::Windows::Forms::PictureBox^  pictureBox1;
      
      private:
      	/// <summary>
      	/// Required designer variable.
      	/// </summary>
      	System::ComponentModel::Container ^components;
      

      #pragma region Windows Form Designer generated code
      /// <summary>
      /// Required method for Designer support - do not modify
      /// the contents of this method with the code editor.
      /// </summary>
      void InitializeComponent(void)
      {
      System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentMode

      T Offline
      T Offline
      Thilek
      wrote on last edited by
      #2

      its ok guys... i manage to solve that.. thanks anyway... :) cheers.....

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups