4,928 Topics

Member Avatar for
Member Avatar for chdboy

I have problem updating specific record(s) selected to edit from a DataGridView into textboxes ,where the data can be edited and then update to the database. Now my update statement must have a where clause ,but it's not working,right now the code I'm about to post does updated record(s),but not …

Member Avatar for chdboy
0
183
Member Avatar for tanu.jain.39566

i have visual studio professional edition and have downloaded and installed cosmos user kit for developing operating system.when i am making new> project>visual f#> c# operating system --kernel.cs is being made..and there no program.cs file with main and init function as shown in most of the tutorials.in my kernel.cs i …

Member Avatar for tanu.jain.39566
0
175
Member Avatar for jaimin4829
Member Avatar for Nutster

Recently, I saw somebody start a "Deal or No Deal" game in the Posting Games section. This got me thinking of writing a program to actually play the game based on the rules of the show. So I spent a couple of hours writing this in ANSI-C. I probably should …

Member Avatar for Nutster
0
355
Member Avatar for mickky

can anyone plese tell me how to make installable file of a java program using visual studio 2010 professional.?

Member Avatar for mickky
0
86
Member Avatar for jangojan

hie guys, a great supportive sites i have ever seen, i am facing a simple issue with my login windows form, which i have created, it works fine no issue, but now i want that after successful login user should be automatically redirect to home screen (windows forms) but unfortunaterly …

Member Avatar for tinstaafl
0
883
Member Avatar for Galbatorix

Hi, I have an error with this function at runtime Private Sub adultPay() sql = "SELECT adultRate FROM roomType WHERE roomType = " & rumType.ToString & "" connectDatabase() Using da As New OleDb.OleDbDataAdapter(sql, con) Using ds As New DataSet Try da.Fill(ds, "AdultRate") 'error here Dim adultRate As String = ds.Tables("AdultRate").Rows(0).Item(0).ToString …

Member Avatar for Khristophor
0
141
Member Avatar for chdboy

I'm trying to get values from DataGridView to the another form in textboxes and in Picturebox ,data in textboxes are there ok, but when I try to get a picture in a picturebox from DB it gives me this error. Buffer cannot be null Parameter name :buffer and here is …

Member Avatar for chdboy
0
3K
Member Avatar for XEN0

Just wondering here what is a efficent way to communicate between a Windows Form project and a console application. So far im using Visual Studio 2012 and the System.IO.Pipes namespace,to send bytes between the application. In the windows form(as client) Dim pipes As NamedPipeClientStream pipes = New NamedPipeClientStream("A Digital Whirlwind …

Member Avatar for XEN0
0
362
Member Avatar for jangojan

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.SqlClient; namespace testingdatabase { public partial class Form3 : Form { public Form3() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { new Form1().Show(); this.Close(); } private void text_searchstring_TextChanged(object sender, EventArgs e) …

Member Avatar for ChrisHunter
0
138
Member Avatar for <M/>

Is there a way to get Visual Studios for Mac without partitioning your computer and getting windows 8? If there is no way, can someone point out a tutorial in doing so? I can't find anything useful... (If i am unable to do so, i might as well get a …

Member Avatar for <M/>
0
169
Member Avatar for dospy

first of all, sorry if this thread is in the wrong section, but i think this is the most appropiate one i need clear instructions for installing AND configuring QT for my machine(i am running windows 7 on 64bit) i don't want other reference links unless they perfectly suit my …

Member Avatar for dospy
0
134
Member Avatar for jim.hurley

I try to reference a struct from another class in my code and it gives me an error, saying I have a syntax problem. //Figure index struct FIGURE_TYPE { //Where to crop the image from SDL_Rect crop; int x; int y; }; That's the struct in Figure.h, void set_camera ( …

Member Avatar for jim.hurley
0
620
Member Avatar for Kareem Klas

Hello members, I have started studying C++ with the book "C++ primer"( by Stanley B. Lippman, Josée Lajoie& Barbara E. Moo). I use Visual Studio 2012 Ultimate and make my projects on Win32ConsoloApllication. There was an example and I wanted to make it over for myself. #include <iostream> int main() …

Member Avatar for Kareem Klas
0
179
Member Avatar for hirenpatel53

Hi all i am developing application with visual studio 2008 and using ajax asyncfileuplode control to upload file ,i am not able to take fully qualified fide od selected file by upload control so please give me some idia how to do this thanks in advance

Member Avatar for JorgeM
0
89
Member Avatar for ztdep

Dear friends: I am trying to convert a double to string format using the std::to_string function, but it gives me the following error message. i do not understand why the functgion does not support the double format. i use the vs2010. > error C2668: 'std::to_string' : ambiguous call to overloaded …

Member Avatar for tinstaafl
0
973
Member Avatar for gsowmyashri

am not able to run web page in Visual studio 2008 The ERROR is "Could not load file or assembly 'WebApplication1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Access is denied."

Member Avatar for LastMitch
0
172
Member Avatar for mradzinski006

Hi, I'm developing an application that needs to call some methods located inside a SOAP web service and read their responses. For security reasons my client does not allow me to access the service, so there's no way for me to reference it using the Visual Studio tool. I do …

Member Avatar for mradzinski006
0
182
Member Avatar for silvercats

using Visual Studio ? Also, Is there a different name for classes in C# when it comes to Java? is an object in Java and a method in C# similar?

Member Avatar for JOSheaIV
0
162
Member Avatar for devianleong

As title show. I still not able to connect my ms.access login database . Please help me ~ Dim con As New OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\leong\Documents\Visual Studio 2010\Projects\WindowsApplication4\WindowsApplication4\coursework.accdb") ' Dim cmd As OleDbCommand = New OleDb.OleDbCommand("SELECT * FROM AdminUser WHERE Username ='" & Usernametxt.Text & "' AND Password ='" & Passwordtxt.Text & …

Member Avatar for Begginnerdev
0
144
Member Avatar for ncaatrackstar

The problem I am having is that I need to reference a dll this is rebuilt every hour and are placed into a unique directory. So every couple hours I have to go to the newest directory and reference that dll for mt project. What I did so far is …

Member Avatar for BhuvanRam
0
561
Member Avatar for tinstaafl

A curious thing, is there a reason that you can't declare sender as a specific type? For instance, if you had a number of textboxes and you wanted each one to select all it's text when you click on it could you use : Public Sub TextBox_Click(ByVal sender As TextBox, …

Member Avatar for Reverend Jim
0
328
Member Avatar for pride123

I have this code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim connection As New SqlClient.SqlConnection Dim command As New SqlClient.SqlCommand Dim adaptor As New SqlClient.SqlDataAdapter Dim dataset As New DataSet connection.ConnectionString = ("Data Source=.\SQLEXPRESS;AttachDbFilename=c:\users\korisnik\documents\visual studio 2010\Projects\WindowsApplication46\WindowsApplication46\Database2.mdf;Integrated Security=True;User Instance=True") command.CommandText = "SELECT * FROM [User] …

Member Avatar for pride123
0
148
Member Avatar for Depreciated

I am using SQL Management Studio Express and Visual Studio 2008. I have this string used for accessing the database for the system I have: Public constring As String = "Driver={SQL Server}; Server=MyName-PC; Database=RBMonDB; uid=; Pwd=;" This string is stuck on one PC. So I thought of creating a generic …

Member Avatar for Lethugs
0
175
Member Avatar for herge

Hi Everbody: To get rid of specific warning in 2008 vc++ or 2005 vc++ 1>c:\documents and settings\user\my documents\visual studio 2008\projects\gmt\gmt\gmt.cpp(25) : warning C4996: '_gmtime64': This function or variable may be unsafe. Consider using _gmtime64_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files\microsoft visual studio …

Member Avatar for deceptikon
0
239
Member Avatar for Suzie999

I was testing a portion of new code in a loop, a lot really, as I was just creating it there were a lot of commened stuff, so when I tries to comment the new code it was being an ass, so I just cut it ready to ctrl + …

Member Avatar for Suzie999
0
163
Member Avatar for alex.mccoy.3386

I am trying to write a program for my class and ran into these errors. I don't know where the issue is and was wondering if any one could help. The project consists of a header, implementation, and source file. These are the errors that I am getting: 1>DivSales.obj : …

Member Avatar for alex.mccoy.3386
0
346
Member Avatar for GolDRoger00

Hi I am really new to c#(I used to do vb.net) and I need some help with a problem. I am wondering what the equivalent of a datalist or detailsview in asp.net is in a c# winforms application and how to use it. I have data in a database and …

Member Avatar for tinstaafl
0
642
Member Avatar for CPT

Hello everyone, I've encounterred a problem that I cannot seem to overcome. For the program to compile there are a few steps necessary to take: from the website [Click Here](http://osl.iu.edu/research/mpi.net/software/) on the download page, one would need to download and install: 1. MPI.NET SDK 2. Microsoft Compute Cluster Pack SDK(this …

Member Avatar for Ketsuekiame
0
384
Member Avatar for firebird102085

Hi Everyone, I am just starting out so I am sorry for this basic of a question. I have developed the code below to run a very simple program, but, each time the program runs the console window comes up during the program run but closes itself automatically. It should …

Member Avatar for Suzie999
0
333
Member Avatar for Elixir42

Hi, Using Visual Studio 2012. Why does the syntax highlighting turn off periodically. Then unexpectedly it turns back on again, unreproducably, and rather annoyingly. A chocolate eclair for anyone who knows...?

Member Avatar for Ketsuekiame
0
204
Member Avatar for azareth

i got a problem with my visual studio 2010 the properties window doesn't display anything whenever i click any control i've tried reopening the properties window, opening some old solutions and restarting the program, but it still the same i've also reinstalled visual studio but it didn't help either my …

Member Avatar for azareth
0
157
Member Avatar for shermags

Hi, I am new with the WPF Browser Application in VB.Net. I would like to know if how can I execute a windows form or a page. I had tried to this code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles Button1.Click Dim Form As New Window1 …

Member Avatar for shermags
0
124
Member Avatar for Ancient Dragon

I've written a short tutorial how to get started writing sql database applications with C#. The totorial is in PDF format so that you can download it and read at your leasure. It assumes you are using MS-Windows and Visual Studio 2012. If you are using an earlier version of …

Member Avatar for Ancient Dragon
0
198
Member Avatar for Suzie999

I'm having a bit of a problem and I cannot figure it out. It seems as though code will only write to one keyname I have an inifile [section] key1= key2= key3= And my code Class I'm using from http://www.codeproject.com/Articles/10809/A-Small-Class-to-Read-INI-File stringstream ss (stringstream::in | stringstream::out); CIniWriter MyIniTest(".\\test.ini"); char out[20] = …

Member Avatar for Suzie999
0
163
Member Avatar for Hendo

Hello all, Okay, I've been beating my head for a couple of days over this one and I'm running out of time. I'm writing an app that reads an XML file, then uses the data in the XML file as variable values. Here's a sample XML file: <!--Test.xml--> <Test> <turn>right</turn> …

Member Avatar for Hendo
0
180
Member Avatar for glad024

hey guys just need some help here..i don't know how program it in C#.. i need a class file in C# using Microsoft Visual Studio 2008 that will save inputted data to the MySQL database..and also a class file that will transfer data from a table to another table in …

Member Avatar for ChrisHunter
0
396
Member Avatar for Depreciated

Hello people, I am new to crystal report. Normally, I would insert columns in the crystal report viewer and then look at the records at the Main Report Viewer. All the rows/records in that particular columns of that table will be shown. And then I found out about this SQL …

Member Avatar for Depreciated
0
331
Member Avatar for vikuseth

Inside FileTwo.h #ifndef FILETWO #define FILETWO #include"FileOne.h" class FileOne ; class FileTwo { public: int Test(FileOne One){ return (One.var1+One.var2);} FileTwo(void); ~FileTwo(void); }; #endif Inside FileOne.h #ifndef FILEONE #define FILEONE #include"FileTwo.h" class FileTwo ; class FileOne { private: int var1 , var2 , var3 ; public : friend int FileTwo::Test(FileOne One); …

Member Avatar for vikuseth
0
207
Member Avatar for t2nator

I'm using the Visual Basic that comes with Visual Studio 2012 Utlimate, and everything I find online doesnt ever work. I am simply trying to make it to when a button is clicked the rows that are checked get deleted. Do While TodaysTrans.SelectedItems.Count > 0 TodaysTrans.Items.Remove(TodaysTrans->CheckBox.Equals(true)) Loop

Member Avatar for tinstaafl
0
151
Member Avatar for Chase.Dangerfield

Hey I was trying to create an Managed Dll so i could call it from C# Im using i tried using pragma comment (lib, "user32.lib") I'm Continually getting linker error with the project, even though I have linked the header file and the lib to the project. Another Clue I …

Member Avatar for happyHacker
0
792
Member Avatar for shotokanpoloto

I would like to validate columns in an asp:Gridview but am unsure how to do so as all the tutorials I have found show a previous version on Microsoft Visual Studio (I am using 2010). How do I validate each column of the Gridview? Thanks This is the code of …

Member Avatar for JorgeM
0
180
Member Avatar for RIJIN

build link error 1>------ Build started: Project: Circular_Link_List, Configuration: Debug x64 ------ 1>Build started 12/30/2012 11:36:28 AM. 1>PrepareForBuild: 1> Creating directory "C:\Users\RIJIN\documents\visual studio 2010\Projects\Circular_Link_List\x64\Debug\". 1>InitializeBuildStatus: 1> Creating "x64\Debug\Circular_Link_List.unsuccessfulbuild" because "AlwaysCreate" was specified. 1>ClCompile: 1> main.cpp 1> ListNode.cpp 1> Circular_Linklist.cpp 1> Generating Code... 1>main.obj : error LNK2019: unresolved external symbol "public: …

Member Avatar for RIJIN
0
2K
Member Avatar for sciwizeh

Hello, I have some java code I want to port to C++, and first class in the Heirarchy has me stumped. I'm trying to port a simple parsing framework as an exercise to figure out how it works internally, and almost everything in the framework requires, uses, or is `PubliclyClonable` …

Member Avatar for sciwizeh
0
434
Member Avatar for robinotje

Hello everyone, I'm new to C ++, and I want to know how to delete a whole folder. I've tried to do this, but it doesn't work. Can anyone help me? [CODE]#include <iostream> #include <stdio.h> using namespace std; int main() { remove ("c:\\users\\asus\\new"); return 0; }[/CODE] I'm running Vista, and …

Member Avatar for Ancient Dragon
0
15K
Member Avatar for vince8290

Hello ! I'm the ultimate beginner in programming. I have some experience in php and vba, doing my own scripts as I need them, especially in excel. Recently, for a project at works, I need to be able to scan **AUTOMATICALLY** (say every 2 minutes) from **multiple scanners** (say 2 …

Member Avatar for vince8290
0
983
Member Avatar for Thomas7399

Hi all, I have another question. I am trying to use an update statement to update an item in a listbox. Please see below: Imports System.Data.SqlServerCe Public Class Edit_Sensor_Form ' 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 myDA As New SqlCeDataAdapter Dim …

Member Avatar for Thomas7399
0
187
Member Avatar for Thomas7399

Hi, I am brand new to using SQL with VB. I am trying to be able to insert data from any given row in my SQL table. The row to be inserted is selected by the user on a listbox on Form1. Here is my code: Imports System.Data.SqlServerCe Public Class …

Member Avatar for Begginnerdev
0
246
Member Avatar for silvercats

*Can't access private member declared in class 'Sales_item'* Visual studio 2010 my compiler. here is the "Sales_item.h" header file. http://tny.cz/b7f276dd here is the code that I ge the error #include <iostream> #include "Sales_item.h" using namespace std; int main() { Sales_item item; Sales_item item2; cout<<"Enter item names"<<endl; cin>>item>>item2; if (item.isbn()==item.isbn ()) …

Member Avatar for Gonbe
0
138
Member Avatar for jaimin4829

The End.