4,928 Topics
![]() | |
I have been editing one html template in Microsoft Expression web 4,and right now I wish to bring all I have done into Visual Studio in order to start coding on it. But when I copy everything into a webpage in Asp.net some parts of my template will change,I could … | |
Hi all Normally a php type of person I am a noob / bodge when it comes to c#. Using Visual Studio 2010 I have had help in creating a memory / process reader. This looks like a cheat program which it could be if used in the wrong hands, … | |
Dear members, In a previous post I got useful tips to study C++ for game programming. I was using bloodshed Dev c++, but it had too many bugs. Now I use visual studio express 2010. But I can't get along with it. In bloodshed you had a blanco "page" and … | |
hi. my name is Marvin, from Australia. i am totally blind. i use a screen reader called Job Access With speech (jaws), right! a picture of a shark. from http://www.freedomscientific.com. okay here's my review of jaws 14. some of the new features i use include, when you can not read … | |
I am just researched out in frustration. No matter what I do I get an error trying to declare InternetOpen. [CODE] #include <WININET.h> #include <windows.h> int main() { /// Other includes were taken out to keep post small HINTERNET hInternet = InternetOpen( "TestApp", INTERNET_OPEN_TYPE_PROXY, "www.oebelknives.com",0, INTERNET_FLAG_ASYNC ); //HINTERNET FTPOpen = … | |
We tried to Deploy a Web Application in 64 bit and results a problem in displaying Crystal reports, the buttons turns to x, cannot be clicked ,on 32 bit we don't have problem. Can help? | |
#include <iostream> #include <stdlib.h> //For system() #include <conio.h> //For getche() #include <time.h> using namespace std; //You can modify these numbers but don't delete these constants or this starting code will not work const int MAX_HEIGHT = 20; //The height of the grid const int MAX_WIDTH = 40; //The width of … | |
#include <iostream> #include <stdlib.h> //For system() #include <conio.h> //For getche() #include <time.h> using namespace std; //You can modify these numbers but don't delete these constants or this starting code will not work const int MAX_HEIGHT = 20; //The height of the grid const int MAX_WIDTH = 40; //The width of … | |
hi i have following code in c# on button_click ReportDocument cryRpt = new ReportDocument(); TableLogOnInfos crtableLogoninfos = new TableLogOnInfos(); TableLogOnInfo crtableLogoninfo = new TableLogOnInfo(); ConnectionInfo crConnectionInfo = new ConnectionInfo(); Tables CrTables ; cryRpt.Load(@"c:\users\shahaiali\documents\visual studio 2010\Projects\CrystalReportTesting\CrystalReport1.rpt"); crConnectionInfo.ServerName = "ShaHaiAli-PC"; crConnectionInfo.DatabaseName = "StudentInfo"; crConnectionInfo.UserID = "user"; crConnectionInfo.Password = "pass"; CrTables = cryRpt.Database.Tables … | |
I'm using Visual C++ express 2010. Whats wrong with this code: (A video tutorial uses this code and works fine on theirs) #include <iostream> using namespace std; int main(){ string myString = "hello"; cout << myString << endl; return 0; } ??? Says: error C2679: binary '<<' : no operator … | |
![]() | When I write program in Visual Studio 2010, then error comes that "cannot find or open PDB file". Is their any solution of this problem? |
I have made a application X1 with Visual Studio 2008 (visual basic) .NET Framework 3.5 and deployed on Windows 7 desktop System. Works fine. The Same application X1 i have now made with Visual Studio 2012 (visual basic) .NET Framework 4.5. What must i do to ensure that the application … | |
Hi All, I need your guidance for a project (using Visual Studio + MFC) I'm doing. I want to create page flipping animation of a book. There should be a book and when I click on a key then the next page should be displayed. You get the idea? Similar … | |
Hi, Below is my code Socket CSocket,SSocket; sin_ad.sin_family = AF_INET;//sin.sin_family = PF_INET; sin_ad.sin_port = htons((u_short)m_Port); sin_ad.sin_addr.s_addr = INADDR_ANY; int s_len = sizeof(sin_ad); CSocket = accept(SSocket,(struct sockaddr *)&sin_ad, &s_len); ****if (ioctlsocket(CSocket, FIONBIO, &iMode))//iMode is ulong set to 1. { idc_txtbox.put_SelText("Unblocking of Socket failed"); closesocket(ServerSocket); WSACleanup(); }** if (CSocket == INVALID_SOCKET) { … | |
I need a little help with the below code. I am basically reading text from a .txt file and need to be able to convert the text into an array(fam6) that i can then search for a value that is typed into a text box. If said text box search … | |
Hello, Is there's a way to install a new version of the webbrowser control in the visual studio 2008 to be used instead of the old one ? Thanks for helping :) | |
I'm having a problem updating records from my VB.Net application to the database (Access Database). I've tried all sorts of update technique and i keep getting either "syntax error in update statement" or "data mismatch in criteria expression". heres the code i'm using: Public Function save1stsemester() 'this code updates 1st … | |
Hi, I am trying to insert values into my local SQL database. Here is my code: Imports System.Data.SqlServerCe Public Class AddSensor ' Shared variables Dim con As SqlCeConnection = New SqlCeConnection("Data Source=C:\Users\Bryan\documents\visual studio 2010\Projects\SiteSecure v1.1\SiteSecure v1.1\Database1.sdf") Dim cmd As SqlCeCommand Dim myDA As SqlCeDataAdapter Dim myDataSet As DataSet Dim oForm1 … | |
I want to know **what are the prerequisites Softwares Needed to install on my pc to start vb.net 2008 and ms sql Standalone and Server Client Software Development**? I have P4 Processor, 4 GB Ram, 1 TB Hard Disk, Oprating System Windows XP Professional Service pack 3. Visual Studio 2008 … | |
hi i have deattach the database from the SSMS. and a new database i have created in visual studio 2010. and i want to attach it to the SSMS. but my attach process is failed. any body is there to help me to attach the database into SSMS... ![]() | |
Hi guys, Do you have some sort of guidelines on how a user is notified that there's a new upgraded revision of the application (assembly information) or set-up files? The situation is like this, I have created a vb.net application and created a set-up file using VS2008. Now everytime I … | |
I'm trying to output data to a file. I half killed myself trying to get the program to work , everything works all data is working except for a few errors will show later. Heres my code // Week 13: In Class Exercise - 5 Solution #include <iostream> #include <string> … | |
Error: Cross-thread operation not valid: Control 'TextBox1' accessed from a thread other than the thread it was created on. After doing some research online I found when I add Control.CheckForIllegalCrossThreadCalls = False it works but I feel like that is not the proper way to handle this error. If anyone … | |
hi m following [this link](http://www.c-sharpcorner.com/UploadFile/0146e3/crystal-report-in-visual-studio-2010/) for generating crystal report in visual studio using c#. but in the above tutorial the database is created first and then reports are generated. but in my scnario i already have connected with database. now is it possible to generate report from existing database???? if … | |
hi! i want to open a word document directly from a windows form application running on visual studio 2010! i tried a particular code but it wont work!!! this is the code! [CODE]this.Application.Documents.Open(@"C:\Test\NewDocument.doc");[/CODE] i also imported and used the following header: [CODE]using Microsoft.Office.Interop.Word;[/CODE] it says that the word application does … | |
I need some help to make a order form in C#. My development environment is: Microsoft Visual Studio 2010 Ultimate SQL Server Express Edition 2005 Programming Language C# Sample Database = NorthWind (Tables Orders and OrderDetails) I've create a form for order entry, which contain a textbox for OrderID, a … | |
Hi I'm using a simple insert statemnt in from two textfield into my database using this code Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If (TextBox1.Text.Trim = "") Then MessageBox.Show("PLEASE DO NOT USE BLANK SPACES", "Data Entry Error") ElseIf (TextBox2.Text.Trim = "") Then MessageBox.Show("PLEASE DO … | |
Dec 7, 2012 at 11:18pm Im trying to create a bank account. In the bank account the user creates an account and puts whatever amount they want to open account. after account is created they can go to withdraw or deposit and add or subtract additional monty from the account. … | |
Alas, my current laptop must go in to the shop for some overdue repairs. My power supply and/or connector are failing, my keyboard is chattering and three of my USB ports are intermittent. Also, my feet have fallen off (the little rubber ones) and my display is dimming. I put … | |
I am using Visual studio 2005(.NET framework 2.0) .My project is window application and using c# language. We are having word templates created in office 2003, 2007 and 2010. I want to search text (string) in word template (.dot/.doc/.docx).This text is exist in two places in word doc : 1) … | |
hi, im using microsoft visual studio to make a game the game consists of a random number generator which ive completed and is working fine, when it generates a 7 a message tells you that you have a lucky seven, you get five goes at this then a message tells … | |
**Please Help Me! I'm Getting this error:** > Error 2 C:\Users\Nick\Documents\Visual Studio 2010\Projects\HTMLGrabber\HTMLGrabber\Form1.vb 143 'System.Data.Keywords' is not accessible in this context because it is 'Friend'. 38 HTMLGrabber **My current code is:** Public Sub RichTextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RichTextBox1.TextChanged Dim line As Integer = RichTextBox1.GetLineFromCharIndex(RichTextBox1.SelectionStart) Dim … | |
All, I am working on a project in C# with Visual studio 10 (on WinXP 32bit with .NET 4.0) and I need to use SQLite. I am totally confused by the SQLite installation process. [This FAQ](http://system.data.sqlite.org/index.html/doc/trunk/www/faq.wiki#q8) says that there is no need to install SQLite, but the [instructions given here](http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki) … | |
All, I am collaborating by email on a project with 2 other programmers. We're all pretty new to Visual Studio and C#. One of us is designing and bulding all the GUI forms, I'm doing the database work, and the third guy is doing the main app code. What files … | |
Hello Everyone, I am new in visual studio and trying to learn it. I am exploring a scenario but couldn't find how to do that in visual studio 2012 using windows 8. The Scenario is: I have three buttons named as Bob, Jolly, Elas. When user clicks on a button … | |
I have a course (reverse engineering) in uni and i have a homework. I got a .obj file (which was compiled with visual studio 2008), and i have to disassemble it, figure out the control structure and call it in a little c program. I used IDA decompiler, here is … | |
I am trying to use a combobox in a windows form for windows CE mobile device with sql server compact installed. I am using visual studio 2008. I have two sdf databases - MobileArticles.sdf and MobileOrders.sdf MobileArticles.sdf has a table Articles(name, weight,barcode,...) and a table Clients(ClientID) MobileOrders.sdf has only one … | |
I'm newbie in C++ programming and I want to declare a constructor from following code in my main however I'm completely confused about it. Here is the code: #include <vector> using namespace std; template <typename HashedObj> class HashTable { public: explicit HashTable( const HashedObj & notFound, int size = 101 … | |
hi guyzzz in visual studio the form guest i added guest info i added it is added but not show in datagirdview and also not display in girdview but it is added in database SQL but not show in girdview plzzzzz any one tell me | |
Hi All Experts, I am a newbie to C#, my development environment is: Visual Studio 2010 Ultimate Edition Sql Server 2005 Programming Language C# I've a form with Unbound Datagridview, from which data is save to Sql Server 2005 by looping through For..Each and pass SQL INSERT Statement when user … | |
Hello everybody you will excuse my poor englsih I am french, since two month I began to develop an application using Vb.Net . This application must use a database . I chose MS SQL Server for the database, but I dont know how to connect my application to MS SQLSERVER. … | |
I added new database file in my solution's app_data folder in VS2008. But when i tried to expand it from SERVER EXPLORER, i get this error An attempt to attach an auto-named database for file ___ failed. Find the screen shot of the error which occured in vs2008 IDE. [http://www.eggheadcafe.com/FileUpload/1619491694/Errordb.jpg](null) | |
Dim Cname As String Dim CID As Integer Dim Rmaterial As String con = New OleDbConnection("Provider=Microsoft.ace.Oledb.12.0;Data Source= C:\Users\Lenovo\Documents\Visual Studio 2010\Soft\Database\Login.accdb") con.Open() cmd = New OleDbCommand("select * from Purchase where CompanyID='" & txtnum.Text & "'", con) dr = cmd.ExecuteReader() If txtname.Text = "" And txtnum.Text = "" And txtraw.Text = "" … | |
hey guys, i created payroll system for my thesis project, i want to generate three reports using crystal report from visual studio 2008, but when i try to create connection using > OLE DB (ADO) > Microsoft OLE DB Provider for SQL server > Server = "Servername" > it has … | |
First off thanks for looking at this I have looked all over (both here and on the net) and tried several things trying to get this to work. I am using Visual Studio 2012 with DirectX (June 2010) SDK. I am attempting to write a fuctuin for sprite colission detection. … | |
Hi All i have generated matlab code into stand alone (DLL) using matlab builde NE,i writen interfacing code to Proficy Trouble shooter and cause+ tool in visual studio,i have used thes MATLAB DLL as add reference inthe program and i am able to build .NET Assembly (DLL),If i integrat this … | |
I was thinking about installing Visual Studio 2012. Does anyone know if I can have both 2012 and VS 2010 installed at the same time without screwing up either or both? | |
Hi, I am experiencing irritating error (undiscriptive rather), when I want to insert a single statement into my db. Following is the code: protected void Button1_Click(object sender, EventArgs e) { SqlConnection dataConnection = new SqlConnection(); dataConnection.ConnectionString =@"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True"; SqlCommand dataCommand = new SqlCommand(); dataCommand.CommandText=("INSERT INTO citylist(city_id,city_name,latitude,longitude,state) VALUES ((1, … | |
hi all i make a store procdeure in visual studio wpf when i run a code the error is not solve here is error "Procedure getguestinfo has no parameters and arguments were supplied." and here is the code public class guests { private int guest_id; public int Guest_id { get … | |
I have this webpage. It has a wysiwyg html editor. It will create a blog post to my blogs with its contents everytime I hit submit. I hired someone to create this webpage so I cannot edit it. I don't want to mess it up. I created a program in … |
The End.