132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for boot-baby-boot

I want to write a simple c++ program that allows me to edit my database tables.Each table stands on its own(no table is related to another).The UI i want is simple.I want my tables to be shown as follows: [LIST=1] [*]Table-One [*]Table-Two [*]Table-Three [*]Table-Four [*]Table-Five [*]Table-Six [*]Table-Seven [*]Table-Eight [*]And-So-Forth [/LIST] …

Software Development c c# c++
Member Avatar for Ancient Dragon
0
453
Member Avatar for rinizids

how to put an image in a button?thanx :)

Software Development image java
Member Avatar for sourabh17
0
83
Member Avatar for chanthung

I am using MsAccess DB and Vb.NET 2008. This is a code to check the Database for duplicate entries but m geting an Error. [B]" Fill: SelectCommand.Connection property has not been initialized."[/B] And this points to [B]LINE NO 14[/B]. What could be the cause..? thanks in adv [CODE] Dim con …

Software Development dataset open-source vb.net
Member Avatar for chanthung
0
1K
Member Avatar for hypeh

Hi guys, My C# programming is quite basic, and i would like to note, i have tried a few tutorials on reading XML and creating my program. i have done as much as i can understand so far, and so i am hoping someone could maybe explain to me how …

Software Development xml
Member Avatar for hypeh
0
190
Member Avatar for MrCapuchino

Hi, I'm trying to trim certain caracters from a string but it is not working. Here is my code: [CODE] string sMystring = "what you waiting for? "; char[] cInvalid = { '\', '-', '/', '*', '?', '<', '>', '|'}; sMystring = sMystring.Trim(cInvalid); [/CODE] I realized that if I remove …

Software Development
Member Avatar for MrCapuchino
0
259
Member Avatar for yapkm01

Newbie to C++ but i am a Java programmer. Trying to learn C++ now. Reading the C++ Primer by Stanley Lipmann. I don't understand this sentence in Chapter 3 about library types. He's talking about library type string and vector. "These library types are abstractions of more primitive types - …

Software Development c++
0
87
Member Avatar for sanam_1

I want to number the row and column . I get row number right around the left hand side ..I want the column number on the top..This is the code I have ..CAN PLLZZ HELP ME WID the column number plzz.. int[][] Board = new int[15][15]; for(int j=0;j<Board.length;j++) System.out.print(" "+j+" …

Software Development java
Member Avatar for sanam_1
0
513
Member Avatar for vb2learn

Hello Guyz This is my first post here. I am having problem in vb.net I am trying to get a webpage source using this code. [CODE] Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create(Textbox1.Text) Dim response As System.Net.HttpWebResponse = request.GetResponse() Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream()) Dim sourcecode As String = …

Software Development http-protocol perl vb.net
Member Avatar for vb2learn
0
144
Member Avatar for weblover

hello all, i'm new to python programming and i'm facing a problem and need ur help i finished my script and i'm trying to execute it on windows cmd the script takes a file as an argument , when i run the script with the argument it works very well …

Software Development python
Member Avatar for weblover
0
410
Member Avatar for MrCapuchino

Ok, I finally finish my application. It has a textfile in the resources folder of the solution that the application constantly accesses. My question is: I want to build an exe for my application that I can run in any computer. I want to apply an icon to this .exe …

Software Development
Member Avatar for Momerath
0
126
Member Avatar for linezero

[CODE] <html> <td id="item_menu" class="line" valign="top" width="100%"> <a class="nopd" target="mainly" href="http://myfruits/aboutfruits.html">About fruits</a> </td> <td class="line" id="item_menu" valign="top" width="100%"> <b>Common Fruits</b> <div class="tree tree-top" style="-moz-user-select: none;"><div class=" tree-item tree-lines-t" style="-moz-user-select: none;"><table class="tree-table" style="-moz-user-select: none;" cellpadding="0" cellspacing="0"><tbody style="-moz-user-select: none;"><tr style="-moz-user-select: none;"><td class="tgb icon customIcon" style="-moz-user-select: none;"></td><td class="label" style="-moz-user-select: none;"><a href="http://myfruits/apple.html" target="cmain" title="CONTENT: …

Software Development html-css vb.net web-browser
Member Avatar for codeorder
0
251
Member Avatar for MixedCoder

[code]#include <iostream> #include <WinSock2.h> #include <mysql.h> #include <string> #include <vector> #include "action.h" using namespace std; MYSQL *con; st_mysql_res* res = NULL; MYSQL_FIELD * field[200]; MYSQL_ROW myRow; CAction * m_pActionList[1000]; int LoadActions(); int main() { con = mysql_init(con); if(!mysql_real_connect(con,"127.0.0.1","test","test","account_zf",NULL,NULL,NULL)) { cout<<"Error connected"<<endl; system("pause"); exit(-1); return false; } LoadActions(); system("pause"); return 0; …

Software Development c++
Member Avatar for MixedCoder
0
255
Member Avatar for nramya82

Hello friends, I installed junit4.8.1 in my windows xp, while testing I see following errors.Below are my class path and the location of Junit where I installed. I would really appreciate if some one can help me on this CLASSPATH =.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip;C:\junit4.8.1\junit4.8.1\junit4.8.1.jar JAVA_HOME = C:\Java\jdk1.5.0\bin Junit installation path C:\junit4.8.1\junit4.8.1\junit\tests when …

Software Development java
Member Avatar for HelloMe
0
1K
Member Avatar for core_st

Hi! I'm newbie in asm, so i need your help. I need resident program "clock" that will show time in some corner on screen in resident mode and update time by 1Ch bios function. I already have simplae program clock: [CODE]OutStr macro str ;макрос виведення стрічки push dx mov ah,09h …

Software Development assembly
0
105
Member Avatar for keltik

Greetings to all Forum users, Yesterday i tried to install a Haskell-module via cabal, in order to get aquainted with the installation of modules in Haskell. I had to install cabal first. My System: Windows 7 Haskell-Compiler Version: GHC 7.0.2 (Link [url]http://www.haskell.org/ghc/download[/url]) Cabal: [url]http://haskell.org/cabal/download.html[/url] I will describe the process step …

Software Development file-stream user-interface
Member Avatar for Rashakil Fol
0
181
Member Avatar for kaneyip

Given array: int[] dimension = { 1, 2, 3 }; That produces the output: 1 2 3 12 13 23 123 I'm new to array...i can't figure out the way on even how to start... any idea?...really appreaciate if someone could help...thanks!

Software Development java
Member Avatar for JamesCherrill
0
112
Member Avatar for arul jeba

I have a vb 6.0 project which uses access as a database. but i need only oracle as database. Will anybody pls tell me how to change it to oracle database. Does it requires the Complete change in the code of the project or only a little changes. i am …

Software Development oracle visual-basic
Member Avatar for Jx_Man
0
140
Member Avatar for fadi_1234

how can i make table like this : For example: Fadi recommendattion ----- ---------------- 1212 you must at least gain :1kg if fadi>1212 you must at least gain 1 kg how to make a table like that in c++ and i want to put the result of if in recommendation …

Software Development c c# c++
Member Avatar for fadi_1234
0
314
Member Avatar for anu07

I have a little problem with strcmp here,the following code basically opens a file and writes to it until I enter "\esc",at which point the program should stop....but the problem is,it does not,and I can't figure out what might be the prob.Thanks for your time(I am using turbo c++ 3.0 …

Software Development c++ ios
Member Avatar for anu07
0
428
Member Avatar for subith86

I'm trying something like this [CODE]void receiver (char* x) { cout<<x<<endl; //prints "a" cout<<*x<<endl; //prints "a" cout<<&x<<endl; //prints address of x } int main() { char p = 'a'; cout<<p<<endl; //prints "a" cout<<&p<<endl; //prints "a" receiver(&p); } [/CODE] In the main function for both p and &p, it is printing …

Software Development c++
Member Avatar for subith86
0
323
Member Avatar for pythonbegin

Hi All I have just started using a subprocess.call()to call external commands. I want to call R from command line and that I can do it easily by subprocess.call('Rscript script.R') and it works fine. I want to pass the several arguments instead of using default arguments. I tried using Rscript …

Software Development python
Member Avatar for TrustyTony
0
5K
Member Avatar for JavaNewbieEK

I have an assignment in which I have to read in a series of words using the nextLine method from the Scanner class and then count the number of words using the StringTokenizer class. I know you all like for people to show some initiative by starting the program but …

Software Development java
Member Avatar for anumash
0
193
Member Avatar for Khoanyneosr

[CODE] #include <iostream> #include <ctime> #include <cstdlib> #include <string> #include <algorithm> using namespace std; //Types and Arrays string word[16] = {"GOLDFISH", "COMPUTER", "ANONYMOUS", "JACKET", "SHARP", "SERVICE", "EFFORT", "CHARACTER", "CHANGE", "WITHOUT", "PRODUCT", "UNFOLDS", "MUSIC", "MOMENT", "LIFETIME", "PROVIDE"}; char guess[50]; static const char Y= 'Y'; static const char N= 'N'; char ans; …

Software Development algorithm c++
Member Avatar for VernonDozier
0
593
Member Avatar for sanam_1

how you number the 2d array??i created a 2d array now i want to number the rouws and colums...here is the code i have now [CODE]int[][] Board = new int[15][15]; for (int r = 0; r < Board.length; r++) { for (int c = 0; c < Board.length; c++) { …

Software Development java
Member Avatar for Taywin
0
112
Member Avatar for .:Pudge:.

My professor taught us the bare basics and gives us questions on our homework that we essentially have to teach ourselves have to do. Any help would be appreciated! (use this for MIPS reference : [url]http://www.mrc.uidaho.edu/mrc/people...al/MIPSir.html[/url]) Here goes: 1. Write the binary representation of the smallest integer number that can …

Software Development assembly
Member Avatar for Taywin
0
154
Member Avatar for Buffalo101

Hello, I'm trying to write a simple Clicker program to automate room-joining on GArena: 2 clicks to attempt to join, 1 attempt per 5 seconds. That means I have to simulate 2 x mouseButton1 clicks every 5 seconds - easy. The problem with my clicker, as well as with other …

Software Development java
Member Avatar for Buffalo101
0
196
Member Avatar for lima01

Hello. I want to make a game card that is played by two players who are on different PC's and playing via internet. I am new at network programing(I guess that is called socket programing), so I don't really know from where to start, I have done some digging on …

Software Development c++ socket-programming
Member Avatar for dennisschagt
0
318
Member Avatar for Matulin

cacn you help me with this one import java.awt.Graphics; import java.awt.Color; import javax.swing.JApplet; public class Smiley extends JApplet { public void paint (Graphics g) { super.paint(g); g.setColor(new Color (60,10,0)); //outline pants g.drawRect(393,275,199,80); g.drawRect(394,276,199,80); g.setColor(new Color (145,90,0)); //brown (pants) g.drawRect(395,300,197,54); g.fillRect(395,300,197,54); g.setColor(new Color (255,255,255)); g.fillRect(395,275,197,50); //fill white (pants) g.setColor(new Color (32,5,0)); …

Software Development java java-swing
Member Avatar for jon.kiparsky
0
461
Member Avatar for alam14_mist

[CODE] ListView listView1 = new ListView(); DataTable dataTable = new DataTable(); MoneyReceiptGateway moneyReceiptGateway = new MoneyReceiptGateway(); dataTable = moneyReceiptGateway.SelectDataForListView(narrationTextBox.Text); string[] str = new string[dataTable.Columns.Count]; foreach (DataRow rr in dataTable.Rows) { for (int coll = 0; coll <= dataTable.Columns.Count; coll++) { str[coll] = rr[coll].ToString(); } ListViewDataItem li; li = new ListViewDataItem(str); …

Software Development asp asp.net listview
Member Avatar for alam14_mist
0
245
Member Avatar for C.Cen

Hi guys, I'm supposed to make a program that calculates how many months it would take to pay off your credit card balance with a 14% yearly interest rate. I've written out what I believe to be it but I end up getting this. [url]http://omg.wthax.org/error_2.png[/url] The program doesn't seem to …

Software Development c++
Member Avatar for C.Cen
0
224
Member Avatar for jackmaverick1

Hi, I'm trying to make a program that will write to a file and tell it that the next time that the program is run to not do the first part of the program. [CODE] fstream install; //this is what all of the tutorials say to do. install.open(ready.txt); //this is …

Software Development c++ file-system oop
Member Avatar for mike_2000_17
0
117
Member Avatar for MaddTechwf

I'm posting here because I'm not too sure Google will take the entire search criteria of what I'm trying to explain. I have a Main form, called Main.vb, that is a Parent Form. I have another form called Notes.vb. Inside Main.vb I have a toolstrip with a button on it …

Software Development vb.net
Member Avatar for ndeniche
0
1K
Member Avatar for HelloMe

Hello... Like the title already says, i have a Panel with a TextField and when a text is entered, i want it to appear on a JLabel that is located on another Panel. Can someone give me the Syntax? Or is it more complicated to do? I do not use …

Software Development display java java-swing
Member Avatar for ndeniche
0
1K
Member Avatar for SeePlusPlus2

I'm really lost on this topic. I'm trying to study for an exam. 1)When the symbol '&' is in front of a variable, it is referring to the address right? How is it different from a reference parameter? I keep getting them mixed up. 2)By dereferencing it, it means that …

Software Development c++
Member Avatar for SeePlusPlus2
0
233
Member Avatar for elite01

There is a card game I was trying to make for the past two weeks in java. Can be played here => [url]http://www.angelfire...ardtrick02.html[/url] Basically the player picks a card and the program will ask which column contains their card. It than shuffles the cards back together. After doing that three …

Software Development java
Member Avatar for jon.kiparsky
0
531
Member Avatar for xxxtian

I have a combobox that is consist of 'Male' and 'Female' selection. I have a datagridview that when double click, will go to another form which is named 'Edit Form'. I need to be ale to change whether the value is a male or female, but there is a problem. …

Software Development
Member Avatar for xxxtian
0
309
Member Avatar for ntrncx

here are some questions that i have to improve my code readability since i study alone and my code starts to be more big and more chaotic i have some questions that maybe will sound silly to more but i have to ask someone. 1- its better to declare global …

Software Development c++
Member Avatar for ntrncx
0
130
Member Avatar for sarge66

I have not worked with the debugger at all and I have a assignment to debug a program. I don't want just the answer I need help using the debugger. Correct the Logical errors in the code so that the output of the program appears as such: * ** *** …

Software Development c++ microsoft
Member Avatar for template<>
0
208
Member Avatar for mangopearapples

Hey guys, I was wondering how I could make games with Java3D. I've used Java3D but only in static programs. How could I 'repaint' with Java3D (Make games and such)? Also, where could I learn more of Java3D? I've only learn't what I know so far from a few tutorials …

Software Development image java
Member Avatar for elite01
0
296
Member Avatar for AngelicOne

I need to have a watermark on both of my form using this [CODE] public static class TextBoxWatermarkExtensionMethod { private const uint ECM_FIRST = 0x1500; private const uint EM_SETCUEBANNER = ECM_FIRST + 1; [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = false)] private static extern IntPtr SendMessage(IntPtr hWnd, uint Msg, uint wParam, …

Software Development
Member Avatar for Momerath
0
136
Member Avatar for NOVICE3

I think that I have captured the file name from a file on my hard drive and I think I have loaded the contents of the file into an array. The code I used is: public void openFileDialog1FileOk(object sender, System.ComponentModel.CancelEventArgs e) { string fullPathname1 = openFileDialog1.FileName; FileInfo src = new …

Software Development file-stream hard-drive
Member Avatar for Momerath
0
343
Member Avatar for darshini.dayal

When the button is clicked the desired calculations are not been calculated. After the Tax paid variable eis entered in the text box, no further calculation taking place. In the result textbox getting the same data as eneterd in the Tax paid Text box.Can anyone tell wat is the error.. …

Software Development
Member Avatar for darshini.dayal
0
156
Member Avatar for Khoanyneosr

So, I need to find a way to create a way for the computer to ask for input, for this example lets make it 1 and 2. 1 for yes and 2 for no. [CODE] int yes; int no; cout << Do you like orange chicken?" << endl; cout << …

Software Development c c# c++
Member Avatar for Khoanyneosr
0
427
Member Avatar for rena0514

Write a program that simulates the “heap” using a linked list. This program should take one node of size 9096 kb. Assume all request will be made in kb. The user should request a size of memory from the system, then the system should find memory that can be allocated …

Software Development c++ linked-list
Member Avatar for caut_baia
0
242
Member Avatar for m1234ike

[code] Dim myPathsix As String = IO.Path.Combine(My.Computer.FileSystem.CurrentDirectory, "Cleanup/Programs") IO.Directory.CreateDirectory(myPathsix) Dim count As Integer = 1 If Not IO.Directory.Exists(myPathsix) Then IO.Directory.CreateDirectory(myPathsix) '// create if it does not exist. For Each foundFile2 As String In My.Computer.FileSystem.GetFiles _ (My.Computer.FileSystem.CurrentDirectory, _ FileIO.SearchOption.SearchTopLevelOnly, "*.exe" & "*.pl" & "*.jar" & "*.zip" & "*.rar") count = ++count …

Software Development vb.net
Member Avatar for Huntondoom
0
225
Member Avatar for m1234ike

I am making application that sends all the programs (.exe) into a created folder on the current directory. The application is setup by first creating a folder at the push of a button. Next, a try catch is used to send all of the .exe files into the new folder. …

Software Development vb.net
Member Avatar for Huntondoom
0
143
Member Avatar for Evesy

Hi, I've created an AIO tool in Visual Basic and i need to create some code so when the application is opened it places itself in the computer startup folder. I know i can do it manually but i want to do it on school computers (restricted access) Thanks in …

Software Development vb.net visual-basic
Member Avatar for Huntondoom
0
263
Member Avatar for Huntondoom

Do you have to clean up and sort your computer files? But do you rather want to play some game and not sort everything out. Well then here is something for you: Clean Up! The Application for sorting en cleaning up your Directory's Just give the directory you want to …

Software Development vb.net
0
422
Member Avatar for Huntondoom

[left][size=18pt][b]Advanced Internet Search [/b][/size][/left] [b]Coded & Design By Huntondoom[/b] Advanced Internet Search or AIS is an program that speeds up the search process this program goes to Google and looks want you gave it to search then collect a number of results (number may differ when using different settings), each …

Software Development seo vb.net
0
329
Member Avatar for visom

Hi, my homework problem is to convert minutes into hours AND minutes ex. 124 minutes = 2 hour(s) and 4 minute(s) (there will be some if statements for plurals of hours and minutes if possible) This is my code so far but I'm getting an error [CODE]#include <iostream> using namespace …

Software Development c++
Member Avatar for visom
0
3K

The End.