199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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? … | |
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 … | |
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 … | |
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......... | |
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 … | |
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 … | |
[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 … | |
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 | |
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) { … | |
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, … | |
How can one bring graphics component in C++ to work under C# | |
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); … ![]() | |
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 … | |
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 … | |
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] … | |
[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, … | |
Can anyone recommend some good online tutorials for learning .NET? Something for VS2005 or 2008? | |
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] | |
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 … | |
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 … | |
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. | |
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 = … | |
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 … | |
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 … | |
How to save twitter followers and number of tweets in a database.(php) | |
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 … | |
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 … | |
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 … | |
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", … | |
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 … | |
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 … | |
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. | |
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 … | |
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++;) } | |
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 … | |
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 = … | |
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 … | |
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 :/ | |
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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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'); … | |
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()); } } } | |
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 | |
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 … |
The End.