132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for san.ssj

Hello, Im a student doing my final year mini project and am facing a problem related to searching data in the datagrid. The error im getting is : > Run-time error : '3001' > Arguments are of wront type, are out of acceptable range, or are in conflict with one …

Software Development visual-basic
Member Avatar for AndreRet
0
240
Member Avatar for mgmahilum18

I have a problem for my system Registration in times of printing a record of student. any one here can help me? or give me idea about it ? and im using visual basic 6.0 Im looking forward to you Guys.. help me please?

Software Development visual-basic
Member Avatar for AndreRet
0
73
Member Avatar for jonny93

I am trying to work on an assignment that allows you to create an entry for a phone book, but there are a few things confusing me: #include <string> #include <iostream> #include "entry.h" using namespace std; entry::entry() { p_fname = ""; p_lname = ""; p_phone = ""; } entry::entry(std::string fname, …

Software Development c++ smartphone
Member Avatar for jonny93
0
248
Member Avatar for jdadkn

Write a program to input a sentence until user presses esc or enter key. Calculate the number of spaces, small letters, capital letters and vowels. It should also print the length of the sentence. If user enter a character other than space or alphabet, it should not be displayed on …

Software Development c
Member Avatar for nitin1
0
107
Member Avatar for Kieran Y5

Hi, I decided that my operating system needs some graphics. I have seen loads of tutorials on drawing pixels, and I have used some. I now want to use 32bit protected mode (before I was using real mode) and I can't find any tutorials or documentation on drawing with VESA …

Software Development assembly operating-system
Member Avatar for Kieran Y5
0
2K
Member Avatar for adamrpostjr

Alright so im creating a visual os in vb 2010 and im creating a resgistration form.. the problem is i only want the registration form to only show the first time that they start the program and not everysingle time they open the program.. and i also want the for …

Software Development vb.net
Member Avatar for Reverend Jim
0
119
Member Avatar for System Networks

When I write in my terminal, java -jar myJar.jar, it gives me an error "Resource Not found res/playNow.png" When I run it in eclipse, it does not give me any errors about this image. My folder in my eclipse is outside my package called res and inside it are images. …

Software Development java opengl
Member Avatar for NormR1
0
265
Member Avatar for kovidd

I and my friend are starting aur project based on java . We are planning to create a java based forum software . But we are confused to wheather make it a app on windows communicating a DB server ...Or to make it based on serverlets/jsp etc (somthing like vbulltein …

Software Development java java-jsp oracle phpbb
Member Avatar for ~s.o.s~
0
230
Member Avatar for somjit{}

i want to take the 1st argument from commandline, ie argv[1] and assign it to a `char target[80]` i know im making some very stupid beginer mistakes... but just cant understand what :( this is my code: #include <stdio.h> #include <string.h> void converge(char *targ, char *src); int main(char *argc[],char *argv[]) …

Software Development c
Member Avatar for somjit{}
0
4K
Member Avatar for crishein14

hi guys .. Im here again ! I dont know how to explain this .. Here's my example : [url]http://desmond.imageshack.us/Himg228/scaled.php?server=228&filename=screenshotzjj.jpg&res=landing[/url] i want to know how to make a code like my example .. An icons and a cursor ! Im using s60v2 os8.1 .. Thanks !

Software Development python
Member Avatar for M.S.
0
104
Member Avatar for crishein14

Hello everyone .. Im new in python and i have a question ! How to compile myfile.py to myfile.pyo ? Can you give me an example script coz i dont know were to put python -0 to compile it into pyo ! Thanks a lot ..

Software Development python
Member Avatar for M.S.
0
3K
Member Avatar for crishein14

it is possible to start a python apps when you start your phone ? Im using s60v2 N70-1 .. Is there a python code autostart for my phone ? Please help ..

Software Development python
Member Avatar for M.S.
0
173
Member Avatar for crishein14

Can anyone HELP me for my problem .. Im a newbie in python ! I want to create a script to rename files in a dir. that dir has 400 files .png .. startswith 001.png , 002.png to 400.png ! I want to rename them startswith 000.png to 399.png .. …

Software Development python
Member Avatar for M.S.
0
174
Member Avatar for XerX

Hello! Can someone please give me some advice where to begin this program from and how. Thanks in advance. [quote]Given set of points in the plane, you have to write a program in C++ that computes the following values: 1. The minimum distance between two points. 2. The maximum distance …

Software Development c++
Member Avatar for Bob
0
637
Member Avatar for bflack

This snippet could be a problem solver for a tricky programing problem in entrance exams. Hoping that this has no buggs. haha. Didn't use compiler for this

Software Development
Member Avatar for SoreComet
0
4K
Member Avatar for System Networks

How do I access My jar in the mac os terminal. I have a jar in my desc top called System FRONT.jar First, I put `cd desktop` then i put java -jar System FRONT.jar It says unable to access jarfile system Then I tried another jar which does not exist, …

Software Development java
Member Avatar for ~s.o.s~
0
678
Member Avatar for Sahil89

Hi, How can I detect new line from string. I tried Environment.NewLine but its not working. Initially I tried to replace it directly but it was not working after I tried to detect new line. Then I came to know that its not detecting new line. As temporary solution I …

Software Development vb.net
Member Avatar for Sahil89
0
3K
Member Avatar for nitin1

hi, actually I am learning C from past 1 year now and have learnt alot in C. I have read many many books and have solved alot problems in C. now, i am thinking so as to do some kind of project in C/C++. can anyone suggest me some kind …

Software Development c c# c++
Member Avatar for Bob
0
172
Member Avatar for lewashby

movies = ["The Holy Grail", 1975, "Terry Jones & Terry Gilliam", 91, ["Graham Chapman", ["Michael Palin", "John Cleese", "Terry Gilliam", "Eric Idle", "Terry Jones"]]] print(movies[4][1][3]) In the above code, how does [4][1][3] result in "Eric Idle"? It looks to me like the 4 selects Eric Idle becaue it's the 4th …

Software Development python
Member Avatar for ~s.o.s~
0
146
Member Avatar for Hemanth.Satkuri

Hi, I have created a table with first column as checkbox. Using the below Code.. TableColumn tc = constructedTable.getColumnModel().getColumn(0); tc.setCellEditor(constructedTable.getDefaultEditor(Boolean.class)); tc.setCellRenderer(constructedTable.getDefaultRenderer(Boolean.class)); tc.setHeaderRenderer(new CheckBoxHeader(new MyItemListener())); I sometimes get stackoverflow exception. Is This beacause of the above code..?

Software Development java java-swing
Member Avatar for JamesCherrill
0
185
Member Avatar for MrHatchi87

I'm stuck with this one. I need help drawing a tree in C++. Weird right? I've posted the parameters below and my response has my code so far. Write a program that draws a pine tree of a specified height How tall should the tree be?: 6 1. Prompt the …

Software Development c++
Member Avatar for WaltP
0
2K
Member Avatar for joeweks
Member Avatar for singingswitchman
0
919
Member Avatar for jww1232002

I'm required to write a packet sniffer in the C programming language and Identify the Packet as IP, ARP, or Broadcast and count how many packets of each. I'm able to get IP packets identified and counted, but don't seem to be seeing any ARP or Broadcasts correctly or count …

Software Development c socket-programming
Member Avatar for L7Sqr
0
465
Member Avatar for kRod

I am hoping this is not inappropriate to do on here if it is I apologize in advance and will let the thread die a slow agonizing death. Here goes: I have a little TextBox app that's supposed to only allow numeric’s positive and negative and allow 2 decimal places. …

Software Development vb.net
Member Avatar for kRod
0
2K
Member Avatar for bruizer

import javax.swing.*; import java.awt.*; import java.text.*; import java.awt.event.*; public class SchoolApplet8 extends JApplet implements ActionListener { double userAmount; double userInterest; double userTerm; int month = 0; double remainBalance = 0; double interestPayment = 0; double principalPaid = 0; JPanel row1; JLabel lblAmount; JTextField txtAmount; JLabel lblInterest; JTextField txtInterest; JLabel lblTerm; …

Software Development gui java java-swing
Member Avatar for NormR1
0
285
Member Avatar for weeraa

This my code in button click event. I want to add dynamic text boxes. It is focused to line no 7 and show "Object reference not set to an instance of an object." Dim txtBx() As TextBox Static x As Integer Static i As Integer x = x + 20 …

Software Development vb.net
Member Avatar for Reverend Jim
0
307
Member Avatar for Hemanth.Satkuri

Hi , Is it possible to have loaders in Swing. By Loaders i mean, showing a loader image with masking on the application till the data is retrieved from DB and displayed in TextArea. Just like we have ajax loaders Not allowing to access other screens in the application with …

Software Development java java-swing
Member Avatar for dmanw100
0
130
Member Avatar for harris24

Hi, need help on finding why code won't run. Keep getting code error: No overload for 'DisplayXML' matches delegate 'System.Web.UI.WebControls.SqlDataSourceSelectingEventHandler' Would appreciate any help...... System pointing to the following code saying its the cause, but don't know how to fix it: <asp:SqlDataSource id="srcProducts" SelectCommand="SELECT * FROM PRODUCT" ConnectionString="Data Source=.\SQLExpress;AttachDbFilename=|DataDirectory|MyDatabase.mdf;Integrated Security=True;User …

Software Development dataset xml
Member Avatar for harris24
0
163
Member Avatar for DavidTPotterNY

My issue is that after public static void Head() { each of the following sets is highlighted red for an illegal start expression error. I've tried moving the bracketts around removing words like static or public. (I'm 3 classes into java). I just need help in getting that issue to …

Software Development java javascript
Member Avatar for dmanw100
0
2K
Member Avatar for rbsmith333

I'm trying to figure out how to use '%s'. I looked it up in the python docs but it never actually shows how to use it. This is the line I'm working on right now just to figure it out. It is the first one of different variations where the …

Software Development python
Member Avatar for rbsmith333
0
1K
Member Avatar for rahul.ch

import java.io.*; public class Mac extends Laptop { public static void main(String r[]) { new Mac().crunch(); } //insert code here } class Laptop { void crunch() throws IOException { } } The question is simple. Insert a code that will make the program compile. Answers are: `void crunch()` or `void …

Software Development java oop
Member Avatar for NormR1
0
217
Member Avatar for haqua

**Hello C++/C Programmers there,** Please help with my program in C++, my program is always have 2 errors every time I compile and run it. My program is about string permutation which has main menu first. Here is my codes: #include<iostream.h> #include<conio.h> #include<stdio.h> int count=0; void permut(char stra1[],char append[]) { …

Software Development c++
Member Avatar for WaltP
0
3K
Member Avatar for anisha.silva

Hi. I have a class called step and in it i have a method `public IEnumerable<string> Execute(IEnumerable<string> input) ` when i trying creating a thread i did it as below List<string> l = new List<string>(); l.Add("a"); l.Add("r"); l.Add("d"); step s = new step(); Thread t3 = new Thread(s.Execute(l)); t3.Start(); give …

Software Development
Member Avatar for anisha.silva
0
233
Member Avatar for ganges

hi how to convert int into object in java kindly explain me with simple example have a nice time

Software Development java
Member Avatar for rubberman
0
72
Member Avatar for nitin1

char c[]= "JOJO1993"; char *p =c; printf( "%s", p+p[3] -p [1]) ; this is a code snippet. p is a pointer and when it is used as *(p+3) means 4th character. but my question how can a char pointer can be used as pointer to first byte of any object …

Software Development c
Member Avatar for nitin1
0
110
Member Avatar for Pyler

I use dr java for linux to run my code. I've been running into a bunch of errors recently while running this simple program. The code compiles fine but whenever I run the java file, I get the error; Static Error: Undefined name here's my code; (I've got two files, …

Software Development java ubuntu
Member Avatar for TrustyTony
0
2K
Member Avatar for anumiqbal

kindly help me n tell me in 2 dimension array wen we r taking words as input then cin would be used or getch..???plz replay.me waiting

Software Development c++
Member Avatar for WaltP
0
131
Member Avatar for Bemani_lover

Hello everyone. I'm in need of some help on how the compareTo method works. First I'll give you some background about it. This program was written in eclipse and it's a homework assignment. I'm trying to compare two Time objects and see which one is greater. here's the code import …

Software Development java
Member Avatar for Bemani_lover
0
187
Member Avatar for dreday92

My program wont compile because of this one function, can someone explain to me why it is says "forbids comparison between pointer and integer" Any help would be appreciated void ReadBitPattern (ifstream& infile) { int x; x = cin.get(); if(cin.get() == "0") { for (int index = 0; index < …

Software Development c++
Member Avatar for NathanOliver
0
105
Member Avatar for yumyam09

anyone can help me please! i have a problem in coding... i want to restrict some buttons of my form if the user is not a admin i already tried this code.. sql = "SELECT Position FROM tbllogin WHERE username = "txtUsername.text"" NewDataSet(sql) if .ds.Tables("a").Rows.Count= "Administrator" Then employeeFile.btnDelete.Enabled = True …

Software Development vb.net
Member Avatar for Reverend Jim
0
110
Member Avatar for steveincolorado

Hi I am trying to write a small C++ program using nested loops so that when the program executes I have the following output displayed [code]** **** ****** ******** ********** ************[/code] Here is the code I have written. I seem to be having a problem with proper loop execution. I …

Software Development c c# c++
Member Avatar for maaz0088
0
399
Member Avatar for bobejoe

**can some one tell me what push does**

Software Development assembly
Member Avatar for Schol-R-LEA
0
100
Member Avatar for nyquist

Hi, i need to create a binary matrix (one which elements can only be 1 or 0) in openCV. The nearest that I was getting is creating a matrix which elements are 8-bit values using the CV_8UC1 dataType. There must be another dataType which specifies that the matrix elements are …

Software Development c++ matrix-multiplication
Member Avatar for vijayan121
0
6K
Member Avatar for emorales

I have to do an assignment for class, I have it all complete as far as the math needed but i need to output to a file and can't seem to figure it out. I have to print out prime numbers and I'm trying to follow the example on this …

Software Development assembly file-system
Member Avatar for Schol-R-LEA
0
7K
Member Avatar for clarkkent021

hi, I installed both codeblocks ans codelite as suggested but these two IDEs are much different from the simple turbo c and I am having some similar problems using the two.:- during the first session i created a workspace and a new project(a console application) a main.c was created by …

Software Development c++ session
Member Avatar for vijayan121
0
275
Member Avatar for V0lcan1c_A5h

hi i have a datgrid bound using a dataenvironment and i need to filter it using specific fields

Software Development visual-basic
Member Avatar for AndreRet
0
464
Member Avatar for theQube

Gah. I wrote all this code thnking that it would work properly, but it doesn't. [code] //#13 //Reads N days worth of stock prices,and spits out the highest increase. //Created 6/30/03, 8&#58;38 PM class StockWatcher &#123; public static void main &#40;String args &#91;&#93;&#41; &#123; double today = 0.00; //price of …

Software Development java
Member Avatar for JamesCherrill
0
254
Member Avatar for millionub40

please everyone i want to know the advanced setiings between two forms. i want by database like Encarta software or others.that means when i click the first form i want to appear the second form only. so please help me. thank you.

Software Development vb.net visual-basic
Member Avatar for Denden17
0
126
Member Avatar for tspga

i have tried hard but dont know wy im getting this error , error comes in line 8 class CPop { CBSVector<CTour> pop; CBSVector<double> probability; int popsize; double TotalFitness; CTour Elite; **CTspGAParams GAParameters;** } error C2059: syntax error : 'constant' error C2238: unexpected token(s) preceding ';' [POP]// Pop.h: interface for …

Software Development c++
Member Avatar for tspga
0
168
Member Avatar for TheSkunkMan

I've playing with pygame a little and reading about it and i tried to make a simple rock paper scrissors game. I can't seem to get fullscreen working. Everything i've tried or read didnt work. Can u please help me? thanks

Software Development python
Member Avatar for alexpinho98
0
3K

The End.