132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Razahcy

(int *)a why use poiunter with intger?

Software Development c
Member Avatar for rubberman
0
386
Member Avatar for Petranilla

Hi Everyone, I'm doing a 2D PAcman in Java. Can anyone tell, why the screen gets mess up when I display the moster. I simply use set bound enemy.setBounds(x1,x2,50,50); How do I manage to include the monster without destroring the scren. Many thanks.

Software Development java
Member Avatar for Petranilla
0
720
Member Avatar for NargalaX

Hey, I would like to be able to send html requests to cleverbot, and if you've ever been there before, you would know that it is probably the most intelligent chat bot AI that can be publically used. If you don't know what it is, just go to [url]http://www.cleverbot.com/[/url] and …

Software Development
Member Avatar for bennett2213
0
193
Member Avatar for cedwards

Hi Im trying to create a random 2D array (3 x 3) so that numbers 1-9 will randomly be placed in the grid behind the '?' shown in coveredarray but in the guessarray just wanted to know if im doing right, im faily new to C++, also i wanted how …

Software Development c++
Member Avatar for vijayan121
0
282
Member Avatar for Gen_1

I am a college student developing a local chat application using VB.Net and SQL 2005. I have multiple clients connected to a server via local ip. My first problem is, how will I know which users are online. Each user has their own username and password in order for them …

Software Development sql vb.net
Member Avatar for TheApex
0
368
Member Avatar for akhilchandranms

How many object can be created for a class in java

Software Development java
Member Avatar for JamesCherrill
0
229
Member Avatar for jakubee

Hi All, I have a question. Is adding/filling range numbers to an ArrayList possible in java?? Like this: {<12345, 13455>, <12745, 13755>, <2345, 2755>, <5345, 9455>, <2700, 5240>, <345, 13455>, <11345, 13000>} You can think of these like time segments. Here is the class to give you brief idea import …

Software Development java
Member Avatar for tux4life
0
370
Member Avatar for navi84

I am geeting syntax errot insert while ( expression ) to complete Do statement. Please help...Below is the complete coding in Webdriver. @Test public void testUntitled() throws Exception { driver.get(baseUrl + "eforms/admin.aspx"); driver.findElement(By.cssSelector("button.gskButton")).click(); new Select(driver.findElement(By.id("ctl00_PersonSearch_CountryList"))).selectByVisibleText("Russian Federation"); driver.findElement(By.id("PersonSearch.SearchFor.Person.gskPreferredName")).clear(); driver.findElement(By.id("PersonSearch.SearchFor.Person.gskPreferredName")).sendKeys("slawomir"); driver.findElement(By.id("btnPersonSelectSearch")).click(); driver.findElement(By.id("btnPage1")).click(); driver.findElement(By.id("sys44708")).click(); new Select(driver.findElement(By.id("ctl00_pageBody_Form_ID"))).selectByVisibleText("Expense Report"); driver.findElement(By.xpath("(//button[@type='button'])[2]")).click(); // ERROR: Caught exception [ERROR: …

Software Development java
Member Avatar for jwenting
0
935
Member Avatar for Rahul47

This simple program of pointer generating THREAT Warning and identified as MALWARE. I dont see HOW ? #include<stdio.h> #include<conio.h> #include<iostream.h> int main() { int num; int *ptr; ptr=&num; cout<<ptr; cout<<ptr++; cout<<ptr; cout<<sizeof(num); getch(); } ![3283bd99afe1c651a274377d4deb3f45](/attachments/large/4/3283bd99afe1c651a274377d4deb3f45.jpg "3283bd99afe1c651a274377d4deb3f45") Thanx.

Software Development c++
Member Avatar for Rahul47
0
368
Member Avatar for phorce

Sorry if this is hard to understand what I'm trying to do here, but, I do not know how to approach this. I am using method overloading in my constructors of a class, and I have multiple "Window" functions which are all classes that can be used and I need …

Software Development c c# c++
Member Avatar for mike_2000_17
0
295
Member Avatar for MadJako

Hi, I'm creating a simple C# ASP.NET app in visual studios and I can’t seem to figure out how to pull values from a single cell when using a table adapter for a SQL database. For example, I have a table adapter named ProductsTableAdapterand I can easily use it to …

Software Development sql
Member Avatar for MadJako
0
217
Member Avatar for cedwards

Hi Im trying to create a random 2D array (3 x 3) so that numbers 1-9 will randomly be placed in the grid behind the '?' shown in coveredarray but in the guessarray just wanted to know if im doing right, im faily new to C++, also i wanted to …

Software Development c++
Member Avatar for cedwards
0
201
Member Avatar for DarthC#

When you open a folder in Windows and the contents are displayed what type of control are the contents displayed in. ie Open folder C:/data/WorkFiles You get the list of files eg .txt, .docx, .pdf, .xml Is it possible to catch this and dock it in a container. Hope this …

Software Development pdf
Member Avatar for DarthC#
0
96
Member Avatar for johnrosswrock

Hello everyone,i am new to c# programming and i am making a form app for my collage fest which has following details: 1.name of event(comboBox) 2.name of subevent(comboBox) 3.name of coordinator1(text box) 4.name of coordinator2(text box) 5.name of participent(text box) 5.price(text box) my problem is when any event is selected …

Software Development
Member Avatar for johnrosswrock
0
221
Member Avatar for Fangling

Dim connect As String connect = "Provider=Microsoft.ACE.OLEDB.12.0; Data Source=" & Application.StartupPath & "\segdata.accdb" Dim conn As New OleDbConnection(connect) Dim sr As System.IO.StreamReader Dim entirefile As String sr = File.OpenText(Application.StartupPath & "\SEG1.txt") entirefile = sr.ReadToEnd() ' Read the whole file Dim OriginalValue As String OriginalValue = vbTab Dim ReplaceValue As String …

Member Avatar for Oxiegen
0
284
Member Avatar for krystosan

I am a pythoneer, guess List is called hash in shell script , I want to know how to do this for arg in "$@"; do echo `pwd`'/'$arg; done how do i pass the collected this list of items in $args to a different applications that takes these items as …

Software Development shell-scripting
Member Avatar for L7Sqr
0
130
Member Avatar for xcrunner15

I want my code to affect column 5 and 6 to, but everytime i add it i get an error this is wat i have so far Private Sub DataGridView1_CellEndEdit(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellEndEdit If (e.ColumnIndex = 4) Then ' Checking numeric value for Column4 …

Software Development vb.net
Member Avatar for xcrunner15
0
150
Member Avatar for ogucheed

Hello, Please any one to guide me through. was a VB 6.0 programmer 3 years ago. Now I want to use Vb.net how to I migrate/upgrade my projects to VB2008

Software Development vb.net visual-basic
Member Avatar for xcrunner15
0
77
Member Avatar for mrjekzz

Hi all! i have a problem from my program in vb when i click the delete button.... EXAMPLE : |QTY| NAME |PRICE 2 1st FOOD 250 1 2nd FOOD 150 TOTAL AMOUNT IN TEXTBOX >>>>> 400 >>>>>>>DELETE BUTTON<<<<<<<<< then when i click 1st food and click delete button THIS IS …

Software Development vb.net visual-basic
Member Avatar for xcrunner15
0
129
Member Avatar for branding4you

I need to show the values in my datagridview as currency, I can do the currency format but that uses my default system currency. I load projects that are in many different currencies, at the moment I have it as 1,000.00 and I look at currency name I set up …

Software Development vb.net
Member Avatar for xcrunner15
0
988
Member Avatar for Swetha_1

for example: consider the contents of file1.txt: 1 0 9227 1152 34 2 2 111 7622 1120 34 2 3 68486 710 1024 14 2 6 265065 3389 800 22 2 7 393152 48438 64 132 3 8 412251 46744 64 132 3 9 430593 50866 256 95 4 10 …

Software Development python
Member Avatar for rrashkin
0
164
Member Avatar for sankubha

I am Using tablecellrendere for a table to add a JPanel at the fourth column.... It is adding to all ..... But i want to add a textfield at first row only....

Software Development java
Member Avatar for mKorbel
0
991
Member Avatar for james.lu.75491856

If you use the same HUGE number many times: * import sys * sys.maxint = sys.maxint+sys.maxint * This is because if you have the INFINITE(or lower) refrence to the same integer, It will take up the sppace of that integer. If you use many diffrent huge numbers: * Use a …

Software Development python
Member Avatar for james.lu.75491856
0
166
Member Avatar for Mitja Bonca

I am doing some more coding on listView, and I can not figurate it out how to salve the problem that there is always just one checkBox on the listView checked. On the listView I have some names. When I load it there is already a checked name - so …

Software Development listview
Member Avatar for DjpjAmador
0
1K
Member Avatar for purity_1

how can i come up with a code in java that shows the number of apartments in a block, the number of blocks in the estate and AT the same time show the cost of renting an apartment the name of the tenant in the apartment and how i can …

Software Development java
Member Avatar for JamesCherrill
0
152
Member Avatar for androidz

hi i have a table name table1 i want to display all the records in the table by using data grid and when i try to run it there is no records display in the datagrid and i have already configure the datalink which i name it adodc. could anyone …

Software Development open-source visual-basic
Member Avatar for Adrian779
0
1K
Member Avatar for sammygreat1234

Hi All Kindly assist am having issue with the following code, where did i get it wrong? Only the first Block condition is execute, even if B<PA, the second block does not execute. Am using Netbean PA =((1.1 * P2) / (1.46 * P3)); B = 3 * P4; D …

Software Development java
Member Avatar for JamesCherrill
0
113
Member Avatar for jackey.jay.9

A prime number (or a prime) is a natural number greater than 1 that can only be divided by 1 and itself. Ex-First few Prime number are- 2, 3, 5, 7, 11, 13, 17, 19,... A digit prime is a prime number whose sum of digits is also prime. For …

Software Development c
Member Avatar for Gonbe
0
180
Member Avatar for castajiz_2

hy guys i have a problem with my event public delegate void paintEventHandler(object sender, EventArgs e); Graphics paper; public static event PaintEventHandler After1s; private void Mouth_shut(Graphics gr) { gr.FillEllipse(new SolidBrush(Color.Yellow), 50, 50, 50, 50); } private void Mouth_Open(Graphics gr) { gr.FillPie(new SolidBrush(Color.Yellow), 50, 50, 50, 50, -30, 270); } private …

Software Development
Member Avatar for Ketsuekiame
0
197
Member Avatar for DyO1

Hello everyone, I'm a making a BAT file creator and I can't find a way to add a 'Test' feature (open without saving) This is the code I tried using: Shell("command.Text") *Doesn't shell start DOS? command.text=that's where users wrtie a code Can someone give me a working code on how …

Software Development vb.net
Member Avatar for DyO1
0
168
Member Avatar for raaz999

I have a code that when mouse hovers a button then it fires click event.But i want that when mouse hovers for 3 seconds then event must be fired.I have used intervals but could not find out solution. I have a simple windows froms c# application.

Software Development c#
Member Avatar for Ketsuekiame
0
3K
Member Avatar for max2011

hi. i am marsh a student guys i have a activity but i don't know to start it with a loop. can you help me? ***** ***** **** **** *** *** ** ** * * ** ** *** *** **** **** ***** *****

Software Development c c# c++
Member Avatar for Gonbe
0
193
Member Avatar for zachattack05

Out of curiosity, when you start a new solution and you add your first project to it, if it's a window's form application, you get a nice and neat form called "Form1" (how creative!). Do you rename that file? If so, what do you name it? If not, why? ![2f9411f0a0998da1589835c36807a955](/attachments/small/2/2f9411f0a0998da1589835c36807a955.PNG …

Software Development
Member Avatar for Momerath
0
274
Member Avatar for sireiz

I am facing a logical error in the function filewrite() but i cant figure it out, it all seems right. The sum of the array elements is shown on the screen but when it is written in the file, it is not in the correct format. #include<iostream> #include<cstdlib> #include<fstream> using …

Software Development c++
Member Avatar for David W
0
219
Member Avatar for charles.dupree.37

Hi I was wondering if someone could tell me what I am doing wrong. I am trying to call the age function from the person class within the PEmployee class. but the name does not display and the age states 0. thank you for any insight you may give me. …

Software Development c++
Member Avatar for David W
0
657
Member Avatar for sash_kp

I have an array of integers.Let's assume int a[5]={1,2,1,2,2};.I want to divide this array into two arrays by extracting some elements of array "a[5]" into some different arrays like "b[2]" and "c[3]",such that int b[2] will contain {1,2} and int c[3] will contain {1,2,2}. How can it be possible using …

Software Development c c# c++
Member Avatar for David W
0
445
Member Avatar for Swetha_1

for example: consider the contents of file1.txt: 1 0 9227 1152 34 2 2 111 7622 1120 34 2 3 68486 710 1024 14 2 6 265065 3389 800 22 2 7 393152 48438 64 132 3 8 412251 46744 64 132 3 9 430593 50866 256 95 4 10 …

Software Development python
0
106
Member Avatar for james.lu.75491856

It says interpeted and OOP but it's also functional and dynamic

Software Development oop python
0
118
Member Avatar for nikki05

Hi , I am able to add Label, button,texboxes into Dictionary. However I am getting problem to add values of Combobox into dictionary. Here is how I was trying to do. Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load Try Dim myLabel As Label Dim myButton As Button …

Software Development vb.net
Member Avatar for Reverend Jim
0
328
Member Avatar for Sevyt

Probably already know the answer to this problem, but perhaps i am wrong. My datagrid is being sorted by Id which is Autonumber. So if i add a new entry its added at the bottom of the list. Is there any way to change the sorting to a different nummeric …

Software Development vb.net
Member Avatar for Sevyt
0
165
Member Avatar for revelator

I want to increase my logical skill for good programming, what should i do to do so ? How can i be a good programmer in C ? Please Help !!

Software Development c
Member Avatar for rubberman
0
242
Member Avatar for Malymieczek

Hi All, I was following a tutorial online that showed how to imput info into a MySQL database from an app, and I decided to edit it a little so that I could post what I wanted as opposed to the provided example. The problem im having is that the …

Software Development mysql objective-c user-interface
Member Avatar for Malymieczek
0
210
Member Avatar for ddm

1. Write the definitions of the following methods for the class doublyLinkedList a. copyList b. copy constructor c. function to overload the assignment operator d. destructor Also, write a program to test the copy constructor and the assignment operator methods of the class doublyLinkedList. #ifndef H_doublyLinkedList #define H_doublyLinkedList #include <iostream> …

Software Development c++
Member Avatar for David W
0
584
Member Avatar for chocomilk

how can i parse files from notepad and transfer it to textbox with delimiter of newline?

Software Development vb.net
Member Avatar for tinstaafl
0
231
Member Avatar for deonis

Hi everyone, I have a problem to setup a custom lexer using in wx.stc.StyledTextCtrl (wxPython). I have a text file which consit of certain keywords which I would like to highlight. The text file is not related to any of the programing languages and so I cannot use the buildin …

Software Development python
Member Avatar for deonis
0
945
Member Avatar for chophouse

I'm not sure exactly which forum to ask this,so I'm starting here, I have a cron job I want to execute every 72 minutes. I've researched how to schedule the job for an interval of 60 min or less, but is there a way to specify a minutes interval when …

Software Development shell-scripting
Member Avatar for Watael
0
573
Member Avatar for joseph.lyons.754

Hey Guys, What i want it to do : 1. Combobox is displayed with a list of countys ie Limerick Dublin Cork 2. Choose County brings up second Combobox with countys towns and villages. 3. Hit search brings up relevant towns and vilages from the county chosen. What it does: …

Software Development java mysql sql
Member Avatar for joseph.lyons.754
0
291
Member Avatar for 3e0jUn

I've been looking for a way to parse a simple XML-like language for use as a type of data storage. I've been through stuff like JSON, XML, etc but I don't want to use them because they are quite slow. I just need a simple way to parse this: [stuff] …

Software Development json python storage xml
Member Avatar for james.lu.75491856
0
433
Member Avatar for dushidav

I would like some one to help me how I can generate reports through vbnet 2010 but related to the database that I have in access 2007, I wish to make report that will require to select some columns of different tables for better making the repots. I have another …

Software Development user-interface vb.net
Member Avatar for Begginnerdev
0
285
Member Avatar for pc20912

I am beginner for Vb.Net, My project used some external files (Ex. Word, Excel, PDF, and JPG). Where should I copy these files..? in Same folder Project already saved (D:\TTC) or not. If different path, what is it. (Ex, When I click Button1, Names.docx file must be opened) I want …

Software Development pdf vb.net
Member Avatar for Begginnerdev
0
225

The End.