Visual C++ Tutorial 6 -Windows Forms Application: How To Open A Second Form

——————Online Courses to learn—————————-
Java – https://bit.ly/2H6wqXk
C++ – https://bit.ly/2q8VWl1
AngularJS – https://bit.ly/2qebsLu
Python – https://bit.ly/2Eq0VSt
C- https://bit.ly/2HfZ6L8
Android – https://bit.ly/2qaRSAS
Linux – https://bit.ly/2IwOuqz
AWS Certified Solutions Architect – https://bit.ly/2JrGoAF
Modern React with Redux – https://bit.ly/2H6wDtA
MySQL – https://bit.ly/2qcF63Z

———————-Follow———————————————
My Website – http://www.codebind.com
My Blog – https://goo.gl/Nd2pFn
My Facebook Page – https://goo.gl/eLp2cQ
Google+ – https://goo.gl/lvC5FX
Twitter – https://twitter.com/ProgrammingKnow
Pinterest – https://goo.gl/kCInUp
Text Case Converter – https://goo.gl/pVpcwL

————————-Stuff I use to make videos ——————-
Stuff I use to make videos
Windows notebook – http://amzn.to/2zcXPyF
Apple MacBook Pro – http://amzn.to/2BTJBZ7
Ubuntu notebook – https://amzn.to/2GE4giY
Desktop – http://amzn.to/2zct252
Microphone – http://amzn.to/2zcYbW1
notebook mouse – http://amzn.to/2BVs4Q3

——————Facebook Links —————————————-
http://fb.me/ProgrammingKnowledgeLearning/
http://fb.me/AndroidTutorialsForBeginners
http://fb.me/Programmingknowledge
http://fb.me/CppProgrammingLanguage
http://fb.me/JavaTutorialsAndCode
http://fb.me/SQLiteTutorial
http://fb.me/UbuntuLinuxTutorials
http://fb.me/EasyOnlineConverter
—————————————————————————————
Calling form1 from form2 in Visual C++ .Net‎
Cannot Show Another Form in Visual C++‎
windows forms show/hide eachother‎
Opening A Second Form In Visual C++ 2008‎
Searches related to open form visual c++
visual c++ load form
form show visual c++
visual studio open file

source by ProgrammingKnowledge

c++ programming

Mourad ELGORMA

Fondateur de summarynetworks, passionné des nouvelles technologies et des métiers de Réseautique , Master en réseaux et système de télécommunications. ,j’ai affaire à Pascal, Delphi, Java, MATLAB, php …Connaissance du protocole TCP / IP, des applications Ethernet, des WLAN …Planification, installation et dépannage de problèmes de réseau informatique……Installez, configurez et dépannez les périphériques Cisco IOS. Surveillez les performances du réseau et isolez les défaillances du réseau. VLANs, protocoles de routage (RIPv2, EIGRP, OSPF.)…..Manipuler des systèmes embarqués (matériel et logiciel ex: Beaglebone Black)…Linux (Ubuntu, kali, serveur Mandriva Fedora, …). Microsoft (Windows, Windows Server 2003). ……Paquet tracer, GNS3, VMware Workstation, Virtual Box, Filezilla (client / serveur), EasyPhp, serveur Wamp,Le système de gestion WORDPRESS………Installation des caméras de surveillance ( technologie hikvision DVR………..). ,

36 réflexions sur “Visual C++ Tutorial 6 -Windows Forms Application: How To Open A Second Form

  • mai 6, 2021 à 8:25
    Permalien

    please help i have 3 forms and i got form 1 to go to form 2 but form 2 wont go to form 3, it will give me some error and wont build, maby i'm doing something wrong heres the code for form 2:
    #include "stdAfx.h"
    #include "Form3.h"

    this->Hide();
    Form3^ f3 = gcnew Form3();
    f3->Show();

    Répondre
  • mai 6, 2021 à 8:25
    Permalien

    I quit with managed c++ because I moved on to c# it is much easier. but this is what I did..

    in form1.h create button click method
    in form1.cpp include form2.h, and call button click and there you call form2

    do the same for form2.h

    I hope it is clear now….

    Répondre
  • mai 6, 2021 à 8:25
    Permalien

    The global variables declared in stdafx.h aren't sharing the same values as for the Form1 and Form2. How can that be? That's annoying!

    Répondre
  • mai 6, 2021 à 8:25
    Permalien

    can you make a Set of video tutorial about, Visual C++2008 connected to SQL SERVER 2008?, Including SHOW DATA, ADD NEW, EDIT, DELETE, RETRIEVE PICTURES from SQL Server, ADD and DELETE PICTURES TO DATABASE, VIDEOS FROM SQL Server ……………………………………………………………………………………………………………………………………………………………………………………………………………………..
    we'll be thankful if you do. Students from the Philippines 😀

    Répondre
  • mai 6, 2021 à 8:25
    Permalien

    I dont have that stdAFx.h file in my gui. Im using vs 2015. Did they change it? When I include it there is no directory for it.

    Répondre
  • mai 6, 2021 à 8:25
    Permalien

    Thanks for your video. It was very helpful. Nice english – easy to understand by Russian students.

    Répondre
  • mai 6, 2021 à 8:25
    Permalien

    How I can close more than one form?
    You command what is?

    My teacher says not to use:
    Application :: Exit ();

    Répondre
  • mai 6, 2021 à 8:25
    Permalien

    HI, first of all, thank you for this video.
    I think you use visual studio 2013 version but I use visual studio 2015 version. When I add new (Form2) item to the Form1, there is windows form but in the name section there is "Myform1.h". I think I can not this header name to the form2 name. What must I do? Thank you very much in advance.

    Répondre
  • mai 6, 2021 à 8:25
    Permalien

    fiz exatamente como ai mas da erro quando coloco button no form2 … uso a mesma versao do visual c++…

    Répondre
  • mai 6, 2021 à 8:25
    Permalien

    Sir, it gives me an error, it says:
    Cannot open include file: 'stdAfx.h': No such file or directory
    Now what should I do?

    Répondre
  • mai 6, 2021 à 8:25
    Permalien

    Sir, Help me, the code #include"stdAfx.h" gives me an error, it says no such file or directory, how do i include this header file without an error, i'm stuck with my project 🙁

    Répondre
  • mai 6, 2021 à 8:25
    Permalien

    // StdAfx.h : include file for standard system include files,
    // or project specific include files that are used frequently, but
    // are changed infrequently
    //

    #if !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_)
    #define AFX_STDAFX_H_A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED

    #if _MSC_VER > 1000
    #ifndef _clang_
    #pragma once
    #endif
    #endif // _MSC_VER > 1000

    #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers

    // Windows Header Files:
    #include <windows.h>

    #include <process.h> /* _getpid() */
    #include <shellapi.h> /* ShellExecute() */

    // C RunTime Header Files
    #include <stdlib.h>
    #include <malloc.h>
    #include <memory.h>
    #include <tchar.h>
    #include <stdio.h> /* sprintf() */
    #include <oledlg.h> /* OPENFILENAME */

    // Local Header Files

    // TODO: reference additional headers your program requires here

    //{{AFX_INSERT_LOCATION}}
    // Microsoft Visual C++ will insert additional declarations immediately before the previous line.

    #endif // !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_)

    Répondre
  • mai 6, 2021 à 8:25
    Permalien

    Hello would you make a video on how to implement graphics in visual studio for c ++ for beginners please

    Répondre

Laisser un commentaire