132,726 Archived Topics
Remove Filter ![]() | |
help. i would like to ask if there's a way to combine 2 data table into 1 table without manually inputting using sql statement. how does the parent child foreign key works? it goes like this: student - table1 : lname, fname, age teacher - table2 : lname, fname, age … Software Development vb.net | |
I have a text file transa.txt .I want the contents of the file to be filled in the array cell by cell.example the file reads: 1 1 1 1 0 0 1 0 1 1 1 1 so i want arr[0][0]=1,arr[0][1]=1,arr[0][2]=1...... Can someone please help me with this..I am stuck … Software Development java | |
How to Stop python programme (which is continuously giving output ) after sometime Software Development python | |
Hye, I have problem with Auto Generate Slip No from Database.I wrote following code to get last record but it does not give me last record. Please help me? [CODE]Private Sub Command1_Click() Module1.Connect Dim rs As New ADODB.Recordset Dim str As String str = "SELECT Item_ID FROM Entry_Tab" rs.CursorLocation = … Software Development visual-basic | |
Hi All, I have come across Read and write method from InputStream and outputstream but im finding it hard to understand the logic behind it. Below is a simple example which reads a jar file from input stream and writes it to output stream. Please explain the logic on how … Software Development file-stream java | |
When using ASP.NET Web Forms to design the GUI , you may either use the drag and drop method or the source code , where you type code using html if I'm not mistaken. In the ASP.NET model-view-controller (MVC) form would you also be using html to design the GUI? … Software Development asp asp.net gui web-design | |
how to find corrupt file in vb.net and repair. ex txt zip mp3. Software Development vb.net | |
Here i have this code which read from a text file and fills the 2d array.Then calculates the sum of each column.I want all those column names whose sum is greater than 5 to be written in output file. /* * To change this template, choose Tools | Templates * … Software Development java | |
Hi all, First time poster here, I've referenced posts here on daniweb in the past and it has always been helpful, thanks! But I can't find the answer to this particular problem here on the forums. I need to write a basic string parser as part of a coding assignment … | |
hello I want a timer in my Access database form using Visual Basic I have the code dim i as integer=0 timer1= i label1.Text = "Remaining time:" + CStr(2500 - j) + "seconds" i = i + 1 If i > 5000 Then Timer1.Enabled = False commandbutton1.text=stop End If which … Software Development visual-basic | |
Can someone help me?.How to alert data in Form automatically without clicking into the datagrid.I need to pop up the message box when the medicines expired without clicking in the datagrid. I have a table name inventory field names MedicineName, genericname, StockQuantity,"Expmonth", "Expday", "Expyear". here is my code Private Sub … Software Development visual-basic | |
Hi everyone, If anyone knows how to make a automatuic search through datagid? for instance i've a list of data which polulate in datagrid(Grid master), another set of data(one at a time) caputres from registry folder to compare against the exsisting datagird (Grid master). When the the match is found … Software Development vb.net | |
how to open Firefox browser instead of Internet in vb.net form ? Software Development vb.net | |
Hey guys, Is there a way to have multiple columns as combobox display value without buying third party controls? If yes, please post the name or anything in reference so I can google it. Thanks in advance. Software Development vb.net | |
#include <stdio.h> #include <stdlib.h> int main() { int i=1,fact=1,n; printf("enter the no of fact: "); scanf("%d",&n); factorial(n,fact,i); return 0; } int factorial(int x,int y,int z) { int r; if(x==1) { r=y*z; printf("the fact is %d",r); } else { factorial(x--,y*z,z++); } } hello iam trying recursion using factorial the complier stops … Software Development c | |
I am trying to parse a date stored as an array of characters. I have a problem to paerse the date with a loop otherwise it works fine. char date[]="20141018"; //the date is 10/18/2014 char _mypointer=date; char year= "YYYY"; char month="MM"; char day= "DD"; year[0]=*my_pointer + 0; month[1]=*my_pointer +1; What … Software Development c | |
I have this array Array myArray = {1,2,3}; I want to print the output of the array as follwoing 1,2,3 but when I do this for(int i=0 ; i < myArray.length ; i++){ System.out.print(myArray[i]+","); } however I get this output 1,2,3, how can I get rid of the last comma Software Development java | |
I've tried doing it but it doesnt run The array of real numbers is set. a) To delete from the array positive elements. b) To calculate the sum of negative elements in the array. c) To calculate minimum of positive elements in the array. solve using functions Software Development c++ | |
hi, can somebody help me? i am using visual basic 6.0 with microsoft access 2003 database i have a form that view the data from the database through the listview my problem is it says Compile Error: Method or data member not found heres my code Private Sub Form_Load() Dim … Software Development listview microsoft-access visual-basic | |
I am making a quiz as part of my assignment for my computer science class and the aim is to make a flash quiz where keywords and their definitions are loaded in from text files. From previous recommendations on Daniweb I have created an associative array. I import the two … Software Development vb.net | |
I am a beginner in programming. I would like to know sample opern source apps that I can use in learning Software Development python | |
one of my goals for this year is to learn java, and I found an excuse to get started lately. So over hte last couple of hours I have been reading tutorials and the likes, and started following the advice from this post http://www.daniweb.com/software-development/java/threads/99132/starting-java-java-tutorials-resources-faq As such I am up to … | |
I am trying to create a program in windows forms and i am almost done by my array will not store numbers. It will only use the last number entered. Please help, i did this program in c sharp without a problem but cant figure out windows forms application. public … Software Development microsoft | |
Hello everyone I have created a java program using jsch0.1.50.jar to remove the directories in the sftp server. But I could not remove the folder "03-03-2014" as it contains a subfolder named "1837hrs" when I try to run the program I am getting the following error: > 4: The directory … Software Development java session windows-server | |
[CODE] /* Any year is input through the keyboard. write a program to determine whether the year is a leap year or not. */ #include <stdio.h> #include <conio.h> void main(void) { int year; clrscr(); printf("\n\n enter a year::"); scanf("%d",&year); if(year%400==0) printf("\n\n Leap Year."); else if(year%100==0) printf("\n\n Not Leap Year."); else … Software Development c | |
Hey guys! I have a class program here that I am stuck on. This is my first time officially asking for help, but after studying all avenues and research I still find myself wracking my brain. Most of the code is complete and without error...except for the last bit...of course. … Software Development c++ | |
I need to send my activity log in as an assignment to my lecturer. How do i go about doing that? Software Development | |
#include <windows.h> void gotoxy(int x,int y); int main() { int i; int y=6; int x=9; for(i=1;i!=0;i++) { system("color 1"); sleep(500); gotoxy(x,y); printf("%d",i); } getch(); } void gotoxy(int x,int y) { COORD coord = {x,y}; SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),coord); } How to change the color when the number changes ? And the color must … Software Development c++ | |
how to complile and execute a c pro in editplus Software Development c | |
Can anyone edit this program from "Base 10 to any base" --->>> to "From any base to base 10 with character array" .I would really appreciate this a lot. I use turbo c++ compiler. #include <iostream.h> #include <conio.h> #include <stdio.h> void main(){ char value; char t, u, v; char answer; … Software Development c++ | |
I need to add text (not a line) to an existing text file, using C#. I can create the file, and write text to it, but when I have to append text, for some reason, it fails. I can append a line, but I don't need to append a line. … Software Development file-system | |
Write a Java application that prompts and reads a value representing the radius, of a circle, then prints the circle's circumference and area. I do not know where to start Software Development java mathematics | |
Hi everyone, I am new here and I hope all of you are doing well. I have spent the whole day searching around on the almighty Google for code that can help me with my problem. In the following code there may be quite a few n00b mistakes, and for … Software Development c objective-c | |
#include<iostream.h> #include<stdio.h> #include<conio.h> class QuickSort{ public: int no_of_elements; int elements[10]; public: void getarray(); void sortit(int [], int, int); void partition(int [],int,int, int&); void display(); }; void QuickSort::getarray() { cout<<"How many elements?: "; cin>>no_of_elements; cout<<"Insert array of element to sort: "; for(int i=0;i<no_of_elements;i++) { cin>>elements[i]; } } void QuickSort::sortit(int x[], int … Software Development c++ | |
#include <windows.h> int main() { int i; int y=6; int x=9; gotoxy(x,y); //gotoxy(x,y) must be the coordinate that the number lies in. for(i=0;i>1;i++){ printf("%d",i); } getch(); } int gotoxy(int x,int y) {COORD coord = {x,y}; SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),coord); } //how to make this program that the output is a number that counts … Software Development c++ | |
Hello, I have a Client/Server program where the Server sends a string with a time delay using a Timer object to the Client. The Client has a JFrame with a JTextArea for display. When I test the Client program, I ran into two issues: a) Nothing ever shows up on … Software Development client-server java java-swing | |
I have seen C++ programs that allow you to type a string (in the case I saw it was a file name) after the name of the program, but in the same command (before pressing enter) when you go to run the program and the program parsed it as it … Software Development c++ | |
Hi, Im just new to this language and I would like to know what does this groovy regular expression match too. I was not able to figure it by online articles.if some would would give an explanation i would greatly appreciate. the 3 regular expressions are : static propertyPattern = … Software Development java | |
For the assignment I am doing for my Computer Orgainzation and Assembly class, we are to print a given array, using the selection sort. Then, for bonus points, we are to print the array after it is sorted 5 per line. I am stuck on this part. My codes sorts … Software Development assembly | |
I am trying to write a code that asks the user to input a string, then displays the string with vowels removed. Ex: Godzilla returns in 2014, the output will be 'Gdzll rtrns n 2014' However, I am having massive difficutly in writing this for assembly. However, I was able … | |
I'm totall beginner, trying to learn python programming codes. So far, got series of python programming problems to solve. Here is one of them.; please I need help on how to write the program. "Write a program that displays a table of the Celsius temperatures 0 through 20 and their … | |
I am having a lot of trouble working on this program. i am not sure how to make a linked list work with more than just numbers (i only did basic programming) and the book is just terrible, i was wondering if you guys could help me with writing this … Software Development c++ linked-list | |
hey everyone! having a small problem with my pointer. I'm just trying to scan an array using a pointer but when i print it it shows me only zeros. Any help? #include <stdio.h> int main() { int arr[10]; int *ptr; int i; ptr = &arr[0]; printf("Enter 10 integers:\n"); for (i=0; … Software Development c | |
in my i.t lesson we were intoduced to 'raspberry pi' within 'Python' and for my homework i have to explain what we did in the lesson. It says i have to include what 'input' is when coding a programme. Please help and reply as soon as possible and keep in … Software Development mathematics python raspberry-pi | |
} else{ printf(" \b"); surname[cntr]='\0'; cntr--; goto cc; } } else{ surname[cntr]=nput; cntr++; if(cntr>14){ goto aa; } else goto cc; } } aa: gotoxy(40,14); printf("%s %s",urname,surname); fullname[cntr]='\0'; { char choice; ron: SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),11); gotoxy(35,15); printf(" Do you want to enter "); gotoxy(35,16); printf(" another entry? "); gotoxy(35,17); printf(" "); SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),116); gotoxy(40,17); … Software Development c++ | |
Hello dear! I am going to develope a program that have an ability to make a plan for month of the medical information officers. I've tried it using c, c++ but i can't. Then i tried it using php and database as i have 190 doctors whom an MIO have … Software Development | |
I have gone through the articles appeared in this forum on the above Area.But it didn't helped me much,As I am new to VB.net. In VB6 I have the following code and it works well. Private Sub CmbBank_GotFocus() CmbBank.BackColor = vbYellow LblMsg = "Select Bank" Dim A, B, C As … Software Development vb.net |
The End.