8,298 Topics

Member Avatar for
Member Avatar for gelmi
Member Avatar for gelmi
Member Avatar for pilesos

Hello , I'm trying to make an Update query but keep getting the following exception : "Data type mismatch in criteria expression" Here is the query : UPDATE PatientData SET PatientData.[Transaction Stop Time]='6/26/2010 1:07:12 PM' WHERE PatientData.[Patient ID]=6 AND PatientData.[Parameter name]= 'Temperature' AND PatientData.[Valid start time]='9/7/1999 12:00:00 AM' additionally, when …

Member Avatar for Nijil
0
270
Member Avatar for VasquezPL

I wrote a small program: Thread1 thread: public void ExecuteCommandSync(string argument) { try { var procStartInfo = new System.Diagnostics.ProcessStartInfo("bbb.bat", argument); procStartInfo.RedirectStandardOutput = true; procStartInfo.UseShellExecute = false; procStartInfo.CreateNoWindow = true; procStartInfo.ErrorDialog = false; var proc = new System.Diagnostics.Process(); proc.OutputDataReceived += (s, e) => { if (!string.IsNullOrEmpty(e.Data)) { LogBox.BeginInvoke(new EventHandler(delegate { LogBox.AppendText(e.Data.ToString() …

Member Avatar for VasquezPL
0
315
Member Avatar for dalawh

Is there anyway to interrupt one program with another program? One program writes to a file, and the other one reads and prints a certain statement depending on what was read. I want the reading program to be interrupted when the writing program writes.

Member Avatar for mike_2000_17
0
235
Member Avatar for keyd

hi, every body i became member of, so i would like to study how greate database in c# could u help me

Member Avatar for ddanbe
0
32
Member Avatar for vindom

Hi! I'm writing little software just to get some practice in c#. I have listview in form 1 where program displays first name and last name form access database. When admin selects name/surname in listvioew and press show usercard(form2) I have a label in form2 and I want it to …

Member Avatar for vindom
-1
1K
Member Avatar for CDRIT

I've inherited a small C# command line program that takes a date and creates several spreadsheets containing data pulled from a microsoft sql server database based on that supplied date and some names hard coded into the program. I'm looking to change the program to pull the data from a …

Member Avatar for riahc3
0
210
Member Avatar for zubair khalil

this is java webservices code and please convert to C# webservices code, just change for me , i think you understand my probelm, and please do for me here is a code below , <div>import java.io.FileOutputStream; import java.io.PrintWriter; import java.net.HttpURLConnection; import java.util.Enumeration; import java.util.Properties; import java.util.Vector;</div> <div>import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; …

Member Avatar for riahc3
0
532
Member Avatar for nemoOooZ

Hi all, I have two xml files and I need to export the result of applying a left outer join between them into a list var result = from file1 in XDocument.Load(f1).Descendants("Contract") join file2 in XDocument.Load(f2).Descendants("Profile") on (file1.Element("CustomerAccID") != null ? file1.Element("CustomerAccID").Value : "") equals (file2.Element("Id") != null ? file2.Element("Id").Value …

0
66
Member Avatar for prasishiva

I need to display the column names from table in the dropdownlist of the application. How to display columns of table from database to application using c#?

Member Avatar for Bhuvan Ram
0
327
Member Avatar for kram54

Hi everyone ; i using to VS2008 -- devexpress V10.1.2 and MSSQL i make to same project .. my project setup is work my computer but same setup doest work to another computer error: ERROR DETAILS Following errors were detected during this operation. * [07.11.2012 02:17:57] System.Deployment.Application.InvalidDeploymentException (SignatureValidation) - Strong …

Member Avatar for Bhuvan Ram
0
780
Member Avatar for Jothe

Hallo good people, Am doing a project in which every time a delete record is done i want it to fire a trigger which then helps me capture who deleted the record and at what time this happened. All this details should be written in a flat file. Any help …

Member Avatar for Jothe
0
98
Member Avatar for meetarun007

I need to display cartons as when it is placed in pallets in C# desktop program. I need to display one by one, after the robo places the carton in pallet. i.e, initally the pallet will be empty. when the robo places first pallet i need to show carton in …

Member Avatar for kattypier
0
378
Member Avatar for xixi.li.7

I have a c# linq assignment to add a data from the csv file, here is my code: struct DailyValues { public DateTime Date { get; private set; } public decimal Open { get; private set; } public decimal High { get; private set; } public decimal Low { get; …

Member Avatar for Momerath
0
247
Member Avatar for pjh-10

trying to do a 2D array of a square sorta shape, and want to display it in the format 1-12 in the order 1 2 3 4 5 6 7 8 9 10 11 12 im an absolute novice if you cant tell, just wondering how i go about this.trying …

Member Avatar for pjh-10
0
135
Member Avatar for slappy5star

I am having problems comparing the arrays in the following code. I commented where I "think" the problem is. Any help would be appreciated. #include <iostream> #include <conio.h> #include <cctype> using namespace std; const int NUM_QUESTIONS = 20; class TestGrader { private: char correctAnswers[NUM_QUESTIONS]; char studentAnswers[NUM_QUESTIONS]; public: void setKey (); …

Member Avatar for Daniel BE
0
268
Member Avatar for hexes

Basically I am asked to reinvent the wheel a.k.a. the uniq commmand. I have to write a code that returns the number of occurence of each line in a file. I've done it a lot of times in Python and Java with a simple for line in file if given_line …

Member Avatar for deceptikon
0
236
Member Avatar for Eclip7e

Hi guys so I am making function for my graphs (adjacency matrices) to return number of connected components using breadth first search algorithm. It almost works properly. It returns proper value if number of components is equal to number of vertices, but if number of components is smaller than number …

0
178
Member Avatar for Dino000

Hello! I'm creating an app where you can open Settings form and choose the background color, etc. This is how it looks like when one clicks on the color settings button: ColorDialog dlg = new ColorDialog(); dlg.Color = Properties.Settings.Default.bgdColor; if (dlg.ShowDialog() == DialogResult.OK) { Properties.Settings.Default.bgdColor = dlg.Color; Properties.Settings.Default.Save(); bgdColorLBL.BackColor = …

Member Avatar for Dino000
0
248
Member Avatar for lewashby

garrett@mint-desktop ~ $ c++ -v Using built-in specs. COLLECT_GCC=c++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version …

0
107
Member Avatar for php111

Hey everyone, What book would be recommended to learn C++ between Prata C++ Primer Plus, or the C++ Programming Language by Bjarne Stroustrup? I believe C++ Primer Plus would cover everything, but does someone need expirence in order to read the book by Bjarne? Does the Bjarne book covers everything …

Member Avatar for mrnutty
0
603
Member Avatar for sonum04

hey sir, i need your help to solve a program? question is= write a program for assesment system of university. the basic idea is to calculate the GPA of each subject and then calculate the GPA of whole semester and the basic of that GPA calculate the grade and remarks? …

Member Avatar for np complete
0
102
Member Avatar for spuriousgeek

Hi Everyone, Background: I have recently implemented the A* pathfinding algorithm in C# based on some pseudo code that I found. I need the algorithm to run as fast as possible and at present my code isn't quite cutting it. I understand that the heuristics used can have a big …

Member Avatar for spuriousgeek
0
1K
Member Avatar for itzchakri

HI All, I have a tabcontrol and three datagridviews on each tabpage. i.e tabpage1 have datagridview1, tabpage2 have datagridview2 and tabpage3 have datagridview3. Now when i scroll horizontally on datagridview1 to some postion remaining all datagridview has to scroll to that postion and vice versa..

Member Avatar for Momerath
0
145
Member Avatar for WolfShield

So, While I was working on a project I accidentally closed down my Form1.cs[Designer] window and I haven't been able to find how to open it again. I am using Microsoft Visual C# Express Edition. I have looked around in the program and haven't been able to find a way …

Member Avatar for Momerath
0
1K
Member Avatar for code_r

Hi, I'm working on some questions for homework and I have a small idea what the answers may be. Can anyone look my answers over and help me out maybe explaining why they may be wrong or right? Question 1: answer "b" Here is a diagram of memory: Which declaration …

Member Avatar for Gonbe
0
168
Member Avatar for cacadi

So i am doing a program that opens a file that contains grades and shows the average, total, etc.. But at the end I am supposed to make a histogram that would look something like this A= * * B= * * * C= * * * * * * …

Member Avatar for rstralberg
0
465
Member Avatar for sunygirl92

I need to create a sorting program with C from a txt file. I need to use bubble sorting and insertion sorting. All I have right now is what the professor gave us to start. I don't know where to go from here! Please help! Program so far: #include <stdio.h> …

Member Avatar for Adak
0
155
Member Avatar for prathiyus

**i'm trying to sort the number in the ascending order,i have a problem in doing that....im quite new to c ** *my input is a={40,50,20,30};,b={20,30,40,50};my output will be a=20 30 40 50 ,b=40 50 20 30 * sorting all the columns of a data by one of its column int …

Member Avatar for prathiyus
0
338
Member Avatar for MARKONINI

Hello, I'm now year 12 in a programming oriented high school and I have some 3-4 months to complete a programming based project. I know SQL (completed "Introduction to Computer Science" course), PL/SQL (New to PL/SQL but I'm learning fast), C# (learned it 3 years and had good grades) and …

Member Avatar for Momerath
0
336
Member Avatar for djbsabkcb

Below is my code for Fibonacci sequence, however when I use a large number such as 100 or more it takes forever to produce output. Why? any help would be appreciated. :( [code]#include <iostream> using namespace std; long fib_num ( long ); int main() { long num = 0; long …

Member Avatar for josh2k12
0
2K
Member Avatar for RadhikaR
Member Avatar for Ancient Dragon
0
45
Member Avatar for CaptainNick

I'm pretty nee to all this stuff, I have no problems reading from the database but writing new records and updating fields etc is proving to be quite difficult. The following code is just meant to create a new record in a table, I started the field count at [2] …

Member Avatar for segal87
0
2K
Member Avatar for Ismail Issa

Hey guys. i am new to c# and i was wondering if you could give me a hand. it is about sets.So far i have 3 textboxes,one for set a one for b and another for result.i also have 3 buttons one for union one for difference,element found in a …

Member Avatar for ddanbe
0
116
Member Avatar for gthaliath

Hi I would like to get some directions on where to look for in the way of getting a c++ profram to put hex values on a printer. I would also like to know if some one could guide me with a few examples. Regards GT

Member Avatar for Ancient Dragon
0
35
Member Avatar for richjohn.bulante

hi there ahmm, in creating or implementing a face recognition in an system is advisable because we have an onlie poject wherein we must get the time in and out of a user that is register in the system. the problem is we do not have any background in terms …

Member Avatar for JOSheaIV
0
180
Member Avatar for dsotelo91

Hi there. I am trying to code a program to add or subtract two polynomials using linked lists. For ex. (+4x^2-2x^1) + (+2x^12-5x^5). So far I have a read function which takes in a string and uses substrings to take the coefficient and exponents and insert it to a node. …

Member Avatar for dsotelo91
0
4K
Member Avatar for mmeyer49

I am trying to write a smiple email web program. Whenever I try to get an out going email I keep getting the general message that the computer is denying me access. "No connection could be made because the target machine actively refused it " I have tried this at …

Member Avatar for mmeyer49
0
327
Member Avatar for hanvyj

Hi, I'm not sure if this is the right place for a WPF question... but you might be able to help me! I am using Visual Studio Express 2010 (Which I didn't know had an evaluation time, going to have to change to 2008!) and I'm developing a WPF application. …

Member Avatar for hanvyj
0
235
Member Avatar for compulove

Hi! I am trying to teach myself C# and basically I have been reading books and online materials to help me but I think I need to really be more hands on with it to really have it sink in. Any ideas on websites or software that I could get …

Member Avatar for compulove
1
106
Member Avatar for judithSampathwa

hi there, i have a code to open an excel file and get the information from the excel file, but how can i get the used rows in the excel file appreciate a lot if someone could give a tutorial or some guidance thankx

Member Avatar for mukund1988
1
3K
Member Avatar for richjohn.bulante

hi, good day . ahmmm, i have a problem in terms of adding a technology which is biometrics in our project, can you please help me on how to code the finger biometric in our online website my front end is asp.net and my back end is sql database. and …

Member Avatar for richjohn.bulante
0
182
Member Avatar for anisha.silva

HI, how do i draw the observer pattern in a component diagram? appreciate if someone could point me to a link thanks,

Member Avatar for TnTinMN
0
122
Member Avatar for chris.vargas.773

For an assignment for class i wrote this code right but the only problem i have is that i can't get the right value that assignment wants which is distance so far: 0 meters distance so far: 1000 meters distance so far: 0 meters distance so far: 0 meters distance …

Member Avatar for dx9_programmer
0
137
Member Avatar for chris.vargas.773

i wrote this code for sending and recieve mail but i can't get the output that is required for class which is -Test 1-- Creating a new envelope Addressing from Muffin To Howie Inserting the message: Pet me! Affix Postage: 0.33 stamp Sealing the envelope Mailing the envelope --Test 2-- …

Member Avatar for dx9_programmer
0
174
Member Avatar for badboy515

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.Drawing.Drawing2D; /* * @(#)fractal.java - Fractal Program Mandelbrot Set * www.eckhard-roessel.de * Copyright (c) Eckhard Roessel. All Rights Reserved. * 06/30/2000 - 03/29/2000 */ //import java.awt.*; //import java.applet.*; //import java.awt.event.*; /** * @version …

Member Avatar for ddanbe
0
274
Member Avatar for richjohn.bulante

i have a problem on how to code for automatic generate an employee id whenever i registered an account in my system. i used asp.net as my front end and Sql Server Database 2005 as my back end.. thnx a lot!

Member Avatar for Dani
0
222
Member Avatar for amendonca

Define a function drawRectangle with the following prototype: void drawRectangle(int width, int height, int offest); The function will print a rectangle made out of height rows with '@' character repeated width times on each row. The first @ on each row will be preceded by offset spaces. That means the …

Member Avatar for Ancient Dragon
0
163
Member Avatar for HunainHafeez

during signup by applicant he/she must fill her educational details , total 5 educational levels, 1.ssc 2.hssc 3. BS 4. MS 5. Phd now lets say that an applicant has only BS passed then it mean that he/she would not have fill 4 and 5 option, now i want that …

Member Avatar for HunainHafeez
0
342

The End.