132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sirlink99

I am trying to use java to detect when a USB is inserted and to read from it. I am currently using javax.usb to try to accomplish this however I get this error (line 11) when running my program javax.usb.UsbException: The property javax.usb.services is not defined as the implementation class …

Software Development java
Member Avatar for sirlink99
0
601
Member Avatar for maml

please i want to return multiple values in c++ , and i have this peace of struct struct returns { int row_locs,col_locs; int row_descriptors,col_descriptors; double **locs; double **descriptors; }; and i have this pease of call by reference void returns (int &row_locs,int &col_locs,int &row_descriptors,int &col_descriptors,double **locs, double **descriptors){ } the …

Software Development c++
Member Avatar for annaharris
0
389
Member Avatar for IT_Techno

hi I am try to insert data from TextBox to db using TableAdapter, when i insert Arabic language in TextBox and send it to DB it looks like this "????????" what does that means? how can i solve this problem? When i insert English words it works fine this is …

Software Development c#
Member Avatar for Ketsuekiame
0
869
Member Avatar for PixelExchange

Using Winsock and C++, I have successfully created a server which runs on my pc good and well. The problem is, I would like this same (console) server to run at a different IP address (that is not my home IP address). If my server (which is called server.exe) is …

Software Development c++
Member Avatar for Reiz3N
0
181
Member Avatar for IT_Techno

I added a DataBase.accdb file into a project (VS 2010) then created a DataSet. but now I've a small problem: I want to have the connection string in the app.config file, to allow customer to edit it. I go to the app.config file and find no connection string created inside. …

Software Development dataset file-system
0
107
Member Avatar for jaejoong

I have 2 parameters ID - txtID.text Name - txtName.text I would like to select (SQL): SELECT ID ,NAME FROM TABLE WHERE If ID is not null read in txtID If Name is not null read in txtName If ID is null read all in select statement If Name not …

Software Development
Member Avatar for jaejoong
0
132
Member Avatar for Iamateur

What will be printed as the result of the operation below: #define swap(a,b) a=a+b;b=a-b;a=a-b; void main() { int x=5,y=10; swap(x,y); printf("%d%d",x,y); }

Software Development c
Member Avatar for Helper guy
0
126
Member Avatar for castajiz_2

I wast just wondering guys how do you look at recursion , how do you apply it (i m not talking here about easy recursions like hannoi tower, factoriels, fibonnaci... wich are obvious). I m a beginner programmer and i understand the concept quite well but let s say a …

Software Development
Member Avatar for Momerath
0
161
Member Avatar for pc20912

Sir, My English is not good, because of I attached Picture for you to understand my question. This is My Access Data Base There are 2 Table for Database. One for Master Details other for Repeat Details. According to my example Kevin has come 03 time repeatly. because of that …

Software Development vb.net
Member Avatar for pc20912
0
436
Member Avatar for yassink

Write a function (seat_type) that reads an input from the user that represents a seat class. The user should enter F: for a first class seat, C: for a business class seat, or Y: for an economy seat. The function should validate the user input to accept only F, C, …

Software Development c c# c++
Member Avatar for RonalBertogi
0
321
Member Avatar for mc3330418

Sorry guys, this is a huge chunk of code that looks inefficient as f***. This was for a class I had last spring, so I'm not rying to cheat I just want an answer. So here's the assignment, Develop an object-oriented program to produce a grade report and an error …

Software Development c++
Member Avatar for RonalBertogi
0
627
Member Avatar for pwolf

whats wrong with this code? It keeps giving me an "unreachable code detected " exception public static int search(string Registration) { // this method will search for registration, if found it will return the index value , else it will return max value + 1 for (int x = 0; …

Software Development
Member Avatar for ndeniche
0
259
Member Avatar for Ismatus3

Hello , In this python script that do backup of folders , i just dont know why when i execute it printed : > Sauvegarde reussie vers E:\20130521 > Echec de la sauvegarde That means that this part : zip_command = "zip -qr {0} {1}".format(target, ' '.join(source)) # lancement de …

Software Development python
Member Avatar for woooee
0
313
Member Avatar for Dane2259

I'm trying to create a multiple choice quiz, and I need the content pane to scroll. If you run the program I've attached you'll see what I mean. Each question and the answers are place in a JPanel and the JPanels are place on the content pane. Thanks in advance …

Software Development gui java java-swing
Member Avatar for mKorbel
0
132
Member Avatar for lody

hey guys, i'm new to java ,,,and i have a problem wish u to get ur answer ASAP i'm reading from a text file by PrintWriter , and there are 3 rows first row is ID second row is name and third row is address. and i want to get …

Software Development java
Member Avatar for stultuske
0
193
Member Avatar for pwolf

Hello, I'm trying to program a basic program at the moment and have run into some difficulties. I have a method as follows: public static void loadDB() { // load data into datasets - this will be called on form2 the login screen loadTblStaff(); loadTblCars(); } the method is called …

Software Development dataset
Member Avatar for ddanbe
0
250
Member Avatar for pwolf

I have been struggling with this since yesterday and I really need to get it finished. I have no clue why its not working. THe porblem im facing at the moment is as follows: I have a method loadDB(); That is looks like this: public static void loadDB() { // …

Software Development dataset open-source
Member Avatar for pwolf
0
262
Member Avatar for sasukecold

Hi, imnewbie to c++ programming. Im want to read some txt file that have a data write inside. The data should be "WAT1235" which is the license plate number. Then if the programming read this data "WTA1234" it will give other information like the Roadtax, Colour of the car and …

Software Development c++
Member Avatar for Ancient Dragon
0
202
Member Avatar for donaldw

I am using MCI controls to play media files within some software. For the most part, it works OK but sometimes things go poorly (e.g. when the media file is corrupt). How can I either put the code into a try/catch (i.e. what exception do I look for?) or how …

Software Development c++
Member Avatar for donaldw
0
267
Member Avatar for schroaus

I am making a game in microoft visual basic. It is virtually finished, but I am having a problem. When you hit the start button a timer is activated making the character in the game equal mouse position. The problem is that the character is not actually going to the …

Software Development gaming pc-peripheral vb.net
Member Avatar for schroaus
0
705
Member Avatar for vinitatiska

hi, i am working on development of a software project. i have used VB6.0 as frontend and MS Access as backend. In my project i have made a form in which i have to add,delete,search,move first,move last,move next and move previous options to keep tack of employee details. I want …

Software Development display visual-basic
Member Avatar for rishif2
0
377
Member Avatar for togerrr

there is no source code for vb program connected to vb His example, when there is a change in the dollar against the rupiah or the rising price of gold or stocks rise, so it will automatically be stored in the database comes with its sound when the changes occur. …

Software Development vb.net
Member Avatar for Begginnerdev
0
174
Member Avatar for bashaash

Hi to all I got flash mp3 player from my friend and I wanna your help becuase I'm not well flash and my friend was moved to Africa, here the actionscripts 2.0 code. my question is I don't to use the plalist.xml file I want to use direct link in …

Software Development flash xml
0
191
Member Avatar for selipar.jepun.712

Write a C++ program to compute and display a person's monthly salary as determined. If the status is Technician the person receives RM70 perday for 26 days work in a month. If the status is Lecturer the person receives RM200 perday for 26 days work in a month. if the …

Software Development c c# c++
Member Avatar for Schol-R-LEA
0
145
Member Avatar for anisha.silva

Hi how do i convert a strnig to XMLGregorianCalendar type. I used the below code for this but it throws an exception. userInput41 is a stirng parameter. XMLGregorianCalendar sdate=DatatypeFactory.newInstance().newXMLGregorianCalendar(userInput41); appreciate a reply thanks

Software Development java xml
Member Avatar for anisha.silva
0
423
Member Avatar for sushants

What is the dfference between realloc() and free()?

Software Development c++
Member Avatar for deceptikon
0
164
Member Avatar for chrispitt

How should i decide which integer type to use?

Software Development c
Member Avatar for deceptikon
0
176
Member Avatar for CoilFyzx

Hello good day. I have an urgent need as it relates to creating a table. Is it possible to create sub-columns under a main column? Please see image file for clarification. ![70637f1f94a4b270bf9cc203f22390bf](/attachments/large/3/70637f1f94a4b270bf9cc203f22390bf.png "70637f1f94a4b270bf9cc203f22390bf") Ultimately, I want to create a coulmn heading, and then beneath that heading divide it's width into …

Software Development java
Member Avatar for JamesCherrill
0
947
Member Avatar for melonhed85

I'm working on a struct array and I need to dynamically delete elements from the struct. I have the added dynamically but I've run into some issues with deleting. I've researched different methods and tried a few. I found that one from here works, in that it will delete the …

Software Development c unix
Member Avatar for Schol-R-LEA
0
3K
Member Avatar for game06

les say i want collision between two rect than i cant set up bounds on both rect: public Rectangle getBounds(){ return new Rectangle(x, y, width, height); } than to check for the collision i can do this: if(rectOne.getBounds().intersects(rectTwo.getBounds()) { ...} **now les say what if i want 2d array:** 0, …

Software Development java
Member Avatar for JamesCherrill
0
472
Member Avatar for chrispitt

What is the difference between VB and VB.Net?

Software Development vb.net
Member Avatar for chrispitt
0
127
Member Avatar for jaejoong

Hi All, How can I get sample.xls from C:\users\sample\desktop\sample.xls to string? Thank you.

Software Development
Member Avatar for jaejoong
0
109
Member Avatar for missc

how to disable a button (that is found in a view) from a method in a controller ?

Software Development
Member Avatar for tinstaafl
0
170
Member Avatar for dhimanbiswas4u

sir i want to get data between to tag... example:(showing in my view source) <img class='stat_icon' src='/images/green.png'> **data to be extracted**</a> or like <input type=hidden name=timestamp value='**data to be extracted**'> for the first example i wrote like: Imports System.Text.RegularExpressions Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles …

Software Development regex vb.net
Member Avatar for tinstaafl
0
273
Member Avatar for Enrique Nivasch

I am serializing an object and storing it on a file using one assembly and reading it and deserializing it using a different assembly. When the second assembly attempts to deserialize the object I get back the following error: Unable to find assembly 'CreateData, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Googling around I …

Software Development assembly data-structure file-stream
Member Avatar for saratkumar123
0
10K
Member Avatar for treasure2387

how come a namespace includes in the header a more specific namespace? ex: using System.Runtime; using System.Runtime.ConstrainedExecution; using System.Runtime.InteropServices; using System.Security; namespace System { public class Object { // Class code } } Shouldn't be like this: namespace System { namespace Runtime { namespace ConstrainedExecution { public class Object { …

Software Development
Member Avatar for ddanbe
0
141
Member Avatar for entropic3105

Where can I download the random module, because I've been looking for weeks and can't find a site where I can download it.

Software Development file-system python
Member Avatar for entropic3105
0
760
Member Avatar for derejetaffese

i need small sample code using python which performs english verbs morphological analysis. Pls some body there, can you help your bro here?

Software Development python
Member Avatar for otengkwaku
0
328
Member Avatar for raizuke.blademaster

help guys, i need to know how can i add multiple images in a single add button click for example and display it in multiple imageboxes..the project is also associated with an access database that when the user clicks on the button save..all the images inserted will be saved on …

Software Development visual-basic
Member Avatar for rishif2
0
233
Member Avatar for Bhavya scripted

hey all I was watching a tutorial on java game development.In that video,the guy was making a window a on the screen,then making an oval,then moving it. His code worked fine and i am 100% sure that my code is similar to his(i checked it a few times). What my …

Software Development ide java java-netbeans java-swing
Member Avatar for Ezzaral
0
323
Member Avatar for kindofsudden

I'm trying to visualize how this will be set up... I need my VB.NET application to read year 2013 values (Year, Employee, and Annual Performance Score) from a CSV file and write them to an Access DB. This DB is linked to my VB.NET project using a dataset. No problem, …

Software Development dataset vb.net
Member Avatar for kindofsudden
0
328
Member Avatar for Chan2013

Hello, How do I return the value of a custom property in Word 2007 using VBA? Depending on the custom property, I also need to automatically check a checkbox using VBA. Thanks!

Software Development microsoft visual-basic
Member Avatar for Chan2013
0
310
Member Avatar for anibal.zuniga.5

Main Module Declare itemName As String Declare itemQuantity As Integer Declare itemPrice As Real Declare itemTotal As Real Call GetInput(itemName,itemQuantity,itemPrice) itemTotal = Call CalculateTotalPrice(itemQuantity,itemPrice) Call DisplayResult(itemName,itemTotal) End Main Module GetInput (itemName As String,itemQuantity As Integer,itemPrice As Real) Display “Please enter item Name” Get itemName Display “Please enter quantity of item …

Software Development
Member Avatar for tinstaafl
0
123
Member Avatar for Bhavya scripted

hey all..i followed "thenewboston" tutorials in java for game development(3-7).I am having trouble in loading an image on the screen..i try this code: bg = ImageIcon("C://TEST///Test.jpeg").getImage(); pic = ImageIcon("C://TEST///FACE.png").getImage(); this is the same code as his and i have made all the pictures in the TEST folder in c drive. …

Software Development image java
Member Avatar for stultuske
0
220
Member Avatar for CodyOebel

I am used to c++ straight forward winAPI functions, but decided I need to learn c# and this whole .NET stuff since I'm stubborn like that. What I'm wondering is how do I set an HWND ? In c++ I would use something like HWND hwnd1 = FindWindow(0,"Title of the …

Software Development c c# c++
Member Avatar for CodyOebel
0
114
Member Avatar for otengkwaku

hi guy, i have created an app why my beloved python. i have frozen it using cx_freeze for easy distribution but the problem is, on my development computer (win7) it runs perfectly but when i send it to a testing pc (windows XP sp3 32bit) it give me the error …

Software Development python
Member Avatar for vegaseat
0
596
Member Avatar for ferizhandi

hi all; i have run this code and the first read and write work correctly. but and the second one is missed. the output log is: freez@JALALI:~$ ./a salam8a okok2freez@JALALI:~$ #include <stdio.h> int main() { write(1,"salam",5); char a[2]; char b[5]; read(0,a,2); if(a[0]=='8') {write(1,"ok",2); read(0,b,5); write(1,"ok2",3); } return 0; }

Software Development c
Member Avatar for Schol-R-LEA
0
170
Member Avatar for ManthanB

Hey... I think there was already thread with simillar topic. but there was nothing useful to me... so i decided to create a new topic to take help from you. Well the question is really simple. I have developed a Windows service application and console application. i am looking to …

Software Development
Member Avatar for ManthanB
0
272
Member Avatar for new_developer

Hi there, What is the easiest way to declare and initialize 2d dynamic array in class in C++ ?? Please tell me the easiest way, I have used 2d dynamic array in Java. Thanks !

Software Development c++
Member Avatar for deceptikon
0
245
Member Avatar for Vusumuzi

This program is to calculate commission and this is the pseudo I wrote for it. Tell me if I'm right. 1 Declare variables 2 get sales 3 calculate if sale < 1500 Then commision= sale * 0,02 else commision= sale * 0,04 4 Dispaly commision

Software Development vb.net
Member Avatar for Jx_Man
0
183

The End.