132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vikramaditya234

hi, i have written a small form application in c#. I have enabled shortcut key by using low level keyboard hook to give focus to application when needed. All is working fine, I press the short key i.e. LControlKey+LControlKey for the first time the application get proper control. But when …

Software Development
Member Avatar for vikramaditya234
0
150
Member Avatar for NewUserVB.Net

Good day everybody i am wanting to make a new application, an application for sales, but i don't know where to start, any ideas? i want to make an sales application with charts, stock sales, ... and all functionalities(add sales, modify, delete, ...). What an enterprise or a business need?

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
109
Member Avatar for Zaad

Hi All; Im just making a simple Desktop app. Ive got a need so that the user could be able to add data to the table dynamically. Ive done implementing the table and also code for adding rows. Issue is after i add the row it is not displayng in …

Software Development java java-swing
Member Avatar for Zaad
0
1K
Member Avatar for dennysimon

hello all I use notepad++ to create my code I use dos command to javac the code some times when there is error in my code the the dos console shows many lines of error message my question is : if the error lines's message is 100 lines or more …

Software Development java
Member Avatar for dennysimon
0
168
Member Avatar for yongj

I'm teaching pointers to myself through my book and I'm stuck on one of the practice problems. Here it is: [CODE]//What is the output of the following C++ code? int x; int y; int *p = &x; int *q = &y; *p = 35; *q = 98; *p = *q; …

Software Development c++
Member Avatar for Eagletalon
0
184
Member Avatar for yeeitsneo

hi. can anyone here tell me how can i allow certain characters only into a text box. for instance, a user can only input from these three letter (ABC) thank you so much.

Software Development visual-basic
Member Avatar for Cruize_Invades
0
379
Member Avatar for biojet

Hi all, I am trying to separe my data DNA because it has a lot of name. It has about 43 litte file in one data. I made the small script to solve one name of data but I did not succes. The result was not enough. My script is …

Software Development perl
Member Avatar for biojet
0
158
Member Avatar for Sanna.1

hi every one I have a exercise when i going to use boolean. Im need to do 3 intergervaribals var1 var2 var3 and then i get same claim im going to get in to it like one of it is: The number var1 is evenly divisible by 7. i figuer …

Software Development java
Member Avatar for JamesCherrill
0
294
Member Avatar for pwolf

Hello, could someone explain recursion to me? It would be much appreciated!

Software Development python
Member Avatar for TrustyTony
0
214
Member Avatar for jemz

Hi, I need some help how to loop in ms cobol 2.20,inorder i can input 5 times. after displaying the customer name and address.i am going now to input the itm-no. but i find difficulties on it. here is the scenario. If i will input the itmno if it is …

Software Development storage
Member Avatar for jemz
0
157
Member Avatar for theBear

[code=c] #include <string> #include <vector> #include <iomanip> #include <istream> #include <fstream> #include "...\myUtils.cpp" void inputCases(string[], vector<double>); void inputPrice(string[], vector<double>); void displayReport(string[], vector<double>, vector<double>); using namespace std; int main() { double tmpCases, tmpPayRate; vector <double> cases; vector <double> payRates; ofstream file; file.open("salsaCase.txt"); string tmpName[5]; tmpName[0]="Mild"; tmpName[1]="Medium"; tmpName[2]="Sweet"; tmpName[3]="Hot"; tmpName[4]="Zesty"; char mans=0; …

Software Development c++
Member Avatar for Cruize_Invades
0
2K
Member Avatar for shanmugaraj.c

Problem Fetching foreach 100000 record from sql 2008 Performance problem,Browser hanging Automatically. Any one know alternative solution. foreach (var TBL_Inventory_Combined in I_Class.Take(maxItems_ci)) { }

Software Development
Member Avatar for mani-hellboy
0
124
Member Avatar for atticusr5

hello all, I have a question about assigning variables values based on values stored inside an sql database. I have the connection part down, but here is my basic set-up. I have a table with the values {username, password, isAdmin}, where username and password are strings and "isAdmin" is a …

Software Development vb.net
Member Avatar for Reverend Jim
0
158
Member Avatar for apeiron27

if i have a dictionary like this {ric:24, ric1:46, ric2:23, mike:1, mike1:47} and have a list that has 'ric' and 'mike' how do i get all the values whose key contains 'ric' or 'mike'? i want to ignore the last numbers

Software Development python
Member Avatar for snippsat
0
75
Member Avatar for trinetra31

Hello hi, My program is like this, PLEASE ENTER DESTINATION NUMBER: ( THEN USER INPUTS A SERIES OF NUMBERS LIKE 238947864) How do i play wav files of dtmf tones corresponding to the numbers given? i have used swith case, but it doesnt work. Only if one number is entered …

Software Development
Member Avatar for trinetra31
0
186
Member Avatar for jbutardo

Hi, I have this program that uses OLEDB connection in order to import the excel sheet into datatable, now I am using windows xp and the server that I'm about to use would be in windows 7, what connection string do I need in order for me to connect to …

Software Development microsoft vb.net windows-server
Member Avatar for jbutardo
0
236
Member Avatar for Eternal Newbie

I have a DataGrid table like this: [img]http://ni8.upanh.com/b1.s24.d1/f869170161faa9e6ad2c272d6f66228e_40513398.capture.png[/img] How could I change the plain-looking arrows in the RowHeader into row number (Like 1,2,3...)??? Thanks for any help from you guys!

Software Development vb.net
Member Avatar for Eternal Newbie
0
218
Member Avatar for geoffy0404

Hello I have been at this for a few days, and I have not figured it out but feel as if i am very close. I must create A program that takes a users input, then tells the user if that number is prime or composite, if composite it must …

Software Development c c# c++
Member Avatar for WaltP
0
989
Member Avatar for rupes0610

I have a Sudoku puzzle and I need to make sure that each row and column have each number 1 through 9. What is the easiest way of doing this? The code snippet that I have so far is below. public static boolean rowsAreValid(int[][] array){ for(int i = 0; i …

Software Development java
Member Avatar for hfx642
0
312
Member Avatar for PF2G

Hi, i'm doing a school schedule and i have this: [URL="http://desmond.imageshack.us/Himg13/scaled.php?server=13&filename=22875721.jpg&res=medium"]http://desmond.imageshack.us/Himg13/scaled.php?server=13&filename=22875721.jpg&res=medium[/URL] as you can see i have the times on the first column and that is from table "tempos_letivos". now i have a "schedule" table where is the hours of class of the courses, but in this table the cod_prof …

Software Development vb.net
Member Avatar for PF2G
0
87
Member Avatar for thepanther

hi i am trying to make a hangman game and what ineed to do is when there is wrong answer to put pic of part of the hangman but dont no how to do it, here is my code thanks [CODE]int charPos = +1; String letter = ALetter.getText(); charPos = …

Software Development java
Member Avatar for Ezzaral
0
458
Member Avatar for Falcon25

Hello guys, I've recently come across this problem and have spent quite a bit of time trying to comprehend what the question is actually telling me to do :S [COLOR="Green"].If a, b, c are bool-variables, a is true, but b and c are false, write an expression that computes the …

Software Development
Member Avatar for Falcon25
0
148
Member Avatar for uurcnyldrm

Hi everyone, Is there a way to read the text in a pdf file like reading notepad? And after that, I should be able to use it, for example, in a text area or show it to my users without using another program such as adobe reader. That's really important …

Software Development java pdf
Member Avatar for uurcnyldrm
0
249
Member Avatar for Breakbones90

I started writing this code as practice for my Computer Science class. The goal was to help with structs and arrays. But I have come to a problem. The file will compile, but returns a message saying "floating point exception." Doing research I see there could a few reasons, but …

Software Development c++ data-science
Member Avatar for gerard4143
0
370
Member Avatar for uurcnyldrm

Hi people, How can I put a JRadioButton wherever I want in a JPanel? I tried setLocation() but it did not change anything. It is still on the north-center part of the panel. I think I'm missing something, but I can't figure it out. Thank you in advance.

Software Development java
Member Avatar for NormR1
0
189
Member Avatar for programmer2112

So i need to create a win32 console program that basically asks a user to input certain information about random people...ie: height, shoe size, weight. after the user has entered the information for the first person, the user is then prompted to enter the same information for another person. eventually …

Software Development c++
Member Avatar for yongj
0
178
Member Avatar for pardeep3dec

Dear Experts, I need a text box for entering only for 0 to 9,.,Delete key ,Backspace key and Enter key except this i want nothing to do for this i am coding like as given below Private Sub TxtAmendment_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TxtAmendment.KeyDown If (e.KeyCode …

Software Development vb.net
Member Avatar for codeorder
0
152
Member Avatar for JustineAubrey

Hi, I'm creating a form application using vb. I'm still new to this and I'm teaching myself via the internet so please don't be too mean. I wrote my code using queries that I created in visual studio. I don't quite remember how to create an update query and write …

Software Development mysql sql vb.net visual-basic
Member Avatar for GAiXz
0
223
Member Avatar for swissknife007

I am implementing a program where I want to store only certain part of the input string. for eg if the input string is 0123456789 I want to discard 4 AND 7 and store 01235689 Please my program requires an input string of 10000 characters so running time is very …

Software Development c c++
Member Avatar for mhd_arif123
0
204
Member Avatar for thedonedeal

I'm working on a Visual Basic application and would like to have it send its results (either an XML file or database rows) from the application to a database online for processing. I'm more familiar with MySQL/PHP but have no idea where to get started on with this. What I …

Software Development php vb.net visual-basic
Member Avatar for thines01
0
116
Member Avatar for macdunk11

So I'm trying to print the first six generations of the Game Of Life in a 7x7 array. I only have the code for one generation, but I can fix that later. I made the array types integers. What I need help with is getting the correct code for all …

Software Development java
Member Avatar for gusano79
0
176
Member Avatar for ron126

a=1 b=2 x="ab" How do I "print x[0]" and get a result of "1" (int), instead of letter "a"? (make the string use global variable) Please help me, thanks.

Software Development python
Member Avatar for snippsat
0
241
Member Avatar for iparkin

I recently ran the following command from the command line and it worked find . -name '*jrAPS*_ouput.log' -exec grep '<string expression>' {}\; -print I put it in a shell script like this and it did not work find . -name '*jrAPS*_output.log' -exec grep '<string expression>' {} \\\; -print the result …

Software Development shell-scripting
Member Avatar for borlam
0
572
Member Avatar for sharon.chapman7

Hi, I have a windows form with a "ComboBox" on it. The "ComboBox" has the words "Production" and "Development" in it. If the user selects "Production", I need my C# code to point to the Production database. If the user selects "Development", I need my C# code to point to …

Software Development client-server sql
Member Avatar for Cameronsmith63
0
350
Member Avatar for Andy90

Hi, I want to know how to save elements properties even after the form closes, and resume it back when I open the form. [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication2 { public partial class Form1 : Form { …

Software Development
Member Avatar for Andy90
0
180
Member Avatar for yeeitsneo

hi. soo i got this codes off of some site. its for a cool form entry and exit effect. but since im using this in my project i need to know what this lines of codes mean. and i mean every line. the site where i got it from doesnt …

Software Development visual-basic
Member Avatar for yeeitsneo
0
268
Member Avatar for student_learner

i am trying to make an application which would predict the value of investments such as shares based on the past values, and help the user to choose the better option. want some suggestions on the [B]fuzzy algorithms[/B] that i can use in my project. it would be a form …

Software Development algorithm
Member Avatar for skatamatic
0
369
Member Avatar for mike.bauer

How do I rewrite eq->pt_tree[0][0]=2; to user pointer subscript? [CODE]#include <stdio.h> #include <stdlib.h> /////////////////////////////// struct eq_values{ int * pt_tree[2]; }; //////////////////////////////// void main (){ struct eq_values input, *eq; int i =2; eq = &input; while(i--){ eq->pt_tree[i] = (int *) malloc(3 * sizeof (int)); if (!eq->pt_tree[i]){ printf("No\n"); exit(0); } } eq->pt_tree[0][0]=2; …

Software Development c
Member Avatar for deceptikon
0
109
Member Avatar for vaironl

Hello forum, Vaironl here. I already asked this question with no luck. So now I will to repost it without the code. I have a JPanel which contains labelsand JTextField + other components. When I minize the window and then restore it The components stay in place but the are …

Software Development java
Member Avatar for vaironl
0
110
Member Avatar for scott_liddle

I'm creating a program that carrys out certain things dependent on the user input. One function is to read text from a text file, another is to add text to the same text file. I'm unsure about how to add an exception handler to make sure the text input is …

Software Development python
Member Avatar for ihatehippies
0
225
Member Avatar for MasterHacker110

I got this code, when i compile it it shows this error: Traceback (most recent call last): File "C:\Users\User\Desktop\Server2.py", line 13, in <module> UDPSock.bind(addr) File "C:\Python27\lib\socket.py", line 224, in meth return getattr(self._sock,name)(*args) error: [Errno 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted If you can …

Software Development client-server python
Member Avatar for ihatehippies
0
5K
Member Avatar for missc

how can i implement a function ex: 'add item' without using oop ?!

Software Development java oop
Member Avatar for stultuske
0
201
Member Avatar for zios007

I have to write a program that prompts the user to select (but not disclose) a number between 0 and 31 and then asks exactly five questions to determine the number the user has selected. Each of the five questions is posed by presenting a group of sixteen numbers, asking …

Software Development c c# c++ gaming
Member Avatar for zios007
0
250
Member Avatar for Kalle21

[CODE]import java.util.Scanner; class wloop { public static void main(String[] args) { int counter=2; int sum=0; while( counter<=200 ) { sum = sum+counter ; counter = counter+2; } System.out.println("The sum of integers from 2 to 200 is: " +sum); } }[/CODE] [CODE]import java.util.Scanner; class wloop { public static void main(String[] args) …

Software Development java
Member Avatar for stultuske
0
116
Member Avatar for flagstone

I am trying to implement a chat program using epoll on the server side. However, the program gets stuck at epoll_wait(). How should I create an asynchronous chat program? [CODE] #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <string.h> #include <sys/socket.h> #include <netinet/in.h> #include <sys/epoll.h> #include <fcntl.h> #include <netdb.h> #include <unistd.h> …

Software Development c queue socket-programming
0
240
Member Avatar for M.Waqas Aslam

hello ! i am working on an application and i want to connect it with mssql database , i dont know about the version of installed mssql server at the pc , how can i get the version of installed mssql server so that i can connect my application with …

Software Development client-server sql visual-basic
Member Avatar for cguan_77
0
180
Member Avatar for wissam.ashkar

Hello, I get this error: "No data exists for the row/column." at the red section in my code. I am sure my database row i am selecting has data in dr.get..(3) and dr.get...(5) [CODE] private void button1_Click(object sender, EventArgs e) { int cpnumber = Convert.ToInt32(LastCP.Text); DateTime cpdate = Convert.ToDateTime(dateTimePicker1.Text); double …

Software Development
Member Avatar for mani-hellboy
0
202
Member Avatar for sah

You cannot vote on your own post 0 I have loaded many images in a listview using ImageList in c#. When many many images are loaded then it takes a long time. So I call the method in backgroundworker. In the backgroundworker I had to add images to ImageList and …

Software Development listview multithreading
Member Avatar for mani-hellboy
0
870
Member Avatar for smitha_aa

Hi, I have master and content pages,I have a drop down list, button etc in content page..On clicking go button it ll display grid view..wen i click the button the whole page s getting loaded which i dont want.Can anyone tell me how to do tis. Thanks,

Software Development
Member Avatar for smitha_aa
0
62
Member Avatar for Ashenvale

Can anyone tell me y is it that taxDeduc won't return the value? [CODE] import java.util.Scanner; public class PayollComputation { public static void main(String[] args) throws Exception{ Scanner get = new Scanner(System.in); //variable declaration int ctr, loc = -1, payrollPeriod, daysAbsent, minsLate, oTHours; int tempENo = 0; char ans, ans2; …

Software Development java
Member Avatar for Ashenvale
0
159

The End.