132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ravikaliappan
Member Avatar for ravikaliappan
0
38
Member Avatar for deanus

Hi, I've just started using MS VC++ 2010 express and I have a problem which when using Dev C++ I've never had... VC++ doesn't allow me to allocate elements for an array using a variable as a subscript, like this : [CODE] int maxElements = 10; char myArray[maxElements]; [/CODE] It …

Software Development c++
Member Avatar for alaukik
0
88
Member Avatar for arch_mah

Hello All, I have stored a Image in my sql server database and when i am tring to retrive the data the following error is coming.. (Conversion from string " 8901.jpg " to type 'Boolean' is not valid.) In the database and also in the \\Debug\member file that .jpeg files …

Software Development image vb.net
Member Avatar for nick.crane
0
319
Member Avatar for shirmaster

This is my code and i do understand the logic but i don't understand the algorithm. About the Parking time coz when i give 1:26 in the time in and 2:20 in time out, i got a negative parking time. here's my code [CODE]#include<stdio.h> void menu(char a); void getData(int *a, …

Software Development algorithm c
Member Avatar for kings_mitra
0
155
Member Avatar for crapgarden

[COLOR="Red"]5.8 - Function Declaration vs Array Declaration SYNTAX CLARIFICATION[/COLOR] this declares an array: string word2("Over"); string word3(3, '!'); how are these not being mistaken for functions that pass default parameters? Is it because the parameters placed above are not = to anything or being defined as a type? Are the …

Software Development c++
Member Avatar for crapgarden
0
177
Member Avatar for rrush

Simple little exercise using the MonthView Date Picker. I'm trying to loop through print all dates from dateclicked to end of month. I'm getting stuck on the comparison value to define the end of the month. Keep getting the "argument not optional error" or and infinite loop. [code] Private Sub …

Software Development visual-basic
Member Avatar for AndreRet
0
123
Member Avatar for Srcee

Okay, so I have a project activity to find maximum and min elements of a matrix. I kinda know how to make .asm file, but I don't know how to make .exe and .obj. Or are they generating by themselves? How to connect .exe with .asm?

Software Development assembly
Member Avatar for tesuji
0
523
Member Avatar for leahrose87

Hello guys! I have so many form to manage. I want to count the instances of a particular form. For example, if I show my form1 two times then there must be a counter for my form1 and if I also shown my form2 another counter for form2. I want …

Software Development vb.net
Member Avatar for Oxiegen
0
2K
Member Avatar for gidireich

Hi All, I have experience with c, and familiarity with c++ & java (took courses on them, never really used) I want to learn c# now. I know c# is similar to Java. Time passed since my Java studies, so I guess I'll get the concepts fairly quickly, but I …

Software Development c c# c++
Member Avatar for Zinderin
0
164
Member Avatar for Black Magic

A simple function that converts alphabetic values into their respective lowercase value.

Software Development pascal
Member Avatar for TrustyTony
0
235
Member Avatar for Nivass

drawn an rectangle on the image using picture box. quires 1. when tried to zoom image the drawn rectangles needs to be placed on the drawn area. 2. Also draw another rectangle (in zoomed mode). 3. when i zoomed out the rectangle needs to resized. How can i achieve this. …

Software Development image
Member Avatar for Nivass
0
3K
Member Avatar for nshuti

Thank you friends.I have just began c++ and i dont know were to state from.If any one can help me pliz you are welcome.Thanx

Software Development c++
Member Avatar for sfuo
0
85
Member Avatar for ttx336

I am using Bloodshed Dev C++ 4.9.9.2 but I am having a tough time understanding how to use their debugger... I can't get it to single step. It tells me there is no debugging information, I let it include debugging information when it aks me for permission to but still …

Software Development c++ pdf
Member Avatar for sfuo
0
147
Member Avatar for titotoms

Hi, What is a log file?What is its purpose?How do I open, read and write to log files? Thanks, Toms

Software Development shell-scripting unix
Member Avatar for Lalchand Saini
0
125
Member Avatar for hg_fs2002

I want to write a function to add nodes to the end of my linked list. My problem is that I don't know how I can have a pointer that always points to the first node of my linked list.Forexample if I write [CODE] Gnode*p = new Gnode; first->link=p;[/CODE] when …

Software Development c++ linked-list
Member Avatar for hg_fs2002
0
99
Member Avatar for rampraveen

#include "stdio.h" #include "conio.h" #include "graphics.h" char far *vidmem=0xB8000000; main() { int gm,gd=DETECT; int r,c,i; char message[]="praveen"; initgraph(&gd,&gm,""); clrscr(); for(r=5;r<=20;r++) { for(c=5;c<=50;c++) write2vdu('',64,r,c); } c=10; for(i=0;i<=10;i++) { write2vdu(message[i],77,10,c); c++; } getch(); } write2vdu(char ch,char attr,int row,int col) { char far *v; v=vidmem+row*160+col*2; *v=ch; v++; *v=attr; } when i run this …

Software Development c
Member Avatar for Adak
0
146
Member Avatar for Eleqtriq

I was wondering if anybody knows how to uncheck a checkbox in a web browser using VB.NET? I Using the code .SetAttribute("checked", "true") will check a checkbox but using "false" will not uncheck it. I really need to figure this out, does anybody have any ideas?

Software Development html-css vb.net web-browser
Member Avatar for jugosoft
0
92
Member Avatar for KhairilSyahrin

I am trying to incorporate MSFlexgrid to read all the data from a text file but i am currently having a problem with a line Below is the coding Private Sub Command1_Click() MSFlexGrid1.Cols = kiraCols + 1 Open App.Path & "\master_data.txt" For Input As #1 ' linecount = 1 Do …

Software Development visual-basic
Member Avatar for AndreRet
0
98
Member Avatar for gunbuster363

I know the password. I want to crawl all the post of my gf's xanga down to my comp, for better reading. But my gf have set "require friend login" to see her post. So I need to login my id of xanga before reading her post. What I want …

Software Development java
Member Avatar for masijade
0
108
Member Avatar for srky

Hi Guys, My issue is that i dont know of a way to pull data from a formview using C# and inserting or updating that into a database. I saw something which searching around on the internet called a findcontrol, and i gave it a go, but I m so …

Software Development asp.net
Member Avatar for srky
0
110
Member Avatar for Zinderin

C# noob. Ok, here's what I'm trying to do ... I have a dbUtilities class I've made. And its my desire to have methods in it like "FillListBoxFromDB" .... I want to pass the listBox that will be the target, and the sql query command. I will have multiple places …

Software Development assembly
Member Avatar for Zinderin
0
123
Member Avatar for Member 784548

i want a search command for searching a data in document or database which search any word in the document

Software Development visual-basic
Member Avatar for kinwang2009
0
64
Member Avatar for Keegan200

I want to create an activation window to add onto clients pc so if they dont pay their account within a certain period the activation window will pop up and not allow them access to the pc until their account is paid and we will provide them with an activation …

Software Development visual-basic
Member Avatar for kinwang2009
0
103
Member Avatar for Member 785440

[CODE]Private Sub Command1_Click() Dim rs As ADODB.Recordset Set rs = New ADODB.Recordset rs.Open "select *from Payroll", Cn, adOpenDynamic, adLockOptimistic rs.AddNew rs!Date = Text1.Text rs!Emp_ID = Combo1.Text rs!EmpName = Text2.Text rs!Father_Husband = Text3.Text rs!Designation = Text4.Text rs!PANNo = Text5.Text rs!PF_PENNo = Text6.Text rs!HRA = Text7.Text rs!Basic = Text8.Text rs!TA = Text9.Text …

Software Development visual-basic
Member Avatar for kinwang2009
0
1K
Member Avatar for theprogrammer19

Hi ALL =) hope all of u will be right I have been visiting this site constantly and I learned a lot from him, this is the first production in the Java language to me I hope that you like. this is my First Program in java language i hope …

Software Development java
Member Avatar for ~s.o.s~
0
210
Member Avatar for Brian Perrigan

[CODE] #include <iostream> #include <string> #include <sstream> using namespace std ; int main () { char promptisbn [] = "Plese Enter 10 Digit ISBN" ; string isbn ; int x = 0 ; char buffer[1024] ; cout << promptisbn << endl ; cin.getline ( buffer, sizeof(buffer), '\n') ; isbn = …

Software Development c++
Member Avatar for Brian Perrigan
0
151
Member Avatar for Agni

Hi, I have always been a little confused about inline/non-inline virtual functions and got a little more confused when I read this in a book: According to the book the code below will fail to link on many systems(it gave no errors on mine, g++ 4.4.1). The explanation is "Even …

Software Development c++
Member Avatar for mrnutty
0
653
Member Avatar for tiscood

Hi all, New user here using VB .Net 2008 I seem to be having trouble getting group boxes to appear when I click a radio button. For example: [CODE] If radiobutton1.Checked Then Groupbox1.Visible = True Groupbox2.Visible = False Groupbox3.Visible = False Groupbox4.Visible = False End If[/CODE] This indeed brings up …

Software Development vb.net
Member Avatar for markrtc
0
225
Member Avatar for imag1ne

Hiya, I need to make a game for my cs class. My game is the word find game and it plays like this: You are given a long word like "antidisestablishmentarianism" and your goal is to find as many words in to word given as possible. My program will save …

Software Development java
Member Avatar for Taywin
0
189
Member Avatar for imag1ne

My objective is make a game program for my cs class. So my game is like this: You input a word and then input another word which starts from the last letter of the first word. The program check if the word has been used before and if the last …

Software Development java java-swing
Member Avatar for Taywin
0
148
Member Avatar for veekay123

Hi..........I am trying to create a simple text file compressing tool in c sharp? Can anyone give me the code for a simple algorithm implemented in c sharp? I have already used MSDN code using System.IO.Compression but i need something else. It shud be simple and compress a text file.....Can …

Software Development algorithm
Member Avatar for Diamonddrake
0
74
Member Avatar for WargRider

Hey, well I have this problem, I am making a game in Java and it is getting really far. If anyone saw my last problem, that is resolved and I finished my networking code. Here is the problem, to start a new game window in my code, one would write …

Software Development java
Member Avatar for NormR1
0
104
Member Avatar for jugosoft

I'm writting program in VB 2010, but I have a problem. I want to draw a temporary line on PictureBox control MouseMove event. That works fine but deleting of that line doesn't work. I tried to draw the white line on the same coordinates (PictureBox's background is white), but won't …

Software Development vb.net
Member Avatar for ÜnLoCo
0
2K
Member Avatar for insanely_sane

Alright. So I have a Macbook Pro. I also know a bit of c++. I want to know how to draw simple shapes. You know, rectangles, circles and stuff. Like in java (while using console) you can do c.drawRect and stuff? Same way.. is there something or some way to …

Software Development c++ ide
Member Avatar for ramox
0
335
Member Avatar for seemant gupta

is there any book from which i can learn net beans

Software Development java
Member Avatar for theprogrammer19
0
127
Member Avatar for Jackie91

someone help me pls...The 'Add' works fine..but when i try to open it,my full name didn't show completely , such as 'Jack Sparrow' = 'Jack'.. help me pls. #include<fstream> #include<iostream> #include<string> using namespace std; void main() { string name; int age; int options =0; char filename[20]; while (options!=3) { cout …

Software Development c++ ios
Member Avatar for Jackie91
0
76
Member Avatar for sadhawan

Hi guys i have java scripts as follows His acquaintance with Elizabeth was very trifling.&quot;</p>\n<P class=&quot;Sx0x1&quot;>&quot;To be sure, Lizzy,&quot; said her aunt, &quot;he is not so handsome as Wickham; or, rather, he has not Wickham's countenance, for his features are perfectly good. But how came you to tell me that …

Software Development java regex
Member Avatar for sadhawan
0
154
Member Avatar for soumya_mjmder

Hi guys..i have a XML: <?xml version="1.0" ?> <EmployeeDetails> <Employee EmployeeName="Johnny" EmployeeId="209007" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> <Employee EmployeeName="JohnnyDepp" EmployeeId="78452" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> <Employee EmployeeName="JohnnyStechhino" EmployeeId="45678" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> <Employee EmployeeName="JohnDoe" EmployeeId="45981" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> <Employee EmployeeName="Soumyadeep" EmployeeId="12345" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> </EmployeeDetails> …

Software Development java xml
Member Avatar for NormR1
0
4K
Member Avatar for tkms

I have a piece of client software which sends an HTTP POST request asynchronously using a "chunked" transfer encoding ($ENV{HTTP_TRANSFER_ENCODING} is "chunked"), which I'm utterly unfamiliar with -- and unfortunately I can't change the client specification. I need to write a simple server script to receive the client's chunked data, …

Software Development client-server perl
Member Avatar for scrappedcola
0
500
Member Avatar for joe_ojah

Hi everyone I am making a system where i have to refresh the database after updating it. I am using a JTable and a mysql database, but i have to close down the application so that the updates can be implemented.Is there a way of refreshing the connection session, or …

Software Development java mysql session
Member Avatar for JoshuaKissoon
0
330
Member Avatar for Graham Morley

Is there a good way to make vba code secure other than using a password, which I understand is quite easy to break?

Software Development visual-basic
Member Avatar for Graham Morley
0
95
Member Avatar for Huntondoom

hey, I have tried many methods to save my datagridview contents to a file but with no luck does anybody have a good method for xml to datagridview, datagridview to Xml, or any other methods to read/write a datagridview

Software Development vb.net xml
Member Avatar for ÜnLoCo
0
104
Member Avatar for saransh60

hi i want ask how things get copied when i assign one object s1 to the another object s3(s3=s1)of the same class string in the following given example,also tell why constructor 1 needs to be initialized like str[0]='\o' ..thanks in advance [code]#include<iostream.h> #include<string.h> #include<conio.h> const int max=80; class string { …

Software Development c++
Member Avatar for sfuo
0
146
Member Avatar for GrimR7529

Hi, I am having throuble resetting my textboxes to nothing if the selection in the listview is nothing. I.e. when i select a record my textboxes are updated with teh selected data, but if nothing is selected after something is selected I would like to clear the textboxes to blank …

Software Development listview vb.net
Member Avatar for tungnk1993
0
123
Member Avatar for lefraso

I would like to design a programm in visual basic.net meet the following requirements: Fibonacci numbers Input limit is 15 Numbers are 0 1 1 2 3 5 8 13 The program must allow input limit Display all generated Fibonacci numbers The sum of all the Fibonnacci numbers Anyone who …

Software Development display vb.net visual-basic
Member Avatar for mnmw
0
218
Member Avatar for linziza

Hello Everyone, I am working on this [URL="http://www.ibm.com/developerworks/opensource/library/os-eclipse-stlcdt/#author1"]Eclipse development tutorial from IBM[/URL]. I had already installed Eclipse prior to finding this tutorial and had installed MinGW instead of Cygwin. But other than that change, I followed the "Lottery" programming tutorial precisely until I got stuck at the Running the Program …

Software Development c++
Member Avatar for Fbody
0
112
Member Avatar for GrahamAddy

The solution to my problem is probably very simple, but I am having great problems solving it. I have a [B]MainWindow[/B] Class calling a [B]Dialog[/B]. I send the contents of a list from a loop to the Dialog lineEdit for a user to accept or change as required and return …

Software Development python tkinter
Member Avatar for GrahamAddy
0
1K
Member Avatar for fenerista

there is a string like [CODE] 0123456789 string a = "25 + 5.6 - (54 - (-61))" a[0] = 2 a[1] = 5 2 = 3 = + 4 = 5 = 5 6 = . 7 = 6 8 = 9 = - 10 = 11 = ( 12 …

Software Development c++
Member Avatar for fenerista
0
120
Member Avatar for csmgsarma

Hi all, Here is a code snippet that is bugging me off for a while: [CODE] #define size (20 * 1024) unsigned char data_base[size]; /*my application here*/ ......... ......... ......... ......... [/CODE] The global variable "data_base" as you can see is uninitialized. The executable size was 434KB. when this variable …

Software Development c
Member Avatar for gerard4143
0
1K
Member Avatar for adaniel058

I would like to create a battleship game in C++. I have the game working but I cant really decide how to determine what positions make up a ship. My game board is a 15 x 15 so, for example: 0000000000000010 0000000000000010 0000000000000010 0000000011000000 0001000000000000 0001000000000000 ect.... So what I …

Software Development c++
Member Avatar for Silvershaft
0
177

The End.