64,152 Solved Topics
Remove Filter ![]() | |
Hi I am not sure I am approaching this correctly. I need to increment the appointment time by 15 mins for each loop. This is would be the correct result: 13:00, 13:15, 13:30, 13:45, 14:00, This is what I am getting: 13:15, 13:15, 13:15, 13:15, 13:15 The user selects the … | |
Hi there Cool forum! I'm just looking for some advice. I'm designing an interface for a public display as well as an admin interface that will control the output for the display. The display will feature text, images and video - both normal video files and live streamed video. The … | |
this is my first letter here in daniweb.plsss help... actually Im only a beginner in VB. i would like to make a form that can browse picture and text file that will be display in my form... I have a sample here but there are so many error. pleaseee kindly … | |
let's say i want to read the substring and compare so i make a function Public Function tracingFNHdr(h As String) Left(h, 2) = Spid Mid(h, 3, 5) = Loc Mid(h, 6, 6) = TermType Mid(h, 7, 8) = TermNo Mid(h, 9, 13) = BatchNo Mid(h, 14, 15) = BatchType Mid(h, … | |
Hi Where can I find information on networking in java? Like programming applets/Jframes as IM's or programs sending emails? | |
is it possible to store a query globally? if so, how can this be done? thanks. | |
hello guys... im having trouble to open up the 2 files , i tried so many times , but i can't think what's the right directory should i put at the '??????' .... the purpose is to pass the value of directory so it can read and open up 2 … | |
Hello to every body who visit this thread I want to prevent view source(html tags & javascript scripts) of the page with php. I've studied php manual withuot any success how can I do it? Is it possible | |
Hello I am new to this forum and was wondering if someone could give me advice regarding a good compiler to continue learning C++. I took a C++ course but used the gcc compiler in the labs, now that I got my laptop, I don't know where to start. Thanks … | |
how to write a query to insert a row that is deleted from one table to another table using sql server 2000 at the same time | |
Hi, I'm just starting out in programming and I'm currently making a small program which shows how Bubble, selection and Insertion sorts work. I've found a small program which bubble sorts a user selected number of integers and shows each step at which these are sorted (each pass). However this … | |
I am working on a project and I need to process a text file. I have read in the text file. What I want to do is break the textfile up. The textfile looks like this: >Name 1 ABCDEF GHIJKLM >Name2 GHIJKLM What I want is to store each name … | |
hi,so many problem with my comp these days.... so,i will go straight to the point. I use hotmail and whenever i look at the mailbox website,at the bottom of the window(where usually says done after done) always says 'error on page' and i cannot open or delete my message,i know … | |
whats up everybody? im using the [U]Web Database Applications: with PHP and MySQL[/U] book and tried to modify their generic browse function to make a front-end that looks at a table 20 records at a time. suffice it to say, i can't get it to work. the function is in … | |
I want to learn more about how inheritance works, more like I NEED to learn more about it if I am to get any better at this. In my code I have the value of a cd defined as how many cds are in stock times the price of the … | |
Hi, I am new in programming. I would appreciate if anyone can help me out to find maximum value of each column in the following matrix. int array[3][5]={{1,2,30,4,5},{3,41,5,6,7},{5,6,7,81,9}}; Thanks, Vishowntar | |
What's the difference between[CODE=c]char *Name; Name = malloc (13*sizeof(char)); strcpy (Name, "George Brown");[/CODE]and[CODE=c]char Name[13]; strcpy (Name, "George Brown");[/CODE]The compiler gives a warning in the second case: [INLINECODE]warning C4047: 'function' : 'char *' differs in levels of indirection from 'char *[13]'[/INLINECODE] & [INLINECODE]warning C4024: 'strcat' : different types for formal and … | |
Hello to all there I m new to this forum and couldnt find the answer to my question so I am creating new thread for discussion on this topic. Recently I have taken some tests and one of many confusing question was this: "Maximum possible number of nodes in a … | |
Program to demonstrate the Stack class #include <iostream> #include <vector> using namespace std; template<class T> class Stack { public: Stack(); bool empty() const; T top() const; T pop(); void push(T element); void Output(T element); private: vector <T> pool; }; //constructor template<class T> Stack<T>::Stack() { pool.reserve(10); } //function to output the … | |
I want a certain form to be unloaded only when there is no other form loaded, how do I check if any of the other forms are still loaded | |
I am calling this constructor but it is not getting complied public conn() { Class.forName("com.mysql.jdbc.Driver"); con=DriverManager.getConnection("jdbc:mysql:///dbetech", "root" , ""); } throwing error message: D:\etech\WEB-INF\src>javac *.java conn.java:16: incompatible types found : java.sql.Connection required: com.mysql.jdbc.Connection con=DriverManager.getConnection("jdbc:mysql:///dbetech", "root" , ""); ^ 1 error | |
I am making a program where the user has to input text, and the program outputs the appropriate string. I made this program using if else statement, but professor said not to use if and else. So I want to know if I can use the switch statement. I know … | |
[B]strncpy[/B] is not working for me for the following variable. It is working fine elsewhere in the program. [CODE=c]char szQName[21]; strncpy(szQName, "Text", 20); //debugger shows szQName's value as -88D11B47-8F19-41CA-.[/CODE] Has it ever happened to anyone? [B]Details[/B] (context of the code): [CODE=c]char szQName[21]; LPSTR szFileName; //Long Pointer to a STRing (char*) … | |
Hi guys where is the problem with that simple class program: #include<iostream> #include<conio.h> using namespace std; class DayOfYear { public: DayOfYear(int month,int day); void output(); void input(); private: int month_year; int day_year; }; DayOfYear::DayOfYear(int month,int day) { month_year=month; day_year=day; } void DayOfYear::output() { cout<<month_year<<"/"<<day_year; } void DayOfYear::input() { cout<<"What's your … | |
Hi All, I want to convert char * to int. Plz help me out. Thanks in advance. | |
I am trying to create a calss with a constructior that creates connection with MYSql database , i am using database name as dbetch . I have set the path varable but still it id throwing error package login; import java.sql.*; import java.sql.DriverManager; import com.mysql.jdbc.Connection; public class conn { Connection … | |
I want my program to do a search on a database [B][U]every few minutes [/U][/B]to check for something specific and if it's found, then to show a certain form. I have 8 forms in my project and I want the search to be done while any of them is open. … | |
Hi there! How do I check if stdin is empty? This is how I write in the terminal to call my program: [CODE] >> cat file.txt | python script.py[/CODE] /flaerpen | |
hey i am new to visual basic programming...just 15-20 days into it... i wanna know how can i use command button to access the ms access files instead of using the data control....how can i do that???? i have tried a lot of things but to no effect .... please … | |
Hey all, back once again. I've got some more code that i need some help with. Thanks to Aia for his help as well. Anywho this time I've still got the fifty random integers and now I'm working on sorts. I've managed to complete the bubblesort portion of the book … | |
hello there, do anybody here have an idea of the Linux version of the GetTickCount() function. thanks! :) | |
Hi What is wrong with that piece of code.Why it doeasn't let me compile. It gives me that errors on Dev-C++ : 15 expected primary-expression before "void" 15 ISO C++ forbids declaration of `privite' with no type 15 expected `;' before "void" In member function `void DayOfYear::input()': 45 `check_date' undeclared … | |
I need to create a data structure of data structures, but I can know "how many structs I need" only at runtime. [CODE=c]typedef struct tagPredefinedStruct{ int iSize; int iCount; } PREDEFINEDSTRUCT; int x; x = GetNumberofStructs(); //x is known only at runtime. typedef struct APIStruct { int iNumber; PREDEFINEDSTRUCT PreDefStruct[x]; … | |
Hello once again . My teacher has given us the assignment to enter a string a [B]maximum of 7 charecters[/B] and permute it. Then print all of possible permutations . Like if the inputted word is JAY so Output would be JAY AJY AYJ JYA YAJ YJA I do not … | |
hello guys, I have an access database table with ten columns and I want to be to load all the data from my table into a vb.net form. can somebody please guide me how to do this. thank you in advance. | |
Hey, I didn't see a forum for shell scripting, so I hope this is the place to put it. As part of my new job, I'm learning a little shell scripting, working on an HP-UX system. I'm trying to automate a user account creation process, and I need to access … | |
Of course I have to make things difficult. If I just put 5 cd names in to an array it would not be that hard to set up a sort for them, and get them in alphabetical order, but I have to have the user enter the names in, so … | |
I made code in the first page which consists 4 buttons , each button has program If you select any button the program will run on, but there isn't syntax error but there re some buttons not executed because I use JOptionPane and I don't know where is the problem … | |
The code i have written (in VB)is : Dim dbMyDB As Database Dim rsMyRS As Recordset Private Sub cmd_Delete_Click() rsMyRS.Delete userlist.RemoveItem userlist.ListIndex End Sub Private Sub cmd_Display_Click() Set rsMyRS = dbMyDB.OpenRecordset("PC_User_Details", dbOpenDynaset) rsMyRS.MoveFirst If nm_txt.Text = rsMyRS!Name Then If rsMyRS.RecordCount > 0 Then name_txt.Text = rsMyRS!Name ip_txt.Text = rsMyRS!ip pass_txt.Text … | |
Hi I have a problem retrieving the data from access database. I have a list of records for eg. Name,user_name, password etc.(all in access) The problem is ,i want a solution wherein , when i double-click on a name, i want all the details for that particular name. * i … | |
Hi, I'm trying to use the function paste() to paste a image into another image but I can't get it work! Is it the right function to use or is there any other function that's better? Here's my very simple code: [code=python]from PIL import Image import ImageDraw im = Image.new("RGB", … | |
hello there, can anyone here explain to me and an explanation on the usage of these operators (<< and >>) or point me to any site that explains it very well... thank you... :) | |
Here is a function I made: [code]function dis_sub(CID,ALI,NAME,PIC,EID) { SUB_CAT+CID.ALI.value = ALI; SUB_CAT+CID.NA.value = NAME; SUB_CAT+CID.IDD.value = EID; }[/code] It is saying that I have syntax error right after the = sign. Also SUB_CAT is not a variable. | |
char MiddleCharacter( ); //Returns the "middle" character of the //string. If the string length is even //then the right-most character of the //"left" half is returned. how to find the middle character in a string Thank you | |
I have a current (non-school) project that requires me to update text-files online. (Or at least store data.) I think I need to write a servlet, but am not sure how, and I don't have a good source to teach me. (I tried Applets, but those can't read and write.) … | |
I am planning to develop a windows application based on XML in C programming..So i need some good reference links regarding which parser to use?and tutorials for those parsers?..also any special preparation is needed in C to achieve this?..Just to mention i am very good in C and a Learner … | |
i wanaa make games in c++ plz give me some advice on how to proceed eg:- i want to make tic tac toe but ant make out the logic plz tell me how to proceed | |
Hello Guys, I am getting this error message and I can't figure out why. can somebody please help. below is the code. Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click Dim sql = "SELECT Username,Password FROM Password WHERE Username = "" & txtUsername.Text & "" AND … | |
Hi, I am working on a program for an assignment. It is to find all the anagrams contained in an input file. I have read the file into a vector. Next I created a 2D array that contains the orginal words from the file in 1 column and the signatures … ![]() | |
I have just been using a standard String to input and return information. I am trying to impliment an Array in to this inventory program so that I can store and view more than one item at a time. I think I have done ok until I get to the … |
The End.