199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lordmwesh

SQL 2008 database disappeared after canceling copy Hi All, We have an SQL 2008 database of around 12GB. I was trying to create a copy of the database through the Microsoft SQL Management Server Studio. The server is in production mode, and it was taking too long to copy, and …

Member Avatar for vuyiswamb
0
191
Member Avatar for Hakoo

Hello Friends, I want to synchronize the database from server to mobile application. I googled so much. I got much information on : [LIST] [*]DB2 Everyplace [*]IBM CloudSpace [*]PointBase(Not able to download) [*]Sync4j [*]SyncML [*]Data Sync API(Not able to find) [/LIST] Now I am confused to which one to select? …

Member Avatar for Hakoo
0
179
Member Avatar for Joshua Kidd

Hello, I was wondering how to set focus to a program but what I tried did not work. Any Ideas And basically what I have is a typing bot, and I need the timer when it sends the message to open the specific program it needs to send the message …

Member Avatar for Joshua Kidd
0
135
Member Avatar for nicecandy

hi, i have a website that is running well on the web server. now i have created a web service and tested it locally. i want to publish my webservice to my webserver so that any body can use my webservice. for this purpose i have created a virtual directory …

Member Avatar for nicecandy
0
124
Member Avatar for rssk

hi all, f1 =['0.2' , '0.4','0.0'] f2 =['0.1','0.2','0.1'] f = f1 - f2 i need a output like f = [0.1,0.2,-0.1] but wen i run this program it is showing error like [B]TypeError: unsupported operand type(s) for -: 'list' and 'list' [/B] thanks in advance.........

Member Avatar for rssk
0
176
Member Avatar for becool007

Hey Daniweb Community, I enter in the following code into a header file: [code=c] bool isCreated; [/code] And as a result I get the following error: [COLOR="Red"]error: expected '=', ',', ';', 'asm' or '__attribute__' before 'isCreated'|[/COLOR] Any suggestions or information on how this problem is occuring? Computer Specs: Windows 7 …

Member Avatar for Ancient Dragon
0
96
Member Avatar for arguav74

Hi everyone, I am new to C++ and I'm having difficulty getting this program to work to calculate Haistone numbers. So please - any advice or solution as to what I'm doing wrong would be greatly appreciated. The program is to take two numbers, and then for each number in …

Member Avatar for Ancient Dragon
0
368
Member Avatar for akase2010

[CODE]#include <iostream> #include <cstring> #include <cctype> using namespace std; class Car { private: int YearModel; int Speed; string Make; public: Car(int, string, int); string getMake(); int getModel(); int getSpeed(); void Accelerate(); void Brake(); void displayMenu(); }; Car::Car(int YearofModel, string Makeby, int Spd) { YearModel = YearofModel; Make = Makeby; Speed …

Member Avatar for akase2010
0
141
Member Avatar for kukuruku

Is there method in Java to compare the strings first letter and sort the alphabetical or I have to substring and compare them with bubble sort Thanks

Member Avatar for btsuper
0
147
Member Avatar for juangalvez4

Hi guys, I am having a bit of trouble. I've come to realize that my book does a poor job to explain a lot of concepts in detail. I am trying to use functions in the folowing code. [CODE]#include <iostream> //For cin and cout using namespace std; int main(void) { …

Member Avatar for juangalvez4
0
121
Member Avatar for welp

b.cpp [CODE] #include"a.h" #include"a.cpp" int main(){} [/CODE] a.cpp [CODE] #include"a.h" a::a(): b(0) { } [/CODE] a.h [CODE] #ifndef A #define A class a{ int b; a(); }; #endif [/CODE] Getting; "1>b.obj : error LNK2005: "private: __thiscall a::a(void)" (??0a@@AAE@XZ) already defined in a.obj" when trying to compile. Using Visual Studio 2010, …

Member Avatar for Ancient Dragon
0
299
Member Avatar for vincezed
Member Avatar for kukuruku

HI ,I am new in Java and i have trablle creating array of objects .This are my files,and I need to create array of objects patients thank you in advance for your help import java.util.*; public class MainPatient { public static void main(String[] args) { int choice=0; Scanner input=new Scanner(System.in); …

Member Avatar for ztini
0
249
Member Avatar for ans2007kumar

I need help i got a text file(txt) with values separated with comma like this "0C060000","SKILL_CH_WATER_CURE_C_05","Force Cure - Condiion",1000,2100,63,359 "0D060000","SKILL_CH_WATER_CURE_C_06","Force Cure - Condiion",1000,2100,63,398 "0E060000","SKILL_CH_WATER_HEAL_A_02","Heal - Medical Hand",1000,3000,424,85 array list box list Box no where txtbox, txtbox, no where i want to get each data and display in the list box …

Member Avatar for croker10
0
169
Member Avatar for L3gacy

Hey everyone, My problem is that in my program below I made an indefinite loop for comparing strings and values, my problem is on line 60 & 61, the loop automatically accepts whichever if statement is on line 60 when I test for an uppercase and lowercase char, as soon …

Member Avatar for L3gacy
0
234
Member Avatar for azzu khan

i have a (check style)list box which have some items.i want to remove more than one items which are selected(checked) . this removing event is done by clicking on command button. but it gives error of "invalid property array index" plz help me to correct this error.... [B]this my coding.....>>>[/B] …

Member Avatar for WaltP
0
165
Member Avatar for sumandy

[CODE] Create table Cameras (CameraID varchar (35), CheckOutDate varchar(10), ReturnDate varchar(10), primary key(CameraID), foreign key(CameraId) references History(CameraID)); Create table Borrowers (PsuID int not null, BorrowerName varchar(30), Email varchar(50), Telephone varchar(12), ReasonUse varchar(200), primary key(PsuID), foreign key(PsuID) references History(PsuID)); Create table History (PsuID int not null, CameraID varchar (35), BorrowedFrequency int, …

Member Avatar for sumandy
0
127
Member Avatar for CaffeineCoder

Can anyone recommend some good online tutorials for learning .NET? Something for VS2005 or 2008?

Member Avatar for Fortinbra
0
115
Member Avatar for dcasmac418

hi! can anyone help me determine the sorted values of the array in this script. [CODE] for (x=0,x<=4,x++) for (y=0,y<=3,y++) { if(num[y]>num[y+1]) { temp=num[y]; num[y]=num[y+1]; num[y+1=temp; } { [/CODE]

Member Avatar for jonsca
0
109
Member Avatar for realoneomer

Hello, I need help to write an output of perl script in a excel file on daily basis. I want to maintain a sheet of excel file like history data that file would contain the history output of all last runs. Although i have used perl formatting to write data …

Member Avatar for d5e5
0
586
Member Avatar for knight92

Hi, another question from someone who is interested in learning more about C/C++. My question is that everyone says C/C++ is more powerful than many other languges e.g Visual basic but why is it more powerful. Is it because of the pointers ? As far as my knowledge goes they …

Member Avatar for Adak
0
365
Member Avatar for sharunkumar

Hi everyone! I'm new to visual basic and i have been using it shortly. I need a code which will help me compile an exe file based on some arguments or with the help of another VB file. Thank you.

Member Avatar for jlego
0
1K
Member Avatar for fengapapitt

Hey guys, I need a little help on PigLatin translator. This is "driver" class I'm given that I cannot change [CODE]import java.util.*; public class PigDriver{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String t = " "; Piglatin p = new Piglatin(); while(t.length() > 0){ t = …

Member Avatar for peter_budo
0
115
Member Avatar for Dasharnb777

I need to draw sin(x)/x graphic into PictureBox in animation mode by timer component. I have axes already on my picBox and graphic draws from 0;0. Also I have some code from this forum, but there my graphic draws FROM RIGHT TO THE LEFT, and I need to draw it …

Member Avatar for Dasharnb777
0
253
Member Avatar for comSysStudent

Hi all, I'm mostly into my Java so I'm not even sure if I gave the post a proper heading. Basically I'm trying to read two matrices from the command line and print them out. Reading works as far as I can tell but when my program tries to call …

Member Avatar for comSysStudent
0
219
Member Avatar for priya1989
Member Avatar for smantscheff
0
72
Member Avatar for bettybarnes

I'm having a problem with user control.. how can i disable from the panel the user control if another user control is selected from menustrip??? here is my code at the moment [CODE] Private Sub LabToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LabToolStripMenuItem.Click If LabToolStripMenuItem.Enabled = True Then …

Member Avatar for lolafuertes
0
138
Member Avatar for lashatt2

why this code doesn't work. I want to do, I have 3 numbers( x1,x2,y1,y2; ) in editbox and it makes an equation y2=x2/x1*y1; and after this what we will receive in y2 it will be writen on hwnd [CODE]#include <windows.h> #include <stdio.h> HWND hwnd1,hwnd2,hwnd3; WCHAR x1[MAX_PATH],x2[MAX_PATH],y1[MAX_PATH],y2[MAX_PATH]; wchar_t str[MAX_PATH]; /* Declare …

Member Avatar for Frederick2
0
140
Member Avatar for miturian

So, in the course of a numerical simulation I have noticed that if I save and load the state of my system (a large number of doubles), the following behavior of the system will be slightly different from if I just kept the info "inside the program" and didn't bother …

Member Avatar for miturian
0
187
Member Avatar for bettybarnes

Hi guys pls help me with my problem this is for my update code [CODE]Private Sub BtnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnUpdate.Click Dim StrSQL As String = "updatePatient" classLibrary = New ConnectionLibrary classLibrary.openConnection(strConnection) 'label1.text = databasestatus If Not classLibrary.isConnectionOpen() Then Exit Sub End If classLibrary.initializeCommand(StrSQL) classLibrary.addParameter("@IPD_ID", …

Member Avatar for lolafuertes
0
155
Member Avatar for alex55

I have this string function that should calculate the average of and array compare the values of the 12 numbers and output which month has the highest temperature -(0-11) = (Jan-Dec) -all variables not defined in the function are defined globally The problem is when I compile and run the …

Member Avatar for alex55
0
131
Member Avatar for raghujosh

I want to get the list of items from a database as a Java resultset. When I use the following SQL statement it works perfectly fine [CODE]SELECT First_Name FROM dbo.Names where First_Name LIKE 'A%';[/CODE] However when I pass it as a parameter, it does not work I have tried a …

Member Avatar for raghujosh
0
143
Member Avatar for Progr4mmer

i want to make a 3D game in Java but the tutorials i was watching aren't being made and i don't know which 3D to use because j3d looks pretty bad... and i'm not new to Java just new to 3D.

Member Avatar for Ezzaral
0
118
Member Avatar for discovery-power

Hi All, I really need some help. I have been asked to write a search screen for a rooms booking application. I have kept the design nice and simple so all the user has to do is enter the dates they want to book a room for and the results …

Member Avatar for discovery-power
0
95
Member Avatar for pinky khan

Iam using graphics.h header file for the first time.plz tell me how the following program is written: write a program to print "Hello world" three times in different colors and fonts with yellow background colour using graphics.plzzz give me the answer.

Member Avatar for JSPMA1988
0
108
Member Avatar for ikiag

how to announce a table in c++? i know it goes with "for" for (int i=0;i<10;i++;) {for (int j=0;j<10;j++;) }

Member Avatar for ikiag
0
112
Member Avatar for Kanoisa

Hi all, I have begun workin on getting c++ to do physics and things for me so im working on some maths functions. starting small and working up, Just did this one on prime number generation and was wondering if anyone can point out any ways it could be ,made …

Member Avatar for Kanoisa
0
288
Member Avatar for harmons4

I am very new to Python and scripting and am trying to write script to delete any point feature classes in my .gdb. I have found an example, but can't get it to run. Your help is greatly appreciated. [CODE] import arcpy arcpy.env.workspace = r"E:\GIS_255\Week5\Harmon_Wk5_GIS255\KingCounty.gdb" import string try: fcList = …

0
133
Member Avatar for Climber Ty

Okay here's what I have... but my test cases when running the program are not allowing me to input negative, decimal, or exponents as temperatures. I know it something small but it's alluding me, I figured if I had F and C as double it would work. Any ideas? Another …

Member Avatar for Climber Ty
0
187
Member Avatar for lochnessmonster

im curious as to the point in flushing streams? why is it necessary to do this? i never find input being left inside a buffer and needing to get forced to my output display :/

Member Avatar for lochnessmonster
0
148
Member Avatar for Jessurider

CAN ANYBODY HELP ME............. see i've created a label and a pictureBox..............in the below code when i press the key "A" the count begins which is been displayed in the label........and also during when pressing ("A"), the picture "RedSlideButton.png" is displayed within the pictureBox , and on releasing ("A") the …

Member Avatar for ShahanDev
0
141
Member Avatar for negneg

Hi Everyone, I am trying to compile a code and I keep getting error C2064: term does not evaluate to a function taking 1 arguments here is my code(actually I got it from a book),can anyone help me what is wrong? thanks Negin #include <iostream> #include <math.h> using namespace std; …

Member Avatar for negneg
0
203
Member Avatar for beejay321

I was wondering whats the simplest way to count and sort the elements of each array when using a set like [CODE]char list[40][30];[/CODE] theyre being brought in from a text file that would simply look something like this apples bannanas oranges grapes i would need to count each element, sort …

Member Avatar for pseudorandom21
0
178
Member Avatar for StephenChristen

I can find a lot of information about the concepts of normalization, but I don't really see documentation for how to actually bring a table, for example, from first normal form to second normal form. I'm using SQLite through Python to automate some data processing, and I have three input …

Member Avatar for StephenChristen
0
128
Member Avatar for dudzkie

hello! im trying to study how checkbox work, this is i want to do i array a list of items (item name, price, etc) from my database i would like to put a checkbox beside each item, all the items that are checked will be posted on a next form …

Member Avatar for dudzkie
0
105
Member Avatar for vn412

Hi, I m using vb.net with access 2007. I have field with datatype "datetime" and values in format dd/mm/yyyy e.g 8/2/2011. Now I have problem when i fire a query [CODE] SELECT * FROM tbl_name WHERE tbl_name.datefield= (Select Max(tbl_name.datefield) from tbl_name)); [/CODE] I have some records with dates 11/1/2011 and …

Member Avatar for izyrider
0
112
Member Avatar for samsons17

Hi all.. I got this code that dealing with ajax..Basically the ajax code is to get the data from the html element and insert it to the database. this is ajax and the html code : [CODE] <script type="text/javascript"> $(document).ready(function(){ $("form#post_reply").submit(function() { var discuss_text = $('#discuss_text').attr('value'); var test5 = $('#test5').attr('value'); …

Member Avatar for six_sic6
0
7K
Member Avatar for lorettah

import java.io.*; public class Appliance { public static void main(String args[]) { try { File file=new File("Name.txt"); FileReader f=new FileReader(file); int ch; while((ch=f.read()) { System.out.print((char)ch); } } catch(FileNotFoundException fnfe) { System.out.println("Exception: "+fnfe.toString()); } catch(IOException ioe) { System.out.println("Exception: "+ioe.toString()); } } }

Member Avatar for jon.kiparsky
0
123
Member Avatar for Mitja Bonca

The code gets all the files (only names, if you want to get the paths too, simply remove for loop (its only one) from the code. Files are stored into a generic list. Mitja

Member Avatar for ShahanDev
0
1K
Member Avatar for six_sic6

My form is like the above [CODE] <form method="post" name="publishResult" onsubmit="return g(this);"> <select id="options1" name="se1" > <option value="0" >-- Grade --</option> <option value="A+">A+</option> <option value="A">A</option> <option value="A-">A-</option> <option value="B+">B+</option> <option value="B">B</option> <option value="B-">B-</option> <option value="D">D</option> <option value="F">F</option> </select> <select id="options2" name="se2" > <option value="0" >-- Grade --</option> <option value="A+">A+</option> <option …

Member Avatar for six_sic6
0
189

The End.