4,928 Topics
![]() | |
Greetings! Just want to ask how to create a C/C++ ide then link to a compiler? any advice? can I use a visual studio for creating an IDE?... Thanks Best regards, glenndr_15 | |
Errors: 1>c:\users\will\documents\visual studio 2010\projects\sdl test\sdl test\main.cpp(239): error C2065: 'string' : undeclared identifier 1>c:\users\will\documents\visual studio 2010\projects\sdl test\sdl test\main.cpp(239): error C2146: syntax error : missing ';' before identifier 'str' 1>c:\users\will\documents\visual studio 2010\projects\sdl test\sdl test\main.cpp(239): error C2065: 'str' : undeclared identifier Code: `string str;` For some reason strings are giving me errors. | |
Hi. I'm Jens from Sweden. I have been programmming mostly embedded (AVR) using C for a couple of years. Tried Java (for Windows and Linux on desktop PC) but discovered lots of problems with that. Also tried C++ with CodeBlocks or other IDE's. Struggled with QT4 designer for a while … | |
Please help me, I want to enable ajax extensions in my tool box. This is my first time I want to use ajax extensions. When I click show all on the toolbox, it show the ajax extension panel but the control can't be drag to the form, please kindly help … | |
Hi I have a question in writing this code. it goes as follows: i have to 2dropdown lists , that is the start location and the end location . if the user selects a start and a end location the distance falls to a textbox called txtdistance. can anyone help … | |
Hi, This is my Second post here pls tolerate my english I am making a WPF app with a media element i have added a media element a play button & a stop button bt when i start debugging the the process starts bt the app is not visible i … | |
Dim ADP As SqlDataAdapter = New SqlDataAdapter Dim CONN As SqlConnection = New SqlConnection("Data Source=|DataDirectory|\dbTesting.sdf") Dim COMM As SqlCommand = New SqlCommand("SELECT * FROM tbTesting") Dim DS As New DataSet CONN.Open() Dim DR As SqlDataReader = COMM.ExecuteReader() DR = COMM.ExecuteReader() TextBox0.Text = DR("Test").ToString This was my coding in order to … | |
Hello How do I write a C++ program targeting a x86 version of Windows CE in Visual Studio 2008? It doesnt show me Windows CE and more so, all it targets is ARM. Thanks | |
how can i change the value of data in crystal report base on the selected item in listview? i am using mysql and visual studio 2012 | |
I know that its very simple to save an image source in a MySQL database but my problem is that how can I save an image source and add it to my project's resources so that I can call it easier even if I transfer my Application to other PC, … | |
Hello every one and thank you all for your sweet replies. I am making a project in VB.NET, after the completion of project, is it possible to install it in anyone's computer? I mean to say, the project which I have made in VB.NET 2008, can be only run through … | |
Hi I am developing a windows application. For your infomation FRONT END : C# (VISUAL STUDIO 2008) BACKEND : SQL SERVER 2008 In a single form I have an option for add and remove client. Two different buttons are used(Add and delete clients). When I click on Add button the … | |
Background: I am using Visual Studio 2005 Standard SP1 to create an ASP.NET website that accesses an SQL 2005 database. I am using vb.net as well. I am passing an ID in a query string from one page to the next, where I retrieve it using an SQLDataSource. The data … | |
Problem: Write a program that prompts the user to enter some number of 1, 2, 5, 10, 20, 50 and 100 dollar bills. Query the user separately for the number of each size dollar. I think I've completed the code pretty well but the last part of the question states: … | |
Hello everybody... I have been using c++ for a while for console applications, but now I need to make a simulation of a soda factory, implementing multi-threading and GUI. I was using Dev c++ for console apps, and I tried to install some dev-packs for multi-threading and GUI development as … | |
Same project as before but now I have diffrent Errors. fatal error C1075 and error C2450. //Project 7.4. Program determines what your weight would be on another planet.2.3. #include <iostream> #include <cmath> using namespace std; int EarthWeight ; int WeightOnPlanet, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto ; int … | |
how can i play music in C# visual studio please give a simple example. | |
Just noticed an uncanny resemblence between Microsoft's visual studio 2010 website and daniweb. http://www.microsoft.com/visualstudio/eng/downloads#d-2010-express I mean color scheme, shades of gray, same purple top bar, same gray bar under purple bar, etc.... What's up with that? | |
if im doing a dll in dev c++ ..... and doing a dll in c++ but using visual studio 2010 is both of them gonna be the same?? i mean..ermm..if the computer doesnt have the visual studio will they be able to run my dll project which using c++ language... … | |
I am using visual studio 2008 Professional / vb.net and sql*server Express (9.0) *I am using DAL table adapter logic for db access.* One of my tables needs to have a field changed from smallmoney to decimal (9,2) to accommodate larger values. After making the changes below, I am now … | |
 Select CustomerID,SalesID,CustomerName,Num_Of_Bottles,Price,Status from sales,customer where Date = DATE_FORMAT(NOW(),'%b %d, %Y') and CustomerID>0 Order by SalesID DESC | |
Im in a programing class and my teacher had a heart attack and is away, the supply knows nothing. The project is to create a program using a swtich structure to calculate the weight on a specific planet. I have no i idea if i am doing this right. Can … | |
**Hello everybody!** I made a program which is able to calculate your age. You can find the source code below this text. There is already posted an article like this on http://www.daniweb.com/software-development/cpp/code/331349/c-code-for-simple-age-calculator But, my program is: **- Without mistakes**, it doesn't give your computer wrong instructions. **- More accurate**, because … | |
Hello All, Recently I have been working on a level editor in Visual Studio 2010 so that I can make levels for games and upload them into my game engine. My problem, however, lies within the "saving" part. 1) I start off with an empty panel with thousands of controls … | |
Hi i am a student of computer programming. our teacher give us an assignment to make some kind of management system using Visual studio-Windows Application Form. please suggest me different types of management systems which are easy to make, because i am at beginner level. Thank u. | |
I coudnot process video files in OpenCV 2.1. I hav OS x86 windows 7,Used visual studio 2010. When i first run a simple grab a frame from a video file (.avi) some missing dlls(msvcr90d.dll) error happened. Then I installed Visual Studio 2008 express. Then an another error happens R6034 , … | |
I have created a cube in visual studio, when i want to deploy it i get the following error: Error : The project could not be deployed to the 'USER-PC\SQLEXPRESSR2' server because of the following connectivity problems : A connection cannot be made to redirector. Ensure that 'SQL Browser' service … | |
Hi, I am writing code for connecting to an access database in my windows 7 machine. Am using visual studio 2010 with access 2007. While debugging the code am getting the exception **"The 'Microsoft.Jet.OLEDB.4,0' provider is not registered on the local machine"**. Below is my code, Try connection = New … | |
guys please help me,, Im using DevComponents office ribbon for the inteface of my application, every thing seems ok, but sometimes my IDE suddenly crashes until I get this error message when I open References section in project property: An error occurred trying to load the page. Exception has been … | |
I tried to run the basic code to create and open a window . The code is as follows : #include <iostream> #include <SFML/Window.hpp> int main() { // Create the main window sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window"); // Start main loop bool Running = true; while (Running) { App.Display(); … | |
Through using Visual Studio to learn more about ASP.net and VB.net I would like to connect to a database. I create an .mdf database file but I've no idea how to connect to it (well, I have some code below...) that's not my only problem but I'll ask the next … | |
Someone a few months ago told me that I had to change a bunch of code from stuff like this... // config_options.h // define _FOO if and only if you want option foo to be available #ifndef _FOO #define _FOO #endif // main.cpp #include "config_options.h" #ifdef _FOO void foo() { … | |
I have just started getting into SFML and Visual studio as well . I have always worked on turbo c++ . I am not sure I understand the very first code that I have come across while getting into SFML . Here is the program.. #include<iostream> #include<SFML\System.hpp> int main() { … | |
Why is 'BusyIndicator' not found? I am using Silverlight 5 toolkit and I am references that version of Silverlight.Windows.Controls.Toolkit in my silverlight demo. But I get this error and I do not know what to do Error 16 The tag 'BusyIndicator' does not exist in XML namespace 'clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit'. C:\Users\Bobbi\Documents\Visual Studio … | |
If I execute the program from within Visual Studio, the program runs absolutely fine. Once I put the .exe from debug on a different computer, it gives a error of No Value Given for One or More required parameters. I know that it could be that the parameters are incorrect, … | |
*From the Visual C++ Team Blog:* Visual Studio Express 2012 for Windows Desktop is now available for download. http://blogs.msdn.com/b/vcblog/archive/2012/09/12/10348456.aspx Additional details and further discussion here: http://blogs.msdn.com/b/visualstudio/archive/2012/09/12/visual-studio-express-2012-for-windows-desktop-is-here.aspx *ETA: post intended for the News Stories section -- if the Mods could kindly sort that for me?* | |
I created a UserControl that contains a custom ToolStrip Control. While using the UserControl throughout an application, the ToolStrip control cannot be accessed directly, as logically it's embedded in the UserControl. So, to access the items of the ToolStrip I defined a readonly property in the UserControl class that returns … | |
Hello. When I click Add query on combo box for example, I edit the SQL statement by adding 'WHERE Club = @uClub'. Then I get the error: 'An error occured while trying to create parameterized query: Error in WHERE clause near @. Unable to parse query text' So how can … | |
i am using web developer 2008, my project web.config file has no starting tag for connectionstring, like <connectionstring> but has end tag only , and when i tried to create one then error oocured that it exists already , i did my best check the code section <?xml version="1.0"?> <!-- … | |
Bought a book in the Head First series about C#. The command to output text that they keep using in the book is MessageBox.show("text"). However in order to work for me I need to do Response.Write("text"). Is this because I downloaded Visual Web Developer instead of Visual Studio? The project … | |
I've tested my application with the build in localhost in Visual Studio 2010 and it responds great. When I published the page and go to the login page, it takes FOREVER to load. Once it logs in, it renders all the internal pages quickly. Any idea? | |
I am trying to build a Web Application using Visual Studio 2005 and C# 2005. I need to accept a date in a particular textbox. I tried to use AJAX Calendar Extender for the purpose. I have added AJAX Script Manager and CalendarExtender controls to the webpage and set the … | |
Hello i dont know how to connect to a database in windows fprm application (in visual studio 2010) in C# | |
Hi, I am totally new to lib png and png++ and have recently made my first project with these on linux. But have no idea how to use png++ on windows. I have my libpng configured on windows and am wondering how to move towards making png++ available and running … | |
Hi, I'm making a program using Visual Studio 2010. I'm strugging with how to correctly use classes and their instances. For example; What is the difference between using the following ways to call function from one class within another... Example 1: Dialog.h #include OtherClass.h MyOtherClass myClass; Dialog.cpp myClass.MyFunction(); Example 2: … | |
Hi guys I'm Indrajeet Roy, and I have a problem with a piece of code I am trying write in VB.net. I am using Visual Studio 2010 as my IDE. The basic idea behind the form and the coding I am trying to do is to create a username, password … | |
hai! I am new to visual studio 2010. I am trying to develop a miniproject related on atm. But I have syntax error(missing operator) in query expression on 'Accountnumber=and PIN='. are you help me to correct this error? My coding is, op = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source = F:\atm1.mdb") op.Open() cd … | |
I can't find the bug in my code. The error that pops up says "Expression: invalid null pointer". Visual studio isn't giving me any line to go to or really any help except once I run the program the error above pops up. The weird thing is everything compiles correctly … | |
I have been following this tutorial about "How to: Preserve and Restore Page State for Windows Phone" found at http://goo.gl/ct7ui and one of the lines of code is this: protected override void OnNavigatedFrom(System.Windows.Navigation.NavigationEventArgs e) { // If this is a back navigation, the page will be discarded, so there // … | |
Hi All, I am trying to use the aspnet_regsql command to add asp.net schema to a database in the app_data folder of my project. I ran this command: aspnet_regsql -A all -C "Data Source=.\SQLEXPRESS;Integrated Security=True;User Instance=True" -d "C:\USERS\ALEX\DOCUMENTS\VISUAL STUDIO 2010\PROJECTS\ASPSLDB\ASPSLDB\APP_DATA\SLDBASP1.MDF" This should add the schema to the database using the … |
The End.