4,928 Topics

Member Avatar for
Member Avatar for omoz4real

Hi everyone, I was wondering if anyone could help me solve the popular 8 puzzle problem in C# using the A* algorithm or using the manhattans distance heuristics. actually i know the theoretical aspect of it but programming it is a little bit more difficult for me though i have …

Member Avatar for ahyeek
-2
103
Member Avatar for tanha

Hi. I am using Visual Studio 2008, and Sql Server 2000, and I have the following code: [CODE] 'Load connection module connection() cmd = con.CreateCommand cmd.CommandText = "SELECT * FROM tblUser WHERE username = 'xxx' " da.SelectCommand = cmd da.Fill(ds, "tblUser") dt = ds.Tables("tblUser") MsgBox(dt.Rows.Count) [/CODE] I don't know why …

Member Avatar for anoopkh
0
7K
Member Avatar for Elmo_loves_you

Hi. I have previously designed an ASP.NET system that interacted with SQL Server 2005. I now want to design a desktop application using Visual Studio 2008 that interacts with an SQL database. I had planned to use the same sort of coding to implement this new system. For example - …

Member Avatar for Ramy Mahrous
0
163
Member Avatar for yazooney

When compiling a program i get this: Cannot open include file: 'afxwin.h': No such file or directory This is because I dont have an MFC library. This is because microsoft visual studio C++ 2008 express edition does not have an MFC library (need to buy the proffessional edition). Anyone know …

Member Avatar for ArkM
0
137
Member Avatar for Wiizl

I'm trying to make basic windows service that should write into application event log some text once every minute. So I'm using a timer. But the Tick event doesn't fire.. I've tried all kinds of timer1.start() or timer1.enabled=true ... but nothing works. Everything with service itself is ok- I mean …

Member Avatar for nvmobius
0
557
Member Avatar for vs49688

Hey, I am having a really weird problem with my OpenGL Program. When I compile it in Debug mode and run it through Visual Studio 6, it works fine, but when I run it from windows, it works fine until the part where you go to manipulate the camera of …

Member Avatar for vs49688
0
80
Member Avatar for toadzky

I am trying to use an existing access db file with my c# app. When I try to connect, it says that: "The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine." How do I register it/install it/whatever it is I need to do to make it work? Thanks. I …

Member Avatar for nvmobius
0
157
Member Avatar for saneeha

I am using memcpy()function.. memcpy(&_bpb, bBootSector, 512); where _bpb is the variable of structure, bBootSector is byte array the whole progran works fine but at the exit it generates the following error: "[B]Run-Time Check Failure #2 - Stack around the variable '_bpb' was corrupted[/B]." Can any one please guide me …

Member Avatar for saneeha
0
207
Member Avatar for drummerofgod89

About every 5 seconds, my Windows Explorer malfunctions and restarts. It is actually very painful to even type this message as we speak. My start bar as well as all of my desktop icons all disappear and reappear as Explorer restarts. I believe the error may have come from a …

Member Avatar for jholland1964
0
381
Member Avatar for kart_racer3

Greetings! I am currently working on a database project that I had started several months ago. What I am attempting to do is allow users to submit data to a database, and then allow them to query information from the database on a separate page. I have implemented database connectivity, …

Member Avatar for kart_racer3
0
60
Member Avatar for jack1234

In java we can use System.out.println In C# we can use Debug.Println but how to do it in C++? (The syntax, and where to look for the debug message)

Member Avatar for bugmenot
0
3K
Member Avatar for mattybennett

Hi all, Ok, so a little about me - I'm a Computing lecturer, but with that said programming is something I don't focus on. I tend to teach rich media, mainly Games Design. I do also however teach systems support. So, realising the gap, I thought I'd download all the …

Member Avatar for Lardmeister
0
170
Member Avatar for satheeshmanian

Hi All, When i tried to execute my ASP.Net Application, I got the Runtime error in IE " 'null' is null or not an object ". Im using Visual Studio.Net 2005 and using some Ajax Controls in my application. If i click some Events, it shows the above message. Please …

Member Avatar for MattEvans
0
322
Member Avatar for Sarlacc

I am currently working on a project to create a program to test a persons pitch perception. For this i need to be able to process a microphone input to find out what the note that is being sungs pitch is. What would be the best way to go about …

0
89
Member Avatar for knight fyre

[B][COLOR="Red"]My ideal career choice is to be a web developer - creating web sites with powerful functionality.[/COLOR][/B] So far I've learnt: [B][I]Front-End[/I][/B] xhtml, css, javascript [B][I]General[/I][/B] SQL, C, C++, and Java [B][I]Back-End[/I][/B] php ( just started learning ) [B][I]Applications[/I][/B] Dreamweaver, mySQL, Visual Studio, Eclipse, Borland, Apache [B][COLOR="Red"]What language/application do you …

Member Avatar for sTyleSHA
0
71
Member Avatar for gmgfarrand

Well, A client brought in a PC LOADED with Viruses and Spyware. Anyhow after numerous scans with Avast! and Ad-Aware, I came here and ran the suggested apps. The problem that still lingers is that whenever I goto the Screensaver Tab, I get the DLL as an App error. Prior …

Member Avatar for gmgfarrand
0
311
Member Avatar for knrakesh

Hello Guys, This is Rakesh Nagekar, when i open a visual studio.net and click on File -->New website --> Then the windows application,console application,class library, all those in project are comming those require for creating website is not comming. how to get back those please Rakesh Nagekar

Member Avatar for knrakesh
0
73
Member Avatar for Paua

Help me please; I want to create and insert a simple (manual) dropdownlist in gridview (visual studio 2008 +sql server 2005), ddl to read 1,2,3,4,5 etc. new to asp.net and nothing I've looked at makes sense so far. ps, not to sharp with c# either. if more detail required please …

Member Avatar for memafiaso
0
754
Member Avatar for bmz

Hi there... I have an active x control called openh323.ocx. This is used for making voip calls across pc's... I have searched the web on tips on how to use the ocx and what came up is to embed it as an object... And thats exactly what i did... i …

0
83
Member Avatar for masterjiraya

I have here the the cpp file named as clock [code=cplusplus] #include <iostream> #include <fstream> #include <string> using namespace std; #include <cstdlib> int main() { // ofstream constructor opens file ofstream outClientFile("clients.dat", ios::out); if(!outClientFile) { cerr << "File could not be opened" << endl; exit(1); } cout << "Enter the …

Member Avatar for masterjiraya
0
112
Member Avatar for manzoor

[url]http://www.codeproject.com/KB/cpp/loggerservice.aspx[/url] In the link above there are three project files, I get it to compile the test project (the last file) with no errors and warnings. But can't compile the rest. How to compile the client source files, it contains headers and cpp source files, i created a new projected …

Member Avatar for manzoor
0
540
Member Avatar for Mangocheese

Hello, I need some direction with getting started making a tile based game/map editor. I've searched everywhere but nothing really answers my question, so I thought I'd ask myself. Ok, before anyone says, I want to clear it up, I *want* to make a map editor and game separate applications …

Member Avatar for your uptime
0
127
Member Avatar for robertmacedonia

Hi , can anyone tell me what does this error mean? s\visual studio 2005\projects\igrabobi\igrabobi\Form1.h(124) : error C2451: conditional expression of type 'void' is illegal ? I got it when I tried to build my game. Thanks a lot

Member Avatar for robertmacedonia
0
143
Member Avatar for soroush68

I modified it by visual studio 2005 and it works with it correctly but i has errors by my old compiler(borland C++ 5.02). errors in the last code was caused by using clrscr(),gotoxy() & ... ,that functions was for just borland and was not standard. Does new code of this …

Member Avatar for soroush68
0
186
Member Avatar for masterjiraya

My target is to make a code of Cartesian coordinating points of a rectangle... then it must be tested by quadrilateral and square. If the tested point is a rectangle then the out put program will be like this..... Program Output: ************************************************************ ....+y .....+ ..............+ ..point a............................................................................. point b ..............+ …

Member Avatar for Alex Edwards
0
92
Member Avatar for kux

I try to create a generic binary tree class but when i try to define an inserting function I get these compilation errors error C2072: 'Btree<T>::recins' : initialization of a function error C2143: syntax error : missing ';' before '*' c:\documents and settings\kux\my documents\visual studio 2005\projects\btrees\btrees\btree.h 54 Error 6 error …

Member Avatar for ArkM
0
749
Member Avatar for Bill Purkins

Hi, using VB 2008 Express, I have a button on a form which is to use a datareader to loop through all the records in a file. When I try to run it I get a message indicating it could not connect. I assume something is wrong with my connection …

Member Avatar for Bill Purkins
0
372
Member Avatar for originaldaemon

I have created a new windows form application and made a form using the editor in visual studio. This is the code that was generated in form1.h: [CODE]#pragma once namespace DatabaseForm { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; …

0
51
Member Avatar for matmox

Hi........ i'm currently working for an application that requires reports. So i used crystal reports. I did the standard way of connecting database and adding table to the report. However after doing all the necessary part, when i click the "preview report" button it doesn't show required output. Instead it …

Member Avatar for matmox
0
96
Member Avatar for 11silversurfer1

Hi, I was wondering with the menu bar how to open, save and make a new file on the menu bar [code] case MENU_FILE_ID_OPEN: { //something to open the file } break; [/code] i have no idea at all how to do this, i have searched the net but it …

Member Avatar for 11silversurfer1
0
157
Member Avatar for fireportal

hi, I juz started learning vb and using visual studio 2005. I need to get the info from datalist to show in another page. eg. first page displays the summary list of products available using datalist and i wan to make it so that when a particular product is clicked …

0
53
Member Avatar for Ajith S Kulgod

Hello, a)How to add components to the visual studio 2005 toolbox. b)How to convert a windows form project to a web-application project.

Member Avatar for greeny_1984
0
72
Member Avatar for Ajith S Kulgod

In Visual Studio 2005 iam getting an error:- GetTypeHashCode() : no suitable methods to override. The class names that i have mentioned are same(ie in .aspx and .aspx.cs)

0
55
Member Avatar for Jemjoo

Hello, I have an problem with updating a database after I have deleted or edited a database row in VB.NET. When I insert a new row it works well. When I delete I get the following error message: [I][COLOR="Red"]Update requires a valid DeleteCommand when passed DataRow collection with deleted rows[/COLOR][/I] …

Member Avatar for RipperJT
1
264
Member Avatar for brain

Hello, Would you please give a hint to define a template class specialization in a template class which is in a namespace I have tried following code with gcc 4.1 and get an error message but Visual studio has no problem with it. [code] namespace A { template <typename T> …

Member Avatar for vijayan121
0
136
Member Avatar for balla4eva33

I've been interested in working with mouse input in Visual Studio using C++. I'm curious what steps need to be taken to do this. I'm assuming some sort of Windows header file needs to be included, but I have never seen any code for such things. Basically I want to …

Member Avatar for Prabakar
0
249
Member Avatar for Techbee

Hi all I am creating an asp.net site in Frontpage and want to use Abyss web server for tesing my files. Since Frontpage does not use the virtual server like what visual studio does, it requires a third part virtual server, hence the use of Abyss server. I am having …

0
66
Member Avatar for guy40az
Member Avatar for CoolGamer48
0
153
Member Avatar for reniies

I have developed an application in vb.net to generate reports against a SQL database where I used visual studio 2003 - crystal reports. I need to deploy the same as a setup file to install it in other client PCs where there is no crystal reports or visual studio installed. …

Member Avatar for Jx_Man
0
96
Member Avatar for gary236

Hi, I am unable to create a new database within Visual Studio. I can however create a database in SqlExpress and then see it in Visual Studio, but once in Visual Studio I can’t seem to do anything, e.g. If I right click the ‘Tables’ icon within a database in …

Member Avatar for gary236
0
75
Member Avatar for mdubose

When I build my project, I didn't receive any errors but when running and entering in data, I get this error: [COLOR="Red"]Invalid Login, please try again! System.InvalidOperationException: ExecuteNonQuery: Connection property has not been initialized. at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Login.DBConnection(String …

Member Avatar for ema005
0
242
Member Avatar for originaldaemon

I am trying to create a simple database. Here is the code: [code=C++] #include <iostream> #include <fstream> #include "conio.h" #include <string> using namespace std; struct Station{ string url; string name; string genre; }temp; char userInput; string output; int fileSize; string searchParameter; int index; int results[1000]; int j;//temporary storage for a …

Member Avatar for Salem
0
99
Member Avatar for vponline

Hey first of all my name is Matt AKA/ visual_productions I just got done compiling a new media player,and a few web designers tools.they are free for public download at my website [url]http://www.vponline.cjb.net[/url] However i didnt come here to spam my link across these forums,I actually came here to see …

Member Avatar for iDeveloper
0
47
Member Avatar for Shadoninja

I ran into a bug on my program that I couldn't find on my own so I decided to transfer my project from Dev C++ to Microsoft Visual Studio. In Dev I got away with [code] string sName; cin >> sName; [/code] But MVS doesn't like doing that. What is …

Member Avatar for Narue
0
181
Member Avatar for fmwyso

I would like to have an array that is pretty huge along with being able to hold atleast a sentence in each value. I want to be able to check if a string exists inside it (hopefully fast :P). Why? I want a program to read through a tab seperated …

Member Avatar for Narue
0
323
Member Avatar for bhoot_jb

i am trying to install VS6 but it is giving following error. setup has encountered a problem in launching the followning command line: "wpie15.exe" /q:a/r:n. if you have a system directory that contains a % sign, or the directory names *starts* with a space (i.e. 'C:\win95\system'), then setup will fial. …

0
63
Member Avatar for bhoot_jb

i am trying to install VS6 but it is giving following error. setup has encountered a problem in launching the followning command line: "wpie15.exe" /q:a/r:n. if you have a system directory that contains a % sign, or the directory names *starts* with a space (i.e. 'C:\win95\system'), then setup will fial. …

0
82
Member Avatar for hkarthik

hi all, I have some doubts regarding this VSTO 2005. Visual studio tools for office(vsto), actually this tool is used for editing and retrieving the settings or information or adding a new property into word, excel.... isnt it? Can we make changes to the applications like word, excel etc.... usning …

0
74
Member Avatar for nicoletonyf

Hello there, I just installed Visual Studio.net 2003 last week. When I try to start my program, the console appear and close as soon as the program ends. What is the setting to keep the console open, so I can see if my program works? Thanks Nicole

Member Avatar for Ancient Dragon
0
379
Member Avatar for Evan M

I have a header file causing me several errors. It contains a class definition, then I have a *.cpp file with the function definitions. Header: [CODE]#ifndef DOT_H #define DOT_H #include "SDL/SDL.h" #include <vector> class Dot { private: int x, y; int xVel, yVel; vector<SDL_Rect> box; bool check_collision( vector<SDL_Rect> &A, vector<SDL_Rect> …

Member Avatar for Evan M
0
521

The End.