64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for assgar

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 …

Member Avatar for dr4g
0
1K
Member Avatar for lollerskates

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 …

Member Avatar for thekashyap
0
105
Member Avatar for jaasaria

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 …

0
124
Member Avatar for coco86

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, …

0
76
Member Avatar for tygerberg

Hi Where can I find information on networking in java? Like programming applets/Jframes as IM's or programs sending emails?

Member Avatar for peter_budo
0
122
Member Avatar for sickly_man
Member Avatar for sickly_man
0
86
Member Avatar for coco86

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 …

Member Avatar for coco86
0
102
Member Avatar for MB1765

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

Member Avatar for MB1765
0
195
Member Avatar for lavilare

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 …

Member Avatar for jwenting
0
97
Member Avatar for greeny_1984

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

Member Avatar for debasisdas
0
76
Member Avatar for Pastafarian

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 …

Member Avatar for Pastafarian
0
165
Member Avatar for Akilah712

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 …

Member Avatar for Akilah712
0
282
Member Avatar for tom_oxygen

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 …

Member Avatar for MidiMagic
0
175
Member Avatar for sickly_man

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 …

Member Avatar for Ezzaral
0
502
Member Avatar for no1zson

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 …

Member Avatar for no1zson
0
97
Member Avatar for VISHOWNTAR

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

Member Avatar for VISHOWNTAR
0
2K
Member Avatar for mohammadalipak

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 …

Member Avatar for mohammadalipak
0
135
Member Avatar for nabilchampion

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 …

Member Avatar for Ancient Dragon
0
612
Member Avatar for Reg74

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 …

Member Avatar for Reg74
0
169
Member Avatar for plusplus

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

Member Avatar for jireh
0
108
Member Avatar for staneja

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

Member Avatar for staneja
0
92
Member Avatar for tformed

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 …

Member Avatar for Killer_Typo
0
4K
Member Avatar for mohammadalipak

[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*) …

Member Avatar for mohammadalipak
0
154
Member Avatar for mauro21pl

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 …

Member Avatar for ~s.o.s~
0
158
Member Avatar for RohitSahni
Member Avatar for ~s.o.s~
0
32K
Member Avatar for staneja

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 …

Member Avatar for staneja
0
158
Member Avatar for plusplus

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. …

Member Avatar for plusplus
0
81
Member Avatar for flaerpen

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

Member Avatar for vegaseat
0
8K
Member Avatar for mayank_ati

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 …

Member Avatar for mayank_ati
0
149
Member Avatar for patsfan4878

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 …

Member Avatar for patsfan4878
0
126
Member Avatar for jaepi

hello there, do anybody here have an idea of the Linux version of the GetTickCount() function. thanks! :)

Member Avatar for jaepi
0
3K
Member Avatar for mauro21pl

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 …

Member Avatar for Bench
0
143
Member Avatar for mohammadalipak

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]; …

Member Avatar for mohammadalipak
0
288
Member Avatar for hinduengg

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 …

Member Avatar for hinduengg
0
1K
Member Avatar for jaz854

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.

Member Avatar for jaz854
0
107
Member Avatar for nathanpacker

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 …

Member Avatar for jbennet
0
93
Member Avatar for no1zson

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 …

Member Avatar for no1zson
0
133
Member Avatar for jasmin_java

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 …

Member Avatar for TheGathering
0
125
Member Avatar for dreamerboy

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 …

Member Avatar for QVeen72
0
115
Member Avatar for dreamerboy

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 …

Member Avatar for jireh
0
240
Member Avatar for flaerpen

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", …

Member Avatar for flaerpen
0
11K
Member Avatar for jaepi

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... :)

Member Avatar for jaepi
0
99
Member Avatar for ashneet

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.

Member Avatar for ashneet
0
83
Member Avatar for mauro21pl

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

Member Avatar for mauro21pl
0
208
Member Avatar for suriname0

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.) …

Member Avatar for peter_budo
0
139
Member Avatar for kky2k

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 …

Member Avatar for kky2k
0
102
Member Avatar for vaibhavbhardwaj

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

Member Avatar for vaibhavbhardwaj
0
98
Member Avatar for jaz854

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 …

Member Avatar for jaz854
0
186
Member Avatar for Akilah712

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 …

Member Avatar for iamthwee
0
184
Member Avatar for no1zson

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 …

Member Avatar for Ezzaral
0
216

The End.