64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for HadoukenGr

[CODE]#include<stdio.h> #include<string.h> void FindWord (char used[30] , char string[30] , int wordsize); char* CleanString (char string[30], int wordsize); int main (void) { FILE *fp; char letters[30]; char words[30]; char used[30]; char *string; int wordsize; int input_size; input_size = wordsize = 0; fp = fopen("dictionary.txt","r");/*contains a list of words in the …

Member Avatar for HadoukenGr
0
152
Member Avatar for Rizvi404

Am trying to BACKUP database in .bak format and when i compile it am getting [B]-2147221504 source file doesnt exist error [/B] can anybody please HELP.. Thanks in advance

Member Avatar for Rizvi404
0
297
Member Avatar for cyberdaemon

i want to create a stored procedure that can return the initial character of two string inside the description field. ex. Computer Security -> in one data only if i use this statement select left(description) from table1 i want to return only CS when i run my script. is there …

Member Avatar for cyberdaemon
0
127
Member Avatar for jbutardo

I have this OLEDB connection string connectionstring as string = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _ data.toString & ";Extended Properties=""Excel 8.0;HDR=Yes;IMEX=2 I just want to know what is the meaning of HDR and IMEX, and what are their purpose on the connection string Thanks..

Member Avatar for jbutardo
0
1K
Member Avatar for newbie26

'why is that when i change something on one form, when i ran the program,the changes i made don't seem to take effect? example, i set a button's visibility to false, when i ran that form, the button still appears. even if i already saved it before running i already …

Member Avatar for newbie26
0
176
Member Avatar for uva1102

Hi everyone.. Problem: no space between each tables.Could anyone please advice.. solutions: here is the coding: protected void btnShow_Click(object sender, EventArgs e) { if (ddlMonth.Text != "") {d.Controls.Clear(); DateTime start = DateTime.Parse(ddlMonth.SelectedValue); DateTime end = start.AddMonths(1).Subtract(new TimeSpan(1, 0, 0, 0)); switch (ddlRecurr.Text) { #region Daily case "Daily":{ foreach (preventive p …

Member Avatar for uva1102
0
147
Member Avatar for gowans07

I currently have the following code [CODE]Data1.Recordset.Sort = ("Barcode ID DEC")[/CODE] In which i want to sort all the Barcode ID records in Descending order. The barcodes have leading zero's which i think may be the problem. For example 00000055. Any suggestions?

Member Avatar for ChrisPadgham
0
1K
Member Avatar for november_pooh

Hi masters, I want to replace a string with another string in textbox How i can do this? Please help Thank you

Member Avatar for ChrisPadgham
0
235
Member Avatar for rue64ja

Never Mind the title of the post guys and gals… it turns out that writing the post helped me vent my frustration and clear my mind. I found the issue and solved the problem while I was writing the initial post! I'm writing this because I haven't figured out how to …

Member Avatar for rue64ja
0
171
Member Avatar for krejar

I think my issue is in line 18. The program runs just fine, but my answer isn't correct when I enter a radius and height. Not sure what I am doing wrong here. [CODE]import java.util.Scanner; import java.text.DecimalFormat; public class ConeA { public static void main (String[] args) { double surface; …

Member Avatar for krejar
0
190
Member Avatar for abathurst

I have a form where a user can search for properties from a database. Everything is working except for the suburb search. I would like the user to be able to search for more then one suburb. At the moment I have the information from the textbox being separated into …

Member Avatar for adam_k
0
132
Member Avatar for lxXTaCoXxl

I've been trying to better my lesser side of knowledge in the C# programming language by tackling graphics head on. I've learned a little bit, but I'm getting stumped right now because I can't explain 100% what's going on here. I've developed a Pong game to teach myself how to …

Member Avatar for lxXTaCoXxl
0
143
Member Avatar for rahul.ch

A snippet: package com.deitel.jhtp7.ch14; public class AccountRecord { ..... Doubt: 1. What does the above package statement imply. As in how(path) this AccountRecord.java will be stored? As in what folder hierarchy should I create? 2. In Command prompt I have set my Current Directory as : E:\RDL\Dropbox\Coding\Core Java\File So will …

Member Avatar for DavidKroukamp
0
244
Member Avatar for stepmaster

I was just trying to compile a program from Sams Teach Yourself C#, I've done some before but just changes to an existing program. Now I'm trying to make my own. I get an error on the picShowPicture command. I believe it's in the System.Drawing namespace which I have a …

Member Avatar for gusano79
0
114
Member Avatar for whodoes21

Hello. We have been asked to write a program of an event driven simulation in dynamic partition. where we are given a number of jobs with it's given time and job size. the job should remain on the memory until completion (time clocks down to 0). the program should measure …

Member Avatar for Mike Askew
0
315
Member Avatar for showman13

Good Morning Good People... I have a question that I can't seem to find the answer to anywhere, so decided someone in here would know... Simplest explanation... I have a form which has 2 submit buttons... one to accept and one to decline Each of them needs to set the …

Member Avatar for showman13
0
250
Member Avatar for NuGG

I have an array of file names which gets split into 3's using array_chunk, then using array_push "X" is added to each array chunk. I now want to to reassemble the array chunks into one "2D" array. I have been playing around with array_merge, but I can only get the …

Member Avatar for NuGG
0
505
Member Avatar for rahul.ch

[code]public class StringBuilderConstructors { public static void main(String args[]) { StringBuilder sb3 = new StringBuilder("hello"); System.out.printf("buffer3 = %s\n", sb3.toString()); //written in textbook System.out.printf(sb3); //i tried System.out.println("buffer3=" + sb3); // i tried }} o/p: buffer3 = hello hello buffer3=hello[/code] doubt: The book says toString() gives the string representation an object. That …

Member Avatar for rahul.ch
0
237
Member Avatar for behemothdave

Okay so I am creating a windows form to basically act as a bank ledger for an individual. Pretty simple they must enter the account information, and a beginning balance. The key is the validation, it is really tripping me up. I need to ensure that upon clicking the continue …

Member Avatar for behemothdave
0
199
Member Avatar for Alex_2011

Hi, Thank you all for your help. I wrote this code and I want (Combobox2) to show only the cities that are selected from (Combobox1) Example: When (Michigan) is selected from (Combobox1) - (Detroit & Ann Arbor) are the only choices that should be selected from (Combobox2) And When (Ohio) …

Member Avatar for Alex_2011
0
94
Member Avatar for Aviplo

I have created the main.aspx as a template and main.aspx has a table with a menu on the side, and a footer. The main part of the page is blank for the body. then i include testmenuright.ascx in the allocated section of the table in main.aspx. now i want to …

Member Avatar for sufyan2011
0
147
Member Avatar for PrimePackster

I have written a simple program to save details about a maximum of 20 people using structures. But when i run it, gets gives me error....... Here is the code... [CODE]// Hihi.cpp : Defines the entry point for the console application. // #include "stdafx.h" int _tmain(int argc, _TCHAR* argv[]) { …

Member Avatar for PrimePackster
0
184
Member Avatar for subrata_ushasi

Hi all, I am developing an website which is required to hide and show HTML. like if visitors user and password are correct then will show "You are logged in as "Namd " "Edit" "Logout" ,as and if logout is pressed then "user name " "password " "forgot password ?" …

Member Avatar for pritaeas
0
833
Member Avatar for poojavb

Hello Friends, I need one urgent help on this topic. I have a database in mysql. The column in table is of datatype time(0) Similarly I have a control datetimepicker in vb.net I have assigned format property as [COLOR="red"]custom[/COLOR] to the control and the CustomFormat property as [COLOR="Red"]HH:mm:ss tt [/COLOR]so …

Member Avatar for poojavb
0
592
Member Avatar for bhagawatshinde

Hi, How to show dropdownlist first item blank . can i set the index property to -1 instead of 0.

Member Avatar for bhagawatshinde
0
83
Member Avatar for mrabrar09

Hello friends, I am new to Jsp Here am facing a problem while trying to retrieve the data from ms access db using student no(number) form.jps ========= [CODE]<html><head> <BODY style="background-color:SteelBlue"> <center> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <form method="post" action="search.jsp"><h3> Enter Ur Number: </h3><input type="text" size="3" name="no"><br /> <p><input type="submit" value="Submit"> </form> …

Member Avatar for javaAddict
0
331
Member Avatar for Sawamura
Member Avatar for Jx_Man
0
379
Member Avatar for M.Waqas Aslam

Hello Every One ! I m working on a software , i have one field name expiry_Date , now i want to make an query which subtract the current date from the expiry_date and give answer in no.of days , i use getdate() for current date , can any one …

Member Avatar for M.Waqas Aslam
0
207
Member Avatar for Cameronsmith63

Good Morning Guys/Gals. Need some help with this. How long does it take to dispose of da and confdt? What im trying to say is, that this function works fine if i execute it every 5 seconds or so, giving it enough time to close the controls, but if I …

Member Avatar for Cameronsmith63
0
163
Member Avatar for bhagawatshinde

Hi, In my page their is one combobox and one listbox. When i select an item in combobox then selected item added to listbox. Combobox has ispostback property to true. Now my question is, how to check item is already present in listbox on combobox selected item changed event. Thanks …

Member Avatar for bhagawatshinde
0
96
Member Avatar for dellat

Hello, I'm looking for c++ api example for ncurses programming and needless to say that it is not available except 7 part snake game development video on youtube which is a bit difficult for a noob like me to understand. GNU ncurse 5.9 documentation heading states that it has c++ …

Member Avatar for dellat
0
599
Member Avatar for mfas

Hi all, I have been messing around with datagrid styling for a couple of days now, and I am having one issue left which I can not seem to solve. I want to highligt the text of the row on which I hover with the mouse. Well this seems like …

Member Avatar for mfas
0
2K
Member Avatar for pwolf

""" Write a function to convert temperature from Celsius to Fahrenheit scale. oC to oF Conversion: Multipy by 9, then divide by 5, then add 32. Examples >>> Cel2Fah(28.0) '82.40' >>> Cel2Fah(0.00) '32.00' """ so it says, but i couldn't think of an a way to do so efficiently. But …

Member Avatar for TrustyTony
0
1K
Member Avatar for poojavb

Hello Friends, I need help on the below issue I have two forms -DoctorAppointment -DoctorSchedule the DoctorAppointment form has all the details about the doctor and the patient and one Schedule button which will show the DoctorSchedule form When I click on any value in the DoctorSchedule form like Monday …

Member Avatar for poojavb
0
106
Member Avatar for bhagawatshinde

Hi all, Can anybody help me...How to create insert store procedure in access db with c# windows application.

Member Avatar for bhagawatshinde
0
166
Member Avatar for jemz

Hi, I am new in this C#, and i need to know what are the first thing should i know in C#.and what program should i make for the beginners like me. Thank you in advance.

Member Avatar for jemz
0
211
Member Avatar for Torf

Hello, I do not understand the following parts in bold - how it works, what is is for..etc. I'm not following the book's explanation.. [CODE]#include <iostream> using namespace std; [B] double totalCost(int numberParameter, double priceParameter);[/B] int main( ) { double price, bill; int number; cout << "Enter the number of …

Member Avatar for MandrewP
0
284
Member Avatar for kenth21v

Good Day. I am using VB.net 2010 and SQL client server. I have to make a Weekly Report Manager that stores an Trainees' weekly activity, which would probably be in a paragraph form. I think I can use Textbox (multilined) or Richtextbox for this. But When I tried to store …

Member Avatar for kenth21v
0
3K
Member Avatar for freedomflyer

For some reason, whenever I try to find a slash at the end of a byte string (in this case, base_url which is set to "www.google.com/"), it doesn't seem to want to return that it is or isn't there. However, if I change base_url to something like "www.google.com" where m …

Member Avatar for freedomflyer
0
205
Member Avatar for stanley87

hi,guys, i am facing on hiding the image source problem, may i know how to prevent user by using right click on image and check on the path image source location?thks for any info ya.cheers

Member Avatar for stanley87
0
3K
Member Avatar for mantapgan

Hi im trying to insert date to my .mdb database, but when i check it, the date turned into random numbers, like 3.2938482 here's my code [CODE] Dim constring As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\dbperpus.mdb" Dim query2 As String = "select * from fpinjam2" connect = New OleDbConnection(constring) connect.Open() cmd = …

Member Avatar for mantapgan
0
148
Member Avatar for connect2abhi

Hi I am designing a custom textfield in j2me. Can anyone suggest me how to make it predictive?

Member Avatar for peter_budo
0
60
Member Avatar for riahc3

Hello The instructions for installing the Android SDK on Eclipse are different than on MyEclipse (following Google). Any step by step? Thank you

Member Avatar for riahc3
0
261
Member Avatar for riahc3

Hey Lets see if I can explain myself correctly...... I have 2 projects, one a program and another a library. First project is basically this, more or less (obviously it is more complicated) [code] //This is the main project //Inside com.stuct: //Global.java package com.stuct; public class Global { public static …

Member Avatar for riahc3
0
529
Member Avatar for Eragah

[B]For some reason whenever i print out the code below "System.out.println("Heat 1:"); never prints but rather somehow just leaves the terminal window. because when i use print instead of println it shows but not when i use println[/B] [CODE] System.out.println("Heat 1:"); System.out.println(heat1[0][0] +"\n"+ heat1[1][0] +"\n"+ heat1[2][0] +"\n"+ heat1[3][0] +"\n"+ heat1[4][0]+"\n"); …

Member Avatar for stultuske
0
193
Member Avatar for iamthesgt

In working on a logfile for an application, I needed to limit the size of the logfile to 1000 bytes. Since it is not possible to delete lines from a file in C++, I used the following steps: Rename the logfile to a temporary name. Read the temporary file. Write …

Member Avatar for iamthesgt
0
230
Member Avatar for kirtan_thakkar

I have inputted a word from a user and i want to find that word in a text file. My text file is like this. -------------- name1:value1 name2:value2 name3:value3 ... ... -------------- So if my user inputs name1 so i want corresponding value1.. How can i do these? Can anyone …

Member Avatar for trickist17
0
12K
Member Avatar for eman neercs

Not sure if this can be done in php or whether I should look at other alternatives. I'm trying to access 4 different sources of data to put on one page - Amazon API, Ebay, our sales data on one server and our inventory data on another server. (Historical reason …

Member Avatar for eman neercs
0
195
Member Avatar for newbiecoder

Hello everyone, I'm coming up with a very primitive question: I need to take two numbers from console and process them. Since I'm getting input from console with Console.Readline(), how can I seperate those numbers from the string? Thanks in advance..

Member Avatar for newbiecoder
0
141
Member Avatar for newbiecoder

Here is another simple question (I'm asking them because I couldn't find a way by myself): Suppose I have a string [CODE]x = "Daniweb"[/CODE] When I try to update an element like : [CODE]x[3] = k[/CODE] The Visual Studio says it is read only and gives error. How can I …

Member Avatar for newbiecoder
0
101

The End.