4,928 Topics
![]() | |
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 … | |
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 … | |
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 - … | |
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 … | |
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 … | |
![]() | 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 … ![]() |
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 … | |
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 … | |
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 … Information Security adobe app-store apple audio client-server data-protection developer-tools flash http-protocol microsoft-access microsoft-office microsoft-windows office-suite open-source os-x pdf software-architecture video visual-studio web-browser web-server windows-server windows-virus windows-vista xml | |
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, … | |
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) | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 | |
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 … | |
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 ..............+ … | |
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 … | |
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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
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. | |
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) | |
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] … | |
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> … | |
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 … | |
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 … | |
Can someone tell me how to add a static library file to a project in visual studio 2007. | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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. … | |
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 … | |
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 | |
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> … |
The End.