132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for samcaleb05

hi Frnd's Can anyone say how to count no of lines in a (text) image ... Tks in Adv.... G.Sam...

Software Development image
Member Avatar for LizR
0
231
Member Avatar for loveforfire33

Hi, this is my first post here - i am very new to C# and i am struggling with a solution. i have to accept a date as a numerical value in a text box, then convert it into a string displaying the written month name. im struggling on how …

Software Development
Member Avatar for JerryShaw
0
93
Member Avatar for jdbarry

I am trying to write a program that calculates the surface gravity on each planet in our solar system. I have the printing of the results assigned to a static method. However, I have a problem. There are two for statements I am using in this program. The last for …

Software Development java
Member Avatar for stephen84s
0
110
Member Avatar for cljlxwater

hello , i've intalled .NET 2003 and framework1.1 . if i want to use the some methods from framework2.0. please tell me do you have methods?

Software Development
Member Avatar for cljlxwater
0
94
Member Avatar for Eager_Beever

I have a DateTimePicker and a DataGridView. I want to display records which match the selected date from the DateTimePicker. But I am not able to code the Select statement properly to display matching records. If I am using "Select * from Results", then ALL records are beieing displayed. Can …

Software Development
Member Avatar for DangerDev
0
128
Member Avatar for Georges5

Hi all, I have written a C++ code that reads data (as double) from a huge binary file with size 2.5 GB, then process the data and write it to another binary file. What is really strange, the code works fine and smooth in Borland C Builder 6, but since …

Software Development c++ file-stream file-system
Member Avatar for Georges5
0
250
Member Avatar for JulesBonnot

Hi, I need to build a datagrid dynamically, entirely in c# so no asp tags can be used. I need my datagrid to contain a textbox in each cell; pre-populated with the corresponding value from the datatable. My code creates the text box in each cell perfectly BUT every value …

Software Development asp.net dataset web-server
Member Avatar for JulesBonnot
0
100
Member Avatar for eyewirejets

When I run my program, I get the word None as output for a line. I don't have a print statement that contains that word. When I debug no errors found. Any ideas what it can be?

Software Development python
Member Avatar for eyewirejets
0
96
Member Avatar for ryan311

hi i have a problem puting a column header to my listview did not affair to my listview here's my code [code] Private mobjConn As ADODB.Connection Private mobjCmd As ADODB.Command Private mobjRst As ADODB.Recordset Private Sub Form_Load() Call SetupCustLVCols Set mobjConn = New ADODB.Connection If mobjConn.State = 1 Then con.Close …

Software Development listview open-source visual-basic
Member Avatar for VIeditorlover
0
191
Member Avatar for Ziwx

Hello all smart people! My problem is that the code below somehow should be able to summarize the [I]double betalat_andras[/I] and the [I]double skyldig [/I](not with each other) for each specific person. That is if a Person Bob is added with [I]betalat_andras = 1 [/I]and [I]skyldig = 2[/I] and then …

Software Development c++
Member Avatar for Ziwx
0
116
Member Avatar for dev_kc

I am wrking on a VB6 project,and I m new to this,I need to save the inputs values from the text boxes from the VB form,and using the command button,i need to save the data into the access database which i had created named Dtldb.mdb How do I use Data …

Software Development visual-basic
Member Avatar for debasisdas
0
80
Member Avatar for starzstar

Hi, I have a nested dictionary like the following how do I loop through such dictionary ,Basically I am looking to get the value of key "name" from the following dictionary Any help is appreciated, [{'resource': ['{"metadata": {"type": "directory", "size": "8"}, "name": "default", "links": {"link": ["{\\"href\\": \\"https://my.server.comdefault\\", \\"rel\\": \\"self\\"}", "{\\"href\\": …

Software Development python
Member Avatar for starzstar
0
121
Member Avatar for jrw0267

I have a project and am hung up at the moment. I am supposed to read from a file containing all of the function calls that I need to make. For example: Insert(33) would call the Insert function with an int paramater 33. How can I read this in from …

Software Development c++
Member Avatar for idb_study
0
75
Member Avatar for sonicstage

Hi I'm a new user of c++ and our professor gave us a homework problem where we have to find the standrad deviation, the min, the max and the avg of an array of numbers, here is what I have so far but now I'm really stuck trying to make …

Software Development algorithm c++
Member Avatar for verruckt24
0
101
Member Avatar for kiddo.me

What memory model does Dev-Cpp follow...? And how can I change it to have a segment more than 64 KB of memory....? I need it as my program stops executing in between and throws an exception - "Process returned -1073741819c(0xC00000005)" Same thing happens in Code Blocks.... So i need to …

Software Development c++
Member Avatar for kiddo.me
0
128
Member Avatar for ppp83

I use maven to build my project, and i tried to modify an existing pom.xml to compile my project, seems like it's not really compiling as it detects that no sources to compile. As a basic start of learning pom.xml, where can i start from?

Software Development java xml
Member Avatar for stephen84s
0
152
Member Avatar for ppp83

Need some advice, help and guidelines here regarding this topic. How can i use the jar utility to unpack the jar/war file so that i can inspect one particular package and return a list of the classes within that particular package? I need to progress further from that point onwards …

Software Development java
Member Avatar for stephen84s
0
430
Member Avatar for nanna

hi, iam trying to create phone directory as a seperate Jframe. there is a button in the main JFrame that leads to the seperate Jframe. the seperate Jframe contains JList which includes names and numbers. when click on any name from the list, this name with the number should appear …

Software Development gui java java-swing
Member Avatar for verruckt24
0
222
Member Avatar for pedza95

I know that it is possible to output and get input from the console without using iostream and it's cout and cin using the Windows API. I don't know how to do this because I'm new to c++ but I know it has something to do with kernel32. Can anyone …

Software Development api c++ windows-api
Member Avatar for MosaicFuneral
0
1K
Member Avatar for muhammad.atif

I am working in VB 2005. I want user input in textboxes. On user last textbox lost focus all data entered inthe textboxes shold shift to datagridview. User input as many data as he want. when he finish all his enteries. Click on save butto all data of datagridview insert …

Software Development dataset open-source vb.net
Member Avatar for muhammad.atif
0
104
Member Avatar for aiurovet

I am trying to mimic the behavior of Language Indicator pop-up menus (which pop-up when you do left or right mouse click on the Language Indicator), so the foreground window and focus do not change, and it is still possible to use keyboard to select or cancel menu (arrow keys …

Software Development c++ visual-studio
Member Avatar for aiurovet
0
143
Member Avatar for bemo55

Hello! I was having trouble with this program i keep getting undeclared identifier errors for my seat array and my seatnumber variable. I was also wondering if i was going about writing this program the right way. Arrays are kinda new to me. This is the problem (Airline Reservatins System) …

Software Development c
Member Avatar for zalezog
0
133
Member Avatar for archangelzero6

Hello I am trying to get comboboxes to rely on one another and cannot get this to work. I am trying to get combobox1 to submit its value to combobox2, then the selection in combobox3, then give a total value of the 3 comboboxes. it is for selecting a car …

Software Development vb.net
Member Avatar for archangelzero6
0
55
Member Avatar for infernojmd

ok so my compiler is doing something weird, for this like of code it is thinking the \d is a command like \n but that is a cstring, and it uses each char to decode a message to Attack at dawn!, but comes out missing the c, any hits or …

Software Development c++
Member Avatar for stephen84s
0
116
Member Avatar for danielle23

I have been working on this assignment for a while. I have read a couple other threads in this site regarding similar solutions but I feel mine might be a little more unique. This tic-tac-toe board is user entered, simply setup as 9 characters in 3x3 format. Input should look …

Software Development c++
Member Avatar for VernonDozier
0
1K
Member Avatar for pri_skit

1.I'm trying to write an MFC program in EVC++ 4.0 on window CE 5.0 that lists the disk drives on the system (C:, D:, and so on). I also need to know if the drive is a hard disk or a USB. Is there a class to get this information? …

Software Development c++
Member Avatar for pri_skit
0
74
Member Avatar for staplesauce

The RemoveMin class should remove the first occurrence of the smallest element from the input list. Despite what the inputs are I keep getting the same NullReference error from having 'rem = null'. I don't know if I'm using recursion right or not. I have a feeling the starting reference …

Software Development c#
Member Avatar for danielernesto
0
147
Member Avatar for tobycatlin

Hello everybody, I am after a little help using python to read in data from a binary file. This is what i got so far: [CODE] import struct infile = "friday.bin" FH = open(infile, 'rb') line = FH.read(32) data= struct.unpack("<H", line[0:2]) print data [/CODE] Which produces an output: 38288 I …

Software Development data-structure python
Member Avatar for NarendraRoy
0
4K
Member Avatar for jaasaria

hi guyzz... i have more than 1000 datas in my tables i loaded it in the listview using function.. but i have problem in loading it.. it consume almost 9 second to load all in the listview... i think it is in my coding.. i would like to minimize it. …

Software Development listview visual-basic
Member Avatar for samir_ibrahim
0
171
Member Avatar for curtissumpter

Hi People, I am trying to run this file but I am having trouble getting the program to incorporate the gif file that I need. Here's the program. // Demonstrating JDesktopPane import javax.swing.*; import java.awt.event.*; import java.awt.*; public class DesktopTest extends JFrame { public DesktopTest() { super("Using a JDesktopPane"); JMenuBar …

Software Development ide java java-swing
Member Avatar for danielernesto
0
885
Member Avatar for dev_kc

I am developin a project in VB6,i need to save the data inputs in form to the Access Database,using the save button......... Plz help me Thnks in advance:)

Software Development visual-basic
Member Avatar for debasisdas
0
72
Member Avatar for orangie

I would really appreciate a help to this problem: Let's say x = Class() x.name = 'the_name' x.value = 10 if you were only give the 'the_name' how do you get the instance ref, x to get x.value

Software Development python
Member Avatar for paddy3118
0
119
Member Avatar for rajasekhar1242

hi, i am trying to develop a database application. i am using python as front end and mysql as back end. But now i am getting some problem as "INTERNAL SERVER ERROR" while i am running my application on MAC OS x. #!/usr/bin/python import os import cgi from cgi import …

Software Development mysql os-x python
Member Avatar for rajasekhar1242
0
153
Member Avatar for mruane

Can you tell me where this unassigned global is...I looked everywhere but cannot find it. [code=python] global gold gold = 0 global a_gold_a a_gold_a = 15 global a_gold_b a_gold_b = 15 global a_gold_c a_gold_c = 20 global room1_done room1_done = 0 def prompt_main(): global a_gold_a, a_gold_b, a_gold_c, room1_done x = …

Software Development python
Member Avatar for vegaseat
0
93
Member Avatar for the b

Hi, I would have replied in the last thread instead of creating a new one again but I have a dial up connection and dad doesn't like me tying up the phone lines at this time in the year. In the last thread I asked how to find the cubed …

Software Development c++ microsoft visual-studio
Member Avatar for DEMWilson
0
183
Member Avatar for ryan858

I'm sorry if this is the wrong place to ask, but I figure since it's a [I]C++[/I] IDE it's probably qualified... How do I compile my program without all the extra debugging stuff in Dev-C++? I looked through it but I can't find any way to do this... I know …

Software Development c++ ide
Member Avatar for nucleon
0
105
Member Avatar for fran121

hello ive already written the scoreboard and tictactoe now i need write the GameUI.java this involves using collections framework, however in which I'm struggling in. If anyone could start me off, help me out, what so ever would be very appreciative. Fran

Software Development java
Member Avatar for BestJewSinceJC
0
81
Member Avatar for asif786

i want to users to be able to vote for their favourite soft drink. They will input the names of the soft drinks through the use of an inputbox, the names input are stored in an array. what i would like to do is count the votes given to each …

Software Development vb.net
Member Avatar for toko
0
263
Member Avatar for dollmar

hello my problem is simple but i cant solve it. i have textbox in form1 and i want the value in the textbox equeal to the value in label in form2..how can i do it.. my code sample is: form1.Text1.Text=form2.Label1.Caption its not working... anyone can help?

Software Development visual-basic
Member Avatar for dollmar
0
159
Member Avatar for ganbree

I'm trying to read a Unicode file using std::wifstream. On wintel. [code=c++] #include <iostream> #include <fstream> #include <string> using namespace std; int main() { wifstream File("input.txt"); wstring Line; while(!File.eof() ) { getline(File, Line); wcout << Line << endl; } system("pause"); return 0; } [/code] And this is my output [code] …

Software Development c++ file-system
Member Avatar for seanhunt
0
585
Member Avatar for ahmedo047

how can I apply to all txt files in the folder. (save to a different folder the same name all the txt files). this code is only working for a txt file but I want to apply all txt files in a folder its. I have following code: [CODE]using System; …

Software Development
Member Avatar for ahmedo047
0
331
Member Avatar for viki0077

Let Wallet be a class that represents the amount of coins and bills in a purse. The class has got a data element amount of type long. The binary operator += shall be overloaded as an inline method. Identify the error in the following definition. Wallet& operator+=(Wallet& w) { // …

Software Development c++
Member Avatar for ArkM
0
86
Member Avatar for wnmichaud

Help Me, Please..VERY URGENT I have this cenario: I have a form(NewcomplaintForm.vb that will collect informations for ComplaintTable(complaintid, ComplaintType, date, desc, status, recommendation, etc..); ComplainantTable(complainantid, last, first, etc..); OffenderTable(offenderid, last, first, etc..) DutyofficerTable(dutyofficerid, last, first, etc..) and insert data into these tables respectively. when NewComplaint, check for complainant last and …

Software Development dataset vb.net visual-studio
Member Avatar for jbennet
0
137
Member Avatar for trevorp

Hello all. I need some help on some code... function definition double Magnitude () const; function implementation double Vector::Magnitude () const {return sqrt(X*X + Y*Y + Z*Z);} Test cout<<"test 4 \n"; cout<<"VectorA ^ VectorB = " (VectorA^VectorB)<<" = "<<(VectorA^VectorB).Magnitude()<<endl; I get c2064 on the portion of code highlighted in red. …

Software Development c++
Member Avatar for nucleon
0
193
Member Avatar for shindu

Hi, im working on a small console app that among other things calculates the mean value of all rows and columns of a matrix. I want to incorporate the mean symbol (x with an over score) into the out put but the symbol isn't included in the ASCII chart, any …

Software Development c++
Member Avatar for shindu
0
107
Member Avatar for BrianK123

This is probably just a stupid mistake but I can't figure it out. I have this code: [CODE]TextField passGet=new TextField(10); passGet.setEchoChar('*');[/CODE] and when I try to compile, I get and <identifier> expected error. Anyone know why?

Software Development java
Member Avatar for BrianK123
0
1K
Member Avatar for moiseszaragoza

ok i have a page that calls 2 diferents controls. Control 1 is ctHead and Control 1 is ctBody. ho do i make ctHead call a function in ctBody. how i call the function in body from the page is [code] ctBody.Speech = "Hello!"; [/code]

Software Development
Member Avatar for moiseszaragoza
0
56
Member Avatar for Chaster

Yellow, From my application - for some reason - I am able to send messages up to only 64k. I've been wondering if it is possible to split an InputStream into partitions of 64k, and then, on client side to join them again. Is this possible? Have you ever done …

Software Development java
Member Avatar for BestJewSinceJC
0
84
Member Avatar for Johannady2

number = 10; sum = 0; for (var i=1; i<= number; i++) { sum = sum + number; } document.write("sum = " + sum); number = 10; for (var i=number; i > 0; i--) { if ( i%2 == 1) document.write(i); } product = 1; number = 5; for (var …

Software Development java
Member Avatar for verruckt24
0
118
Member Avatar for koliva

Hello everyone, I have a ray-tracing code and I can successfully generate images taken from different view points. My generated image has 802x802 resolution. I am applying the same procedures for every different point of view. However, my generated .bmp files always have different file size. I wonder why? They …

Software Development c++ file-system
Member Avatar for Salem
0
94

The End.