Click here to Skip to main content
15,889,216 members
Everything / Visual Studio / Visual Studio 2008

Visual Studio 2008

VS2008

Great Reads

by Szymon Roslowski
Just another approach to understanding communication between HID devices and C#.
by Dmitri Nеstеruk
Let's create a simple project estimation DSL using F#!
by Sergey Alexandrovich Kryukov
Display names and descriptions for enumeration members: a non-intrusive, reliable, localizeable method.
by Nish Nishant
This articles explains how to implement a TypeDescriptionProvider for a class to support multiple object types using a single class type

Latest Articles

by Ștefan-Mihai MOGA
How to download files from an HTTP server.
by Sergey Alexandrovich Kryukov
A computer keyboard can be turned into an isomorphic musical instrument, to help in deeper exploration of the Musical Harmony and even to inspire new musical ideas
by Tough Developer
How to compile WinQEMU v0.10.2 in VS2008 and VS2012
by shunninghuang
Software named M1.NET which shows the details of decrypting arcade game audio

All Articles

Sort by Updated

Visual Studio 2008 

19 Oct 2010 by "Fish" (David B. Trout)
Simple parsing of VS_VERSIONINFO version information strings displayed in an XP-style file-properties "Version" tab
5 Mar 2019 by #dev_Preet
I am using vs2008 and trying to connect MySQL on remote Linux machine using ODBC driver 5.3 version. My connection string is :: "Driver={MySQL ODBC 5.3 Driver};Server="& DSName &";Database="& DBName &"; User=root; Password="& MySQLPWD &";Option=3;" But when I am trying to connect using this...
29 Jan 2010 by #realJSOP
Since you didn't specify the language, you get C# from me.Create a List, add the strings to it, and use the List.Sort() method.
13 Feb 2010 by #realJSOP
It's been a few years since I had to deal with C++, but I suspect it means that you have to do a clean/rebuild of your solution. You probably have a lib file being linked in from the old compiler.
21 Jun 2010 by #realJSOP
Why don't you just start a new appropriate Visual Studio project, and move the code into it?
26 Jun 2010 by #realJSOP
Did you make sure the server has the correct mime types specified?
27 Jun 2010 by #realJSOP
I know there are limitations involved with using "Express", but I don't know what all of them are. You can get VS2008 Standard for $279 on Amazon. I know for a fact that you don't need to spend the money on Pro to get the features you need.
13 Jul 2010 by #realJSOP
Do you even know what "client-server" means?
21 Dec 2010 by #realJSOP
If you want to do something with objects in your code from Program.cs, the best way is to create a static class and instantiate/initiate those objects in the static class. Static classes are created when the program starts (and before your main form is instantiated).At that point you should...
7 Feb 2011 by #realJSOP
Windows service for synchronizing folders
8 Feb 2011 by #realJSOP
You might try deleting and then re-adding the DLL references to your GUI project.
9 Feb 2011 by #realJSOP
Try this (no guarantees):public class MyParentForm:Form{ private Command_Form Command_Form1 = null; private void commToolStripMenuItem_Click(object sender, EventArgs e) { Command_Form1 = new Command_Form(); Command_Form1.Disposed += new...
5 May 2011 by #realJSOP
You can't run another application in your app's window - well, technically you can, but only if your application is a shell for the OS (kinda like the fact that the Windows desktop is actually Windows Explorer running in full-screen mode, or a VM client that runs a completely different OS).
6 May 2011 by #realJSOP
http://msdn.microsoft.com/en-us/library/aa970915.aspx[^]
11 May 2011 by #realJSOP
How do you expect us to be able to help you with it when all we know is the errors you're getting? Have you tried running it under the debugger to see WHERE you're getting the exception? It's your code so you should have some idea of where this might be happening.I've converted dozens of...
21 Jun 2011 by #realJSOP
Run it under the debugger and see where it craps out.
19 Aug 2011 by #realJSOP
You're wasting your time. The version of Dotfuscator that comes with Visual Studio is the least capable of pretty much any obfuscator out there. Spend the money and buy something better (and "something better" isn't necessarily the retail version of Dotfuscator).EDIT...
2 Dec 2011 by #realJSOP
You need to install Ajax Extensions and Ajax ToolKit for .NET 3.5.http://www.asp.net/ajax/downloads/[^]
29 Dec 2011 by #realJSOP
0) Right-click the setup project in the solution explorer, and select View | User interface in the context menu.1) Right-click the Start item in the tree, and select Add Dialog in the context menu.2) Select the appropriate dialog.At this point, you'll have to rely on google because...
8 Mar 2009 by Đonny
This article introduces and describes a framework that allows the creation of managed plug-ins for the Total Commander file manager.
10 Oct 2010 by 12345pj
I really appreciate any help I can get, I want to develop a Skype userinterface for dissabled people, it must be a downscaled version of Skype, an easier human interface focused on video connection.I hold a Bachelor degree in electronics Engineering with some programming experience but not too...
12 Oct 2010 by 12345pj
I have an update on the problem, I "moved" to my wifes laptop with Vista 32bit and the problem was gone, I did exactly the same so the code works but for some odd reason the Skype4Com.dll is not being "included" in the Vista 64bit case.Of course it must run on my own laptop too so I will...
13 Oct 2010 by 12345pj
You are right, I wonder why I did not get a mail about a new answer in the forum.But I also found it from searching the internet, with some more detailed description which will also work for a newcommer as myself.Copied from someones post but it works the same for VB 2008.In VC#...
11 May 2011 by 2000 P
Hi I am facing problem while copying a shape from word(2007) document. How to copy a shape from word using bookmark? Could some one help me?This is what i am doing:object FileName = objTemplateFile;object oMissing = System.Reflection.Missing.Value; object oWhat...
23 Oct 2011 by 2011999
Dear all Experts,Through using grid view in VS2010 and SQL server 2008 Back End how to generate the Reports. I need Cristal ReportsThank you for your valuable replay.
27 Oct 2011 by 2011999
Dear All Experts.Plz send me example .net Libraries.Thank u for valuable Replay
12 Feb 2012 by 2011999
Dear All,In my system install vs2010 ultimate. I add Crystal report through solution explorar. but not reflect .rpt display extention hmt. i need any downloads for crystal report.Regards
28 Oct 2010 by 2buck56
I have an existing VS2008 MFC application that I need to add user functionality to. The cleanest way to do this is with a DataGrid form of some sort. Since the DataGridView control is not in the toolbox I tried this Microsoft method:http://msdn.microsoft.com/en-us/library/b1kyh79x.aspxThe...
28 Oct 2010 by 2buck56
28 Oct 2010 by 2buck56
I finally got it working. Since there was nothing under the Projects tab I clicked browse, traversed to where the WindowsFormsControlLibrary1.dll file was, selected that and then clicked OK. Next I clicked Apply and OK on the Properties Page.I then added all the MFC code shown in the article...
5 Nov 2010 by 2buck56
I am using VS2008 and I have a MFC Dialog application that contains a button and a List Control. The List Control has a control variable m_listctrl. The m_listctrl variable is declared in the public section of dialog.h.When I click the button I call a function in another class. From within...
6 Nov 2010 by 2buck56
I have a dialog based MFC application. The dialog has a few controls on it one of which is a CtrlList control. I have another class that I am using to do miscellaneous calculations. I am going to pass the results of those calculations into a ListCtrl control.Within my CDialog class I have a...
21 Nov 2010 by 2buck56
I am using VS2008 MFC project. I have the following code: TCHAR* pszFileName = _T("c:\\ProjectOne Code\\ProjectOne\\ProjectOne\\test.txt"); CFile f; f.Open(pszFileName, CFile::modeCreate | CFile::modeWrite); CArchive ar(&f, CArchive::store); for(x=0; x
22 Jun 2011 by 2irfanshaikh
I think we can use Asyn call to play different different sounds at a same time.
11 Jan 2009 by 6opuc
Fast and easy to use data access class library.
7 Feb 2013 by @BangIndia
i created a textbox. when i try to add the variable for that i am getting an error popup saying that "Internet Explorer Script Error"An Error has Occurred in the script on this page.Line 1587char 9Error: Object doesn't support this property or method.code: 0I am getting...
22 Feb 2014 by @BangIndia
I opened prop widows of my c# workspace.in that Application Subtag i can't able to change the Target Framework..Its can't able edit. and its now showing any value also.
15 Aug 2015 by @sunusi1
Hello friend,I am having problem retrieving ole object binary data from access database into picture box,Table_name: Bio_data_ND1i have a unique column called: regnothen column where the picture reside: picpathactual i did a little work, but honestly it misbehaved. i used this...
22 Jun 2014 by _Asif_
Welcome to the wonderful word of CCXML/VXML
16 Oct 2014 by _Flaviu
10 Jul 2014 by _Flaviu
A small guide to use VTK in MFC
23 Mar 2016 by _Flaviu
A way to know when a floating CDialogBar is closed
23 Sep 2016 by _Flaviu
A ListCtrl ComboBox control
8 Oct 2017 by _Flaviu
A memory CTreeCtrl like object, but resident in memory only
10 Dec 2015 by _Flaviu
A combobox control which shows a drop down window to assist the user.
13 Apr 2018 by _Flaviu
A method of how to get rid of "close" menu from multiple CDockablePane panels
4 May 2012 by _Flaviu
A class designed to connect to a database through ODBC and perform basic operations such as inserts, updates, and deletes
27 May 2009 by _Khallaf
Use IMAP to auto-reply to unread GMail messages while on vacation
29 Aug 2009 by _Khallaf
How To Do Precise 2-Way Rijndael CryptoStream Communication
5 Jul 2009 by A Eastman
WPF RichText Editor with custom Slider Control formatting and a Font Style Dialog box
22 Oct 2012 by a1mimo
All you need to do is to change the server section in your connection string from the local computer to the server name or IP and remember to put an exception for the sql Server port in your firewall in the server and also always run the sql Server as administrator and from the sql configuration...
2 Feb 2011 by aaawesome
HiI am using VS 2010 Express and have ported some code proven in VS 2008 but it fails in VS 2010 and I cannot understand why.The code uses InvokeMember:.Interface.GetType().InvokeMember("", System.Reflection.BindingFlags.InvokeMethod,...
13 Jun 2010 by aaga5
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Data.OleDb;namespace WindowsFormsApplication35{ public partial class Form3 :...
27 Sep 2011 by Aamir Butt
This is an article just to describe how to use WMI with Visual C++ 6. I had to do this for one of my projects and I finally came up with this solution. I hope this will be beneficial to others as well.
6 Sep 2014 by aarif moh shaikh
Actually you have one Identity Column so You have to specify rest of Column Name for Inserting Value into the table.For Example :INSERT INTO EMP_TBL (NAME,ADDRESS) VALUES ('"+TextBox1.Text+"','"+TextBox2.Text+"')
2 Dec 2012 by Aarti Meswania
add prerequisites in your project.net framework,crystal reports-note : version as per you create projectHappy Coding!:)
5 Aug 2011 by aayu
HiFriends i need the link from where i can download VS2008 and C++ 4.5. i am using window 7 i have try to search in Google but i am not getting it i need crack version to download i have got one torrent site but it is asking me for the payment i need free download please help i have to make...
9 Apr 2010 by Abdul Quader Mamun
ASP.NET provide features to develop appllication for mobile devices. System.Web.Mobile namespace is devoted specifically to mobile Web development.
14 Aug 2012 by Abdul Quader Mamun
Custom TreeView web user control for parent child relatioinal data upto infinity
16 Nov 2010 by Abdul Quader Mamun
Paging must be effective for large scaleable applications. Without smart and effective paging and sorting for huge amount of data, user request takes more time and uses more resources.
18 May 2009 by Abdul_Qayyum
.NET code for Google Calendar.
3 Jun 2011 by Abdullatif M. Abu Al Rub
in your case use:Source=\\Server Name\D:\Software Development\vishal_wpf\vishal_WPF\MT_2008_WPF\MT_SERVER\MT.mdb";
10 Jul 2014 by abdulsafran
Dear Friends,I have developed C# application using visual studio 2008, it has the option to generate few reports using crystal report function with MySQL database connectivity. I have tried every methods to run the application in client machine. But getting following two type of...
10 Jul 2014 by abdulsafran
I have created C# application using visual studio 2008, I have added some reports from Crystal Reports. For the Crystal Report I have used ODBC connection which created ODBC MySQL. All the reports are generating pertectly in my machine.But, once I clicked the report generate button function...
2 Oct 2008 by Abey Thomas
This is an article about adding footnotes to a Word document (MS Office 2007) programmatically.
6 Oct 2008 by Abey Thomas
This article is about the details of adding an image to a Word document programmatically.
5 Jul 2013 by Abhay giri
Here we see how can we invoke other orchestration by using Call orchestration shape
23 Jun 2014 by abhigad
Journey of C# up to LINQ in less than 10/15 minutes
10 Jan 2010 by Abhijit Jana
This article describes the use of Caching Application Block - Enterprise Library 4.1.
21 Dec 2009 by Abhinav S
CP article here [^].You can use this article as a reference to write code in whatever language you are using.
14 Jan 2010 by Abhinav S
By component, do you mean a dll? Right click on the project, add reference and select your dll. It will get added to your project.
20 Mar 2010 by Abhinav S
yogesh_master wrote:how i can eject usb drive (pendrive) from visual studio 2008If you mean C#, then see here.
5 Jul 2010 by Abhinav S
No one is going to do any of your homework for you....
15 Jul 2010 by Abhinav S
You could try setting the TopMost property for the child form.
4 Nov 2010 by Abhinav S
The GUI is controlled by the OS unless you specifically change some values in your design or code.
27 Nov 2010 by Abhinav S
See here[^].If you can get an array back (containing all the differences as is provided by the author here), you can calculate the percentage by calculating the differences versus the original string lengths.
25 Apr 2011 by Abhinav S
See http://msdn.microsoft.com/en-us/library/3295w01c%28v=vs.80%29.aspx[^]http://msdn.microsoft.com/en-us/library/8553caee%28v=vs.80%29.aspx[^]
28 Apr 2011 by Abhinav S
You need to download the third party assemblies to every PC that is going to run your webpage.For that, you need to host this assembly as well.
5 May 2011 by Abhinav S
You might want to look at this useful article - WPF.WCF Chat Application Simplified via P2P[^].
5 May 2011 by Abhinav S
Maybe Screen Capture in WPF & WinForms Application[^] can help you get started.
11 May 2011 by Abhinav S
Try WCF / WPF Chat Application[^] out.
12 May 2011 by Abhinav S
AFAIK, You cannot do this. Languages used in Firefox extensions are Javascript and C++.
17 May 2011 by Abhinav S
I dont think you need to worry about the relative path. First, make sure that your access database is placed in a central location accessible to all machines (i.e. Windows allows you to access this file).Once that is done, you can look at defining the relative path or set up a connection string.
18 May 2011 by Abhinav S
Show a save dialog form and allow the user to choose the path.Capture the string of the path selected by him and place it in the mciSendString("save recsound d:\\WPF\\record.wma" line (instead of the hardcoded path and file name).
23 May 2011 by Abhinav S
Do the tabs have names?Once you get the list of children, you can look at the names and perform appropriate actions.
31 May 2011 by Abhinav S
Instead of binding to a list of type string, tou will need to bind to a list of a model type. This model will consist of two properties image and image name.Create a class (say GameModel) with two properties Image and Name and then use this (List.
3 Jun 2011 by Abhinav S
You need to provide the network location to the server - Data Source=\\serverName\shareName\folder\myDatabase.mdb.
26 Jul 2011 by Abhinav S
I think you need to debug the source code inside the VB6 dll.The error is coming from there, so the code lines that you have pasted in the question are really not going to help.
15 Aug 2011 by Abhinav S
Try table.Clear();dgvSearch.DataSource = table;
30 Sep 2011 by Abhinav S
These two links should surely help you out -http://msdn.microsoft.com/en-us/magazine/ee335695.aspx[^]http://blog.thumnet.com/silverlight-3-validation-dataform-control/66/[^]
17 Oct 2011 by Abhinav S
Make sure the component that you are trying to add (i.e. X.dll) is supported in the new framework.See if you can get the latest version of the component.
8 Jan 2012 by Abhinav S
How to: Navigate Data in Windows Forms[^] is possibly just what you are looking for.
26 Jan 2012 by Abhinav S
Put a breakpoint on the return statements.Once the code stops on the breakpoints, just hover your mouse over Function() after it has executed and you will get the value.
1 Feb 2012 by Abhinav S
Nullable datetime column in .NET DataGrid with DateTimePicker[^] should give you some ideas.
9 Apr 2012 by Abhinav S
Radiobuttons are grouped together by using the GroupName property[^].Set the same GroupName for both the radio buttons.Another example here[^].
1 Jul 2012 by Abhinav S
Have a look at conditional compiling here[^].You can setup choices[^] during install.
21 Jan 2013 by Abhinav S
SELECT * from TableRegistration where PersonID='%d'",ss);You can remove the quotes in the query and try again ->SELECT * from TableRegistration where PersonID=%d",ss);
7 Jun 2013 by Abhinav S
There is no best approach. Do you have a list of requirements?You can possibly provide a textbox where the user can type the name of the column.A dropdown for the type i.e. varchar etc.Then on click of a button, you can create table based on whatever the user has selected.
19 Jan 2014 by Abhinav S
This is most probably because your dlls are older or different from code.If dlls and code are in sync, you will not face this problem.