4,297 Topics
Good day programmers I am a beginner and I am designing a game with C++ using Microsoft Office Visual Studio 2005. I need to add pictures to it, and I wonder if there could be some code to add or open a picture. Could someone please guide me? Thank you.
in visual C++, we have to write #include <list> to use linked list and all it funtion. So, where is the actual file (.h, .cpp) that contains the declaration of the linked list? is it in "C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\src\mfc\list_o.cpp" Thanks
If you have done a program in VC++ 2008, what is the procedure to do a release and a "Finished" program of this. In the "Form1 Property Pages", I have under General choosed: Configuration: [I]Release[/I] Platform: [I]Active(Win32)[/I]Output Directory: C:\ Intermediate Directory: [I]C:\[/I] When I now compile the application using F7, …
I recently uninstalled visual studio 2005 professional and i had trouble withe the registry entries and files. so "just-in time debugger" is sowing up every now and then. and explorer refreshes when clicked on dialog that asks for OK. how to remove it?
HI Iam created project in visual studio 2008,and once I compile coding,it give me error meassagee.The Error Meassage is [COLOR="Red"]Error 1 The type 'Microsoft.Office.Interop.Excel.Workbook' exists in both 'c:\WINDOWS\assembly\GAC\Microsoft.Office.Interop.Excel\11.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Excel.dll' and 'e:\Test\Test\Test\obj\Release\Interop.Microsoft.Office.Interop.Excel.dll' E:\Test\Test\Test\Test.cs 13 67 Test [/COLOR] So what I did is I delete the Excel.dll in (\obj\Release\Interop.Microsoft\Excell.Dll,but once I complie it …
Hi I have a question. [COLOR="Red"]The aswer is very short [/COLOR]I think. I got many different useful helps in different forums but [COLOR="Green"]still[/COLOR] my main question is [COLOR="green"]not answered clearly[/COLOR]! MY QUESTION: Can a [COLOR="Green"]not inline[/COLOR] [COLOR="Red"]method[/COLOR] have [COLOR="Red"]internal linkage[/COLOR]? This question is simple & clear (if you don't think …
Hi, I have created a windows service in Visual studio 2005 C++, which will encrypt a file and send it to a server using socket. For this I am using OpenSSL, I am running in to following issues 1) I could not find the library method of OpenSSL which can …
First I created a Login to SQL Server using a T-SQL command from within C#. This is the query I used. [code] CREATE LOGIN NT AUTHORITY\NETWORK SERVICE FROM WINDOWS WITH DEFAULT_DATABASE="MyDB"; [/code] Here, NT AUTHORITY\NETWORK SERVICE is the name of the Login I created and MyDB is the DataBase I …
Anybody ever use InkX or RichInk from OpenNETCF? Im having difficulties adding it on my windows mobile form, building the application is no problem, but when deploying it, a strange error pop up, saying something like missing Assembly. Btw, Im using Visual Studio 2008 as my editor.
Hi, I am student doing my final term project. For my project, I am suppose to create a webpage that controls the a robot, the webpage will send out commands to allow the robot to program routines. The command will be send through serial port via the webpage. I have …
Hi, I have a wsdl of rpc/encoded type to be used in my .NET application. The wsdl has array objects with minoccurs and maxoccurs elements. I am unable to used the array in my application. Everytime it shows Nothing in the array. I am using Visual Studio .NET 2003. Can …
Hi, I was hoping someone could correct my mistake. I'm trying to store references (or pointers should that be better) in a hetrogenous List. (The references or pointers will point to mixed classes). The problem is that everytime I store the pointer which holds a reference to the object, the …
Hi, I have a wsdl of rpc/encoded type to be used in my .NET application. The wsdl has array objects with minoccurs and maxoccurs elements. I am unable to used the array in my application. Everytime it shows Nothing in the array. I am using Visual Studio .NET 2003. Can …
Hello ! I am developing a Desktop base not Web base application in C# by using Visual Studio 2003 I want to show images in one column of datagrid against each Product Id by using Picturebox which is coming from Database and want to raise events against the click and …
i am using windows 7 and i am trying to setup a program but it is asking me to install visual c++ runtime i think i got the right one but it doesn't work can anyone help me out on this thanks
Hello, I have a site that I have always edited remotely, using FrontPage extensions. I recently went back to make some site updates and VS is giving me the error "You are not authorized to perform the current operation" when it tries to connect remotely to the site. By rightclicking …
Hi guys, I've been using asp.net 2.0 over the past 2 years making simple web applications but have never used it with MySQL. I've been asked to create a website for a relative. The site will be a vehicle leasing company. After speaking to owner and understanding his requirements i …
@REM By unknown @echo off color 0A %~d1 cd %~p1 set _source_= set _dll_= :LOOP if "%1" == "" goto COMPILE if /i "%~x1"==".cs" goto SOURCE if /i "%~x1"==".dll" goto DLL goto SFT :SOURCE if "%_source_%"=="" goto S2 :S1 set _source_=%_source_% %~nx1 goto SFT :S2 set _source_=%~nx1 goto SFT :DLL …
hey guys, im new to this asp.net. my OJT supervisor asked us to make a powerpoint presentation of the topics each of us were assigned to. i was assigned with asp.net (using visual studio.net). im zero-knowledge with this, but im trying to learn. :) im just wondering what's the difference …
Hi Have the following problem Effects in C # (Visual Studio 2008) A class library written in PHP would like to take this call. Did it with $ printer = new COM ( "comPrinterTest. UserControl1"); Try not to work. The dll is in the directory where the php page is …
I am attempting to configure a datasource in an AJAX web page from an existing postgreSQL database that resides on our server. I have done this many times with MySQL, no problem. When I finish the configuration for the PostgreSQL Database in the "Add Connection" wizard of Visual studio 2008, …
I've been working on a project lately but it has been unsuccessful. I would like to build a Windows Application Form program that can interact with a SQL table. When program runs, user has to fill some gaps as follows: Exam type: Exam number: Theme: No. of students: No. of …
I have started with ASP.Net just 1 month. Right now, my project may implement the control that users can recovery their password by answering question. We all know that Visual Studio or Visual Web Developer has a control name Password Recovery Control, just drag and drop. So far I have …
I try to program DirectX in Visual C++ 2008. I need at least a win32 working window. I have a BIG problem compiling win32. First, I created a win32 project (a simple Win32 Project - not empty). I don’t modify any code compile when compiler says: Cannot find windows.h. So …
hi everyone my first post so sorry if i do anything wrong! ive gotta design a small website with a backend database using access and visual studio 2008 for a uni project. what I'm currently doing is having a form using detailsview so the customer can submit their details. when …
[code]Imports System.Data Imports System.Data.OleDb Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim conn As String = "Provider=Microsoft.Jet.OLEDB.12.0;Data Source=G:\Visual Studio Projects\test\dbtest.accdb;Persist Security Info=False" Dim cmd As String = "SELECT * FROM Table1" Dim adapter As New OleDbDataAdapter(cmd, conn) Dim topics As New DataSet("Table1") …
Mmm, I just love these error messages, I don't understand them what-so-ever and I can't interpret them. (Unsure where the post should be in the forum) I'm getting this error message at build time (Using VC++): [code=cpp]1>Linking... 1>main.obj : error LNK2019: unresolved external symbol _DirectDrawCreate@12 referenced in function "long __cdecl …
Been trying to run a schema script from within vb.net. No matter how I format it I can't I just get all kinds of syntax errors: Here is my VB script: [CODE]Dim sqlservername As String sqlservername = Tservername.Text Dim SQLStr As String Dim ConnString As String ConnString = "Data Source=" …
Hi to all, I'm a JavaScript developer and like you know there are not to much tools for developing Javascript(at least this is my feeling). I was wandering if you can share with me your tools you are working to develop and debug java script code. I found the project: …
Hi, I have a question about UI design in NET. I am creating a scientific application with C# and VS2008. Currently I am using a tab control were till now I have 3 level tab depth (eg tab inside tab etc) which is not very convenient, nor user friendly. I …
I am just starting to work with Visual C++ Express 2008 and have run into a situtation I could use help with. To add a new data source to a project I am told to start the data source configuration wizard, this I can do. Next I am to select …
Hello, I have a problem again and will be grateful for a solution from anyone of you. i get this error while trying to make a setup file. how do i find out Which line it's refering to... i could make a setup before this without any problem. Thanks. [B]Compile …
Hi, this time I've borrowed a book called "Windows Game Programming for Dummies", albeit old it is still useful! However, I came across a problem writing a simple code the author made, namely the TextOut() The error it gives me at build time is as follows: [CODE]1>c:\users\shadow\documents\visual studio 2008\projects\g_app\g_app\main.cpp(75) : …
I am connecting an access mdb format and cannot display the values from the database table onto a form in vb . I need also to enter values to the same database. I appreciate any help anyone can provide as I am new to all this. I did the same …
When I install my application I would like a shortcut to be added to the desktop. How can i do this? I am running Visual Studio 2005 Standard Edition Thanks Simon
Having a problem with ASP.NET on Vista Business 32 bit. This is s a development machine. I have tested websites using the "View In Browser" and Debug options from Visual Studio 2008 and they load without a problem. But when I try to run a site from localhost i get …
Hello Frens, I tried to update change made in database shown DataGridView1 of Visual Studio 2008 with the following codes. But an error message comes as "Object reference not set to an instance of an object". Public Class Form1 Dim cmd As Odbc.OdbcCommand Dim adp As Odbc.OdbcDataAdapter Private Sub Form1_Load(ByVal …
hello everybody :) im new in vb and now try to develop one system using visual studio 2005 and sqlserver 2000.. i succeed to generate the data in datagridview but then it display all data not i had selected in combo box.. as shown below :- Imports TMSForm Imports TMSBusiness …
Visual Studio 2008 has a toolbox, solution explorer, and data sources forms that nicely dock to the side of the screen and can be easily pinned into place by the end user. Are these forms available to me as a programmer to use in my programs and if so, how …
I have created a small program in visiual studio 08. in this program it is possible to shose between sites by choosing a fan. No my question is how can I easiest make a login where it is impossible to use the rest of the fans before the right password …
Hi, I am getting the following error when I load the page shown below: [code]Object variable or With block variable not set. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated …
Hey! I am a newbie in windows form application in c++, so please guide me! As a practice I have created a new project in windows form using visual C++. I have added a button and listbox! Now say I click on button 1 and it opens a dialog box …
Hi, I wish to add the following to my web.config file: [code] <appSettings> <add key="networkDrive" value="C:\test"/> </appSettings> [/code] But everytime I add it i get the following error: [code] Sections must only appear once per config file [/code] I looked in the file to see if it appeared more than …
I have done half of my project on microsoft visual studio express edition 2008. However as the express edition does not support reporting i will have to use the professional edition. My question is will my project open in the professional edition.
Hi, I am relatively new to C# Express and have created an app that builds & runs fine. But when I try to publish it, I get the following messages: 1)Cannot publish because a project failed to build. 2)SignTool reported an error 'Failed to sign bin\Release\TeacherCSharp.publish\\setup.exe. SignTool Error: Signtool requires …
This is my first post. I am trying to use Visual Studio 2003 which is what is available at work. I am having to problems: first I don't seem to be able to set a watch on a variable, the contex menues are grayed out. The second is I am …
Hi Friends, I have a requirement like in a CPropertySheet i need add four property pages, in that first two pages should contain Wizard mode property of CPropertySheet & the next two pages should behave like a normal mode. The current problem is that if i call 'objPropertySheet.SetWizardMode()' before 'objPropertysheet.domodal()', …
Hi I'm new at this I have created a database Person with (ID,Name,address) in MS SQL an d I have the following code [CODE]protected void Button1_Click(object sender, EventArgs e) { System.Data.SqlClient.SqlConnection conn =new System.Data.SqlClient.SqlConnection(); conn.ConnectionString ="integrated security=SSPI;data source=SQL Server Name;" +"persist security info=False;initial catalog=northwind"; try { conn.Open(); string sql = …
Is there a way to have a multiple field combo box using Microsoft Visual Studio with C#
I was checking Windows updates on Microsoft website and there was an update for "Microsoft .NET Framework 3.5 Service Pack 1 and .NET Framework 3.5 Family Update (KB951847) x86". I checked the version of .Net Framework I have and I found several previous versions including version 3.5 listed above and …
The End.