132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for no1zson

After my poor showing yesterday I was ready to quit, but I decided this morning I would rather feel dumb than feel like a quitter, so here I am. I coded this last night thinking if it worked great, if not then I would just drop it. Well it worked …

Software Development file-stream java
Member Avatar for no1zson
0
142
Member Avatar for krnekhelesh

I need to what are forks and where we use them in C++. Are they essential????

Software Development c++
Member Avatar for Salem
0
245
Member Avatar for tgifgemini

Good morning everybody. I need a quick direction here. A column ("Comments") in my spreadsheet that is is supposed to have text values is displaying: "#VALUE!" Note: my input data is coming from an access query. The underlined Below is the data in the "Comments" field in the query (recordset): …

Software Development visual-basic
Member Avatar for tgifgemini
0
157
Member Avatar for lnarayanan

Hi, Please reply with the [B][B]code[/B][/B] which would generate a Unicode file from a CSV ( Comma Seperated File) given as input. Thanks, LakshmiNarayanan

Software Development java
Member Avatar for jwenting
0
75
Member Avatar for tgifgemini

Hello all, I am trying to populate a spreadsheet with data from access query. Even though the recordset(input file) has approximately 49 records, only 1 record is written on the spreadsheet. What am I doing wrong? Below is my code: [code] Set rsin = M.DB.OpenRecordset("qBiWeeklyPeriodCombined", dbOpenDynaset) If rsin.RecordCount < 0 …

Software Development visual-basic
Member Avatar for tgifgemini
0
145
Member Avatar for Allan03

I can't find way to compare two dates (SYSTEMTIME). I need to know if the date1 is greater than or equal to date2. Thnx in advanced...

Software Development c++
Member Avatar for Ancient Dragon
0
832
Member Avatar for asilter

BulkData structure is this: [code] #define MAXSIZE 64 typedef struct bulk_data { char data[MAXSIZE]; struct bulk_data * next; }BulkData; [/code] In my program, I'm mallocing a pointer in 16 bytes: [code] BulkData * bdWaitingToBeCopied = malloc(16); bdWaitingToBeCopied->next = NULL; [/code] So, is this a overflow? And another question: if it …

Software Development c data-structure
Member Avatar for Ancient Dragon
0
123
Member Avatar for plusplus

I want only an icon to show when my form is minimized. How would I do that?

Software Development visual-basic
Member Avatar for QVeen72
0
180
Member Avatar for rainbow78

here what I got and I keep getting a error because of the "string names[];" these were my guide lines and I'm getting confused //declare an array of datatype string //call it names[] //declare a function dataEntry that takes a string array as input void dataEntry(string arr[]); //implement the function: …

Software Development c++
Member Avatar for spider_pig
0
99
Member Avatar for drexlus

I am new to Python and, in fact, I have limited programming experience in general. I am attempting to create a web form that our HR employees can use to add new employees into Active Directory and to create a mailbox for that user. AD is on a WIN2k server …

Software Development client-server python storage web-server
Member Avatar for katharnakh
0
1K
Member Avatar for zandiago

ASSGINMENT #1 Accounting teachers, being naturally inept with numbers, have a difficult time calculating students’ averages and assigning letter grades at the end of each semester. Your accounting teacher is no exception. To make this end of semester grading easier, and more accurate, he hires you to write a program …

Software Development c++
Member Avatar for zandiago
0
2K
Member Avatar for Arctic wolf

Hello, I made a program that uses a random number generator, my generator looks like this: [code] void randomize () { srand((unsigned)time(NULL)); } int random (int highest) { int randomnum; randomnum= int(highest*rand()/(RAND_MAX+1.0)); return randomnum; } [/code] here is the piece of code that calls the generator: [code] int first,second; randomize(); …

Software Development c++
Member Avatar for Bench
0
162
Member Avatar for no1zson

I have 3 things left I want to do to this app, I saved the hardest for last ... now I am wondering why. First is a search button. I want to be able to Search on my cd name field. I have been reading and playing with this since …

Software Development gui java java-swing
Member Avatar for no1zson
0
3K
Member Avatar for Dij

Hey guyz!!! Wel i am a new user on this site....and m kinda needz advice fer learning this c++. I am a totaly new to the concept of C++ and have no previous knowleadge of C or any other programing language..... Now since I have no idea what c++ or …

Software Development c++
Member Avatar for jbennet
0
93
Member Avatar for bops

Why is it that in my commctrls.h some things such as using CDIS_SELECTED (used to determine state of control when custom drawing) I can't use. The compiler says that i.e. CDIS_SELECTED undeclared first use this function. [code] #if (_WIN32_IE >= 0x0300) #define CDIS_CHECKED 8 #define CDIS_DEFAULT 32 #define CDIS_DISABLED 4 …

Software Development c++
Member Avatar for Ancient Dragon
0
519
Member Avatar for lnarayanan

Hey, Can someone please assist me with these tasks? 1. Generate Unicode file from the CSV file (attached) 2. Parse a Unicode file and convert to ASCII 3. Compare two unicode files and generate a line by line comparison report Thanks.

Software Development java
Member Avatar for jwenting
0
74
Member Avatar for vinutha1309

Hi.. I am developing an internal messenger where i need to prepare documentation .so can anyone help me ASAP......... Thanks n Regards

Software Development java
Member Avatar for jwenting
0
119
Member Avatar for carlster5000

im pretty new to vb6. i have two problems with my calculator. first, when i divide by zero the calculator does not show the error message i have set it show, instead it shows 0. my second problem is that after i click the equal sign, and click a number, …

Software Development visual-basic
Member Avatar for carlster5000
0
217
Member Avatar for tgifgemini

Hi all, I need some input from you smart folks. I am populating an excel spreadsheet. Each time, I want to clear the spreadsheet content before repopulating it. I am using the codes below and it is clearing the first 3 rows in the spreadsheet and every other data stays …

Software Development visual-basic
Member Avatar for tgifgemini
0
160
Member Avatar for Friendly Shark

How do I insert an Excel file into VB 6. I need to be able to view the file in a seperate form. I know the coding to change the forms is [code]Form1.Hide Form2.Show[/code] And I read a previous thread before on these forums that gave me the coding to …

Software Development visual-basic
Member Avatar for QVeen72
0
86
Member Avatar for DeathEvil

This is the final mini step I need to do before my program is complete. a line has 85 chars from begining to end. I want to start the line with an *and end a line with a *. The problem is, that I don't know how long the ref, …

Software Development c
Member Avatar for DeathEvil
0
122
Member Avatar for quintoncoert

hi. can someone tell me if there is some way to open or start execution of a program by typing in some sort combination of keys on the keyboard? For example if I have a program called program.exe and it is stored on the hard-drive is it possible to start …

Software Development c++ hard-drive
Member Avatar for quintoncoert
0
191
Member Avatar for kishorJagtap

Dim conn As New SqlConnection(connstr1) Dim sql As String sql = "Select * from address1" 'Dim da As SqlDataAdapter Dim cmd As New SqlCommand(sql, conn) conn.Open() Dim ds As New DataSet() da = New SqlDataAdapter(sql, conn) da.Fill(ds, "Address1") maxrows = ds.Tables("Address1").Rows.Count inc = -1 conn.Close() 'If next_record <= maxrows - …

Software Development dataset display vb.net
Member Avatar for arjunsasidharan
0
153
Member Avatar for naglayas

please help me on how to search using vb 2005 to sql server 2005 and how to load and save an image to the database tnx.

Software Development vb.net
Member Avatar for Baskar_engg
0
89
Member Avatar for faizalms

Guys, I'm quite new with awk and wanna do something like this: let say i have a file with this content : aaaa,bbbb,cccc,dddd and i wanna do an insert of " " only on the third column. and the output to be like this : aaaa,bbbb,"cccc",dddd fyi, the file contains …

Software Development shell-scripting
Member Avatar for faizalms
0
127
Member Avatar for bops

Hey, I have a ListView control in a dialog box that I want to have alternating row colours but obviously account for when a row is highlighted. This is my attempt so far but all I get is a blank looking listview, but I know the values are inside of …

Software Development c++ listview
Member Avatar for bops
0
313
Member Avatar for Ptarila

why do these two programs have different outputs when you run em...i've been tryin to figure it ...all morning [code=cplusplus] FIRST PRORAM //---------------------------------------------------------------- #include <windows.h> //#pragma hdrstop //-------------------------------------------------------- //#pragma argsused //-------------------------------------------------------- const char *ClsName="FundApp"; const char *WndName="Resouces Fundamental"; LRESULT CALLBACK WndProcedure(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); //------------------------------------------------------------------------------------ INT …

Software Development c++
Member Avatar for Ancient Dragon
0
110
Member Avatar for Ptarila

how do i build a graphical user interface in visual c++

Software Development c++ user-interface
Member Avatar for Ancient Dragon
0
111
Member Avatar for coco86

i have a prob, when the report is written in a notepad, i can only click on stop button then click play again to stop the the report to write in a sequence .... need help on it how to break the sequence without pressing the stop button.... C:\Documents and …

Software Development visual-basic
Member Avatar for AV Manoharan
0
138
Member Avatar for elanch

hi friends! I'm new to both vb and dataAccess. Now i have created a form in data-access. I need the datas entered in the form to be appended in the access-Table when i click the save button. For eg: Roll NO : Txt box Name : Txt box Sex : …

Software Development visual-basic
Member Avatar for manoshailu
0
206
Member Avatar for asilter

[code] RadarData * rd = NULL; rd = GetRadarData(sFileName); /* Here the debugger says that : rdp->llBdContent.bdContent.next = 0xa13f080. This is ok,but... */ CreateHVFERadarBUFR(&rd); [/code] GetRadarData is here: [code] RadarData * GetRadarData(char * sFileName) { short int nRadarSubtypeInFile; short int nRadarTypeInFile; /* Radar Data Structure */ RadarData rd; /* Radarin …

Software Development c data-structure
Member Avatar for asilter
0
130
Member Avatar for FilteR

When i type in a string consisting of numbers and signs for example: 12 + 3 how can i split it and how can i convert parts of the string into integers? been searching in the web for 2 hours didnt find anything apropreate :(

Software Development
Member Avatar for subburaj.r
0
175
Member Avatar for DeathEvil

Let's assume that the 100th user inputs his name as: Jackson Michael. I would like my prog to print to the file the reference, which would be combining the first letter of the lastname with all the consonants remaining after removing all vowels (a,e,i,o,u). in case of Jackson it would …

Software Development c
Member Avatar for DeathEvil
0
135
Member Avatar for khalidxa

I have been trying to return a two dimensional array in a function but it is getting me no where, please tell me how to do it. the code is as follow : [CODE] int *population();[/CODE] [CODE]int *testCase::population() { for(int i=0;i<3;i++) { for(int j=0;j<2;j++){ matrix[i][j]=rand()%2; } } return matrix[0][0]; }[/CODE] …

Software Development c++
Member Avatar for Salem
0
174
Member Avatar for dmotah

i use this in a form dim alt_date as boolean ....code.... alt_date=false end now i want this alt_date value to be saved and go on to the next form, but by default, it always remains false, even if i change it to true in the previous one. how ken i …

Software Development visual-basic
Member Avatar for QVeen72
0
109
Member Avatar for guru511

hi, can you plz tell me how to use marquee in vb6

Software Development visual-basic
Member Avatar for QVeen72
0
150
Member Avatar for jerryseinfeld

Hi....... I have a complicated homework...... I have a data which is csv file. I have to take this data from csv file and do sum calculations on these data's elements. But my problem is I cant take data from csv file to do this... I can take data from …

Software Development c++ data-structure file-system
Member Avatar for vijayan121
0
497
Member Avatar for ayk-retail

I have this lab from a C++ class that I can't get to work... Write a function containing a simple sort program that will sort an array of integers by using the stack class (as used in Ex_10). The array (pointer) and its length should be passed to the function …

Software Development c++
Member Avatar for ayk-retail
0
140
Member Avatar for ayk-retail

I am trying to figure out how to sort an array with a stack class. The array (pointer) and its length should be passed to the function as parameters so that the original will be sorted. The array created in main() should contain a maximum of 20 integers which should …

Software Development c++
Member Avatar for iamthwee
0
159
Member Avatar for nubbie

double a,b; cout<<"Enter Value"; cin>>a>>b; jus a simple program...whenever a character is Key in ..the program error.i know is because of the double only for integer.how can i edit it so that it will return me a cout<<"U have to enter a integer"; when character is enter. anyone can help …

Software Development c++
Member Avatar for WaltP
0
122
Member Avatar for bumassjp

I will simply provide my .bat file in hopes that someone can guide me in the right direction. I have been given several tips and hints, but no one has been able to walk me through this and considering I have never even touched Java before I have no idea …

Software Development java
Member Avatar for bumassjp
0
186
Member Avatar for jaasaria

i have a code here but there something a problemss...please kindly help...!! Private Sub cmd_Click() If Text1.Text = "aa" And Text2.Text = "aa" Then MsgBox "fsdafsafsaf" Else MsgBox "invalid" End If End Sub Private Sub Text2_Change() If KeyAscii = 13 Then cmd.Enabled = True End If End Sub i want …

Software Development visual-basic
Member Avatar for scudzilla
0
89
Member Avatar for GenS

Hello. Apologies if this subject has come up before but much searching hasn't produced anything of any use. I currently have a program which reads data in from a specific file and then processes it etc etc but what I need to be able to do is somehow put a …

Software Development c++
Member Avatar for GenS
0
145
Member Avatar for suneel kar

how to concat two values without concat function???????? is there anyonw who can tell me solution of above problemmmmmmmmmmmmmmmmm

Software Development c++
Member Avatar for Ancient Dragon
0
88
Member Avatar for mooncry

Hi . I'm new to C++ \ programming and i'm reading the C++ Primer plus 5th edition . I need help with following statement : Cout << My name is P \u00 hex hex hex hex " ; for the first , i can't find the ISO 10646 code charts …

Software Development c++
Member Avatar for vijayan121
0
134
Member Avatar for ashok_kumar786

Hello Friends, I have got a program for Checking the number that is it Armstrong or not. and to genrate a list of armstrong no. below 1000. The program is in C++.

Software Development c++
Member Avatar for Ancient Dragon
0
93
Member Avatar for anand_daksh_999

hey guys i got turbo C software but every time i compile a program it says that cant recognise stdio.h,conio.h,iostream.h help thanks

Software Development c ide
Member Avatar for Ancient Dragon
0
83
Member Avatar for RohitSahni

Hi All, Please Help me out with this below mentioned error. [code] librohit.a: undefined reference to `MODEL_NAME' librohit.a: undefined reference to `FT_MODEL' librohit.a: undefined reference to `STOCK_MODEL' librohit.a: undefined reference to `FUTURE_MODEL' librohit.a: undefined reference to `COArgs::COArgs()' librohit.a: undefined reference to `std::strstreambuf::freeze(int)' librohit.a: undefined reference to `RWMutex::wLock()' librohit.a: undefined reference …

Software Development c++
Member Avatar for Ancient Dragon
0
140
Member Avatar for Jupiter247

Hi Guys, I am struggling with a small problem and was wondering if anyone would be kind enough to help... I have to write a program showing (up to 30) of the first Fibonacci numbers in sequence. Unfortunately, my programming skills are fairly poor - and I am having trouble …

Software Development vb.net
Member Avatar for Shahnaz Sheikh
0
849
Member Avatar for t_yalthis

hi everybody In my program I don't want anyone write anything to the text of combobox.. The user could only choose one of the indexes from the list of combobox... how can I do that?

Software Development visual-basic
Member Avatar for t_yalthis
0
101

The End.