4,297 Topics

Member Avatar for
Member Avatar for MasterHacker110

When i compile my code with visual studio 2010 express i get the following errors: 'Client.exe': Unloaded 'C:\Windows\SysWOW64\WSHTCPIP.DLL' And with the other program i get these: 'Server.exe': Loaded 'C:\Users\User\Desktop\Server\Debug\Server.exe', Symbols loaded. 'Server.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file 'Server.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB …

0
95
Member Avatar for MasterHacker110

Why do i have to include stdafx.h everytime in visual C++ 2010 express. Evertime i make a project i have to include that damn header, whats so special about it and how can i avoid including it and still compile my program. I have tried to leave it out but …

Member Avatar for MasterHacker110
0
604
Member Avatar for complete

I cannot edit or add a path to a referece file. I have inherited a project at work. Whern I open the project and go to the references scetion in the Visual Studio 2012 IDE there are some little yellow warning signs showing that there is something amiss with the …

Member Avatar for complete
0
131
Member Avatar for C++ Forever

I'm having a really werid issue with overloading the insertion operator (<<). Here's my code snippet: class instream { void operator<< (instream&, char[]); }; Visual Studio keeps telling me I have "too many arguments for binary operator <<". I don't see the problem here. Is there something obvious I'm missing?

Member Avatar for rubberman
0
92
Member Avatar for Suzie999

Whenever I create some small tool in c++ dll for use with another language, a new user always has to download the microsoft redistributable package and install it. Is there anyway to add the resources needed from the redist, to my dll? How even do you know what resources it …

Member Avatar for Suzie999
0
199
Member Avatar for theashman88

Hi Its been about a year since I've been on this site, Back when I use to use XP for my operating system and Dev-C++ for my compiler. But Now I have WIndows 8 and I tried downloading Dev-C++ but I kept getting this message. "g++.exe has stopped working." So …

Member Avatar for adityatandon
0
655
Member Avatar for MasterHacker110

I wrote my first C# program bur now i cant find the .cs file or the .exe program any where. where is it and how can i setup my compiler to make those files on my desktop. I am using Microsoft Visual Studio C# Express 2012 Thanks....

Member Avatar for thines01
0
129
Member Avatar for eagle_phoenix2

I am using visual studio 2010. I wanted to compile my cpp from cmd. I can compile it using "cl file.cpp" comand in visual studio developer command line tool. But I wanted to compile it from the built in cmd of windows. When I try to use the command "cl …

Member Avatar for eagle_phoenix2
0
737
Member Avatar for arabgogs

Hi Guys, I have been browsing this site for a number of years now for articles, advice and code snippets, with great interest in the expertise displayed, never actually posting any questions until now. I have been coding for a number of years now using procedural code, with breif interludes …

Member Avatar for Reverend Jim
0
154
Member Avatar for Maha Sh.

Hi all, I'm trying to get some values from my database using data reader. Its my first time in using dataReader and I have this error "Value of type 'System.Data.SqlClient.SqlDataReader' cannot be converted to 'String'." My code Public Sub LogIn(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim …

Member Avatar for Maha Sh.
0
256
Member Avatar for Shwetha Dali

Hi, I have created a widget inside dashborad using the following link. But i'm not able to move the widget to desktop. Can anyone tell me how to do it. **I'm using Windows XP operating system and Visual studio 2008.** Here is the link. http://demo.dynamicdashboards.net/Pages/About/tutorial.aspx Thanks in advance, Shwetha

0
81
Member Avatar for anuj.juthani

I am developing a IE toolbar using MS VISUAL STUDIO 2010 VC++ I have a popup menu, having two options WEB SEARCH and IMAGE SEARCH. my problem is the pop up menu works fine when i see the output in DEBUG mode ... The pop up menu works fine even …

0
227
Member Avatar for ravenous

At work we have a large number of unit tests that try to alert us that we have made changes that have broken our code. Many of these tests work by evaluating functions under known conditions and comparing the result with the known result. The known result is acquired by …

Member Avatar for santakdalai90
0
332
Member Avatar for Maha Sh.

Hi all, :) I am creating a log in form and I connected to my database and when i run my form I keep geting this error "NullRefrenceExeption was unhandled by user code" Object reference not set to an instance of an object. I'm getting the error in this line …

Member Avatar for hericles
0
318
Member Avatar for Valiantangel

i was learning about Functions from a book.Keyed in the following code to my visual studio express and got two errors: expect a declaration and '{' : missing function header(old-style formal list. what do they mean? Does this have to do with ans/isoi std? #include <iostream> using namespace std; void …

Member Avatar for Valiantangel
0
125
Member Avatar for Oxiegen

Hi! Ok. So I've got this problem. I have a reference to a WebService that provides a whole bunch of classes representing a table in a database. Now, it's a simple thing to retrieve a list of all those classes and store them for future use. What I would like …

Member Avatar for Oxiegen
0
154
Member Avatar for smarty_t2

I wrote a program in C# for my discrete mathematics class and it worked absolutely fine. My teacher asked me to submit the code in c++ so she can run it on her mac and so I created a new project and typed the code in. After changing everything required …

Member Avatar for ravenous
0
2K
Member Avatar for george8

Hi all... I hope you have good time .... I have problem in the new program and I want to your help .. I want to back up the database type from Access, but my problem I could not generate code to determine the path of the database, I noticed …

Member Avatar for Sahil89
0
312
Member Avatar for Subhajyoti_Saha

Hi, I am trying to create a custom listbox control by inheriting the default system.windows.controls.listbox class which would automatically select the item based on keyboard input. Currently the listbox provided in Visual Studio is capable of searching only on the first letter, but I am trying to create onw which …

Member Avatar for artemix22
0
109
Member Avatar for NyQii

Im trying to run a sipmple program in c++ using openGL but get these errors... can somebody please help me? Error 1 error LNK2028: unresolved token (0A00002D) "extern "C" int __stdcall __glutCreateWindowWithExit(char const *,void (__cdecl*)(int))" (?__glutCreateWindowWithExit@@$$J18YGHPBDP6AXH@Z@Z) referenced in function "extern "C" int __stdcall `anonymous namespace'::glutCreateWindow_ATEXIT_HACK(char const *)" (?glutCreateWindow_ATEXIT_HACK@?A0x6d0c8cb1@@$$J14YGHPBD@Z) c:\Users\Surané\documents\visual studio …

Member Avatar for NyQii
0
241
Member Avatar for denethor

Hello do you know whats wrong with this code? #include <stdio.h> #include <allegro5\allegro5.h> #include <allegro5\allegro_primitives.h> #include <allegro5\allegro_image.h> int main() { al_init(); FILE* pFile; return 0; } If I compile it, it fails and output is: main.c 1>c:\users\beda\documents\visual studio 2010\projects\c allegro\c allegro\main.c(9): error C2143: syntax error : missing ';' before 'type' …

Member Avatar for Ancient Dragon
0
203
Member Avatar for RichardLim

I am a newbie in programming and I'm using visual studio. i typed in this #include <stdio.h> #include <conio.h> #define PI 3.1416 void main(void) { float radius, circumference, area; radius = 2.5; circumference = 2 * PI * radius; area = PI * radius * radius; printf("radius of a circle …

Member Avatar for BobS0327
-1
123
Member Avatar for shamsu50

hello, i get a error in my design form: at EnvDTE.CodeFunction.GetStartPoint(vsCMPart Part) at Microsoft.VisualC.CppCodeParser.OnMethodPopulateStatements(Object sender, EventArgs e) at System.CodeDom.CodeMemberMethod.get_Statements() at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration) at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager) at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager) at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host) error list say this: Warning 1 Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) 0 if i ignore …

Member Avatar for johnwhi
0
411
Member Avatar for Eniekko

hi! I've searched for backup and restore codes. I've also tried them out but they won't function as I want them to. I think the main problem is that, the database that I want to backup is contained inside the visual studio project under App_data. Can anyone please help me …

0
82
Member Avatar for pjh-10

how do i get output which would normally appear on the screen, as in the Microsoft visual studio command prompt, written to a file such as a simple text file. say << X << is the output, what do i do from here? thanks

Member Avatar for BobS0327
0
517
Member Avatar for jrpaarlberg

I was wondering if anyone could help me. I am working on a program in VS2008 with C# which has a datagridview populated from 2 SQL Express tables and needs to save to only 1 database. Below is the code I have working so far: public frmGrid() { BindingSource bs …

0
147
Member Avatar for jdevin1

I am trying to create a sort of code library in visual studio 2010 where the form displays a list box of certain project files in vb that i have made in the past and when selected, a button can be pressed that launches the .exe files of those visual …

0
132
Member Avatar for queryme

Hi I am Trying to install visaulstudio2010 and sqlserver2008 in my lenovo laptop. I am having windows7 home premium on my machine. I have installed first sqlserver. installation done successfull but installed **Partially** means sqlserver management studio not installed. 1) Please let me know what should i install first. sqlserver2008 …

Member Avatar for faizan11
0
97
Member Avatar for tiredstruggler

My .cs file is not recognizing the objects on my asp page. I m working on Visual Studio 2010, when i reference any object like TextBox1.Text it shoes error, TextBox1 is on the page and its visibility is also true, still it's conflicting :( :'(

Member Avatar for Philippe.Lahaie
0
69
Member Avatar for Daffodil_Thursday

I am writing a quiz program in C# in Visual Studio. When I build it it doesn;t return an errors or warnings. However when I debug, it just brings up a blank screen with no text or buttons etc. I have tchecked all the names match those in the forms …

Member Avatar for thines01
0
238
Member Avatar for Maha Sh.

Hi All, I am using Visual Studio 2010 and for my database I'm using SQL I am trying to make a multi user login and valdate the input with my datatable the problem is that i made a login page but it's just check the username and the password but …

Member Avatar for Maha Sh.
0
124
Member Avatar for Andy90

Hi, I have two project solutions! Project1 and Project2. I want to merge these two, so there will be single solution Project1? I tried my best but unable to do so! How to do it without affecting my program, resources, assemblies etc.? P.S : I m using VS2010

Member Avatar for thines01
0
118
Member Avatar for sora90

I am trying to block a list of processes from Txt file/ Listbox Process using Timer. Here's a list of the codes Code blocks are created by indenting at least 4 spaces ... and can span multiple lines Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick …

0
142
Member Avatar for rigoalhn

Hi guys, im pretty much done with my program but im receivin an error that i cant find where it its. Im using a WPF application in visual studio and it uses a service reference that contains addresses and zip codes. The purpose of the program is for the user …

Member Avatar for rigoalhn
0
300
Member Avatar for ttugates

Hi, I am writing a program that displays a 2D array of strings, (non jagged) onto a windows form using Visual Studio 2010 and C#. For example: string[,] fds = new string[,] {{"ant", "aunt"}}; I attempted using the dataGridView controll, dataGridView1.DataSource = fds; but, get the length of the value, …

0
125
Member Avatar for Sonia kh

I have mentioned the code for checker board made on visual studio .I dont know whats the problem with this code .. it just draw only one row of checker board on the drawing window :( help me [code] //#include <windows.h> // use as needed for your system //#include <gl/Gl.h> …

Member Avatar for raptr_dflo
0
488
Member Avatar for Huston

Hey guys, I am making a simple c++ compiler with Visual Studio 2010, but I am stuck on the converting it to assembly bit(with c++ coding). What I am trying to do is convert the code they type(in a cpp file) to assembly, then translate it to machine code etc. …

Member Avatar for Huston
0
4K
Member Avatar for Mr.BunyRabit

I would like to know, theres no where on the internet i can find out how to make an auto numbering field EXPRESSION to auto increment my row. ive tried =RowNumber["xxx"] But nothing works... Any help?

0
57
Member Avatar for Aneeque

My code is perfectly working on Borland compilers but its not working on MS VISUAL STUDIO ..... please help me that how can i run this code into visual studio ...... ~~~ #include<iostream.h> #include<conio.h> #include<stdio.h> void main () { char array[11]; int temp; array[2]='/'; array[5]='/'; cout<<"Enter Date: "; for (int …

Member Avatar for VernonDozier
0
91
Member Avatar for Mr.BunyRabit

I have a report viewer in Visual studio. Now the report works fine. I can sort my report and what have you. But what i cant do is get what's outside the report viewer inside the report. How would i do that? I attached a photo to show you what …

0
73
Member Avatar for SyncMaster170

Hello all, I have a vb app that cannot find the reference specified. I am using VS2010. The only error I have is this: Error 2 Encountered multiple versions of the assembly with GUID '00020813-0000-0000-c000-000000000046'. Try pre-importing one of these assemblies. C:\Users\Anonymous\Desktop\Waynoka Apps\Waynoka Management\Waynoka Management\TlbImp Anon Management The reference is …

Member Avatar for Begginnerdev
0
127
Member Avatar for dsmoore

I have the following code that I cannot figure out how to get to work: namespace Project2 { public static class Variables { public static List<string[]> tran1; public static List<string[]> tran2; } } private void Submit_Click(object sender, EventArgs e) { //Find the schedules // Variables var; string[] transaction; transaction = …

Member Avatar for dsmoore
0
242
Member Avatar for Member #763471

Hey guys, I'm getting some kind of linker error. Any help would be appreciated. Here is what I have.. Header File: #ifndef _LinkedSortedList_ #define _LinkedSortedList_ #include "LinkedNode.h" #include "SortedList.h" template <class Elm> class LinkedSortedList : public SortedList<Elm> { public: LinkedSortedList(); ~LinkedSortedList(); void clear(); bool insert(Elm newValue); bool getfirst(Elm &returnValue); void …

Member Avatar for Member #763471
0
149
Member Avatar for jasleen_kaur

Hello, I want my program to take input from a file rather than from keyboard and also output it to a file not screen. I tried writing prgram. This is what I wrote in visual studio... 1. #include<iostream> 2. #include<conio.h> 3. #include<stdio.h> 4. using namespace std; 5. void main() 6. …

Member Avatar for jasleen_kaur
0
1K
Member Avatar for Gobble45

hello all, Ive been trying to figure out how to find the next empty row in an excel spreadsheet. My project is a VB project, written in Visual Studio 2010 Express. What i need to do is open the spreadsheet (that is predefined) and find the next available row. (in …

Member Avatar for Reverend Jim
0
1K
Member Avatar for shah1509

I have an application that can filter a datagridview based on date using a datetimepicker. The "date" column in my database is a datetime data type, hence it will contain a date and time stored within but there is some data which have only dates. My problem is my datetimepicker …

Member Avatar for Mitja Bonca
0
645
Member Avatar for nicewave

Could someone tell me why when I start a project, it added a new Form1, I can rename this to something else but I can't seem to rename the Form1.Designer.cs? How do I change the default form name? Thanks in advance.

Member Avatar for Mitja Bonca
0
117
Member Avatar for Billy1984

Hello there, Nowadays, I'm planning to develop a chat program (school project) and I need some help/advice. I did a little research and I have found a site with a sample program for chat building, it's called Ozeki VoIP SIP SDK. On this page, I found a good description of …

0
137
Member Avatar for outout1234

I am using mysql server 2012 and visual studio 2012 C#, i created a database and i can read the data from my database. The problem is that i cannot insert data into my database. Although the return value of the execution is 1, i dont see any changes in …

Member Avatar for Mitja Bonca
0
255
Member Avatar for game4tress

I've an application build with C# and WPF, that is being developed by 3 developers, including me. On a certain stage of the application, an error came up that we can't determine how it happened and how to solve it, so we ask for your help. Although everything works well …

Member Avatar for nmaillet
0
325

The End.