4,928 Topics
![]() | |
I use code::blocks as an IDE but now i want to create a .dll file. I have followed this tutorial however it is for VC++. TUTORIAL: http://msdn.microsoft.com/en-US/library/vstudio/ms235636 I am strugeling becuase I am used to creating .dlls in C#. They are so easy. You just create a new library project. … | |
Hey I just tried using the OpenCV for the past few hours but I keep on failing. I am a Windows 7 user with Visual Studio 2008. I followed the instructions for OpenCV2.2 (whilst downloading the newest stable version 2.4) did the CMAKE phase exactly the way it says . … | |
Hi, I would like to be helped with automating my application. I work in an environment where we receive a high number of files daily. I am given a task to read a file extract strings and compare them with data in mysql database. I use visual studio 2010. Here's … | |
I built a ClassLibrary where I have created my custom form component (let's say MyForm) that inherits from the Form class. I added the ClassLibrary to my actual WinForms project. Now when I add an inherited form based on MyForm to my project through the 'Add New Item' dialog box … | |
Ensure ApplyVisualStyles is enabled in your system. Place a ToolStripProgressBar on a toolstrip, run your application and minimize the form. Now change the theme of your computer to Windows Classic and restore the form. See the interior of the ToolStripProgrssBar becomes black. It doesn't even change if you refresh the … | |
I am rendering a toolstrip with a CustomRenderer that inherits from ToolStripProfessionalRenderer. The concept is that I want the color of the arrow of the toolstrip items to be white in all cases except selection. When it is selected the color should be black. In my code below all arrows … | |
Hey Everybody, Allright my setting is like this: I created a derived MVC program using C++ and QT on Visual Studio 2008, that sends multiple instructions to our ERP system through an external program... On each command posted this way the user application needs to wait for a return string … | |
Dim sqlconn As SqlConnection = New SqlConnection("data source=MCKAYLA\SQLEXPRESS;Initial Catalog=jhen_reg;Integrated Security=True") Dim sqlda As New SqlDataAdapter Dim sqlcmd As New SqlCommand Dim dt As New DataTable Dim sqlstr As String = "SELECT * FROM reg where Username=@Usernametextbox.text AND Password=@Passwordtextbox.text" With sqlcmd .CommandText = sqlstr .Connection = sqlconn .Parameters.AddWithValue("@Username", UsernameTextBox.Text) .Parameters.AddWithValue("@Password", PasswordTextBox.Text) … | |
I am just curios if someone else has found the same issues I am having when compiling and running a simple C++ program in "codeblocks" everything is perfect but not successful when compiling and run the same program on Microsoft Visual Studio express. Is there any logic explanation here? Thanks, … | |
Hello, I've been using Code Blocks as an IDE for a while and decided to switch to VS2010 Professional as I had obtained it throuh Dreamspark. Anyway, I'm terribly confused at the files it gives me for a standard Win32 Console App for C++. Usually, I'm used to seeing: #include … | |
Hi, I am looking for advice on the best place to start with programming. I work for a web design company and currently create database powered sites using PHP and MySql. I seem to learn very quickly with the right resources. When I started many years ago in PHP, I … | |
protected void button1_Click(object sender, EventArgs e) { SqlConnection con = null; con = new SqlConnection(@"Data Source=(LocalDB)\v11.0 ; AttachDbFilename=C:\Users\Bhawna\Documents\Visual Studio 2012\Projects\WindowsFormsApplication2\WindowsFormsApplication2\Database2.mdf;Integrated Security=True ; User ID=sa ; Password=123"); try { con.Open(); String Sqlquery = (" Insert INTO adb (Studentid) values (@S)"); SqlCommand sqlupdate = new SqlCommand(Sqlquery, con); sqlupdate.Parameters.AddWithValue("@S",Convert.ToInt16(textBox1.Text)); //sqlupdate.Parameters.Add(new SqlParameter("@S", SqlDbType.VarChar, 50)).Value … | |
please someone help me..im doing my final project and below is my code for the registration form..after i fill up all my form and it will appear a msg box that i can only register once...the data is not being inserted in the database..im using ms access...please2....do help me...i dont … | |
Hi there, I was wondering if anyone could help me. I need to build a website which will display a streaming window when a link is clicked and stream video files saved in a different location. I am a little clueless about multimedia and web development so any help or … | |
Hey All! I have created a database application which read and write data in Ms Access. It works well on my computer but when i try to install the same application via installer package to another computer, and run it, it gives me error that i dont have the database. … | |
[B]The Web Designer Versus the Web Developer: Who is Right? by Chris Hooley of MCP Media, Inc. [/B] For some reason, they have the same goals, but can't seem to agree on the right way to achieve them. Your designer swears that you need a super slick interface with all … | |
I just finished installing ODTwithODAC112012 (Oracle Developer tool for Visual Studio ODT) on my system . Now I am trying to deploy dbmsclr.plb as SYSDBA from SQLPLUS But I am getting the error SP2-024 nothing to change. Here is the command window:- C:\>sqlplus /nolog SQL*Plus: Release 11.2.0.1.0 Production on Tue … | |
I keep getting "None of the 6 overloads could convert all arguments". I only get this problem in visual studio though. When I compile with g++ or codeblocks, it works perfectly fine. The code I'm calling my templates with is: `MemDeSerialize(ListOfItems, SerializedData, size_t(Data[2]));` The definitions: template<typename T> void MemDeSerialize(T& Destination, … | |
now im doing project in asp.net by using visual studio 2008. im having some doubt in connectivity by usiny sql.So can anyone suggest some links to help me | |
In my project I've 8 edit boxes and i need to set each box with different font. But my code is setting all the boxes single font.. So how can i modify it?? void CTrail3Dlg::OnBnClickedButton1() { UpdateData(TRUE); CFontDialog dlg; // get font for current dialog, just to fill in LOGFONT … | |
The aim of this tutorial is to save burgeoning self taught developers some of the early pitfalls that lurk on the road to programming enlightenment. It will attempt to do this by distilling the last 50 years of software engineering philosophy into a relatively short single tutorial, applying the concepts … | |
Hi, I am new to VB, and still learning. Please help me. I am developing a simple VB application, in Visual Studio 2010, where in we have to enter values in the fields given. I need to add a REFRESH button, which should act like a clr screen command. When … | |
Hey all. I'm having a problem with a DLL being loaded. In codeblocks, if I don't export Main + ALL the functions in my DLL, they cannot be used by an external program! Yet in visual studio, I exported nothing and external programs are able to load the DLL. Example: … | |
Hello, I try to compilate this progam! It return "Error 4 error C2664: 'LoadLibraryExW' : cannot convert parameter 1 from 'char *' to 'LPCWSTR' c:\users\andrei\documents\visual studio 2010\projects\test\test\test.cpp 282 1 test Error 3 error C2664: 'LoadLibraryW' : cannot convert parameter 1 from 'LPCSTR' to 'LPCWSTR' c:\users\andrei\documents\visual studio 2010\projects\test\test\test.cpp 200 1 test … | |
hie m using visual studio 2005 and sql 2005 i want to export my sql database to excel.. | |
The folders contains different images in them and the file names may match from those 2 folders and we should be able to display those images in 2 picture box having the same file names randomly. Using C# visual studio 2010. Please help me out with this code....! | |
Hi I want to install the following on my new laptop:- 1. VB6 2. Crystal Reports 8.5 3. Crystal Reports 9 4. SQL Server 2005 5. VS 2005 6. SQL Server 2008/SQL Server 2008 R2 7. VS 2008 8. Oracle Server 9. Microsoft Office 2007 What sequence should i follow … | |
Can any one give me a simple code for creating a forum in ASP.net Using the Microsoft Visual Studio 2012 RC Express for Web ??? | |
Hi everyone, I have developed a site using VB.Net and Visual Studio 2010, that allows users to upload and download multiple files to an FTP server. I have recently been given a request to change this so that SFTP is used instead of FTP. I have downloaded WinSCP but am … | |
Hi to ALL Plz help me i try my best to send sms from visual studio C# to mobile but i am not sucessfull so far if any one knows this yhen plz send me procedure as soon as possible thanx in advance Good bye......... | |
C#: I have two folders first one containing various images of the tops and other containing various images of bottoms, now randomly a dress(top & bottom) should be selected such that if user inputs no of days the dresses should not be repeated, those dresses which are not worn should … | |
**Is this possible to establish connection with sql 2008 R2?** Dear Experts, I am trying to create connection between Sql 2008 R2 and Visual Studio 2010 (I have installed Sql first). Is it essential to work with windows 2007? I have to format my computer because of this, would you … | |
Hi All, I am well in Access Reports but in crystal reports just i am learning. I am using visual basic 2005 and access 2003 database. The report development in crystal, I am struggling and searching a long time but there is no useful tips. My database has more tables … | |
hi there, i have an application that opens an excel file and get the values to the mdf file in visual studio database file. the code for opening the file is below [CODE] Microsoft.Office.Interop.Excel.ApplicationClass tt = new Microsoft.Office.Interop.Excel.ApplicationClass(); String path = a; tt.Workbooks.Open(path, 0, false, 5, "", "", false, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, … | |
hi all, I was developing asp.net mvc4 web site. I think I have corrupted some configuration in web site by mistaken. Now I got following error. HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers. Most likely causes: No authentication protocol … | |
hello forumerz .. i have some issue here about my visual studio 2008.. the problem happen when i want to change example like :: -change background picture for splash form then when i am debug the picture is still same -Also have error when is compile "Error debug target is … | |
hi all, I work on visual studio 12 express with asp.net mvc4 web + telerik contolers. we have share our code using svn but run project on own visual studeio server which starts when run the project. Everything worked fine but after updating code fewdays back after one of my … | |
Hello everyone! I'm Alan, a student who is getting started in C# in an attempt to learn a first language and its concepts a bit more in depth before moving on to other topics. Reading Visual C# 2010 Step by Step from scratch at the moment and will hopefully finish … | |
I made website that has connection with database... now i want to make exe of my project ,so that my C# code in MS Visual studio should not be visible to user. any help? | |
Hi – I am new to .net security. I am following Mastering visual C#.net book to learn it.I have the following program in Visual Studio 2008. using System; using System.IO; using System.Security.Permissions; [assembly:FileIOPermissionAttribute(SecurityAction.RequestMinimum, All=@”c:\\temp”)] class Example19_1 { public static void Main() { // Create a new file to work with … | |
I am trying to create a basic program with a user defined header file.I created the project in visual studio. #test1.cpp # #include <stdio.h> #include "multiply.h" int main() { int y; y=multiply(5,10); printf("%d\n",y); printf("%s","jigar"); getch(); return 0; } # multiply.h # int multiply(int a,int b); # multiply.c # #include "multiply.h" … | |
![]() | I'm trying to have my panels overlap, but visual studio is placing my second panel INSIDE the main panel, I want them to be purely independent of one another. I have my main menu panel and when the user clicks a button that menu panel is disabled and changed to … |
I'm learning c++ at school, ( 2nd class , we're at polymorphism now) and I would like to now how to create a program that will be visual. Let me explain: I am creating an automated garden project. I want it to control a fan, a water valve, humidity and … | |
Hi geeks, I'm using visual studio to write and execute programs. I want to create breakpoint not like software breakpoints(F9 for debugging). I want to build the project in release mode and want to have breakpoint. I heard something like _asm int 3 to create breakpoint. Can anyone explain _asm … | |
Hello, I have a bit of a problem. In C# I am doing an Windows Form Excel Addin using Visual Studio 2010. In my form I have a DatagridView that is connected to an Access databe and by pressing a button the user can send data to an Excel spreadsheet … | |
Hi guys just need a little help here. Well I'm done with the code but I can't seem to understand what's wrong with it. I mean when you are done entering your pair of username and password on both forms it's supposed to save the username and password entered on … | |
Hello everyone! I am having a bit of an odd problem here. So, on my Visual Studio project, I decided to use a precompiled header. This didn't seem to cause a noticable problem up until today. I have a small segment of code that is supposed to remove one element … | |
![]() | I've been writing a project in C# using VS2010 .Net 4.0 on my project and am trying to do NUnit testing (version 2.6) which I haven't done before. I added the nunit.framework reference to my project and created a test class: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace … |
First I am new to C#. I attempting to build a simple windows form where you can send textbox info to an access database on the machine. When viewing online tutorials and book, I notice their is a step, form missing from my Visual Studio 2010 program when I try … | |
Write a computer program using the C Language which reads any base-10 number from the standard input (keyboard) and writes its binary and hexadecimal representation to the standard output (monitor). this is what I have and I am super confused and need help please. and I have to create this … |
The End.