199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for christos312

Hello to everyone, I have a program that gets some information from the user and updates the database. I also have two DataGridView, [B]OpenOrders[/B] and [B]ItemsInOrder[/B] When the user click on a cell in the [B]OpenOrders[/B] a [I]CellChange[/I] event is triggered and it updates the [B]ItemsInOrder[/B] grid view... Now after …

Member Avatar for christos312
0
1K
Member Avatar for geekme

I have eclipse , jre and jdk in the same desktop folder but while trying to install eclipse it gives the error message that no JVM or JRE were found in the path C:\User\desktop\eclipse\jre\bin\jawaw.exe javaw.exe in your current path. Please help

Member Avatar for Majestics
0
77
Member Avatar for rahul131090
Member Avatar for cppgangster

Hi how to access standard input buffer to get 1 and second character from there? for c++ there is a function named peek() but in c libraries I can find one...

Member Avatar for Ancient Dragon
0
152
Member Avatar for Tarkenfire

Okay, I'm working on a project for class, and...I can't seem to get...subtraction to work right with regards to an object in a class, let me just post the code, here's the block in the main file: [CODE]class KeyHandler extends KeyAdapter { @Override public void keyPressed(KeyEvent e) { char character …

Member Avatar for Tarkenfire
0
115
Member Avatar for Sorcher

Hello! Quick question, i got a file uploader that can do huge files, so if i want someone to upload 1GB, what do i set the max_execution_time in php.ini to?

Member Avatar for diafol
0
77
Member Avatar for jemz

hello... can you help me please, i make a program GUI and my problem is that how can i change the GUI or to remove those minimize,restore,close on top at the right side of the GUI,is it possible?.Please help me thank you in advance hoping for your positive response...

Member Avatar for Majestics
0
246
Member Avatar for denkfix

Hi, I use the stl features to deal with string conversions, especially facets. Now, I am faced with the task to lower a string except its first letter. Please note that I am dealing with multi-byte characters and so I cannot simply replace the first character of the string with …

Member Avatar for denkfix
0
223
Member Avatar for jaxber

Urgent! How to display this function,use symbol"*" to draw line Here teacher gave one method to perform this function [code] public static long evaluations; public static double func(double x) { double result; result = Math.abs( Math.sin(0.017453292519943295769236907684886*x) * (x/90) ); evaluations++; return result; } } [/code] question is how to use …

Member Avatar for JamesCherrill
0
253
Member Avatar for zebnoon

hi everybody! I want to create a complete database (Tables,Fields name etc) in MS Access via vb6 database object and using SQL queries at run time this database will create when first time project load. may i have to create function in Module and where i will need i will …

Member Avatar for zebnoon
0
110
Member Avatar for judithSampathwa

hi i get an error saying cannot login to the ms sql server, i did all the things restarted the server, and changed the authentication mode to mixed mode nothing doesen't work, i created an another login with mixed mode authenitication the same error saying login falied to user sa …

Member Avatar for judithSampathwa
0
122
Member Avatar for silvercats

I have created a ER diagram fro this table [url]http://oi55.tinypic.com/aytvv5.jpg[/url] is it correct?my first ER diagram btw [url]http://oi52.tinypic.com/hx3ybk.jpg[/url]

Member Avatar for silvercats
0
441
Member Avatar for jimmyo88

Hello everyone. I am trying to write a quiz for a site. Questions are in multiple choice, true/false, fill in the blank etc. The example questions i have can be seen below. I'm trying to plan how am I going to code this. I was thinking of having a table …

Member Avatar for diafol
0
447
Member Avatar for samueal

Hi I have a access database that contains foreign characters(Hebrew language). How can i search the values in the column by using c#? This is my code: SELECT * FROM "table name" WHERE column_name LIKE '%שגל%' I'm getting this error: Syntax Error in SQl statement Can anyone please afford your …

Member Avatar for samueal
0
112
Member Avatar for Arjun_Sarankulu

I am having a desktop application which take the csv file and dump the data to the database. At the Page Load there is table name in the combo-box I browse the file and select the table name from combo-box and data get dump to appropriate table It working fine …

Member Avatar for Knvn
0
200
Member Avatar for deucalion0

Hey guys, I have created a piece of software that connects to a wii remote and detects hand gestures. The results trigger a command to a robot via infrared. So it is basically a simple game. The proigram done, I now need to establish a list of Functional and Non-Functional …

Member Avatar for deucalion0
0
156
Member Avatar for xanawa

i have these two tables connected to each other [B]tblOrder[/B] ID - int (P.K.) DateTime - datetime TotalPrice - money StaffID - int OrderTypeID - int ReservationID - int (F.K.) [COLOR="Green"]can be null[/COLOR] Paid - bit [B]tblReservation[/B] ID - int (P.K.) DateTimeReservation - datetime NumberOfPeople - int DateTimeOfEvent - datetime …

Member Avatar for xanawa
0
252
Member Avatar for SOME one2020

i have write that code i m new in programming this code doesnt work in one source file but when i type exact same in other file it start working [CODE]#include <iostream.h> main() { char std1[20], std2[20] cout << "enter your name student"<<"\n"; cin >> std1; cout << "enter your …

Member Avatar for SOME one2020
0
89
Member Avatar for girishsp

hi all, i have designed a form which contains few controls,i want to do validation upon button click, i used errorprovider to set error if that field is empty i used the following code [CODE]bool No_Error = true; if(OfficeNameComboBox.Text == "") { OffNameErrorProvider.SetError(OfficeNameComboBox,"Invalid Input"); return No_Error=false; }[/CODE] i dont want …

Member Avatar for Knvn
0
113
Member Avatar for Behseini

Hi Can you please let me know if I execute several sql query with one open connection? For example if I have a code like following: [CODE] using System; using System.Data; using Oracle.DataAccess.Client; class OracleCommandSample { static void Main() { string constr = "User Id=scott;Password=tiger;Data Source=oracle"; OracleConnection con = new …

Member Avatar for Alan81
0
1K
Member Avatar for tonysun

Hi, I'm trying to link c object with c++ (using QT Library) object and find the following error. tonysun:~/tmp# g++ -c main.cpp tonysun:~/tmp# gcc -c mainlib.c tonysun:~/tmp# g++ -o main main.o mainlib.o [ICODE]main.cpp:(.text+0x64): undefined reference to `para_prep()'[/ICODE] <<main.cpp>> [CODE]#include "mainlib.h" int main(int argc, char *argv[]) { para_prep(); /* Here are …

Member Avatar for tonysun
0
4K
Member Avatar for caierhui

i am using netbeans and MySQL. i made an inventory application with a server host name "local host:3306". how do i distribute it to other computer? should i change the server host in mysql?

Member Avatar for mKorbel
0
129
Member Avatar for ankitkshah

Hi all, I have some code as following. BOOL qw = ExtractResource(AfxGetResourceHandle(), IDR_DLL1, _T("C:\\VBDLL.dll") ); bool ExtractResource(const HINSTANCE hInstance, WORD resourceID, LPCTSTR szOutputFilename) { /*LPTSTR sArgv = argv[1]; LPTSTR sArgv2 = argv[2];*/ TCHAR sResName[5] = _T("#101"); TCHAR sRestype[4] = _T("DLL"); HRSRC hres = FindResource(AfxGetResourceHandle(), sResName,sRestype); if (hres == 0) { …

Member Avatar for ankitkshah
0
259
Member Avatar for ankitkshah

Hi.. I am working with vb.net .. I am new in vc++. I need to write some code in vc++ in some case. I need vc++ for following reason. I created one dll in vb.net and make a tlb file based on vb.net dll. I import physical tlb file in …

Member Avatar for ankitkshah
0
285
Member Avatar for zeplin

Hello, I have grabbed this html code off the internet. It looks like it will work for what i am looking for except it does not add a grand total. The inputs multiply numbers without having to click a button. I wanted the grantotal to add up the inputs without …

Member Avatar for parry_kulk
0
123
Member Avatar for Behseini

Hi every body, Can you please let me know how can I modify following SQL algorithm to Disable/Enable all constraints existing in an specific table? [CODE] alter table (table name) disable constraint (constraint name) [/CODE] For example if I have a table called "GIS_Data" how I can disable all constraints …

Member Avatar for debasisdas
0
88
Member Avatar for valter

I am finding that vs2010 seems to have problems playing videos. I will be very grateful if anyone can point me in the right direction. I can play avi etc on Windows Media Player ok. But I need to play mov files in my app. I have tried quicktime, but …

Member Avatar for valter
0
528
Member Avatar for yongj

So with my program I'm trying to count the number of operations it takes to perform a insertion sort/quick sort. And because functions are calling other functions from inherited classes, it gets a bit confusing as to where I can place the operation to increment the number of operations. Right …

Member Avatar for mitrmkar
0
264
Member Avatar for monta2020

hello guys , i have a table created in php and within this table there's a liked word that will lead to it's topic , and this topic would be stored in the database. then when it's clicked it will show a page and display what has being stored in …

Member Avatar for monta2020
0
130
Member Avatar for zachcoenen4

I have been trying for about 6 hours to get this program to work. It's a C++ program for for loops. I am trying to go through a book, but I don't have source code for how this should be. I need to make a program that looks like this …

Member Avatar for zeeshan soomro
0
470
Member Avatar for rpv_sen

Hi Friends I have pasted the code below which i was used in my project. But i am getting mysql_fetch_array() error. For your more information i have attached the screen shot of the error Pls give me solution [CODE]<?php // Inialize session session_start(); include("../config.php"); // Check, if username session is …

Member Avatar for rpv_sen
0
371
Member Avatar for rahigoswami

i have a logs table which have the following fields like username , id , checkintime, checkOuttime and date so i want to select a start date and end date from the calender and then click submit button so it can search data from data base and display data start …

Member Avatar for rahigoswami
0
192
Member Avatar for sushanth08

hello, i have a win application which im doing using C# and .NET in Visual Studio 2010 i have a data grid to which im binding some data from the database. i also have two radio buttons to which im binding distinct values of a particular column from the same …

Member Avatar for Mitja Bonca
0
120
Member Avatar for jmcginny5

I have this code written. One of the problems that I am having is in "Test 6". It should be totaling to $1.11 but it is totaling to $1.8 because it is switching the 6 and 3 and I cant figure out why. Another problem is that for some of …

0
91
Member Avatar for Khoanyneosr

So i need to find a way to prompt the user for an answer (cin) while a timer is running. Like if the user doesn't answer in time then... or after a certain period of time passes an event occurs. Please Tell me if i'm being too vague. Thanks

Member Avatar for triumphost
0
86
Member Avatar for odane4eva

I would like to download a Java applet to my pc. Can someone please help me. Here is website that has the applet. [url]http://www.digital-recordings.com/cgi-bin/www-dfg-warble.cgi[/url]

Member Avatar for souki1991
0
1K
Member Avatar for jimmymack

[CODE]// test.cpp - Script 6.7 #include <iostream> // Function prototype. // Function takes two arguements. // Function returns no values. void changeVar(int *myVar, int newValue); int main() { // Create a new variable. int myNum = 20; // Print its current value. std::cout << "myNum is " << myNum << …

Member Avatar for jimmymack
0
168
Member Avatar for Behseini

Hi guys, Can you please let me know how I can assign the result of a simple SQL query into a string? Let's say I have a query like: [CODE] string cmd = "Select FName From Emp Where EmpID = 20"); OracleCommand oc = new OracleCommand(cmd, oraConnection); [/CODE] As you …

Member Avatar for Mitja Bonca
0
236
Member Avatar for chintan_1671

I am creating a Win32 Dll Wrapper around my C# class library. I am able to pass string from my C# to C++ application. But i am not sure as to how can i pass string array in Win32 C++ project. [CODE] //C# code void Test(string lFile, int ver); //C++ …

Member Avatar for Ancient Dragon
0
444
Member Avatar for sngapoonage

Hi everyone, I am building a database of users for our website. It is an MSSQL database. Currently I have all the usual fields eg First Name, Last Name, email etc. There are different things that our users need to have access to on our site. At the current time …

Member Avatar for sngapoonage
0
113
Member Avatar for zachattack05

I haven't had enough coffee this morning yet and for some reason this doesn't look right. I have two objects that I need to convert into one byte array. One object is already a byte array, and the other is a Guid. Given that sockId is a Guid and commandData …

Member Avatar for zachattack05
0
13K
Member Avatar for komyg

Hi, I am developing a REST WCF Web Service using the webHttpBinding. This service is supposed to receive a parameter through HTTP POST and return a byte array (byte[]). However whenever I call the service I get the following respose: [CODE=xml] <base64Binary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">AQEBAAEAFFBBAPQ=</base64Binary> [/CODE] Is there a way to configure …

Member Avatar for komyg
0
430
Member Avatar for eman 22

How can i get th execution time ?? I tried to use library <time.h> [CODE] clock_t tStart = clock(); //put here my code double executionTime=(clock() - tStart)/CLOCKS_PER_SEC; [/CODE] here the excution time always zero. so what's the error here??

Member Avatar for eman 22
0
191
Member Avatar for burntout

this may seem stupid, but i wanted to understand a few equations ive incountered. given these declarations of a two dimensional integer [code] Dim table As Integer(,) = New Integer(2,4) {{2,3,5,4,0},{4,3,1,2,6},{1,3,0,5,2}} Dim intA as integer = 1 Dim intB as integer = 4 [/code] figure out the value of int …

Member Avatar for Tarkenfire
0
199
Member Avatar for L0s3r

[CODE]int main() { FILE *fp; unsigned long size; unsigned char *loc; fp=fopen("Hello.exe","rb"); if(fp==NULL) { printf("\nCouldn't load file"); getchar(); return 0; } fseek(fp,0,SEEK_END); size = ftell(fp); fseek(fp,0,SEEK_SET); loc=(unsigned char*)malloc(sizeof(size)); printf("\nSize of file is : %d",size); if(loc==NULL){ printf("\nError in allocating memory."); } printf("\nFread called"); fread(loc,size,1,fp); printf("\nFread fails:"); return 0; } [/CODE] I …

Member Avatar for nezachem
0
190
Member Avatar for DaveTran

I have a Ref class [code] public class Ref<T> { private Func<T> getter; private Action<T> setter; /// <summary> /// For XML Serialization /// </summary> private Ref() { } public Ref(Func<T> getter, Action<T> setter) { this.getter = getter; this.setter = setter; } public Func<T> Getter { get { return getter; } …

Member Avatar for DaveTran
0
165
Member Avatar for Shruti4444

I have a text file for example abc, cde,fgh, jkl, rty qwe,erty, tyujk,werty , lkjh I want to read these tokens from the text file, into different variables row wise (ie one row at at time) Number of tokens in a row is fixed. (ie 5 in this case) Please …

Member Avatar for sfuo
0
172
Member Avatar for Fortinbra

I built a file upload control in Silverlight that uploads files to the web server. I use a custom HTTP Handler to handle the upload. What would be the best practice to detect a whether a client has disconnected prior to finishing the upload? I think this could go under …

Member Avatar for Fortinbra
0
103
Member Avatar for aanders5

Ok...my mind is exploding right now lol. I can't figure out a good way to parse Google results. I am making a game tool, that will look up the 5 most recent news for a specified clan, within the past month, and for only 1 site. So what I have …

Member Avatar for aanders5
0
153
Member Avatar for BzzBee

I want to show some description of my blog post at home page and a read more link when user will click that link it will redirect to post detail page. I am using the_content('Read More...') function. Now how can i give character limit that how many character i want …

Member Avatar for workon
0
111

The End.