4,928 Topics

Member Avatar for
Member Avatar for MasterGberry

I am using Micosoft Visual Studios 2010 and reached a chapter in my book that asks for seperate compiliation. Up until now I have been using Notepad++ to write my code into a .cpp file and then used Visual Studio Command Prompt with a 'cl' command to compile the code. …

Member Avatar for Ancient Dragon
0
110
Member Avatar for Mike Bishop

Morning all, Hope you can help. I normally use VB6 for my projects but thought i would look at Visual studio 2010. I have a windows form with a connection to my sql database which is working fine. i want to be to select data and input that data into …

Member Avatar for Mike Bishop
0
2K
Member Avatar for mca.narender

Hi, I am working on a VC++ (Visual Studio 2008) Module and i am new on this module. This module is working on 32bit fine, i need to convert this in 64 bit. I installed x64 bit compiler and select 64 bit in Project Properties. I got following error while …

Member Avatar for Ancient Dragon
0
146
Member Avatar for kinger29

I am using Visual Studio 2010, this should apply to any version of Visual Studio running a version of .Net with TabControl and TabPage. I want to create my own tabpage that I can add to a tabcontrol. I have tried creating a new class where I inherit System.Windows.Forms.TabPage but …

0
133
Member Avatar for altXerror

i'm having problems with this code. it's supposed to be a simple loan calculator i had to fix, but i can't get it to work. my freinds told me it wasn't possable to complete using 'catch', 'try' and 'throw' (not using throw), so i attempted to fix it with that. …

Member Avatar for SgtMe
0
216
Member Avatar for Goddard

I am trying to display a report, but can't figure out how in vb.net and visual studio 2010...anyone care to help?

Member Avatar for Netcode
0
84
Member Avatar for MyPianoSucks

Hey everyone, Today i was just studying C++ and i needed to do a simple program with a "GradeBook.h" file, a "GradeBook.cpp" and a "main.cpp".Just to test how class works . I had already wrote all source code for this files, but when it cames to compile nothing appears, i …

Member Avatar for MyPianoSucks
0
191
Member Avatar for iamsmooth

Hi. So I'm new to Visual Studio, and created a project with lots of windows. The problem is I want the program to be seamless, i.e. when you progress through a dialogue that goes to another windows form, I want it to remain in the same location and seem like …

Member Avatar for Antenka
0
151
Member Avatar for TJVR

Hi Please help with the following. This is my code: [CODE]<%@ Page Language="C#" Debug="true" %> <%@ Import Namespace="System" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Configuration" %> <%@ Import Namespace="System.Xml.Linq" %> <%@ Import Namespace="System.Data.SqlClient"%> <%@ Import Namespace="System.Data.OleDb"%> <html> <head> <title>Session Page 2</title> </head> <body><p>ASP.NET C# session page 2</p> <p>first name: …

Member Avatar for catherine sea
0
206
Member Avatar for dre-logics

I use: Visual studio 8.0 MySql database Two table's: table :Groups, two fields : groupnb,groupdef table Article,three fields : articlenb,group,articledef I want to show with the DataGridViewComboBoxColumn two fields from [COLOR="Red"]groups[/COLOR] table . But i want only link field "articlenb" to column, but a want o show filed "Articlenb" and …

Member Avatar for vigorniensis
0
452
Member Avatar for Jarrhed

I'm having a whole lot of difficulty attempting to add data to a multi-column ListView Here's the code for the ListView [CODE]ListView Height="263" Margin="12,29,12,0" Name="Tasks_ListView" VerticalAlignment="Top" ItemsSource="{Binding Source=}"> <ListView.View> <GridView> <GridViewColumn Width="91" DisplayMemberBinding="{Binding CourseName}" Header="Class Name" /> <GridViewColumn Width="275" Header="Assignment Name" DisplayMemberBinding="{Binding AssignmentName}"/> <GridViewColumn Width="110" Header="Due Date" DisplayMemberBinding="{Binding Path=Due_Date}"/> <GridViewColumn …

Member Avatar for Mitja Bonca
0
5K
Member Avatar for Halbo

I'm well versed in creating a setup file in VB .NET, but am working in the older VB 6.0 on an older project I've been asked to maintain. How can I create a setup file in Visual Studio 6.0? Thanks in advance! Halbo (More than a name; it's ... Dim …

Member Avatar for AndreRet
-1
371
Member Avatar for Maha Sh.

Hi every one, please could you help me in my project!! I'm trying to design a words game that's give you the first two letters from the word and you insert the rest to make a word (for now I'm just using "co" as example and I have just one …

Member Avatar for Maha Sh.
0
127
Member Avatar for araib

hey guys...!! i really want ur help in this program..!! its a Hospital management system program..!! it take input from the use..it can save input in a file..display all input on to screen, but i cant find a way to delete a record/patient details from the file PLZ help me..!! …

Member Avatar for araib
0
365
Member Avatar for nssltd

Hello, During development of one of my projects i have a tool strip bar when the user clicks a button the tool strip button = a URL of a website. but if the URL is a Google search page the text would be very long and you would only be …

Member Avatar for nssltd
0
131
Member Avatar for indrajeet6

Hi all I've just downloaded the Visual C++ express 2010 from the microsoft website. but when i try to compile and run the program, it says: "Unable to start program 'C:\Documents and settings\Indrajeet Roy\My documents\Visual Studio 2010\Projects\First Prog.c\First prog.c.exe'. The system cannot find the file specified." What do I do …

Member Avatar for indrajeet6
0
447
Member Avatar for gunbuster363

Hi guys, microsoft installed many things on my computer and most of them I don't know what they are. It make me feel so sick. I want to know what are they ( if anyone know ) and are they must be installed. Many thanks. Here is a list of …

Member Avatar for caperjack
0
505
Member Avatar for dre-logics

I use Visual studio 2008 I use MYSQL 5.1 I want only to backup database Test to to a specific directory. I use the [COLOR="Green"]application settings [/COLOR]to determine which directory(see attachment). [COLOR="Green"]Green[/COLOR] shaded code works perfect. [COLOR="Red"]Red [/COLOR]shaded code works not!! This is with My.settings. I can not see the …

Member Avatar for dre-logics
0
625
Member Avatar for TSims11

So I need to be able to close a window when I open another window... Here is my code: [CODE]private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { Form2 ^form2 = gcnew Form2(); form2->Show(); Form1->Close(); }[/CODE] All this does is close both windows... If you guys could help out a noob to …

Member Avatar for TSims11
0
277
Member Avatar for Vv IVIatthew vV

hey, i'm writing a piece of code and i got an error that i really don't understand. The code is below, but i had to post it all because i can't even understand the error, so i posted it all. The Error: [QUOTE]1>main.obj : error LNK2019: unresolved external symbol "int …

Member Avatar for Vv IVIatthew vV
0
344
Member Avatar for DrueY

Hi, I'm using the Windows Phone 7 emulator in Visual Studio 2010 and I need to get the source code of a webpage. I open the emulator and put in the web address and hit OK. Nothing happens. I hit OK again after a few seconds and voila my text …

0
65
Member Avatar for stelman

Hi there, I want to use a PictureBox in my project. The PictureBox does not appear in the default toolbox settings, so I tried to add it myself. I opened tools->choose toolbox items->.NET Framework Components and I chose the PictureBox along with other controls that are selected by default, but …

0
90
Member Avatar for malayasthana

can someone tell me how can i list all the .txt files of a directory or folder by a c++ program. please tell . i have tried void f_ListFile() { system("cls"); system("DIR /b D:\\*.txt"); getch(); } it is working for this but when it is something like this below void …

Member Avatar for Ancient Dragon
0
122
Member Avatar for jlininger

Hi I am new to the programming world . I took a certification course for my MCTS .net I passed one of two certs for MS. But even though i undersatnd syntax i don't get coding in its entirity. I don't want to see that my time and money went …

Member Avatar for Diamonddrake
0
101
Member Avatar for malayasthana

in the program i am creating a file with specific path.. file name is to be entered by user and then we have to create a file but the code is giving the error written after the code. void f_Createfile() { string dirpath; // stores final name for file with …

Member Avatar for jonsca
0
132
Member Avatar for Kingcoder210

I have created my program there in vb.net(visual studio 2008). I have used crystal report to show reports. However after creating setup file by advance installer I have tried to install it there in my client`s pc. Everything is working but crystal reports are not working. When I am trying …

Member Avatar for Naveed_786
0
475
Member Avatar for Gatsby

Hi, All. I created several basic programs on Visual C# Express and now I'd like to get into the Web Developing / ASP.NET side of Visual Studio. I downloaded Visual Web Developer and all my previous C# programs are now accessible and editable with Visual Web Developer. So, my question …

Member Avatar for Gatsby
0
312
Member Avatar for Jean Chew

Hi, can some kind soul advise me on my coding cos it does not seem to work. [CODE] private void DisplayText(object sender, EventArgs e) { textBox1[COLOR="red"].Display[/COLOR](); if ([COLOR="red"]10<x && x<294[/COLOR]) [COLOR="red"]&&[/COLOR] [COLOR="red"](-5<y && y<13[/COLOR]) && (-12<z && z< 228)) textBox1.display("It has moved inwards"); else if (-53<x<-265 && -11<y<37 && -57<z<218) …

Member Avatar for apines
0
193
Member Avatar for Gumbo

Hi I'm doing an assignment on Rational Number calculations. I'm getting some compiling errors which I don't know how to fix. Here is the error message and the code is beneath the error message. I would really appreciate if someone could read over this and see if you know whats …

Member Avatar for Gumbo
0
186
Member Avatar for Purrenhage

I am learning C++. This class project was to write a program that will let you enter a diver's first and last name and city. Also 5 judges results along with the difficulty for the course. Then display the results. It is suppose to ask if you want to enter …

0
78
Member Avatar for michal_nowak

Hello, I'm completely newbie, I used pairs from <utylity>, but now I'm in need of something like "thirds", so I decided to create a template. I started with: [CODE]template <class T1, class T2, class T3> struct thirds { typedef T1 first_type; typedef T2 second_type; typedef T3 third_type; T1 first; T2 …

Member Avatar for mrnutty
0
141
Member Avatar for mommabear

I'm getting a few error codes on this part of my lab. I showed it to another colleague and he said that it should work as written. Maybe one of you can see the error that I'm missing. I'd love to be done with it and get it turned in. …

Member Avatar for mommabear
0
243
Member Avatar for tendaimare

'A way to connect to SQL with VB.Net using Classes 'This must be a class on its own Imports System Imports System.IO Imports System.Data Imports System.Data.SqlClient Imports System.Web Public Class frmConn Public Shared Function ConnSQL() As SqlConnection Dim connectionString As String Dim cnn As SqlConnection connectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\App_Data\test_db.mdf;Integrated Security=True;Connect …

Member Avatar for AndreRet
0
2K
Member Avatar for Mubusher

sir i am having a Visual Studio 2008 but it not install with crystal report when i open add new item-> its didnot contain Crystal Report how can i add crystal report and make crystal reports in visual studio 2008 how i install crystal report with visual studio 2008 only …

Member Avatar for Luc001
0
582
Member Avatar for dstaner

Hello, I'm just learning C++ and I'm getting an error with a program that is driving me nuts, and I'm not exactly sure how to resolve it. Can anyone help me? [QUOTE] AreaCalculator.obj : error LNK2019: unresolved external symbol "double __cdecl AreaOfTriangle(double,double)" (?AreaOfTriangle@@YANNN@Z) referenced in function _main \\.psf\Home\Documents\Visual Studio 2008\Projects\AreaCalculator\Debug\AreaCalculator.exe …

Member Avatar for dstaner
0
489
Member Avatar for poorchap

I have a windows form application(done on VISUAL STUDIO 2008 ). It is about making a better GUI and i make use of a flowlayout panel and buttons. I have a problem on the buttons after copying and pasting it. after double clicking the buttons , it'll lead to another …

0
92
Member Avatar for r3s3v0ir

Good evening guys.... i'm newbie in here and in c++... while i in the middle of pratice in making program... i try to make a stack that can check whether the string that user input is palindrome or not. i'm using visual studio 2010 and get autos error this is …

Member Avatar for Taywin
0
233
Member Avatar for jeffpro

I have a program that works on Windows XP but when I try to run it on Windows 7 I get this error. Debug Assertion Failed! File: c:\program files\microsoft visual studio .net 2003\vc7\atlmfc\include\atlcomcli.h Line: 148 Expression: p!=0 I've googled for hours.

Member Avatar for arkoenig
0
111
Member Avatar for ShontiD

Using Visual Studio 2008...My assignment is to use the file SalesData.txt to load an array of structs, and use the array of structs to show to the screen a control-break report which breaks with each change in salesperson and shows each salesperson's total sales. I have not finished but I …

Member Avatar for Ancient Dragon
0
146
Member Avatar for Sharpmax

Hello guys! I am new to web development in general and C# particularly. Recently I have been given a project to create a simple web application, using C# and .NET. The application is divided into three parts: Data Access Layer with an XML file attached to it, the Business Layer …

Member Avatar for alc6379
0
154
Member Avatar for silversurfer515

Hey guys, Does anyone have a simple program which can be compiled on visual studio 2010 for windows that opens a socket to a given webpage and allows you to read the html just as you would with a local file? I don't want a html parser, I just wish …

Member Avatar for jonsca
0
281
Member Avatar for deadelgabar

hi, my name is saad. i will start working at my graduation project. we should do a windows mobile application. the project is a mobile application interacting with a web-site to help people avoid traffic jam. description:- we should develop a mobile application which will work on (HTC) windows mobile, …

0
139
Member Avatar for hueikar

I would like to do a coding to delete the txt.file that i had created before using visual studio..can anyone teach me the coding?thank you.

Member Avatar for AndreRet
0
920
Member Avatar for hueikar

Hi.i am facing the problem that is when i open my file in datagridview.it didnt have extra column let me edit(add,change) the data.Besides that, when i want to save it into textbox.it will appear like it added 1 more empty column between each column..why it will save like that?please help …

0
43
Member Avatar for acheo

How can I listen for new connection as well as lisstening for ongoing communication with TCPIP? I have the following code which properly listen for new connections, sends and receive data. However, if the client application sends new data from an existing connection I don't see anything. [CODE] using System; …

Member Avatar for darkagn
0
150
Member Avatar for mls

I am planning to create a webpage to collect simple information. Name, email, phone number, college name and also their markes in each subject Exam subject1 subject2 subject3 subject4 Result test1 85 77 90 90 pass test2 89 89 74 74 pass test3 88 91 98 98 pass Name: College …

Member Avatar for mls
0
179
Member Avatar for cr6564

Hello! I am learning how to program on my own in visual basic. I have made a program where the user selects a batch file from a datagridview that is populated with information from the hard drive. I have been able to get the selected item to show up as …

Member Avatar for codeorder
0
653
Member Avatar for Purrenhage

2 week in programming I am learning to program in C++. I started off with 26 error, and now I am down to 1. I just dont understand what it is asking for in the errors. Can somebody help me out? I have tried to look on the internet but …

Member Avatar for manojwali
0
154
Member Avatar for juand89

Hello, I'm new to python world (I had only programmed on Visual Basic or Delphi), right now I'm doing a program on ironpython studio in wich I need to switch between forms. The thing is that I don't know where and how to initialize "form2" from "form1" to call it. …

0
98
Member Avatar for ana_1234

myint.h [CODE]#include <iostream> // so that we can overload << and >> using namespace std; class MyInt { // these overload starters are declared as friend functions friend MyInt operator+(const MyInt& f1, const MyInt& f2); //friend MyInt operator*(const MyInt& f1, const MyInt& f2); /*friend MyInt operator++(MyInt& f1, int); // postfix …

Member Avatar for ana_1234
0
399

The End.