4,297 Topics
Hi Everyone, I am currently Working on a School Project which has the form of a stock update System. I am using an access 2007 DB and building my code in Visual Studio 2010. I am trying to get an Update Query to work and I am completely unsure on …
any ideas how to solve this?: I am using Visual Studio 2008 for compiling c++ programs and when I press f5(which is at default, the start debugging button) the console window flashes for a bit and then closes, but when I click on start without debugging, the console window stays …
Hi, I am in the middles of developing a new application and i am wanting something a little different to the windows tab interface, although i am wanting to keep the tab container functionality. I want to have images as well instead of text on the tab headers, i have …
I have a DLL file written in C++, using Microsoft Visual Studio 2008. The socket class coding is an adaptation of [url]http://www.adp-gmbh.ch/win/misc/sockets.html[/url] and the whole thing works when compiled as a 32 bit DLL, but the Internet connectivity does not work when I compile it as a 64 bit DLL. …
how can i write a code for deleting a row using gridview [CODE] # protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e) # { # GridViewRow row = GridView1.Rows[e.RowIndex]; # # objCust.CustId = Convert.ToInt32(objCust.findCustId().Tables[0].Rows[0][0].ToString()); # # objCust.DeleteNewUser(); # # if (objCust.DeleteNewUser() == 1) # { # bindGvEdit(); # } # } [/CODE] …
Hello, I am using Visual Studio 2008 to create a program that utilizes Window's API to interact with a window that pops up on an external program. I am trying to populate a ListBox with particular text using LB_ADDSTRING & LB_SETITEMDATA but I am not having any luck in doing …
Hi, I seem to be getting the error "Syntax error in UPDATE statement." when attempting to update my database through visual studio 2008, using forms. Here is the code for the connection: [CODE]Private Sub btnLoadDB_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLoadDB.Click Provider = "PROVIDER=MICROSOFT.ACE.OLEDB.12.0;" Source = "Data …
Hi Experts, I am getting an exception "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." This exception is occuring in VS2010 and method is [B]Marshal.Copy(address, code, 0, 32);[/B] Can you any one help in this regard. Thanks
I am using Visual Studio 2010 for ASP.Net web development. I am newbie in web development and using VS. I am making a website which requires storing user information in database. Here are the steps I followed for connecting 1. Open Server Explorer 2. Add new connection (I am using …
'why is that when i change something on one form, when i ran the program,the changes i made don't seem to take effect? example, i set a button's visibility to false, when i ran that form, the button still appears. even if i already saved it before running i already …
I'm attempting to build my first windows phone 7 app using visual studio, I'm a complete novice at this so any help is much appreciated! The problem is that I'm trying to implement a text box so the user can enter a postcode and click a button, I then need …
please tell me how to create database in sql server and also give me code for connectivity using visual studio 2008 and sql server.
Hello, Iam getting a strange error and I dont know how to solve it. Can you help me? Iam trying to make a dictionaire using BST. [CODE] // Task3.cpp : BST #include "stdafx.h" #include <stdio.h> #include <stdlib.h> #include <Windows.h> #define cabecalho "---------------------------------------------------------\nDICTIONAIRE\n\nEnglish to Portuguese\n---------------------------------------------------------\n" #define color(y) SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), y); #define LEFT …
I'm trying to learn how to use WPF but in the book I'm using it doesn't explain how to expose a custom control to the xaml document in Visual Studio. Visual Studio has some text about including the namespace but I haven't been able to get it to work. CustomCanvas …
Here is another simple question (I'm asking them because I couldn't find a way by myself): Suppose I have a string [CODE]x = "Daniweb"[/CODE] When I try to update an element like : [CODE]x[3] = k[/CODE] The Visual Studio says it is read only and gives error. How can I …
I'm quite difficult to understand how could I control DataGridView in MS Visual Studio. I've read many articles in the internet but it seems that none of them could help me. Can somebody help me with this?.. Thanks Alot.
Hi all, I had a program all built up in C# using visual studio 2008. I also used a deployment project to install it. this program runs on several computers with several OS for a while. Recently I installed it on windows 7 starter. A first weird thing is on …
I am inheriting my own datagridview (say MyDataGridView) from the standard datagridview control. What I want is that certain properties of MyDataGridView should have a different default value than what its base have. For example, AllowUserToAddRows, AllowUserToDeleteRows, AllowUserToResizeRows properties should have the default values of False; so that when I …
Hi, If you create a CLR windows form project in Visual Studio C++, when you distribute your programs does the user need the .NET Framework or just the Visual C++ 2010 Runtime Redist? Thanks.
Is there a library that's easy to setup and use with Visual Studio 2010 for AES encryption/decryption? I've been fiddling with CryptoPP and it's endless link errors and iterator_level_not_equal error messages for an hour now, so I think it's time to look for an installer or a new lib. Any …
I am experiencing a similar problem everytime I stay too long in coding. here is the problem: When I EDIT a code, or move a position of a button or textbox or anything, or any other changes is done, and i debug it, the changes I made won't appear. (the …
Good day. Every time i launch the eclipse ide, i get the missing VC++ 2008 runtime redistributable package is not found but i have the runtime installed on my system. i have the visual studio 2008 and 2010 ide installed on my system. Anyway to get eclipse to find this …
I create one web application in vb.net then tell me can i run this web application on another computer where visual-studio not installed. please reply as soon as possible.....
I have code that is very computationally intensive and very SSE-capable. The vs2010 compiler only supports up to SSE2 (from what I remember) So my obvious choice is to switch to a compiler that supports SSE4. I don't want to write any extra parallelizing code, (I just want to enable …
Hello, I made a web application in which I want to show one report. I took report viewer from toolbox and placed on my web form. Its working fine when I'm working in my visual studio (development mode) but when I host or put it in my [url]www.root[/url] folder, it …
hi, i have a project written in visual studio 2008. and i copied the folder to the network drive. and from another pc when i run the exe file of the application an error occurs because the connection string is different, how can i make the application which is in …
Hi, I'm trying to write text using SDL_ttf I've set up everything according to this tutorial on lazyfoo ([url]http://lazyfoo.net/SDL_tutorials/lesson03/windows/msvsnet2010e/index.php[/url]) but when I compile my program I keep getting this error: fatal error LNK1104: cannot open file 'SDL_ttf.libkernel32.lib' Did anyone have the same problem? I don't know what I'm doing wrong. …
Has been released by Microsoft. It includes [LIST] [*]64-bit Windows Developer Preview [*]Windows SDK for Metro style apps [*]Microsoft Visual Studio 11 Express for Windows Developer Preview [*]Microsoft Expression Blend 5 Developer Preview [*]28 Metro style apps including the BUILD Conference app [/LIST] You can download it [URL="http://msdn.microsoft.com/en-us/windows/apps/br229516"]here[/URL]. I'm about …
dear frnds, i got vs 2008 proffessional edition i want to instal but unable and shows error report for temp file in local settings folder n
Hi guys, I am creating a project in vs2008 framework3.5 now is it possible to convert it into vs2005 framework2.0 any help will be appreciable.... Thanks in advance.
Sorry for the basic silly question. But I really dont have any idea on solving this. I have ASP controls (One Text Box and One Drop Down List). Now I need to access [B][I]value [/I][/B]property of TextBox as well as [B][I]SelectedIndex[/I][/B] property of dropdown list. This should be as simple …
I saw the adobe pdf viewer control in vs2010 toolbox somewhere. and I thought it can be very useful. So I tried to add it. [url]http://img155.imageshack.us/img155/3349/choosetoolboxitems.jpg[/url] as I expected things are never simple for me, when I try to drag it to the form. there'a an error. [url]http://img214.imageshack.us/img214/8042/errorrp.jpg[/url] any idea …
Hi - How do I open the xml file and xsl files in visual studio and run from there? I tried File - open file and opened both xml and xsl. but the play toolbar is disabled and have no idea how to run it. If I can add the …
Hi, I'm a student and I've been using Turbo C++ (v4.5) for over a year now (that's what they teach us at school). I just attempted to try writing a simple code in Microsoft Visual C++ 2010 Express. I've even had a few successful runs, but when I look into …
plz guide me how can I view the content of a memory stream in visual studio output window....? I know the encoding is utf-8.. plz help...
I'm new to c++. I was studying data structures and came to know Linked Lists Lately. We had a problem of finding an item stored inside a linked list and here's the code I wrote using Visual Studio to store and find an item. This code gives me a run …
Does anyone here use Visual J#? If so can you provide some examples of syntax as well as examples of loops (for, foreach, do, while), declaration of variables, importing namespaces, how to build form style applications (a link would do on that one), and any further information you feel would …
Hey please help me, I'm beginner to C# programming using visual studio 2008 ,i wanted to develop student information management system,so i wanted to create a table in sql database and maintain all information.so i created a new project and went to create sql new database, i right clicked on …
I have a query regarding On Demand Report in Crystal Report Visual Studio 2008 I have seen queries on this topic but didn't find any solution or i didn't understand the solution. I m asking again pls help me I have a main report having a subreport as a On …
This release is an updated version of my previously released code snippet entitled "Get Internet Connection State". I've made this snippet into an actual control that you can add to your toolbox. It can be used with all versions of Visual Studio C#. I'm also posting the main source code, …
I have a masterpage and a default page in a project in VS2010. I am trying to import a javascript file. If I import the .js file the project compiles and loads but the whole browser screen is blank. If I comment out the javascript import line the page displays …
I've been google searching this for a while but can't seem to find information on it that is helpful to me. Is it a way to work with partners on projects over a server? If so then this would be lovely. I get tired of sending my projects to friends …
I've never used XML schemas before, though I know what their purpose is for. I did some research into how to write one, and I've got everything done I think. The problem is that I don't understand the purpose of a namespace, or if I even need to use one …
Guys, there is this program of mine which I downloaded from the Internet and modified thereafter. It runs smoothly in my Visual Studio 2008 IDE, but when I deploy it, it does not save the video. When I ran it back using my IDE, it saves the video that it …
This is a strange question, but it's very frustrating to me. In microsoft visual c++, when I open a cpp file, I can not compile it. Is there a specific way to open the file so that I can run it after opening? Thanks.
Hi guys, I've been struggling for days to do this. I've got 2 form. The first form (Form1) is to assign a variable (Result) a value. Another form (DisplayResult) is to display out the value. Actually, my purpose is to learn how i can use global variables to share information …
Okay - Now I am beginning to get a bit frustrated. I have a project that builds perfectly and I just want to duplicate it so I create a new project with the new name that I want to call it. When It shows me the empty space to start …
I'm trying to develop my own custom controls and components that I can modify visually on a form. Like how you can put a panel onto a form and modify it's location, size, and other properties through the properties window. I'm trying to develop my own controls with their own …
Hello everyone, I have created a c# project( visual studio 2008 ). The application retrieve some data from access db. I'll use setup wizard. I'm just wondering how to deploy my database inside the setup folder. How should i define my connection string and how to get the directory of …
Alright, I decided to try ClanLib. I've been reluctant to use it, because it requires Visual C++, which is foreign to me. I usually use Code::Blocks. Anyway, I'm trying to get the hang of VC++. It seems to have a lot of features I haven't dealt with, like solutions. To …
The End.