132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kartik07

I know how to pass a single text from one form to another form 1- declare a public variable in the general part of the form like this [B]public varaiableName as String[/B] 2- in the [B]form_load()[/B] write [B]variableName=text1.text[/B] 3- you can access this variable from any other form using the …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
142
Member Avatar for emilio

hi i'm trying to write program to create a mirror print of a binary tree the code is : [CODE]typedef struct Node { int info ; struct Node *left , *right ; } Node ; void swapNode ( Node *n1 , Node *n2 ) { Node *tmp = NULL ; …

Software Development c
Member Avatar for emilio
0
96
Member Avatar for gjain81

Hi I want code to find out the crc32 checksum of a string in c# that should follow the zip algorithim of this crc32 methodology. Could not find any freakin code out there using google :( Can any one help?

Software Development
Member Avatar for gjain81
0
153
Member Avatar for raniajay

program to print all special numbers less than a given number (a number is special if it is equal to the sum of factorials of digit)

Software Development c c# c++
Member Avatar for rajatC
0
101
Member Avatar for jcstier

I'm working with winmm.lib (in C++) and am having a hard time with waveInOpen(). When I call waveInOpen() in my dll, it blows up. I think it's becasue its not getting a device context. I take the same code and put it in a regular exe... it works fine with …

Software Development c++
Member Avatar for Salem
0
757
Member Avatar for eranga262154

Hi all, I've create a window as follows, [CODE=cplusplus] void CRtf::Initialize(void) { HWND m_hwnd_RTFBox = CreateWindowEx( WS_EX_APPWINDOW, RICHEDIT_CLASS, "RichTextWindow", WS_BORDER|ES_MULTILINE, 0, 0, 100, 100, ::GetConsoleWindow(), NULL, 0, NULL); } [/CODE] After doing all the process, I've destroyed the window as well. My question is this. I use the above handler …

Software Development c++
Member Avatar for eranga262154
0
105
Member Avatar for Archimag

Ale Hallan people.. I have something like this: [CODE]void main(){ int flag=1,exit=1; cla_N *head=NULL; char class_name[NAME_LENGTH],choice[1]; double diversity; while (exit) { printf("Please choose one of the options below:\n" "1- Create/update class. \n" "2- Delete class. \n" "3- Insert new species. \n" "4- Delete species. \n" "5- Update species. \n" "6- …

Software Development c
Member Avatar for n.aggel
0
124
Member Avatar for benshums

Aight, so I know I just posted a few hours ago but I promise that after this bug I'll not posted for a couple of days... or weeks. Aight, so I have two classes -> Connection, and SocketServer (which is inside of "socket.h" and "socket.cpp"). Inside of Connection.cpp, the code …

Software Development c++ opengl visual-studio
Member Avatar for benshums
0
133
Member Avatar for GRaymer

Just wondering if anyone has experience with wxPython. I've been looking for info about the spinButton I want to increment it at 5's or 10's just wondering if anyone has some quit hints or info. Thanks

Software Development python
Member Avatar for vegaseat
0
84
Member Avatar for raniajay

i have tried to do the pascals law in the following method .....bt i m not getting a triangle shape.could someone help me out in this tight Spot?? here is the code what i have typed... [code=c] #include<iostream.h> #include<conio.h> #include<iomanip.h> long TRIANGLE(int x,int y); int main() { clrscr(); int lines=0,n; …

Software Development c c# c++
Member Avatar for Jishnu
0
158
Member Avatar for wijitha

hi all.... In c++ how to convert integer value to hexadecimal (in ANSI-C ). wijitha...

Software Development c++
Member Avatar for Jishnu
0
120
Member Avatar for sakthi123

Hi All, Can any one help me.When I converting String to long ,It shwoing Exponent value and throwing numberformat exception. I want out put like this 99998900001.00. String stotal=request.getParameter("amt"); sop( stotal); long damount=Long.parseLong(stotal); sop( damount); I have given input at amt 99998900001.00 stotal= 99998900001.00 throw numberformateexception damount = 9.9998900001E10

Software Development java
Member Avatar for mickinator
0
113
Member Avatar for jimmy.rocks1

could anyone tell me any good books on multithreading in c++ thanks

Software Development c++ multithreading
Member Avatar for jimmy.rocks1
0
84
Member Avatar for rcadble

Hello, I am trying to have a sub repeat an action every so often (happens to be a random timing) and my program freezes when I try to sleep the thread. Below is a general structure of the sub the thread is executing. Any possible solutions? I do NOT want …

Software Development vb.net
Member Avatar for rcadble
0
300
Member Avatar for Thunder_1024

Hello everyone, I am making a Fortune Teller program for a University project, and I am a little confused as to why I keep getting this error when i try to compile. Here is my code: public class Fortune { private int insertNumber; private int showFortune; /** * Constructor for …

Software Development java
Member Avatar for Thunder_1024
0
252
Member Avatar for mcham

Basically I'm having difficulty figuring out what to return to a function. Here is my problem: I have a class called Zoo that contains Animal objects in an array of pointers called cages e.g.. [CODE]class Animal{ double weight; double height; double speed; double power; Animal(){} }; class Zoo{ Animal ** …

Software Development c++
Member Avatar for Lerner
0
112
Member Avatar for guy40az

I am a new to linux and the gcc system I was just wondering if someone could answer a couple of questions about the including hearder files like the math.h file. I was making a simple program and using some math trig functions. I keep getting the error cosf undefined …

Software Development c++
Member Avatar for Salem
0
176
Member Avatar for VanithaGopi

Hi , i am very new to C++ , OOP concept. I am making a bookstore using classes and have made it till books details ( tat is for ex. 10 books aval and when the user searches fo particular book he gets the detail with price and aval copies) …

Software Development c++ oop
Member Avatar for Lerner
0
81
Member Avatar for Karkaroff

Please help me in self documenting the program below. All you have to do is, take a quick glance at the following code to see if you can understand what each part is doing. If you have any difficulty in understanding(at a quick glance that is!), please tell me, so …

Software Development c++ ios queue
Member Avatar for Karkaroff
0
251
Member Avatar for limac

hi, i am basically a newbie to C++ and tried to make this simple math program but came acroos this error and don't know how to resolve it: [code=c++] #include <iostream> #include <cmath> #include <string> using namespace std; int main(void) { string input = Add; int a, b; cout << …

Software Development c c# c++
Member Avatar for Rippie
0
268
Member Avatar for ongxizhe

I'm making a Windows Application in C#. How to [B]navigate from one form to another[/B] and [B]not losing data(s)[/B] from the previous form? For an example, I created [B]Form1[/B]. In Form1, there's [B]textBox1[/B] and [B]button1[/B]. By clicking [B]button1[/B] links you to [B]Form2[/B], and after [B]Form2[/B] is shown, text from [B]textBox1[/B] …

Software Development
Member Avatar for ongxizhe
0
124
Member Avatar for zoner7

I started using the tutorial "Teach Yourself C++ in 21 days" yesterday, and I absolutely love it's clarity. However, there is one thing that perturbs me about it. All of the code written in the code is numbered. This is a great feature until I want to try running the …

Software Development c++
Member Avatar for Jishnu
0
184
Member Avatar for pdwivedi

[COLOR="Green"]i want to take data from serial port and want to redirect it to the ps/2(keyboard) port. is it possible to do so if yes please help. [/COLOR]

Software Development c
Member Avatar for Ancient Dragon
0
184
Member Avatar for pavitragupta

like i have a string ch[100] how can i convert each character of it to integer that is ascii value which can be later converted in to binary so that ascii value of each character in a string has a corresponding binary value

Software Development c
Member Avatar for Jishnu
0
142
Member Avatar for kv79

HI, can anyone write me some about decompile for C/C++.Is it possible to decompile ( .exe).

Software Development c
Member Avatar for Jishnu
0
81
Member Avatar for rohitnegi09

how to get value from datatable from text box.actually i want to fetch values of textbox from datatable.

Software Development
Member Avatar for rohitnegi09
0
91
Member Avatar for gireeshb22

Hi all, I need to develop a application in vb 6.0 for to split one file which one have 20GB . Any body can u help me on this?. If any body have any sample project on this please send to me. Thanks

Software Development visual-basic
Member Avatar for gireeshb22
0
98
Member Avatar for atrusmre

How would I replace the text in a file with c#. I can write to the file, but if I write to the file a second time it appends the new data to the old rather than replace it. Here is a copy of what I'm using [code] fsFile = …

Software Development
Member Avatar for DenisOxon
0
156
Member Avatar for pavitragupta

Can any body please tell me code of Simplified Data Encryption Standards in C language

Software Development c encryption
Member Avatar for Salem
0
422
Member Avatar for sivaslieko++

I am writing a Queue class implementation, and my Queue holds a object called Flight. I tried to create this object by struct. Some part of my code is here: [code=c] #include <stdio.h> #include <stdlib.h> typedef struct { int C_TIME; int D_TIME; char FL_NUM; char D_CITY; }Flight; #define MAXSIZE 5 …

Software Development c queue
Member Avatar for Duoas
0
190
Member Avatar for Byron P

I posted a question last week: "Detect Data change in datagrid". I may be so green at VB.net that I may not have even asked my question correctly and plain enough that someone could propose a solution, so here goes again: I am creating a Windows Form and I need …

Software Development vb.net
Member Avatar for Byron P
0
110
Member Avatar for pikkas

i want this window to be like this CYP BANKING SYSTEM username [_________] password [_________] LOGIN can anyone help me with the layout?, the flowlayout is just a single row! [code] Container logincontainer=getContentPane(); logincontainer.setLayout( new FlowLayout()); JLabel Title=new JLabel("CYP BANKING SYSTEM"); Title.setFont( new Font( "", Font.BOLD, 40 ) ); JLabel …

Software Development java
Member Avatar for rajatC
0
88
Member Avatar for bobei89

Please help me... after the execution of the program. It write the new information to it. However, the .txt file do not display the new information properly. (The index number stick with the name...). It is a half work program. Please help me solve this problem or else i cannot …

Software Development c display file-system perl
Member Avatar for bobei89
0
680
Member Avatar for alsoumhi

Hi guys hope you fine I have a request and question, for my request I would like from you to recommend me which books and tutorials that I may follow help me to understand how to read and write files in java I really need to know that. and for …

Software Development java
Member Avatar for iamthwee
0
151
Member Avatar for Ole Raptor

i am attempting to retrieve a registry setting and set this in a global variable. I have tried to research this problem but havent found much. this is the code: [code] Module Info Friend m_Server As String Public Sub getserver() Dim sRegKey As RegistryKey = Registry.LocalMachine sRegKey = sRegKey.OpenSubKey("software\\Normans Professor …

Software Development vb.net
Member Avatar for Ole Raptor
0
293
Member Avatar for Loreto

i need help with a project. Is it possible to display an 1 dimension array in GUI without using a loop? If it is can you send me the codes? i was ask to enter the numbers like thise Example: Enter numbers: 3, 4, 1, 5, 6 then it should …

Software Development gui java
Member Avatar for darkagn
0
117
Member Avatar for bis student

hello ,Im a new member and Im not very good in english , so please excuse me , I have question : write a C++ program that declares an array alpha of 50 component of type double . Initialize the array so that the first 25 components are equal to …

Software Development c++
Member Avatar for invisal
0
4K
Member Avatar for sa-al

hello i have wrote a program that converts a statement to sth like the example below please help me: (9*(1+(3*8)))+(1+(4*5)) into: 9 1 3 8 * + * 1 4 5 * + + [code=c] while((c=getch())!='\0'){ /*i dont know whether it is true or not*/ if(c=='('){ co[k]=1; k++; break; } …

Software Development c
Member Avatar for invisal
0
116
Member Avatar for silent_letter

I am a new learner of C and I tried to write a program about searching a keywrod from a .txt file and counting the number of time that the keyword repeats My program is below...it can't work...and I can't understand why.... can someone please help me...T_T Thank you [CODE]#include<stdio.h> …

Software Development c
Member Avatar for silent_letter
0
164
Member Avatar for nljavaingineur

Hi everyone, Found a code listing from [url]www.yamaza.com/java/Calc.java[/url] that helps me understand a better way of programming a calculator. Trying to understand this code. Can anyone tell me what does the boolean isFixReg() below mean? Thanks in advance. [code=java] //******************************* // Java script of Calculator // << Calc.java >> //=============================== …

Software Development java
Member Avatar for Jishnu
0
262
Member Avatar for rayben

Hi guys, I need some help here to generate a list of multiple choice questions (MCQ) from SQL server 2005 on to a smartphone running on WM 5.0. I've manged to connect to the SQL server wireless in a LAN environment and done some simple login. The next thing I …

Software Development smartphone
Member Avatar for blacklocist
0
89
Member Avatar for complete

I have written my first "Hello World" program in ASP. I thought I would post here how it is done and ask if anyone can suggest how to incorporate C#. The first step was to download the free "Microsoft Visual Web Developer 2005 Express Edition" from microsoft.com The next step …

Software Development asp asp.net c# web-server
Member Avatar for blacklocist
0
196
Member Avatar for bcm

How to know the configuration of the computer in VB.NET

Software Development vb.net
Member Avatar for waynespangler
0
72
Member Avatar for sara_84

[code=c++] #include <iostream> #include <string> #include <algorithm> #include <vector> #include <set> #include <map> using namespace std; class transition // an entry in 'alpha' transition_table { public: transition(string from_state, char input_symbol, string to_state) {from=from_state; input=input_symbol; to=to_state;} static bool smaller(transition a, transition b) { if(a.from<b.from) return true; else if(a.from>b.from) return false; else …

Software Development algorithm c c++ file-stream legal
Member Avatar for hkdani
0
184
Member Avatar for sneekula

I want to make a small Molecular Weight calculator. If the user for instance enters the molecular formula for dichloro-benzoic acid as "C6H3Cl2COOH", I would like to split it into a list like ['C6', 'H3', 'Cl2', 'C', 'O', 'O', 'H'] so I can then combine all the carbons, chlorines, oxygens …

Software Development python
Member Avatar for sneekula
0
118
Member Avatar for tootypegs

Hi, basically i was wondering if there was anyway of directly accessing and writing to a harddrive? for example i have a specific sector on my harddrive which i would like to directly insert some code? does anyone know of any C++ functions or commands to do this? thanks

Software Development c++
Member Avatar for Ancient Dragon
0
120
Member Avatar for deadskunk

Hello, I am trying to create a form in C# that will get its buttons configured from a xml file. Here is a sample of my xml file: <?xml version="1.0" ?> - <LauncherConfig> - <GeneralOptions> <Name>FORM_NAME</Name> <BackgrounColor>Gray</BackgrounColor> <PercentOpaque>50</PercentOpaque> <StayOnTop>True</StayOnTop> <Orientation>Horizontal</Orientation> </GeneralOptions> - <Group1> <GroupName_Lable>GPS/Mapping</GroupName_Lable> <Horizontal_Number_Rows>1</Horizontal_Number_Rows> <Verticle_Number_Columns>1</Verticle_Number_Columns> - <Button1> <ButtonLabel>OZI</ButtonLabel> <UnselectedButtonTextColor>FFFFFF</UnselectedButtonTextColor> …

Software Development xml
Member Avatar for Ramy Mahrous
0
170
Member Avatar for maori

Hi Guys i'am trying to learn text file manipulation and i've got a problem with one particuler subject and unsure of how to acchive what i need the text file contains lines in this format Name0 1 2 3456 7 8 9 10 "discription" Name1 1 2 3458 7 8 …

Software Development c++
Member Avatar for Ancient Dragon
0
154
Member Avatar for Ole Raptor

Hello, I am having an issue trying to add a checkbox field to my DataGrid. I have the following Code but it does not display my checkbox. Any help is greatly appreciated. [CODE=VB.NET] Dim myconnection1 As New SqlConnection(myconn) Dim dtcCheck As New DataColumn("Select") dtcCheck.DataType = System.Type.GetType("System.Boolean") dtcCheck.DefaultValue = False Dim …

Software Development vb.net
Member Avatar for ptaylor965
0
142
Member Avatar for raghu.8

hi i want to populate country's name in 1st dropdownlist and their states should be placed in the 2nd dropdownlist, if we select any state it should place the name of the capital in the textbox besides that and so on..... If possible send me code thank you in advance …

Software Development
Member Avatar for waterfall
0
221

The End.