132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for alaad

Hello.. i want to read a microsoft word file and i did search for this subject but i did not find a response. can any one help me, and thank you.

Software Development java microsoft
Member Avatar for alaad
0
130
Member Avatar for jamesjohnson25

My Question was Write a program to collect and store all the cards to assist the users in finding all the cards in a given symbol. This cards game consist of N number of cards. Get N number of cards details from the user and store the values in Card …

Software Development java
Member Avatar for JamesCherrill
0
2K
Member Avatar for mgracer48

Can someone please help me? I am using python 2, on mac yosemite thanks Also this is a project by me its a private server for closed toontown online so i have permission to use this. defaultText = "" def __inject_wx(_): code = textbox.GetValue() exec(code, globals()) def openInjector_wx(): app = …

Software Development python
Member Avatar for rubberman
0
892
Member Avatar for can-mohan

Hi All, Usually in factory method we need to check the existance of object based on given argument and then need to return the object and due to this we need to have multiple if and else statement and while adding one more type then again one more else block …

Software Development c++ web-design
Member Avatar for rubberman
0
264
Member Avatar for Jeanyl_1

Hi there, I am having a problem in running my frame at Java Eclipse. It always says unkown source when clicking the button. I would like to insert the dat to the Jtable but it always display like this ` ## This is the error: ## Exception in thread "AWT-EventQueue-0" …

Software Development java java-swing
Member Avatar for JamesCherrill
0
403
Member Avatar for bharathi_n_r

Hi there,i have joined newly to this site....I am a learner as off now.i am developing a [COLOR="Green"][B]windows application [/B][/COLOR]using c#.net.. I have two types of users [COLOR="Red"]Admin[/COLOR] and [COLOR="Red"]Normal [/COLOR]users. I am having one login screen.i want the application to identify the two types of users when they enter …

Software Development asp asp.net session
Member Avatar for Shashikantp004
0
1K
Member Avatar for Manish_10

Hi, please can anyone help me with the following issue? issue: todays date is 20150819 and my data contains date as 20141001. I want to read this date i.e. 20141001. please tell me how to read the previous year date??

Software Development shell-scripting
Member Avatar for ravi_14
0
317
Member Avatar for TheFearful

Hello everyone, can anyone explain to me what is wrong with my project? I coded the program using my linux system using Vim and the g++ compiler. I then copied that text over to Visual Studio since I am assuming my professor is going to compile and run it through …

Software Development c++ microsoft visual-studio
Member Avatar for Moschops
0
456
Member Avatar for mrismich

Im a student & and just started learning c++... My professor assigned me a program to get output as: 1 1 2 3 5 8 13 21 34 With the use of while loop... i hv made this>> #include<iostream.h> #include<conio.h> main() { int n=1,m=2; cout<<n<<' '<<n<<' '<<m<<' '<<n+m<<' '<<n+(2*m)<<' '<<4*m<<' …

Software Development c++
Member Avatar for TheFearful
0
221
Member Avatar for sciprog22

Hello, Thank you for your time! I have a Hashmap that has keys of of type Account (custom class) and the values are strings. The Account class has the following private variables: 1) name (String type) 2) account number (String type) 3) balance (type double). Following are the files: public …

Software Development java
Member Avatar for sciprog22
0
225
Member Avatar for naz1234

Hi, I got some data from this table. Can it be use using (for loop) ? http://i.imgur.com/lq7WtWA.png Recently, I used (if else) function, but it seem too longer. I am new to C progrmming. Here the code (if else) funtion that I done: if (0 < result < 409 ) …

Software Development c
Member Avatar for jnneson
0
265
Member Avatar for yadhu

When we go for Static member and Nonstatic member in java?

Software Development java
Member Avatar for jwenting
0
73
Member Avatar for Falcon25

Hi guys, I'm really stuck on this. I am not completely familiar with getters and setters so I am having great trouble with this. Firstly, I am using a windows form application and I have initialised a list within the 'Form1' class. I want to be able to use that …

Software Development microsoft-access
Member Avatar for JOSheaIV
0
19K
Member Avatar for Darth Vader

Hello, I am trying to find all possible operative system/router/adapter reasons what can cause internet to stop connecting. The goal is to create code that check for all those reasons and programatically resolves those issues. I have found 2 codes that do reconnect the internet connection if not connected. Example …

Software Development
Member Avatar for JOSheaIV
0
635
Member Avatar for Anirudh_2

Hi! I have a hexadecimal word in the form of a string, and i need to convert it into binary. For eg : AA FF (there is a space in between the two parts). How do i convert this into binary ? Thanks in advance :)

Software Development c
Member Avatar for Moschops
0
223
Member Avatar for Pilot122x

Ok, so right to it. int CSQLDB::Init(const char *host, const char *user, const char *passwd, const char *db) { //Init mySQL mySQL = mysql_init(mySQL); my_bool rec = 1; mysql_options(mySQL, MYSQL_OPT_RECONNECT, &rec); if(!mysql_real_connect(mySQL, host, user, passwd, db, 3306, NULL, NULL)) { printf("(!!!) mySql connection rejected!\n"); mysql_close(mySQL); return 0; } failed = …

Software Development apache c++ sql
Member Avatar for マーズ maazu
0
236
Member Avatar for sing1006

cmd.CommandText = "UPDATE tbl_System SET S_Name='" & TextBox2.Text & "', S_Function='" & RichTextBox1.Text & "', S_Failure='" & RichTextBox2.Text & "' WHERE EquipTag='" & Tbl_SystemDataGridView.CurrentRow.Cells(0).Value & "' i think this is correct format for update query but i still get error for this

Software Development sql vb.net visual-studio
Member Avatar for sing1006
0
263
Member Avatar for sarahmalkawi

i want to write easy68k Assembly program to read two numbers each number have 20 digit , then multiply them together and finally print out the result ??

Software Development assembly
Member Avatar for ALI KHAYRI
0
125
Member Avatar for COKEDUDE

If you carefully look at this example you will see with atoi when it runs into a string it gives the integer value of 0. So I was wondering how you tell the difference between the integer value of 0 and a string that got converted to 0. http://www.tutorialspoint.com/c_standard_library/c_function_atoi.htm

Software Development c
Member Avatar for deceptikon
0
141
Member Avatar for COKEDUDE

Is the ordering of checking if a number is between two values important? I figured this would be pretty simple to do but its not working. if(0 <= (int)strings[p][0] && (int)strings[p][0] <= 9) { printf ("NUM: %s\n",strings[p]);; } else { printf ("ID: %s\n",strings[p]); }

Software Development c
Member Avatar for JamesCherrill
0
1K
Member Avatar for john_93

try { OleDbConnection connection = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;" + @"Data Source=c:\Users\PC\Documents\Visual Studio 2013\Projects\WindowsFormsApplication1\WindowsFormsApplication1\Main database.accdb"); connection.Open(); OleDbCommand lala = new OleDbCommand(); lala.Connection = connection; string query = "SELECT * FROM [Firebird m0 Damage];"; lala.CommandText = query; OleDbDataReader reader = lala.ExecuteReader(); while (reader.Read()) { var parameter = new OleDbParameter("@Totalprice", OleDbType.SmallInt); parameter.Value = "comboBox6.SelectedValue"; …

Software Development open-source visual-studio
Member Avatar for JOSheaIV
0
237
Member Avatar for COKEDUDE

I'm having trouble with the if statement. I have verified with print statements that (int)strings_line_tokens[l][m] == 0. I thought maybe my logic was backwards since I had two not statements with an or, so I changed it to an and. That didn't help either. if((int)strings_line_tokens[l][m] != 10 || (int)strings_line_tokens[l][m] != …

Software Development c
Member Avatar for Moschops
0
146
Member Avatar for abdullah_8

public class adding { public static void main(string[] args); int a=1; int b=2; sum c=a+b; system.out.println c(sum c); } help cant find symbol - method string

Software Development java
Member Avatar for JamesCherrill
0
213
Member Avatar for ryanzeng

Hi all, i need help to build up a cellular automata program. So, there is 4 state of cells, 0 = space, 1 = ".", 2 = "+", 3 = "#" This state is continuous from 0 - 3, after 3, it will be back to 0. For example, an …

Software Development c c# c++
Member Avatar for JOSheaIV
0
216
Member Avatar for abdullah_8

public class adding public class adding { public static void main(string[] args){ { int a=1; int b=2; sum c=a+b; system.out.println c;(sum c)-> } } help illegal start of expressions

Software Development java
Member Avatar for abdullah_8
0
158
Member Avatar for homeryansta

[CODE=C++] #ifndef LIST_H #define LIST_H #include <iostream> typedef char Item; class List{ public: List() {first = NULL; last = NULL;} //~List() void append(Item entry); void remove_last(); void output(); private: struct Node { Item data; Node *next; Node *back; }; Node *first; Node *last; }; #endif [/CODE] I'm writing a class …

Software Development c++ linked-list unix
Member Avatar for Syed Zuman
0
969
Member Avatar for Anthony_8

i need help ! instead of ouputting password : admin i want to input asterisk password : ******* thanks in advance

Software Development java
Member Avatar for JamesCherrill
0
433
Member Avatar for Mr.M

Hi Dw. How to check if the running process has been injected by another process or there is another process running as another process. What I mean is, let's say the explorer has been injected by another process and both these processes run as one process and the explorer process …

Software Development vb.net
0
115
Member Avatar for JohnMcPherson

Hello, this is a very strange problem. I had first put this discussion in the Linux and Unix thread, since I believe it is actually a problem with how the data is entered via but the vi editor, but I closed those out and will put it in the C …

Software Development c unix
Member Avatar for Nutster
0
303
Member Avatar for you207

Hi I'm try to change the background of the matched by a Regex text. Example: input: aaa aaa aaa //double white spaces in between output: aaa aaa aaa //change the background of all matched white spaces to red But it's coloring the wrong text. I have tried and searched google …

Software Development asp.net html-css regex
Member Avatar for JOSheaIV
0
953
Member Avatar for minteks

Hey. I'm struggeling hard. Been trying for 5 hours straight without much progress. I just can't see what'ss wrong. This is my third week learning Java in school. I am looking for guidence. Don't want anyone directly solving the task for me. As that would be cheating, I would fail …

Software Development java
Member Avatar for Taywin
0
262
Member Avatar for IconiCxPimp

Ok so this is my base pig latin code and I need it to detect and change the capital letters into lower case as well as move the end punctuation to the end of the pig latinized word. For example if I type "Hello!" it gives me "ello!Hay" when I …

Software Development
Member Avatar for IconiCxPimp
0
280
Member Avatar for ajit.nayak

Dear all I have combox accumated with 3 perameter Grid Connected PV-SYS- Full Feed In Grid Connected PV-SYS with Electrical Appliance -Net Metering Grid Connected PV-SYS with Electrical appliance ,battery system -Net Metering Each combobox value contain images.I used picture box to dispaly images. How to display the image based …

Software Development image vb.net visual-basic
Member Avatar for Reverend Jim
0
366
Member Avatar for SpottyBlue

I got the questionairre problem. I was trying to fill the answers from the 20 questions and output the file as results.txt, but it only shows the answers of 19 questions. And when I fill up all the answers, the total score shows 0. The scores for each question (except …

Software Development c++ file-stream
Member Avatar for rubberman
0
198
Member Avatar for Arun_14

I have a problem with adding more than one number in calculator..the problem is while adding 1+2 answer is 3 and when i do 1+2+3 the answer is 5 and not 6 why so.. ihave tried different method of creating array for storing the value but nothing seems to work …

Software Development vb.net
Member Avatar for Santanu.Das
0
182
Member Avatar for Doogledude123

I want to iterate over a List in a 2D way, basically starting at the center and working my way around in a "circular" fashion. The List is a List of type Chunk and Chunks store a Vector 3 position. I also have a Player which has a Vector3 position. …

Software Development
Member Avatar for overwraith
0
325
Member Avatar for egieboom12

problem#1 Create a program that will count from 1 to n, wherein n is a user-input number. problem#2 Create a menu and combine previously-created programs into one im a newbie programmer i need help in using looping constructs... any suggestions???

Software Development c c# c++
Member Avatar for rubberman
0
149
Member Avatar for Okere

i have created a customer table containing name and ID in datsbase and i want if i type in the customers ID number lets say in a textbox, (1)it should check the database to see if the ID exist and (2)then call up the corresponding name with that ID and …

Software Development visual-basic
Member Avatar for Joe-Guru
0
170
Member Avatar for Papa_Don

Hi group, I'm starting a test to see if I can automate some tasks. In this first test, I'm using System.Diagnostics to open a specific version (I actually have two versions on my computer - both are needed). After that's open, I want to open a specific file within that …

Software Development vb.net
Member Avatar for Papa_Don
0
233
Member Avatar for ranTHE

How to get current Selected Row in dataGridview and print using crystal report? Print Only selected current row in data gridview

Software Development vb.net
Member Avatar for Mamoundi
0
9K
Member Avatar for naz1234

How to count number in C language ? For example , I have have input 5 until 7 then it will print 3 or input 2 until 4 then it will print 3 here my code: #include <stdio.h> int main() { int n,count=0; printf("Enter an integer: "); scanf("%d", &n); while(n!=0) …

Software Development c
Member Avatar for nullptr
0
212
Member Avatar for ajit.nayak

Dear all, Here i have attached form window.I wanted to update form with relative data How to refresh the single form. When New project detail is clicked from loaded with project data , when panel button clicked form loaded with panel data. 1)I tried this method. I created a group …

Software Development dataset visual-basic
0
192
Member Avatar for Cory_1

I am writing a program for extra practice from my book on finding the max element in array using Java Generics. My Code so far is: public class GenericMax { public static void main(String[] args) { Integer[] numbers = {1, 2, 3}; //Creates array of integers System.out.println(max(numbers)); String[] words = …

Software Development java
Member Avatar for JamesCherrill
0
6K
Member Avatar for naz1234

Hi, how to make counting numbers ? For example, I send command to HyperTerminal, then it will reply (print) counted values. Here the first example, send command: UI1-UI10 reply command: UI1-UI10_in_Hexadecimal:0x3FF The above example, Ui1 until Ui10, it count, one until ten. Then, the binary will have IIIIIIIIII (10bit), but …

Software Development c
Member Avatar for chriswelborn
0
242
Member Avatar for Shizza

i want to make an artificial system in c++ language for a doctor or any judge that will take input from the user and by using rule of inference it will display the result as true or false, can anybody help me to solve this problem

Software Development c++
Member Avatar for pritaeas
0
315
Member Avatar for hwoarang69

How to get min/Max value of a all column in a two-dimensional arra so for example, lets say you have the following 2d array: 1 2 3 4 5 6 7 8 9 Than the out put should be: -- col 1 -- min value at col 1 is 1 …

Software Development java
Member Avatar for JamesCherrill
0
753
Member Avatar for COKEDUDE

Is there a way to split a string at different types of characters into separate strings? char str[] ="(I) 44like22 .cookies. ,This, /is\ ?tricky?"; Something like this? ( I ) 44 like 22 . cookies . , This , / is \ ? tricky ?

Software Development c
Member Avatar for David W
0
245
Member Avatar for Dark_1

I'm building a board game. The game is played on a 4 by 4 grid in pairs, one player at a time. I would really appreciate if you could help me with this. Please help me. I'm new to Visual Basics. It has been only 1 month since I started …

Software Development user-interface vb.net
Member Avatar for Reverend Jim
0
214
Member Avatar for Sayyo

Most of the traffic light is working by timer. But in some situation that is not performed well, and even it is a wastage of time without any trouble. So, I want to move from timer to motion detector traffic light. Could you say something?

Software Development
Member Avatar for ddanbe
0
74
Member Avatar for samantha2015

I am using jodatime for datetime. When I persist the date in mysql it stores 2015-09-04 10:30:18 instead of 2015-09-04 14:30:18. My timezone is GMT+4 or UAE. Do you know how to change the timezone? I try to put GMT+4 but it does not work. I run this line on …

Software Development java mysql
Member Avatar for samantha2015
0
280

The End.