132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mimis

Hi, I want to make a global 2D array ( i mean outside of the main function), so it will be available from all the functions. But my problem is how can i read it's size from the keyboard? If anyone know, plz help me. Thanks in advance.

Software Development c++
Member Avatar for Fbody
0
97
Member Avatar for Moonrise_state

Hi, I wrote a python program that counts the occurance of each alphabetic character in a string and it works fine. I tried to port it over to java but now it fails, telling me that there is no alphabetic characters at all in it. [CODE]for (int i=0;i<alphabet.length;i++) { for …

Software Development algorithm java
Member Avatar for musthafa.aj
0
118
Member Avatar for glenndr_15

Hi does anyone know how to interface vb program to mcu(microcontrollers? thanks

Software Development visual-basic
Member Avatar for vb5prgrmr
0
77
Member Avatar for mmasny

Would you be so kind and help me solve this problem? [code=C++] #include <string> using namespace std; class Okno { protected: int x1,y1,x2,y2; string nazwa; public: }; class NieDesktop : public Okno{ private: Okno& ojciec; NieDesktop(const NieDesktop&); }; class OknoWlasciwe : public NieDesktop{ OknoWlasciwe(const OknoWlasciwe&); public: OknoWlasciwe(Okno&,int,int,int,int,string); }; OknoWlasciwe::OknoWlasciwe(Okno& _ojciec,int …

Software Development c++
Member Avatar for mmasny
0
304
Member Avatar for tqmd1

Dear Sir, How to combine these two conditions in one section [CODE] Private Sub DataGridView1_CellValidating(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellValidatingEventArgs) Handles DataGridView1.CellValidating 'condition 1 ' check given value is numeric or charactr type If e.ColumnIndex = 3 Then If Not IsNumeric(e.FormattedValue) Then DataGridView1.Rows(e.RowIndex).ErrorText = " must be a …

Software Development vb.net
Member Avatar for Geekitygeek
0
92
Member Avatar for roxxy_boiz14

please help me..where can i download it..can u please upload it for me if you have one..or just tell me where can i possible download it..tnx a lot..god bless

Software Development visual-basic
Member Avatar for jhai_salvador
0
284
Member Avatar for GoS-ExiGo

Hi, if ever the 'tab button' is clicked at least once, that tab selection grid (as shown in the picture below) around controls appear to indicate which control is currently selected. But once it is clicked, it won't disappear even if the user continues to work with the mouse only. …

Software Development
Member Avatar for Diamonddrake
0
105
Member Avatar for Brick

Beginning development with SQL Server 2008, VB - Visual Studio 2008 on an application that will deploy laptops remotely for 6 months or more. The laptops will have no network or internet connection. There is a requirement to sync DB changes via shipment of USB flash drives. The remote app …

Software Development flash sql vb.net visual-studio
Member Avatar for Brick
0
164
Member Avatar for AMacg

I have a vb6 (sp2) program that uses several ActiveX controls and components. It runs fine on XP and win 2K but after installing on Win 2003 server, 2 parts of the programme (responding to click events) cause the error "Run time erro 429 - ActiveX components can't creat error". …

Software Development visual-basic
Member Avatar for QVeen72
0
454
Member Avatar for mnf

I used c# timer but it's minimum value is 1ms , I need timer range in microseconds

Software Development c#
Member Avatar for Diamonddrake
0
3K
Member Avatar for lipun4u

[QUOTE]The static_cast operator can explicitly convert an integral value to an enumeration type. If the value of the integral type does not fall within the range of enumeration values, the resulting enumeration value is undefined.[/QUOTE] Can somebody explain the above stuff with example ??

Software Development c++
Member Avatar for lipun4u
0
74
Member Avatar for Romil797

I got this code from a website (I forgot the name) and edited it. Here it is: [CODE] using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using QuartzTypeLib; namespace CsPlayer { /// <summary> /// Summary description for Form1. /// </summary> public class Form1 : System.Windows.Forms.Form { …

Software Development
Member Avatar for Diamonddrake
0
302
Member Avatar for ageryckeh

imagine of a document tracking software in an institution, every office that receives it acknowledge by signing into the software and a database of where and whom posses the document , and for how long is stored and accessed by the users in the browser. Do you have an idea …

Software Development vb.net
Member Avatar for kvprajapati
0
97
Member Avatar for baloo8

I have a listbox i want to populate with elements from a database. I have an id and a name that I get from the database. How can I change the listbox's default indices to the id's i get from the database? So that the listbox displayes the text, and …

Software Development
Member Avatar for Geekitygeek
0
224
Member Avatar for ericstenson

Hi, I am receiving a stream of data (a text message) through a TCP listener. It then sends back a stream. Then the first computer (the client) sends another stream of data. Then I send back a response message. The first message is successfully received. The first response is successfully …

Software Development vb.net
Member Avatar for kvprajapati
0
1K
Member Avatar for VilePlecenta

On the left is the dialog ran from VC++ On the right is run from my app [url]http://img208.imageshack.us/img208/2019/wonder.png[/url] Why the version ran from my app lacks is: Combo Box Options Color, Design is from the 90's style

Software Development c++
Member Avatar for VilePlecenta
0
290
Member Avatar for chuckjessup

This is for a project i am writing and i found some awesome code that works beautiful, however since i have two forms i have either to create a dll with the function in it or to only use the one function bit not have anything touch the function otherwise... …

Software Development visual-basic
Member Avatar for chuckjessup
0
443
Member Avatar for miles.85

Hi! I'm working on a compress algorithm. But I couldn't write the software because I don't know how to read and write a file as binary like 101011111111011001. How can I read the like this ? Also I want to ask if I can write the GUI on Java and …

Software Development algorithm c gui
Member Avatar for miles.85
0
143
Member Avatar for gayathrigmenon

how to create a submenu in Swing. I am using Netbeans IDE 6.8. Please help me. thanks in advance

Software Development ide java java-swing
0
50
Member Avatar for Vish_All

[B]hi all, [/B] [B] I have create a database application in vb 6.0[/B] [B] i need to retrive some reports using data report (not Crystal) such as date wise report or customer wise report.[/B] [B] The steps i fallowed are: [/B] [B]1. retrived text boxes in data report[/B] [B]2. for …

Software Development visual-basic
Member Avatar for rathisamal
0
1K
Member Avatar for CheekyB

Following examples and threads of previous inquiries I find myself asking two primary things 1. Why when I place the following code - [CODE]Break;//break the string[/CODE] at the end of my while statement that reads [CODE]while(!name.toLowerCase().equals("stop")); //begin while control statement end = true; //end if condition is true, counter initiated …

Software Development java
Member Avatar for BestJewSinceJC
0
82
Member Avatar for raud10

What does Try and Except mean in this code? [CODE] if node=1 then begin ankunftnode1:=now; //.................................................. try thot:=(rawdata2[2]+rawdata2[3]*256)/10; except thot:=0; end; chart1.Series[1].AddXY(time,thot);[/CODE] Can anyone explain it to me? Thank you...

Software Development pascal
Member Avatar for raud10
0
105
Member Avatar for OffbeatPatriot

I have a class, Cast(as in cast of a play), that implements the Collection<Actor> interface(Actor is a class representing an entity in a game) and I have the following code. [code=java] Set<Actor> toRemove = new HashSet(locations.keySet()); //method 1 toRemove.removeAll(actors); //method 2 for(Actor actor : actors){ toRemove.remove(actor); } [/code] if I …

Software Development java
Member Avatar for OffbeatPatriot
0
137
Member Avatar for mfrancis107

I'm working with Kochan's Programming in C. I am working in Visual Studio 2008. When I try to build the program I get Error 2 error C2143: syntax error : missing ';' before 'type' c:\users\michael\documents\visual studio 2008\projects\cpractice\cpractice\char.c 15 CPractice But as far as I'm aware there is no syntax error. …

Software Development c visual-studio
Member Avatar for WaltP
0
157
Member Avatar for JainishP

I have an assignment where I am supposed to get a user input file with data in it, like below: [QUOTE]Billy Bob 98.6 98.6 98.6 100 200 300 400 500 600 700 800 900 110 220 330 440 550 660 770 880 990 111 222 333 444 555 666 777 …

Software Development file-system java
Member Avatar for verruckt24
0
166
Member Avatar for lightninghockey

I would like some help with this program that I wrote for my class project. I have a class Point, class Circle and a main test program. I'm having difficulty with where to put some if else statements to find the quadrant that the points x,y are located. I wrote …

Software Development java java-swing
Member Avatar for lightninghockey
0
1K
Member Avatar for manikandan_dani

Hi, How to edit the following xml file without losing elements. eg: [code=xml] <book id="b1"> <bookbegin id="bb1"> <para id="p1">This is<b>first</b>line</para> <para id="p2">This is<b>second</b>line</para> <para id="p3">This is<b>third</b>line</para> </bookbegin> </book>[/code] I try to edit the above xml file using dtd using jsp,servlet. but while i read the textvalue from xml, it return …

Software Development java xml
Member Avatar for manikandan_dani
0
135
Member Avatar for Jerail

... and I don't know why. I'm just getting back into C++ programming after years of not using it at all. I tried to make a simple program that - Creates 10 random numbers between 0-99 and prints them - Categorizes each number by range - prints the sum of …

Software Development c++
Member Avatar for Jerail
0
424
Member Avatar for nonanattu

halo, i really need a help,, i'm new in vb.net, how to get data from database and put in lable in new from ???

Software Development vb.net
Member Avatar for apegram
0
94
Member Avatar for Ashwin Vasnai

If in big problem, I want a to add the ResultSet of MySQL in JTable.Table should in Panel. and There should be autosizing of the result.

Software Development java mysql
Member Avatar for lanhlung696
0
364
Member Avatar for ttunstall07

This is the problem im working on: *Write a program that has nested loops *First, write the inner loop -Use “for” loop to display Hello two times *Second, write the outer loop -Use “do while” loop to display the inner loop three times -Before the output of inner loop, you …

Software Development c++
Member Avatar for WaltP
0
123
Member Avatar for XStrong

[CODE]/* #include <iostream> #include <iomanip> using namespace std; int main() { cout << " " << endl; double sum; double numb; double ave; int counter = 0; cout << "This program averages numbers." << endl; cout << endl; while (true) { cout << "Number: "; cin >> numb; if( numb …

Software Development c++
Member Avatar for thomas_naveen
0
155
Member Avatar for atticusr5

hey everyone, I got a weird error when I run my program. I compile and link and run the program through the terminal in Ubuntu. I have to compile or linking errors, and the program run's fine, except when the program asks: "Would you like to see a display of …

Software Development c++ ios ubuntu
Member Avatar for atticusr5
0
89
Member Avatar for twistedphrame

Hello all, I'm having an issue with getting the ip address of a client accessing an xmlrpcserver, some of the time the code will work and then when I go to transfer the classes/methods (copy and paste) into my other file neither work and both have the same error: Server: …

Software Development client-server python xml
Member Avatar for Gribouillis
0
229
Member Avatar for sunilkuntal

i am making a media player to play all types of media player using jmf technology. can anyone help me to figureout how jmf can play all files ()

Software Development java
Member Avatar for BestJewSinceJC
0
57
Member Avatar for isralruval

im having trouble with my program. it reads the student id, and both grades from a file and then a function its suppose to calculate the average of both grades and then pass the results to the main program using pass by reference. And for some reason my average its …

Software Development c++
Member Avatar for jonsca
0
104
Member Avatar for roachae

Call it my lack of experience with VB6, but I can't understand why my code (sample below) is giving me a Type Mismatch error when I use the Fields argument in my call to write things to a debug log. Can anyone help or explain? [code] Public Sub Update(ByRef myChain …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
112
Member Avatar for Xorifelse

I've searched the forums a bit but I couldn't really find anything relative to this matter. I'm relatively new to C++, and I always used cout and cin. But I find the syntax style a bit off, so I was searching for alternatives and found scanf, sscanf and well printf. …

Software Development c++
Member Avatar for WaltP
0
141
Member Avatar for abhimanipal

Hello Everybody, I have just come across this particular piece of code in a C problem set [code= c] main() { int i=5,j=6,z; printf("%d",i+++j); } [/code] The answer for this question is 11 because C evaluates this as i++ +j. But why cant this be evaluated as i+ ++j. Is …

Software Development c
Member Avatar for SpyrosMet
0
265
Member Avatar for rhoit

hi every one.... i was trying to rename the no of files [QUOTE] Like "Prison.Break.S01E01.HDTV.XviD-LOL.srt" to "Prison Break.101.srt" and so on to the following files Desktop/1/Prison.Break.S01E01.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E02.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E03.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E04.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E05.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E06.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E07.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E08.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E09.HDTV.XviD-LOL.srt[/QUOTE] i tried to use [CODE]$mv "Prison.Break.S01E0[1-9].HDTV.XviD-LOL.srt" "Prison Break.10[1-9]" mv: target `Prison Break.10[1-9]' is not a directory …

Software Development shell-scripting
Member Avatar for nezachem
0
198
Member Avatar for PuQimX

i want the output detect the error because the condition is -20-20, 1st key in is ok but the second time no matter what number i have key in it will accept even i key in out of condition. please help me... import java.util.Scanner; import java.text.DecimalFormat; public class CPI { …

Software Development java
Member Avatar for BestJewSinceJC
0
142
Member Avatar for Gowsi

Hi friends.... anybody help me how to convert total vb.net project into .exe file to install client side. plz help need.....

Software Development vb.net visual-basic
Member Avatar for ABShaman
0
516
Member Avatar for jdpjtp910

I have a program for school that I need help condensing some code, if possible. I have structure that has 10 fields for a monthly budget. I will have the user input their current budget and then my program informs the user if they are over under their budget and …

Software Development c c# c++
Member Avatar for jdpjtp910
0
515
Member Avatar for lparras

I have a weird problem with destructors. My code works in older machines with g++-2.95, g++-3.3, g++-4.0, g++-4.0.1 and not in my machine with g++-4.4.1. Do you know why? Here I show a small example that reproduces the error (in my machine): [CODE] #include <iostream> class Matrix{ public: Matrix(){}; Matrix(int …

Software Development c++
Member Avatar for Salem
0
120
Member Avatar for tux4life

Intended as a replacement for [URL="http://www.daniweb.com/code/snippet217322.html"]this[/URL] old crap of myself ;) Note: no error checking provided, if you need it, then you can easily implement it yourself :)

Software Development c++
0
161
Member Avatar for Clawsy

Hello, I'm trying to get from the screen, the region, or rectangle (the coordinated) of the part that is being painted. For example when I move some window or I have some action on the screen I want to get only that part of the screen image that is being …

Software Development api c++ windows-api
Member Avatar for Clawsy
0
1K
Member Avatar for dtvonly

Hi. In C#, how do I check if, for example, calculator is running (calc.exe) in task manager process? and how do I end the calc.exe process? Thank you.

Software Development
Member Avatar for Clawsy
0
136
Member Avatar for StaticX

Hi, Im wondering if someone could clarify a problem im having. Basically im trying to figure out how i can go about having a Class A object as an attribute of Class B,while still using Class A's functions. For example if have a class called clockRadio.In turn i have another …

Software Development c++
Member Avatar for StaticX
0
104
Member Avatar for Suraine

Hi, everyone: I want to create an infinite array, where normally we initialize an array like this: [code]int array[10];[/code] There is 10 spaces in the computer reserved for array[]. However if I wish to have an array with no limit space, but the number of spaces of an array is …

Software Development c++
Member Avatar for WaltP
0
10K
Member Avatar for gianx80

Hi! I'm writing a little equation solver for an exam ... it has not to be perfect or mathematically rigorous. With this program I have only to show to my professor that I can write some simple program in Assembly and C++ language. In other words, I have only to …

Software Development assembly c c# c++ ubuntu
Member Avatar for Salem
0
247

The End.