132,726 Archived Topics
Remove Filter ![]() | |
Hi I am trying to insert records into a small Dbase file. Whenever I insert it always appends. If I do db.prior; db.prior; (which should be at least 2 records from the end) and do a db.insert, it always appends. I do not want to use an index as the … Software Development pascal | |
can anyone tell me the difference between visual c++ express edition and visual c++ .net? It would apear that they are the same. Both seems to use the dot net framework. Are there any significant differences? And also how do they differ from other types of c++ such as ansi … Software Development c++ | |
Create a class called [B]DateProfile[/B] that has the following private instance members: [LIST] [*][B]gender[/B] - a [B]char[/B], the gender of the applicant.('M' or 'F'). [*][B]search_gender[/B] - a [B]char[/B], the gender ('M' or 'F') of desired partner (this is not the gender of the applicant, but of the applicant's requested partner. … | |
any good tutorials for windows api? online or books Software Development api c++ windows-api | |
Hi Everyone, I have the following function, char* sample1() { char *p = "Israel"; return(p); } //in this case the memory storing india is not destroyed at the end of the function, indicating that it wasn't stored in the stack meant for the function call. However, the following function causes … Software Development c++ | |
Hey All, Threading may not be the answer to this, but here's my current situation. I have a form that I want updated about every 5 seconds. I couldn't figure out how to do this, so I just did a refresh on a button click on that form. However, in … Software Development ![]() | |
hi all, i have a program that 'll take an Ip address from the user and 'll search this IP address in a file. now i open this file in binary mode. the IP address will be in this form 169.254.28.233 shall i convert this address into hex before searching? … Software Development c++ | |
h[I]i all ,[/I] [I]i have a program that read its input from a file in binary mode![/I] [I]now i nead to store this data and to compare it with another data.[/I] [I]which datataype can my input take.[/I] [I]also, the comapred stream is in this form 0004a4900[/I] [I]i made this stream … Software Development c++ file-stream | |
I need to validate the moduleCode by a do...while loop. But my code does'nt exit the loop - Not sure if I did right thing by declaring the string ABC111 before the loop - please help urgently using namespace std; // function inputAndValidate should be inserted here void inputAndValidate(string &moduleCode,int … Software Development c++ | |
HI there, The program which I am working on involves[B] reading XML document and then depending on the input data save the output files(text) in different folders[/B]...can any body tell me where do i find tutorials which can help me in doing this.... I need help .. waiting for response … | |
Kindly please help me on how to make a VB6.0 EXE To run when there is no visual basic 6.0 installed on a computer! Thank you! or what can i do to run a visual basic program to the computer where there is no vb software installed! Software Development visual-basic | |
[code]str1 = 'c:\documents and settings\user\desktop' str2 = 'starcraft.exe' print str1[/code] I would like to know how it would be possible to add str2 to the end of str1 with a "\" inbetween the two strings. so that I end up with "c:\documents and settings\user\desktop\starcraft.exe". Thanks Software Development python | |
How to compare a number stored as string to an integer value in shell scripting? Here is what I have, if [$temp -ge 2.5] then; when I run the above code, it gives the error as "Integer Expression expected". Here the temp variable contains the number "3.0" as a string, … Software Development shell-scripting | |
I need some direction on how to split up code into a .h header and two .cpp files. [code] #include <iostream> #include <cstring> using namespace std; //function for displaying name void DisplayName(char * Name){ cout<<"Name: "<<Name<<endl; //print name on screen } int main(){ char first_name[50]; //static array for holding first … Software Development c++ | |
[code]############################################################################ # # # This program seeks out every copy of "starcraft.exe" in the computer # # and deletes them. # # Created by Matt in Python 2.5 May 2007. # # # ############################################################################ import os def file_find(folder): """search for a filename fname starting in folder""" for root, dirs, files … Software Development python | |
Hi; please check my code i am sure that everything and every statemnt is correct but the output is not true. this code is to show what the array a and b contain also it show their dot product . [CODE] include irvine32.inc .data a byte 1,3,5,7,9 b byte 2,4,6,8,20 … Software Development assembly | |
[code] double M2_0(c,m) double c[160]; double m[16][5]; { int n; int s=0; for (n=0; n<16; ++n) { s = s + c[n+16*0]*m[n][0]; } return s; } [/code] can someone help me! error: c and m was not declare in this scope (this is the error in c++ but in c … Software Development c++ | |
I have a little question to ask. I need to have an defitinition of what mean Inheritance and to have an example. I have the book of C ++ but do not have any proper expanation Software Development c++ | |
can anyone help me where the cin.get(); should be put? i cant view the final output... it was compiled successfully but i cant view the output when it runs.... #include <iostream> #include <cstdlib> #include <iomanip> using namespace std; typedef int Bool; // converts 0 to 'S', 1 to 'M', etc … Software Development c++ | |
Does anyone know which include file is needed for functions; IsLetter (ch) and ToLower(ch) ? Dick Software Development c++ | |
Hello I'm just wondering what kind of practice do I need, because I'm ending with C++ and moving to c#. What do I need to be prepared most and what is the hardest part of learning C# from beggining yours sincerely ! thanks :) | |
[code=cpp]#include <iostream.h> #include <stdlib.h> #include <conio.h> #include <graphics.h> #include <iomanip.h> int i,emonth,eyr,wday,nwday,pmdays,x,y; unsigned int totaldays; int monthd[]={31,28,31,30,31,30,31,31,30,31,30,31}; char* mname[]={"January","Febraury","March","April","May","June","July","August","september","October","November","December"}; int gm,gd=DETECT,mx,my; char*cp,*yrp; int xp,yp,textw,texth,skey; void display_month(); void monthgraphics(); void monthloop(); void process_date(); void yeargraph(); void yearloop(); /*main starts*/ void main() { char choice='v'; initgraph(&gd,&gm,""); while(choice!='e') { cleardevice(); setcolor(1); rectangle(1,100,639,350); rectangle(4,102,637,348); … Software Development c++ | |
Hi everyone, I'm writing a little app for myself in VB1.0 (I like the language, please don't knock it) and it more or less adds buttons into the top-right corner of whatever window is active, like NVidia does. My problem is that these buttons are on a form. In an … Software Development | |
Hi all, I'm a beginner and I tried to write a program to convert celsius into Fahrenheit but i have a problem due to type casting operation. That is even though i explicitly converted an integer to float number I'm getting only integer value . Here's the program : [code]# … Software Development c++ | |
I am writting a program which receives args on the command line. Before they can be used however they must be converted to ints. I am using vc++ express edition and I have tried the _strtoi64 function but I cannot get the parameters to this function right. It is specifically … Software Development c++ | |
Hi all, Please can u tell me what are the method involved in algorithm transforms? since I am working on DSP algorithms and i want to reduce the complexity which are written in c language so please help me to understand what exactly is the algorithm transform means? please give … | |
Hi, I have a problem that happens very rarely. I have a calculation which ads (for example) -15000.00 to 15575.51 and saves the results to an oracle database. However, the reslut in the databse is 575.51000002 Both figures are loaded elsewhere from the database and either have 0 or 2 … | |
Hi, I have used the following code to add a new field to a database. Is there a way to stop this field having a Null value but still keep it empty? [CODE] strSQL = "SELECT * FROM cells ORDER BY cell, Proof;" Set db = OpenDatabase(lblDatabase.Caption, False, False) Set … Software Development visual-basic | |
how can i show data into DataGridControl 6.0 by using dao connection method. Note: database is Oracle 8i. plz reply me........................ Software Development oracle visual-basic | |
Hi people, I need an urgent help in this. I have a form where I have created a textbox(disabled) in order to show the Number ID from the access database Auto ID but have a problem here. The newly created table in the database doesn't show any number example like … Software Development email microsoft-access visual-basic | |
![]() | Hello, I'm trying to add a JMenuBar to a JFrame and having alot of difficulties with it. I've searched the net and gone through a book I have looking for a solution to the problem, but everywhere tells me I'm doing it right, yet I've no JMenuBar at the top … Software Development java ![]() |
Hi I have an application in vb which encountes this two errors: cannot find dlllentrypoint:setLayered.window attributes in user32.dll and 2nd runtime error 91: Object variable or block variable not set. when i run it on windows 98 , but it works fine with windows XP.. Can any one please help … Software Development visual-basic | |
Hi.. im a newbie in shell scripting, and also new in this forum.. i understand the command below is just reading from /etc/passwd and getting whatever in field 1 and 3 (which are username and userID) after the cut the format will be username:uid my guess,its making the array with … Software Development regex shell-scripting | |
I graduated high school last year in '06 but unlike a lot of people I know what I want to do for a career move and not sure exactly how to pursue it. In my last 2 years of high school I was enrolled in Cisco Networking Academy I, II, … Software Development c++ career engineering | |
Hello, I need help. I have been searching the web to try and find to somehow add vbscript in my visual basic application. I'm not sure how to go by doing that. What I'm really trying to do is to use visual basic as a GUI and then use vbscript … Software Development gui vbscript visual-basic | |
Hi whom it may concern How can i write my first java application in windows os? 1)what do I needs to install before start coding? 2)what environment(notepad,wordpad,..)do you offer me to try in? 3)what ever you think may help me to start java programming? [System.out.println("Thankyou so much");] Software Development java | |
I am writing a program to ssh into another computer on our network. However with the commands ssh, scp etc... terminal requests the password and os.system() seems to open a new terminal window each time it is called. This makes it difficult to enter the password. I have been looking … Software Development python | |
dear members, I am a diploma student in information technology and I am required to develop a system using visual basic codes.Please advise on the project and also help me with the codes to help in full-filling this requirement. Thank you. Software Development visual-basic | |
Greetings! i need help. Does anyone know how to set record or primary key properties to a text box on a form in VB6 through the code? Software Development visual-basic | |
[I][B]Hi To all,i used progress bar control of 7 array i.e 0 to 7 ProgressBar(PB) with same name pb1 ,but how to write code for each .My code is working if i select 1 PB and there is any other event for pb that i should not click on pb … Software Development data-structure visual-basic | |
hi there, i have posted my code...please am seeking help, syntax wise Here's my code , please i do need help myda = [COLOR=green]New[/COLOR] SqlDataAdapter("Select Distinct COUNTRY from FO_TestingLines_TBL order by COUNTRY", ConfigurationSettings.AppSettings("myconnection")) ds = [COLOR=green]New[/COLOR] DataSet() myda.Fill(ds, "AllTables") OPERATOR.Visible = [COLOR=green]True [/COLOR]COUNTRY.DataSource = ds.Tables(0) COUNTRY.DataTextField = ds.Tables(0).Columns("COUNTRY").ColumnName.ToString() COUNTRY.DataValueField = … | |
Hi I am working on some homework and I seem to be in a bit of a bind, I keeping hitting a wall, and I have been reading my book and looking for examples that may help, but I am quite unsuccessful. My Assignment Pull grades and sexes of people … Software Development c++ | |
Hello, I am doing a homework assignment and need a bit of help. I have to overload the prefix ++, postfix ++ operator, and the = operator for a circle class. Heres the code I have so far: [code] #include<iostream> using namespace std; class Circle { public: Circle(); Circle(int n); … | |
![]() | Hi, I am designing a puzzle game and I am trying to use the data that comes back from "getLocation()". It tells me the x, y co-ordinates of a button on the screen but so far I cannot export the x, y data to a String or int. There is … Software Development api java java-swing puzzle ![]() |
hello everyone! :))) i am new here and i am really happy that i found such a useful forum. my problem is that i need some help for a project on c++. i have to do a problem (it can be mathematical) which must include classes,list,polymorfisym; hmm i think only … Software Development c++ | |
Hi, this is my code: [code] # -*- coding: cp1250 -*- import wx class Okno: def __init__(self,parent=None,id=wx.ID_ANY,title="Graf"): self.okno=wx.MDIChildFrame(parent,title="Graf",id=-1) self.okno.Maximize() self.okno.SetAutoLayout(True) self.okno.SetBackgroundColour("#FCFCFE") self.sizer = wx.FlexGridSizer(2,2,0,0) self.canvas = wx.ScrolledWindow(self.okno, id=wx.ID_ANY) self.canvas.EnableScrolling(True, True) self.canvas.SetScrollbars(20, 20, 1000/20, 1000/20) self.sizer.Add(self.canvas, 1, wx.EXPAND) self.sizer.AddGrowableRow(0, 1) self.sizer.AddGrowableCol(0, 1) self.okno.SetSizer(self.sizer) self.canvas.Bind(wx.EVT_PAINT, self.OnPaint) def OnPaint(self, event): pass if __name__ … Software Development python | |
Hi, there. I am new in .Net and am seeking urgent help, please. I need to control the display in the data grid according to the selection in the dropdown list. how can I do that?? Software Development vb.net |
The End.