4,928 Topics

Member Avatar for
Member Avatar for b.shafabakhsh

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 …

Member Avatar for b.shafabakhsh
0
228
Member Avatar for wooshman

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, …

Member Avatar for tinstaafl
0
145
Member Avatar for Kareem Klas

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 …

Member Avatar for Kareem Klas
0
203
Member Avatar for StarTrekCafe

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 …

1
95
Member Avatar for CodyOebel

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 = …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for exception

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?

Member Avatar for nmaillet
0
48
Member Avatar for gamnlxvi

#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 …

Member Avatar for deceptikon
0
549
Member Avatar for gamnlxvi

#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 …

Member Avatar for gamnlxvi
-1
213
Member Avatar for shahai.ali

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 …

Member Avatar for shahai.ali
0
189
Member Avatar for tomz6

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 …

Member Avatar for mike_2000_17
0
3K
Member Avatar for Zaina jee

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?

Member Avatar for Ancient Dragon
0
94
Member Avatar for dre-logics

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 …

Member Avatar for pritaeas
0
142
Member Avatar for dumbncool

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 …

Member Avatar for anuj.juthani
0
827
Member Avatar for anukavi

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) { …

Member Avatar for anukavi
0
232
Member Avatar for Beginerman

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 …

Member Avatar for Beginerman
0
333
Member Avatar for ayat abukhadra

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 :)

Member Avatar for ayat abukhadra
0
1K
Member Avatar for Obike

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 …

Member Avatar for Obike
0
558
Member Avatar for Thomas7399

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 …

Member Avatar for poojavb
0
288
Member Avatar for huntvbcode

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 …

Member Avatar for M.Waqas Aslam
0
286
Member Avatar for shahai.ali

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...

Member Avatar for LastMitch
0
62
Member Avatar for pop_cola

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 …

Member Avatar for pop_cola
0
166
Member Avatar for thePAkid

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> …

Member Avatar for thePAkid
0
248
Member Avatar for moone009

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 …

Member Avatar for moone009
0
5K
Member Avatar for shahai.ali

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 …

0
99
Member Avatar for Mirfath

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 …

Member Avatar for ChrisHunter
0
3K
Member Avatar for ahmed_one

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 …

Member Avatar for ahmed_one
0
2K
Member Avatar for chdboy

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 …

Member Avatar for Reverend Jim
0
859
Member Avatar for Magda6347

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. …

Member Avatar for ravenous
0
124
Member Avatar for Reverend Jim

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 …

Member Avatar for Reverend Jim
0
230
Member Avatar for nivarshn

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) …

Member Avatar for NanaYee
0
1K
Member Avatar for ian.murray.33821

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 …

Member Avatar for ian.murray.33821
0
215
Member Avatar for Uniquenickfj

**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 …

Member Avatar for Uniquenickfj
0
227
Member Avatar for WDrago

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) …

Member Avatar for JOSheaIV
0
335
Member Avatar for WDrago

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 …

Member Avatar for TnTinMN
0
123
Member Avatar for muzamilsw10

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 …

Member Avatar for pritaeas
0
354
Member Avatar for tamas.vincze.714

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 …

Member Avatar for pritaeas
0
529
Member Avatar for ttitto79

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 …

Member Avatar for ttitto79
0
182
Member Avatar for strava

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 …

Member Avatar for deceptikon
0
643
Member Avatar for diya45

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

Member Avatar for deceptikon
0
92
Member Avatar for ahmed_one

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 …

Member Avatar for ChrisHunter
0
437
Member Avatar for jc.lembenguiste

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. …

Member Avatar for john.knapp
0
208
Member Avatar for MARKAND911

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)

0
127
Member Avatar for Neethaa

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 = "" …

Member Avatar for Reverend Jim
0
599
Member Avatar for Kukonangagila

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 …

Member Avatar for john.knapp
0
311
Member Avatar for brand.lock

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. …

0
76
Member Avatar for PrasannaKB

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 …

0
46
Member Avatar for Reverend Jim

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?

Member Avatar for deceptikon
0
254
Member Avatar for mail.sujitkulkarni

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, …

Member Avatar for mail.sujitkulkarni
0
3K
Member Avatar for diya45

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 …

Member Avatar for arunkumars
0
316
Member Avatar for laney.sinclair.5

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 …

Member Avatar for tinstaafl
0
148

The End.