hello :) i wanted to know, how can i change the shutdown mode of my Windows Form Application, @ MS Visual studio 2010. i.e, my application should exit only when i close my last form.. & not when the main form is closed.. i remember, in .NET 2003 windows form application, i used to write following lines to move to forms to forms: private void button1_Click(object sender, EventArgs e) { All_Deposits ad = new All_Deposits(); ad.Show(); this.Close(); } this always worked perfectly.. but i'm in visual studio 2010, application exits, soon as this.Close() is called for the main form... so …

Member Avatar
Member Avatar
+0 forum 3

Where or can someone help me on using Visual Studio Code; as I installed a Python extension and I can't get the console / debugger to show the results of the code ?

Member Avatar
Member Avatar
+0 forum 10

command name can be APP_COMMAND_NAME as const Friend Module Program Private CurrentString As String = String.Empty Public Const APP_RUNNING As String = "Running" Public Const APP_TITLE As String = "Console" Public State_Output As String Public State_List As List(Of String) = New List(Of String) Private commandlist_ As Dictionary(Of String, Action) Private State As String = String.Empty Public APP_USER As String Event Command_Run() Sub Main() APP_USER = String.Empty Program.State_Output = "App is " & State.ToString & CStr(Program.APP_RUNNING) 'Program.State_List = New List(Of String) Console.Title = APP_TITLE AddHandler Command_Run, AddressOf RunCommand Program.commandlist_ = New Dictionary(Of String, Action) Program.commandlist_.Add("Notepad", New Action(AddressOf Notepad)) Console.Write(">>") 'Program.CurrentString = …

Member Avatar
Member Avatar
+0 forum 1

hi to all! i have installed android studio, my sdk path is C:\ androidsdk\sdk\sdk . my android studio installed successfully. but after installation when android studio opens then in event log tab an error message appears: Grade sync failed: Cause: failed to find target with hash string ' android-19' in C:\androidsdk\sdk\sdk Consult IDE log for more details. please guide me i will be thank full to u

Member Avatar
Member Avatar
+0 forum 1

Hi I am trying to create a service in c#, if i click start in service it has to execute the run.bat file. if i click stop in service it has to execute the stop.bat file can any one please help me to fix the code. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.ServiceProcess; using System.Text; using System.Threading; namespace SmartSchedulerService_Test { public partial class SmartSchedulerService : ServiceBase { public SmartSchedulerService() { InitializeComponent(); } TestWriteFile process; protected override void OnStart(string[] args) { // TODO: Add code here to start your service. base.OnStart(args); process = new TestWriteFile(); process.StartProcess(); …

Member Avatar
Member Avatar
+0 forum 1

I have a problem with installing Android Studio i followed thenewboston youtube channel for installing it and when i try to run it shows me some errors: `C:\Users\MONSTER\AppData\Local\Android\sdk\tools\emulator.exe -avd Nexus -netspeed full -netdelay none emulator: ERROR: This AVD's configuration is missing a kernel file!! emulator: ERROR: ANDROID_SDK_ROOT is undefined` i deleted first and redownloaded again the JDK and Android Studio but again the same error please if someone know how to install properly to enter in my PC via TeamViewer and help me. Thank you.

Member Avatar
Member Avatar
+0 forum 2

So I have Visual Studio on my pc and my friend's pc. Is there a way to get live code change? so if i change the code on my pc it automatically changes on my friend's? like teamviewer but only for code? thanks in advance :)

Member Avatar
Member Avatar
+0 forum 1

I have problems with jasper report. First I inform to I used eclipse luna and jaspersoft studio 6.0. 1] How to show and hide report fields from jsp using servlet? 2] how to fetch static fields text from jsp and display in textbox? how to way i solve this problem?

Member Avatar
Member Avatar
+0 forum 1

My main issue here actually is Visual Studio installer (just could not find a specific category above). So here is my poblem. Visual Studio won't progress installing. Once it reaches the Visual Studio C++ Runtime version (and some numbers), it does not progress any further. I even tried leaving my laptop overnight and when I woke up it was still on that same screen. So that should conclude it that the problem is not on my internet speed since if it were slow, at least for an overnight download, it should have moved the progress bar a little bit. Something …

Member Avatar
Member Avatar
+0 forum 2

Hi fellow members, I have wrote two abstract classes, with the second inheriting from the first. However, I receive this error when I try to compile: "error C2143: syntax error : missing ',' before '<'." Will somebody help me out? Thanks! template <class DataType> class AbstactArrayClass { friend ostream& operator << (ostream& s, AbstactArrayClass<DataType>& ac); public: virtual int size() const = NULL; virtual DataType& operator[] (int k) = NULL; }; template <class DataType> ostream& operator << (ostream& s, AbstactArrayClass<DataType>& ac) { s << "["; for (int i = 0; i < ac.size(); i++) { if (i > 0) { s …

Member Avatar
Member Avatar
+0 forum 1

Im having a problem here, i dont know where to start, im just a begginner i already finished my window forms in visual studio and now i want to connect it to my ms access database, i dont know what to do. Please help.

Member Avatar
Member Avatar
+0 forum 2

I've downloaded Visual Studio Express 2013 ISO. I have 7-zip tool and I've extracted the ISO's content on my hard drive. But I can't find any setup/autorun file. Does anybody know what file should I launch? Thanks beforehand.

Member Avatar
Member Avatar
+0 forum 2

First off, I'm sorry if this is gonna be some noobish question. I need advice for managing my multiple windows application forms. I'm programming C#, aided by Visual Studio 2013. Class Program.cs This contains the main method, where everything begins, and everything ends. static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { // This is just a part of my code in the main method. The relevant part I wanna discuss Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); formLogin objFormLogin = new formLogin(); Application.Run(objFormLogin); // note this part } } formLogin Description: my …

Member Avatar
Member Avatar
+0 forum 2

Hello guys I have to make a test enviroment with two computers that both have VS2010 and Intel MPi installed. I finished installing the system today and I am trying to test it. Specifically I am trying to integrate the MPI library to VS. I have added the lib and include directories and during coding the IDE doesn't display any problems. When I try to compile though I get an "unresolved external symbol" error. The code I am running is a test case provided with MPi so it shouldn't have any errors. Thank you in advance

Member Avatar
Member Avatar
+0 forum 2

Hi All Quick question would VB in visual studio 2010 work in visual studio 2013. I know that when I went from 6 to 10, there were changes in the code. Thanks Michael

Member Avatar
Member Avatar
+0 forum 1

The scenario was there should be any or multiple TextBox that is not empty and display it on the DataGridView. I think my SQL is incorrect. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Command1 As New OleDbCommand Dim i2 As Integer Dim sql1 As String Try Dim cnn3 = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=StudentInfoSysDB.accdb;") cnn3.Open() If txtID.Text <> "" OrElse txtLastN.Text <> "" OrElse txtFirstN.Text <> "" OrElse txtMiddleN.Text <> "" OrElse txtCourse.Text <> "" OrElse txtYear.Text <> "" OrElse txtGender.Text <> "" OrElse txtSection.Text <> "" Then sql1 = "Select * from Students Where([ID],[LastName],[FirstName],[MiddleName],[Course],[Year],[Gender],[Section]) VALUES('" …

Member Avatar
Member Avatar
+0 forum 2

I am a beginner in visual studio and i don't have any experience in programming .I want to create a DTMF generator using visual studio . I already made the GUI using drag and drop function . So i want add functions to that button . Button work's like a ON/OFF Switch . When i press the button i want to play a wave tune inside the application . How can i do that ?

Member Avatar
Member Avatar
+0 forum 4

Hello all, I am having an issue learning some things in visual studio 2013 asp.net using vb. I am following a fellows instruction on doing a report with a parameter. In this part of the code: Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click ReportViewer1.Visible = True Dim thisDataSet As New DataSet() Dim adapCity As USACityTableAdapters.mCityTableAdapter = New USACityTableAdapters.mCityTableAdapter Dim DS As USACity.mCityDataTable = New USACity.mCityDataTable adapCity.Fill(DS, Me.DropDownList1.SelectedValue) Dim datasource As New ReportDataSource("USACity_mCity", DS) ReportViewer1.LocalReport.DataSources.Clear() ReportViewer1.LocalReport.DataSources.Add(datasource) ReportViewer1.LocalReport.Refresh() End Sub The issues is with "Dim datasource As New ReportDataSource("USACity_mCity", …

Member Avatar
Member Avatar
+0 forum 1

How do I use other libraries in C++? Specifically using the PDCurses library in the latest version of Visual Studio Express? What's the general way to set a libray up, how to use it? Thank you for your time and patience.

Member Avatar
Member Avatar
+0 forum 3

So I'm new to C++ and I am doing a project that requires the creation of a menu for a simple game. The project instructions are: Write a program that will ask the user to purchase a vehicle for their character in a racing game. Tell them how much their character has to spend. Give them a menu of options for buying: 1-Mustang ($55,000), 2-Harley Davidson Motorcyle ($49,000), 3-Jeep ($35,000), 4-Sasuki GSX ($31,000). Use the switch statement and determine how much money the user has left. If the user types in a number other than 1-4, print the message: "Sorry …

Member Avatar
Member Avatar
+0 forum 2

![ef58374af47c49d4351e49bbebe0a030](/attachments/large/3/ef58374af47c49d4351e49bbebe0a030.jpg "ef58374af47c49d4351e49bbebe0a030") I have even uninstalled and reinstalled the visual studio 2010 but still the error comes. Please Help me to overcome this thank you

Member Avatar
Member Avatar
+0 forum 2

I'm new to Visual Studio & trying to build an application in it for the first time. The code compiles. I used to get the error load from the debugger as a result of not downloading the corresponding .pdb files. After changing a setting in the debugger options, all the the required files were downloaded from Microsoft servers, except the ones for guard32.dll & guard64.dll. I looked it up and found that they belong to Comodo Internet Security. My problem is that I don't know how to configure the debugger to ignore them. I tried adding it to the exclusion …

Member Avatar
Member Avatar
+0 forum 7

hi,how would i make two panels coming from different directions like elevator closing two doors. have a look at this video Year 2 OOP and SE assignment 1: Elevator i want to make an exact application elevator simulator,can you please tell me or provide me with a code that it can work. i tried playing around with it but no luck thanks´╗┐

Member Avatar
Member Avatar
+0 forum 27

Hello, Excuse me. I have been using vb 6.0 for more than one year.But now i want to use vb.net. i have setup of visual studio(2010) in my computer but yet i have not installed it on my pc. please tell me that how it will help me in working on vb.net? and how to use it after installing?and, is there any need to install vb.net separately or it will included in visual studio(2010)?

Member Avatar
Member Avatar
+0 forum 4

Hi all, I have installed SAP Crystal report for Visual Studio 2010 successfully on PC(.NET4.0, Windows Vista, Visual Studio Ultimate 2010). Now When I am going to add rpt file in my existing project, It automatically create .mht file and not .rpt file, that .mht file containing instructions and link to install SAP crystal report which I have installed already. Anyone can tell me, what I have to do to create an .rpt file to generate Crystal Report?

Member Avatar
Member Avatar
+0 forum 2

Hello I'm looking for some help on how to get a XML value which would be one word. Then take that value and output it in a C# or C++ program. Using windows 7 and visual studio 2010. I have Novice programming knowledge. Thanks for help.

Member Avatar
+0 forum 0

Hello, help me please. I have a db sample ( http://i.imgur.com/JRZ2ojP.png ) I have 1 combobox and 1 textbox If the combobox select "Notebook" then on the textbox it must be display the corresponding itemStock (3) Please :( By the this my simple code for my combobox Try Query = "SELECT * FROM tbl_items" MySqlCommand = New MySqlCommand(Query, CNN) MySqlDataReader = MySqlCommand.ExecuteReader combItems.Items.Clear() Do While MySqlDataReader.Read combItems.Items.Add(MySqlDataReader(1)) Loop End If Catch ex As Exception MessageBox.Show(ex.ToString, "Message", MessageBoxButtons.OK, MessageBoxIcon.Error) Finally MySqlDataReader.Close() End Try

Member Avatar
Member Avatar
+0 forum 1

hi, i'm making a library database and if the user returned the book passed the due date given.i want to find the day difference and multiply that to a given fine amount.like this daydiff = due_date_of_book - date_returned fine_amount = daydiff * amount thanks in advance

Member Avatar
Member Avatar
+0 forum 3

is git repository arec supported of visual studio 2010 ?

Member Avatar
+0 forum 0

to open a MDIChild from my main MDIparent form I would use Dim ChildForm As New FrmComponent ChildForm.MdiParent = Me m_ChildFormNumber += 1 ChildForm.Text = "Add & Edit Components" ChildForm.Show() But I want to open another from from FrmComponent which used the same MDIParent. at the moment I am using the code below but this opens the form outside the MDIParent Dim ChildForm As New FrmComboMaint ChildForm.Text = "Add & Edit Drop Down Items" ChildForm.Show() Me.lbAddOperation.Visible = False Me.lbrefreshOperation.Visible = True If _Journaling = True Then NewJournal("FrmComponents", "Add New Material", "") My MDIParent is called FrmMain Hope someone can help

Member Avatar
Member Avatar
+0 forum 7

The End.