132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for iBackpace

Hello, help me please. I have a db sample ( http://i.imgur.com/JRZ2ojP.png ) I have 1 combobox and 1 textbox If the combobox select "Notebook" then on the textbox it must be display the corresponding itemStock (3) Please :( By the this my simple code for my combobox Try Query = …

Software Development mysql programming-construct seo vb.net
Member Avatar for Begginnerdev
0
646
Member Avatar for MasterHacker110

I read somewhere that when you develop a kernel in c++, that the new, delete and static_cast keywords require timing references... I was unable to find the site again but my question is, why does these keywords require timing references?

Software Development c++
Member Avatar for MasterHacker110
0
215
Member Avatar for Vish0203

Hi, I was working on an application but i'm stuck at a point now.. I'm able to send the chat messages but unable to receive any... I have two threads, 1 for sending message and another for receiving but receiving part isn't working! I think the problem is with multithreading! …

Software Development api java multithreading
Member Avatar for Absaar
0
287
Member Avatar for mavtcr

I have created a Login form and coded as below (Before that.. I am very new to VB I have the knowledge only of the basic.) I got the code from this forum itself But it is not working properly Can anybody help me... My form contains two textboxes 'TextUserID' …

Software Development microsoft-access visual-basic
Member Avatar for ss125
0
312
Member Avatar for ExtraKanin

Hello everyone. I'm having trouble about Internal JFrames as my code is compiling but it doesn't run. Can someone give me an advice as to how to make it work? Also the reason why I wanted to make internal JFrames is that I'm using layout managers on my panels so …

Software Development java java-swing
Member Avatar for JamesCherrill
0
135
Member Avatar for johnyc

Hi i wish to read and write all wanted text files in one directory into one single excelsheet which contains of multiple worksheet that represent each file. my current script only can write out into many excelsheet instead of combining all into one. Anybody has idea to improve my script …

Software Development perl
Member Avatar for 2teez
0
2K
Member Avatar for Priti_P

Hello, Am new in Struct I followed link http://www.tutorialspoint.com/struts_2/struts_examples.htm for making simple hello project in struts using eclipse but when i complete the coding and go for the execution, when I write the word in that box as an input (for saying hello). and click on Say Hello button, it …

Software Development java
Member Avatar for stultuske
0
311
Member Avatar for murali2489

Hi All, I have just finished reading fundamental topics in Java and now i have decided to do a New Project in Java which comprises all basic features of Java. I need help in Understanding/visualizing the architecture / Design model for my Project. Specification is : 1 . Develop a …

Software Development gui java java-swing oop
Member Avatar for stultuske
0
324
Member Avatar for triumphost

I want to use it because it says it supports all the C++11 features and I'm hoping that includes Regex as well since gcc isn't near finishing anytime soon.. However, many other websites are saying that clang requires Mingw/gcc to be used in the first place. It doesn't make any …

Software Development c++ ide regex
Member Avatar for triumphost
0
702
Member Avatar for durgesh1

hello all i need to fetch data from two column let me tell how i like to fetch this,i have two table first column is **ledger** in which there is **groupname,balance**.now in seconed table whic name is **groupcreate**,here is **under and name column** heare you *****can create your own group …

Software Development java
Member Avatar for 1stDAN
0
173
Member Avatar for lewashby

In the following program everything works fine when I enter 5 or 8, but if I enter 4 or 7 the program crashes with a Segmentation fault error. I'm just trying to add zeros until the number of characters in string is evenly divisible by 3 and I'm doing so …

Software Development c++
Member Avatar for lewashby
0
172
Member Avatar for joeymenje

First off this is for my little server, and i am having a problem. this is saying im missing a statment but i dont see how. if you can take 5mins to look over this and tell me what you see i did wrong, it will make my day. look …

Software Development java
Member Avatar for JamesCherrill
0
145
Member Avatar for mikewyatt

I have a JLayered pane that has a large sized JLable that is showing an image that is used to show a background image. This is on the default layer. Inside I have many items such as lables, textfields, tables and other such things. These are set for the pallet …

Software Development java
Member Avatar for mikewyatt
0
165
Member Avatar for EXTRA_RICE

I have to print the invoice in my datagrid using datareport but i dont have the total amount of all the selected items.i have uploaded a picture. I hope u could help me..thanx

Software Development visual-basic
Member Avatar for EXTRA_RICE
0
1K
Member Avatar for Izzy_1

Hi all, I am pretty new to VB.NET programming, and I am having trouble with a few tasks I am trying to attempt. Firstly, I have to (using Visual Studio 2010) access an MS Access databse, read one of the tables and ouput the 10 numbers which occurred most often …

Software Development vb.net visual-studio
Member Avatar for Reverend Jim
0
1K
Member Avatar for SaRa Ahmad

can anyone help me of how i can copy a file from user computer to a server that can anyone open the file??? my case is : i have a text field to read a path and command button to save a path and i have another command to view …

Software Development visual-basic
Member Avatar for wcttech
0
125
Member Avatar for leghorn

the output of both is the same .. could anyone please explain the working dynamcis ? Thanks

Software Development shell-scripting
Member Avatar for masijade
0
152
Member Avatar for Razahcy

explain malloc() function and its type casting how execute

Software Development c
Member Avatar for Razahcy
0
158
Member Avatar for ram619

Hello, in this code snippet I am not able to understand line 8 and 10. Here at line 8, char* is getting typecasted as int* then again, getting typecasted as char*. Please explain. #include<stdio.h> int main() { int arr[3] = {2,3,4}; char *p; p = arr; p = (char*)((int*) (p)); …

Software Development c
Member Avatar for Razahcy
0
220
Member Avatar for hanvyj

Hi, I need to be able to automatically process emails sent to an outlook account. I would use outlook, but we can't run a user logged in 24/7 on our server so I need to manage them as a service. Is this something that I could do in C#? So …

Software Development
Member Avatar for hanvyj
0
111
Member Avatar for jakhondi

Can anyone help me get my output to display in my textArea? When I click the button, when the program is running, it wll display console output since I am using System.out.printf, but now I want it to show in my GUI. Any help would be appreciated. Thank you.

Software Development display gui java
Member Avatar for JamesCherrill
0
189
Member Avatar for vishalonne

Which is faster way to use an element pointer rather than an index when scanning arrays? need some clarification why?

Software Development c++
Member Avatar for mike_2000_17
0
183
Member Avatar for iFrolox

Hello, Im trying to compare 2 strings to set a label an specific text depending on the result of the comparison. String 1: 22:10:10 (24h time) String 2: 03:50 (24h time) How could i detect if earlier than "03:50"?

Software Development
Member Avatar for castajiz_2
0
123
Member Avatar for ram619

The output of this code is -1, 4, 4. I am not sure about this -1. Is it because when all bits are set then in decimal it means -1 ? #include<stdio.h> int main() { struct value { int bit1:1; int bit3:4; int bit4:4; }bit={1,4,4}; printf("%d %d %d",bit.bit1, bit.bit3, bit.bit4); …

Software Development c
Member Avatar for Ancient Dragon
0
147
Member Avatar for ram619

The output of this code is char *str="char *str=%c%s%c;main(){printf(str,34,str,34);}";main(){printf(str,34,str,34);} I don't know how this is happening. Please explain. #include<stdio.h> char *str = "char *str=%c%s%c;main(){printf(str,34,str,34);}"; int main() { printf(str,34,str,34); return 1; }

Software Development c
Member Avatar for sepp2k
0
361
Member Avatar for de Source

Hi, i am trying to edit a list box item in a way that if certain item is already present it should update it and if item is not present then it should add it to a list box what should i do Detailed i have a dynamic button which …

Software Development
Member Avatar for Ancient Dragon
0
261
Member Avatar for Brad_2

My platform is Ubuntu 12.10 with wx.Python 2.8.12.1 (gtk2-unicode). My application uses wxPython to print text to a printer. I want to use Ubuntu Condensed font face for some of the text. The problem is that when the text is printed the text that should be in Ubuntu Condensed face …

Software Development printer python ubuntu
0
163
Member Avatar for ccsj2206

I need help making this to display the results into a Jframe GUI instead of a console im failry new to java so please help me thanks, here is the code ive used: import java.util.ArrayList; public class ThreeArrayLists { public static void main(String[] args) { ArrayList priceList = new ArrayList(); …

Software Development display gui java
Member Avatar for JamesCherrill
0
741
Member Avatar for sammygreat1234

Hi Programmers, Am working on a project, event made me completely lost touch with Coding, but now i want to be back fully. Am trying to get an OUTPUT using if/if else statement, my code has no errors but does not return result either, Any help or idea on what …

Software Development java qt
Member Avatar for JamesCherrill
0
179
Member Avatar for IsaacMessi10

I need to to this: If the selected option / item is "Enabled" I want to preview a textbox. I've tried this: If ComboBox6.SelectedItem = "Enabled" Then TextBox10.Visible = True Else TextBox10.Visible = False End If And also this: If ComboBox6.Text = "Enabled" Then TextBox10.Visible = True Else TextBox10.Visible = …

Software Development vb.net
Member Avatar for Reverend Jim
0
116
Member Avatar for teppuus

Hello, I am trying to create an MDI application and am having problems with one of the frames. Walking through the errors, the first error points to a list generated by Netbeans code that I think is the null problem. When I look further down the error list, I get …

Software Development java java-netbeans java-swing
Member Avatar for JamesCherrill
0
1K
Member Avatar for dendenny01

I am a beginner in java does not know much about it. But to practise it I have tried to simulate the popular game Hangman using simple methods.Please Guide me with the code In this program the words are given by the user and then they are converted in to …

Software Development java
Member Avatar for JamesCherrill
0
327
Member Avatar for sankubha

I have java tcp socket programming...... In that i need to send a file from client to server .... at the same time i need to chat with that client ...... by what way i can do this ...

Software Development java socket-programming
Member Avatar for kapildeven89
0
180
Member Avatar for Waledsalah

hello everybody , i need help in my project Break out game , Rectangles can not disappear when the ball hitted one rectangle here is my project : http://www.mediafire.com/?3iiipzrys7w3780

Software Development
Member Avatar for TheApex
0
104
Member Avatar for vivificus

I'm trying to make a program that has a world map on it and when you click on a continent you get some basic information about that continent in a textbox. However I am trying to figure out how best to do this if all continents were perfectly square it …

Software Development vb.net
Member Avatar for Reverend Jim
0
254
Member Avatar for m1m6jbr

hello i'have a problem using multiple form the Form1 is the main form and Form2 , the Form that the user will insert data in, and then these data must appear at Form1 this is my code :) public partial class Form1 : Form { public Form3 ff = new …

Software Development
Member Avatar for ddanbe
0
188
Member Avatar for pythonforlife

Sorry guys, how do you print a message dialog box if a file doesn't exists in python? I am currently using a program to do segmentation of video file and assembling it the files that I need and excluding those I don't. I have completed the tasks but if I …

Software Development python
Member Avatar for bumsfeld
0
460
Member Avatar for lewashby

How could I get the file name and the permissions to a file as a string? This is on a Linux system.

Software Development python
Member Avatar for james.lu.75491856
0
225
Member Avatar for castajiz_2

Hy guys, haven t been here for a while, If anyone can give me a idea or a way or a link on how to retrieve data from a website and store it in my application for further usage. The thing is that this data is being updated every month …

Software Development html-css visual-studio
Member Avatar for Momerath
0
197
Member Avatar for ram619

Hello, I am not able to understand whats happening behind "ptr-p", "*ptr-arr". Please explain #include<stdio.h> int main() { static int arr[]={0,1,2,3,4}; int *p[]={arr,arr+1,arr+2,arr+3,arr+4}; int **ptr=p; ptr++; printf("\n %d %d %d \n",ptr-p,*ptr-arr,**ptr); *ptr++; printf("\n %d %d %d \n",ptr-p,*ptr-arr,**ptr); *++ptr; printf("\n %d %d %d \n",ptr-p,*ptr-arr,**ptr); ++*ptr; printf("\n %d %d %d \n",ptr-p,*ptr-arr,**ptr); return …

Software Development c
Member Avatar for ram619
0
206
Member Avatar for shaifali ranyal

i want to add scroll bar to scroll this page..this page is user log-in form... to add more fields i have to add scroll bar how can i do so ..pls help package user; import java.awt.Color; import java.awt.Container; import java.awt.Font; import javax.swing.*; public class form extends JFrame package user; import …

Software Development java java-swing
Member Avatar for shaifali ranyal
0
343
Member Avatar for RascelleGrepo

I am creating a simple area calculator that exhibit overloading. I already finished the overloading function, my concern is, I want to key trap the pressed letters/characters by the user. I want to allow only numbers (int & float data type) input. How will I do that? Thanks. I am …

Software Development c++
Member Avatar for deceptikon
0
1K
Member Avatar for msamir

i have creted this code for login control: using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.SqlClient; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Login1_Authenticate(object sender, AuthenticateEventArgs e) { …

Software Development web-server
Member Avatar for de Source
0
577
Member Avatar for game06

is there a function for: ex1: String = "2+2.3/34" output: double = 34.0 ex2: String = "45/4+3-0.4" output: double = 0.4 so, find the last operator and take the next number into double. note there are no spaces.

Software Development java
Member Avatar for JamesCherrill
0
241
Member Avatar for Malymieczek

Hi All, So i have recently started developing an application in XCode for a project that I am working on. The application uses php scripts to connect to a mysql server. The problem I am facing is that when I coded textfields to send the information to the server when …

Software Development ios objective-c
Member Avatar for davidkroj
0
200
Member Avatar for hg_fs2002

I have this code: typedef struct { int a } array[1]; int main (array var) { if ((var->a) == 0) return 0; } and I want to copy var to a new variable. It seems it should be something like typedef struct { int a } array[1]; int main (array …

Software Development c
Member Avatar for rubberman
0
247
Member Avatar for JacobAbrham

Hello, I am taking Java fundamental course and I've came up with a confused character i.e # on assigning variable name on Java lately. I have surfed the internet a lot but all I could find is only oprerators, keyword and reserved words are not allowed. so why is # …

Software Development java
Member Avatar for Banderson
0
203
Member Avatar for sathya88

How to parse a string data " B. Prakash 98400 51038 B.M. LAL BROS., TYRjijbEALERS 3 Whites Road, Royapettoh,thennai r 600 014. Ph: 2852 4560 Fax: +91-44-2858 8306 Email: bmlalbros@etn.iiet'" conisder this is my string data and i need to fetch name, address, phone , email seperately is there any …

Software Development java
Member Avatar for somjit{}
0
295
Member Avatar for salesman91

Okay,First of all let me introduce myself as newbee to this language. this is my third day with program,I usually Practice at college where Visual studio 2010 is installed. I have VS2012 ultimate. If I sound silly forgive me,but I am really desperate here. 1st Problem,I couldnt create New SQL …

Software Development dataset visual-studio
Member Avatar for salesman91
0
315
Member Avatar for Vish0203

Hi, I am using gcc compiler to compile the program and build an exe I used this command to compile gcc program.cpp -g -o program (generates program.exe and runs fine) But, if i write the same thing in system("gcc program.cpp -g -o program"); programmatically, then the exe is generated but, …

Software Development c
Member Avatar for Vish0203
0
177

The End.