4,928 Topics

Member Avatar for
Member Avatar for Dave_6

After publishing my project on local IIS it worked fine but on the web its keep poping the error [ArgumentException: Invalid value for key 'attachdbfilename'.] many forum i search said its connection string from my webconfig file but i went the extra mile by removing the whole connection string and …

Member Avatar for hericles
0
590
Member Avatar for BibhutiAlmighty

hello guys, i am creating a simple quiz on c# in visual studio. I am stuck in changing the page(switchig to next question) when one question is answered. what should i do for that ? i tried by making a new form inside the previous one but its not a …

Member Avatar for .Net Fan
0
168
Member Avatar for kiail

I have a site that I can't seem to figure out. I'm extremely new to asp.net/vb etc...I do C# forms but nothing with web dev. Anyway, my problem is my page declaration shows up on a live website and none of the controls show up(buttons, etc). It works great in …

Member Avatar for JorgeM
0
144
Member Avatar for eneeri

how to calculate the total lates, absence ot and workng hours of each employee, that depends on their time in and time out, and also their summarry need ur help guys ,i used database table that consists of time sheet and summary and c# datagridview, microsoft windows form using visual …

Member Avatar for stpatrck
0
118
Member Avatar for nunntb473

I'll prelude this with I am a novice coder at best and this is mostly a hobby that I would like to do professionally one day, but that day may be 10+ years from now. So for now I tinker and learn here and there. Part of the reason I …

Member Avatar for nunntb473
0
2K
Member Avatar for steveroseik

Hey Guys, I Need your help please Now instagram updated, and the login page which is : htp://instagram.com/accounts/login have JS and the vb.net Webbrowser doesn't run JS, which means that the page never loads. So I Need to login to instagram and I don't know how. If anyone can help …

Member Avatar for cgeier
0
172
Member Avatar for yulbas

Hi I am new in WCF and i am working on a desktop application in which i want to get data from my database on webserver where my domain is hosted. To connect to my database i must whitelist my ip, i want to get data from anywhere with any …

Member Avatar for yulbas
0
203
Member Avatar for nolski13

Hello all, I am relatively new to programming in general - the last formal object oriented programming class I took was my freshman year of college (my jargon may not be accurate). So please, bear with me. If this question should be asked in a different area (such as the …

Member Avatar for LesF
0
230
Member Avatar for Violet_82

Hello all, I am very very new to ASP.NET - just started looking into it a few days ago - and I got a book out to get the basics of APS.NET, Visual studio (which I haven't installed as yet) and C# (the book is ASP.NET 3.5 a beginners guide …

Member Avatar for Violet_82
0
242
Member Avatar for Cave_1

Hi. I'm trying to use brace-initialization notation: int number{}; But I get the following error: "expected an expression". Shouldn't c++11 allow this kind of initialization? int number2(4) works just fine. Thank you.

Member Avatar for Cave_1
0
367
Member Avatar for haider885

i am trying to write input() function into file..... please help.... i am using visual studio 2013 // N Copy.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "iostream" #include "fstream" using namespace std; int _tmain(int argc, _TCHAR* argv[]) { fstream file; file.open("NCopy.txt"); file << …

Member Avatar for Hiroshe
0
257
Member Avatar for aluhnev

Hi can any one tell me please does visual studio 2012 support any features of c++11? Or only in 2013 version?

Member Avatar for mike_2000_17
0
283
Member Avatar for burhanahmed92

I am making a erp using WPF-C# and i have a confustion on how can i connect my app to sql server after compiling. I am asking this because my app connects to DB when i compile it with Visual Studio and SQL server is already installed on my pc, …

Member Avatar for ddanbe
0
1K
Member Avatar for m.a.u.

Greetings everybody, I have been developing a C++ project in VS2010. When I was writing data into a file, everything was ok. I modified the program to write data into a new array instead of a file. I had an error of stackoverflow. I checked the datatypes, array lengths etc. …

0
93
Member Avatar for coxxie

Develop class Polynomial. The internal representation of a Polynomial is an array of terms. Each term contains a coefficient and an exponent. The term 2x 4 has the coefficient 2 and the exponent 4. Develop a complete class containing proper constructor and destructor functions as well as set and get …

Member Avatar for NathanOliver
0
3K
Member Avatar for Blueie

Hello I am using the following try | catch to locate an error: Try Using conn As OleDbConnection = New OleDbConnection(System.Configuration.ConfigurationManager.ConnectionStrings("students").ConnectionString) Dim Sql As String = "INSERT INTO university (username,[password], strEmail) VALUES (@username,@password, @strEmail)" Dim cmd As New OleDbCommand(Sql, conn) conn.Open() cmd.Parameters.AddWithValue("@username", username.Text) cmd.Parameters.AddWithValue("@password", password.Text) cmd.Parameters.AddWithValue("@strEmail", strEmail.Text) cmd.ExecuteNonQuery() conn.Close() End …

Member Avatar for cgeier
0
199
Member Avatar for Alxprog

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 for Alxprog
0
360
Member Avatar for krunal1986

Hello, I have created a crystal report in VS2012. it is working properly on local but when i host site on live server then it gives below error. Could not load file or assembly 'CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. …

0
76
Member Avatar for xuexue

Hi! These are the basic things I know about iDB2Commands to be used in Visual Studio 2010. Could you please help me how could I extract data from DB2? I know `INSERT`, `DELETE` and Record Count. But `SELECT` or Extract Data and `UPDATE` I don't know. Imports IBM.Data.DB2 Imports IBM.Data.DB2.iSeries …

Member Avatar for xuexue
0
1K
Member Avatar for aluhnev

class Animal { string _name; string _type; string _sound; // private constructor prevents construction of base class Animal(){}; protected: // protected constructor for use by derived classes Animal(const string & n, const string & t, const string & s) : _name(n), _type(t), _sound(s) {} public: void speak() const; const string …

Member Avatar for NathanOliver
0
225
Member Avatar for Moaid

i'm using windows 7 64 bit machine , i have been using 'mingw' compiler for a lot of time and honestly i don't like it i want to try microsoft now since its a big company and all but i don't understand what should i download there are many versions …

Member Avatar for deceptikon
0
137
Member Avatar for Jihadyildiz

i have a windows phone project and i am trying to post data to website and get the data i have working windows form project code but when i try to use that code on wp8 i get error says `Error 2 'System.Net.HttpWebRequest' does not contain a definition for 'GetResponse' …

Member Avatar for hericles
0
202
Member Avatar for aluhnev

#include<utility> #include<tuple> #include "stdafx.h" #include<string> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { pair<int, string>p(42, "forty-two"); cout << p.first << " " << p.second << endl; p = make_pair<int,string>(112,"one-one-two") ; cout << p.first << " " << p.second << endl; return 0; } // Can some one help to …

Member Avatar for aluhnev
0
232
Member Avatar for aluhnev

#include "stdafx.h" #include<vector> #include<iostream> using namespace std; int main( int argc, char ** argv ) { // from initializer list (C++11) cout << "vector from initializer list (C++11): " << endl; vector<int> vi1 = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; cout << "size: " …

Member Avatar for sepp2k
0
201
Member Avatar for kimlong008

Hello Everyone ! I have build a c file but it use GNU library, I can not build it to exe file. It error because I don't know use MinGW to build. [Download file](https://sites.google.com/site/datazus09/crunch-3.6.zip). I have install MinGW but I don't know how to run it in my visual studio …

Member Avatar for kimlong008
0
313
Member Avatar for bananacat

I'm a little bit stuck at this moment. As of now, this is the code that I have: private void btnChangeImage_Click(object sender, EventArgs e) { using (OpenFileDialog openFileDialogForImgUser = new OpenFileDialog()) { string location = null; string fileName = null; openFileDialogForImgUser.Filter = "Image Files (*.jpg, *.png, *.gif, *.bmp)|*.jpg; *.png; *.gif; …

Member Avatar for cgeier
0
4K
Member Avatar for iConqueror

I am doing a little home project to learn more about collections and FileIO. I have made a little racing app where the user enters the racers details all of which are strings, and these details are inserted into a List<T> list and then once the user clicks the 'save' …

Member Avatar for tinstaafl
0
328
Member Avatar for iConqueror

I have been learning about the collections namespace in C# so have been doing some little self-made projects to learn. I have made a car race app where you enter in the name, car and place of the racer this is then stored in an array list. I can extract …

Member Avatar for ddanbe
0
2K
Member Avatar for rela

I am a beginner, and want to know how can run the code in notepad with visual studio. I tried with a simple code by --<<All Program -->microsoft Visual --> visual Studio tools --> visual Studio command prompmt. The error is: ''fatal error C1083: cannot open source file: filename.cpp: No …

Member Avatar for NathanOliver
0
706
Member Avatar for Sarkurd

Hi i tried to test some new features of C++ 11 but how come Visual Studio doesn't support `constexpr`? i tried this simple function but it won't compile constexpr int multiply(int x, int y) { return x * y; }

Member Avatar for Sarkurd
0
1K
Member Avatar for horizondesai

i have just installed visual studio 10. Im not familiar with it. I want to connect MDB file to it. I have googled that but could not find appropriate code. So would anyone help me finding the equivalent Visual Studio 10 code to the VB6 code i am pastng below. …

Member Avatar for cgeier
0
372
Member Avatar for Suzie999

Can abyone tell me what type of variable is a standard Form1? It's just a curiosity and not a real part of a project. here is the standard code visual studio starts with in my version 2010 when creating a new forms application with a couple of lines added/amended.. namespace …

Member Avatar for Suzie999
0
96
Member Avatar for Praise92

hi, im trying to insert data using Checklist and it is only inserting one even if i selected all che checkboxes, please help.hr is my Code protected void Button1_Click(object sender, EventArgs e) { //C:\Documents and Settings\PraiseM\My Documents\Visual Studio 2008\Projects\MiniProjectAcc\MiniProjectAcc\Employee.accdb OleDbConnection conn = new OleDbConnection(); conn.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Documents and Settings\PraiseM\My …

Member Avatar for Praise92
0
165
Member Avatar for Suzie999

Following a tutorial [here](http://www.joecolantonio.com/2012/07/31/getting-started-using-selenium-2-0-webdriver-for-ie-in-visual-studio-c/). Code is as follows... using System; using System.Collections.Generic; using System.Linq; using System.Text; using OpenQA.Selenium; using OpenQA.Selenium.IE; using OpenQA.Selenium.Support.UI; namespace mySelenium { class Program { static void Main(string[] args) { IWebDriver driver = new InternetExplorerDriver(@"C:\Downloads\selenium"); driver.Navigate().GoToUrl("https://www.google.co.uk/"); } } } When I run the code all seems to …

Member Avatar for Suzie999
0
354
Member Avatar for low1988

Hi, I have been assigned to a system integration project. However, I do not understand part of the integration implementation arhitecture. For example, I have a passport scanner connected to a Windows Client application constructed in C++. The client application would going to pass the passport picture, name, address etc, …

0
80
Member Avatar for kdejan87

Hello. I recently begun using vb.net. I am creating a form application using Visual Studio Express VB 2008 and SQL server 2008. I have two forms. When the program start is not showing me any form. What is to be done that I could use two forms as one program. …

Member Avatar for ddanbe
0
125
Member Avatar for spyros.lois

Hello How can i maka a ppt viewer within a form application in c sharp? what is the control that will contain the presentation? i tried webrowser control but i gave up.

Member Avatar for du_1
0
175
Member Avatar for liq

Hi all.... I'm using visual studio 2005 with vb.net. I've got a radio button and if you check it it loads data from my database into my lisbox. that works fine. but i want to use it as a little search function so i have a textbox and if i …

Member Avatar for Reverend Jim
0
769
Member Avatar for Gimper

Hello everyone. I recently started using C++ and blah blah blah you know the rest. Using my extremely limited knowledge, I attempted to make a basic 4 function calculator CUI in C++. The code I wrote is as follows. [CODE]#include <iostream> #include <string> #include <sstream> using namespace std; char operator …

Member Avatar for rela
-2
3K
Member Avatar for kalcio

Hi, I want to use the microsoft office theme (rubban for example,the word button's form) in my C# wpf application,is it possible? I work with visual studio 2010 thanks for help

0
161
Member Avatar for Nikolas9896

Could you tell me how I can use the .docx file with Visual Studio 2013 but only with C++ code, and in my application **without** using **MS Word** or another wordprocess. Thanks. I wanna change formatting(bold italy, centre..) and text in .docx-files.

Member Avatar for NathanOliver
0
131
Member Avatar for bigredaltoid

Hi guys and sorry if this is the wrong forum. I am messing around with visual studio and trying to make a picturebox move around on a form when a user clicks a directional button on the form. I am able to move the picturebox any direction I want by …

Member Avatar for bigredaltoid
0
252
Member Avatar for iConqueror

I have a home project that I am working on that manipulates the network cards state ie on or off. I have already completed this usinng WFA, it runs with batch scripts that takes the adapters name and sets its state. However doing it through batch scripts, If I wanted …

Member Avatar for pritaeas
1
282
Member Avatar for bananacat

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> /// …

Member Avatar for cgeier
0
391
Member Avatar for Ado0NiS

i am making a software through visual studio in c# and i am facing a problem that when i enter wrong password according to my code it shows a message box of invalid password or username but after this it opens the next form .....plz give me help

Member Avatar for ChrisHunter
0
87
Member Avatar for rjbrjb777

helo friends. i need to deal with more than 10 excel sheets.. so i want to make an desktop application in Visual Studio(c#), which performs as followings..: 1) first user can choose on which file he wants to work on. 2) then retrieving column wise data, and performing many mathematical …

Member Avatar for balasukumar
0
267
Member Avatar for PM312

There is no **"Microsoft Outlook 14.0 Object Library"** in my **visual studio 2008 reference COM** List how can i update it. Thanks

Member Avatar for PM312
0
1K
Member Avatar for masonketcham

This is my first time working with C++ and I have put together this program and came up with two errors and I am unsure what it is wanting me to do. The errors I got are: 1>c:\users\owner\documents\visual studio 2010\projects\week5\week5\passing_by_value.cpp(30): error C2064: term does not evaluate to a function taking …

Member Avatar for Ancient Dragon
0
213
Member Avatar for jayesh.babu.140

I want to add one of the column in a database table as components in a combobox. How to do it? I am using visual studio 2012 and c#. Help me please. Thank you in advance.

Member Avatar for arunkumars
0
159
Member Avatar for LuisFS

Hello everyone I have a windows form application in Visual Studio 2012, with a datagridview. I need to save new data on this datagridview to a SQL database. Could anyone help me with the code or a procedure. The database name is PRISOON, and the table records to be added …

Member Avatar for OtepTheThird
0
164

The End.