199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Nathan Campos

Hello, I'm learning C++, then i want to know how i can do a convertion of an decimal number to an hexamal number, i know the calculation form to do this, but the thing that i don't know is how i can represent the remain in the formula. Here is …

Member Avatar for Nathan Campos
0
102
Member Avatar for atx

Please help me with this question. That's multiple choice questions. Which of the following are true about using ADO.NET DataSets and DataTables? 1) The connection to the database must remain valid for the life of the data objects. 2) All tables in a dataset must come from the same database. …

Member Avatar for serkan sendur
0
144
Member Avatar for Nathan Campos

Hello, I'm beginning in the OS development(In Assembly, Nasm as Assembler) and i need to implement a command-line on it, but i don't know how to do this, but what i want to say as command-line is like MS-DOS or UNIX: [CODE]> ver BerlOS v.0.0.1 > _[/CODE] But i don't …

Member Avatar for Nathan Campos
0
214
Member Avatar for freelancelote

Hi, I'm trying to understand how the Calendar, GregorianCalendar and Locale classes work. Say I instantiate two Locale objects and then two Calendar objects, each with their respective Locale. Then ask for the always troublesome DAY_OF_WEEK on every Calendar object as in the following code: [CODE=java] import java.util.Calendar; import java.util.Calendar.*; …

Member Avatar for freelancelote
0
95
Member Avatar for cheapterp

I am using the SQL 2005 Express edition for SQL server. The database resides on another server and I connect to it from my machine through the object explorer. I have created a trigger to run certain queries and updates, but can't seem to find the trigger listed under [QUOTE]MyDB->Programmability->Database …

Member Avatar for sknake
0
135
Member Avatar for bshyama24@gmail

I am a very new in web services.Can anyone tell me how to call a web service from remote network using c#?

Member Avatar for Ezzaral
0
109
Member Avatar for ShadowZ00

I have been trying for about 3 days now trying to find a way to open multiple instances of a simple program and have had no luck. It is being used to log into a site multiple times and the web browser component uses the same cookie which is stopping …

Member Avatar for sknake
0
86
Member Avatar for qauaan

I select Multiple images from file and show their thumbnails in the panel. here is code i write for this:: [CODE] //files is string type array Containing the image Location //left, top, picWidth, picHeight are int variables. foreach(string file in files) { Bitmap bit = new Bitmap(file); ratio = (double)bit.Width …

Member Avatar for sknake
0
323
Member Avatar for deepas

i need to save doc file in sql database but have no idea to choose the field data type, i think it'll require binary data type. and how to save selected doc file from window based application using c#.net ,please share any solution regarding this....

Member Avatar for sknake
0
101
Member Avatar for skootles

Hi, I am an old VB6 programmer converting to C#, so I hope you forgive stupid questions. I am developing a C# app to run on Windows Mobile and Windows CE (handheld terminals). I have figured out how to read data from text files but what is screwing me up …

Member Avatar for skootles
0
4K
Member Avatar for kishan112

Hi, can anyone please rewrite the following sql-query? It's working, but it takes some time to execute. [CODE=sql] SELECT `cd_e_calls`.`bedrijfs_id` AS gegevens_id, `gebeld` , `status` FROM `cd_e_calls` , `cd_e_gegevens` , `cd_e_negatief` WHERE `cd_e_gegevens`.`RvV` != '1' AND `bedrijfs_id` = ( SELECT `cd_e_gegevens`.`id` AS gegevens_id FROM `cd_e_gegevens` WHERE ( SELECT COUNT( `cd_e_calls`.`bedrijfs_id` …

Member Avatar for kishan112
0
162
Member Avatar for Yle

I've gone a little further with my code since the last time I posted here. Everything worked fine till the moment I started drawing in an actual 3rd dimension - the results are visible at least, but they're far from what they should look like. Instead of a pyramid and …

Member Avatar for mrnutty
0
104
Member Avatar for david777

int main(int argc, char *argv[]) { int mobile, pond; float a; cout<< "input mobile price:"; cin>>mobile; cout<< "input 1 pound how many BTH:"; cin>>pond; mobile+pond==a cout<<a;

Member Avatar for Nick Evan
0
78
Member Avatar for trtcom1

Hi there, I have 3 tables: Student ([B]studentNum,firstName,lastName,CourseName)[/B], course ([B]courseID,courseTotalCapacity[/B]), course_allocation ([B]studentNum,courseID[/B]). I have 3 courses, MATHS=101,BIOLOGY=102,CHEMISTRY=103. My form has the following: [CODE=html]<SELECT NAME="CourseName"> <OPTION VALUE="MATHS">MATHS</OPTION> <OPTION VALUE="BIOLOGY">BIOLOGY</OPTION> <OPTION VALUE="CHEMISTRY">CHEMISTRY</OPTION> </SELECT></td></tr> <SELECT NAME="courseID"> <OPTION VALUE="101">MATHS=101</OPTION> <OPTION VALUE="102">BIOLOGY=102</OPTION> <OPTION VALUE="103">CHEMISTRY=103</OPTION> </SELECT> [/CODE] I would like to have some kind of a …

Member Avatar for trtcom1
0
132
Member Avatar for quickbird

Hello, I am having a rich text editor in my website it works fine when formatting text like bold etc. but the problem is that when i retrieve data from database there is no bold, italic or underline etc.Please help me. you can find the script here. [URL="http://www.dynamicdrive.com/dynamicindex16/richtexteditor/index.htm"]http://www.dynamicdrive.com/dynamicindex16/richtexteditor/index.htm[/URL]

Member Avatar for quickbird
0
105
Member Avatar for ggl0rd

who know how to make data show at textbox from this code. from the below code, i only can check if that data got in database or not, if got it show a msgbox. but i want the all data show at text.. [B]example[/B] i search data use a NoIC …

Member Avatar for ggl0rd
0
137
Member Avatar for Niner710

Hi, I was just wondering how to convert a vector<string> to vector<int>. I am using the transform function from <algorithm> but I am not sure what the format is. [code] vector <string > string; vector <int> int; tranform(string.begin(), string.end(), int.begin(), atoi); [/code] Get a compile error. Could anyone tell me …

Member Avatar for Tom Gunn
0
4K
Member Avatar for sonia sardana

I have currently two forms in mine website..I m also posting their codes-- FrmRegistration.aspx [code] public partial class FrmRegistration : System.Web.UI.Page { SqlConnection conn = new SqlConnection("Data Source=SONIA-B408A4159\\SQLEXPRESS;Initial catalog=sonia;Integrated Security=true"); string query; SqlCommand cmd; protected void Page_Load(object sender, EventArgs e) { btnSubmit.Attributes.Add("onclick", "Javascript: return Validations() "); } protected void btnSubmit_Click(object …

Member Avatar for sonia sardana
0
306
Member Avatar for AutoC

Hi, I need an array of approx. 2,00,000 elements.But malloc fails to allocate beyond 65872. When I give (short int*)malloc(sizeof(short int)*65000); It works but seg faults when I give (short int*)malloc(sizeof(short int)*66000); whatsup with that?

Member Avatar for Salem
0
166
Member Avatar for BlackPhoenix

I've spent a few hours tonight reviewing basic java syntax, but did not learn how to create applets or windows. I was reading tutorials on java3D, but sadly they were all pretty bad.. They didn't explain what was going on, and were using classes extending Applet and other java libraries …

Member Avatar for Ezzaral
0
104
Member Avatar for Andrew de Beer

I use a treeview control to show a logical hieracy. But I cant get it to refresh when the values change. Running the code again just add more detail to the bottom of the previous nodes. I know it must be a simple requery or refresh but am stuck. Please …

Member Avatar for debasisdas
0
159
Member Avatar for rahul8590

i have currently 3 checkboxes. But the thing is i only want 2 of them to b processed i.e if check box 1 is checked then the 2 one must get blocked thus by preventing the user to check it. similarly vice versa. (this must be applied only to 1st …

Member Avatar for almostbob
0
130
Member Avatar for mytime19

Hello everyone, So, far i have worked on employee management system(sap - abap), inventory payroll system (C lang), Reverse engineering(assembly),Quiz (VB). Now i want to work on java so that i connect my project with any server file like Sql connectivity,ms access, ms excel etc (i don't know how to …

Member Avatar for Salem
0
131
Member Avatar for yun

Hey Programmers, Is there any better way to write the below recusive functions, plz help me so i can improve my programming... 1- Write a recursive function that takes a nonnegitive integer and returns the sum of its digits, [code=cpp] int DigitSum(int n){ if(n == 0){ return 0; }else{ return …

Member Avatar for yun
0
211
Member Avatar for Symbolistic

Well I am making an AFK Bot for a FPS game called Combat arms. What it is supposed to do is Move Up, Down, Left, and Right by itself while I am AFK. I want it to press Spacebar to jump too. I also want it to Press the Left …

Member Avatar for William Hemsworth
0
121
Member Avatar for chewedpup

I'm using XP and Front Page 2002: I probably edited my website a month ago - no problem. Today I'm trying, I go to where I normally open up my website and I get this error message: "The server could not complete your request. Contact your ISP or web server …

0
83
Member Avatar for wil0022

hi I am talking C# this semester, can anybody help me with my assignment? Here is the problem: Determines whether a number is prime by checking whether 2,3,4,5,6..., n/2 is a divisor. If a divisor is found, not is not a prime number. A more efficient approach to determine whether …

Member Avatar for DdoubleD
0
141
Member Avatar for sandeep_1987

Suppose the user login by entering his or her details When clicking on Login button, I m setting the session variable [code] Session["UserName"] = txtUserName.Text; [/code] I want dat when he or she clicks on sign out(hyperlink)..I want to expire the session, can somebody tell me how to expire the …

Member Avatar for dnanetwork
0
99
Member Avatar for kishou

ok i cant seem to log in with a regualr password. this code works fine without md5 but it doesnt work when i use md5. yes i've already connected and selected database. $username = mysql_real_escape_string($_POST['username']); //so someone cant sql inject. [CODE]$ = mysql_real_escape_string($_POST['username']); $password = md5($_POST['password']); $result = mysql_query("SELECT * …

Member Avatar for Graphix
0
310
Member Avatar for guiman

I have a message Box with two options, Retry or Cancel. Upon clicking cancel, I want to close the MessageBox and then load the main Form. Any idea how to do that? This function is already within a button_click function and I want to get out of this function and …

Member Avatar for DdoubleD
0
124
Member Avatar for itisnot_me

ok so what i am trying to do is make a script run like every hour or day that would restore a DB back to it original state. or even something like if i create an email system to send off emails at a certain time that it would run …

Member Avatar for itisnot_me
0
79
Member Avatar for borntowin_786

Hello Friends, I am new in using codeigniter.I am working on a client project.In this i have 1 form with fields like entering name, address along with 5 file uploading basically all images.Suppose while submitting a form an error occures then fields like name and address value can be retrieve …

Member Avatar for slyme
0
153
Member Avatar for rhoit

cout<< worked out for every other pointer data type but... when char is fed it show the pointed address.....(which every one knows) but i want to see the address stored in the char pointer how to see it.. i was thinking using `printf()` but ruined out by not knowing what …

Member Avatar for Tom Gunn
0
185
Member Avatar for acidnynex

I'm having a ton of trouble reading the text from a file into an integer array, the file contains 3 lines of 1,000 integers from 0 to 1. The array is myArray[3][1000]. So far I've tried to use a stringstream to no avail and I've attempted to use a few …

Member Avatar for acidnynex
0
102
Member Avatar for especta

i have 1 combobox and i have auto Assign stringlist from advstringgrid its working ok . I need to activate filter sorting condition based on select string from combobox. hire is buton comand it work fine [code=delphi] advstringgrid1.Cells[9, 0] := 'some word '; CheckBox1Click(Sender); I need ,, ('some word';)" to …

Member Avatar for especta
0
167
Member Avatar for hmortensen

Hi All, I'm trying to make a routine that returns node number XX from a BST. The nodes are as follows: [code=syntax] struct Node { signed int type; Node* child1; Node* child2; }; [/code] I can easily count the number of nodes by [code=syntax] long Pheno::CountNodes(Node* n) { if(n==NULL) return …

Member Avatar for hmortensen
0
106
Member Avatar for krismanish

I just want to update tree with value. A B1 B2 C1 C2 C3 ? I'm setting count values for all. by default it will be 0. All these values will be stored in db At this stage A Count=1; B1 Count=1; B2 Count=0 suppose if i add node c4, …

Member Avatar for DdoubleD
0
102
Member Avatar for leviathan185

I have written some code for template generator but I am having issue getting the formatting when it is generated in the <textarea></textarea>. I want to have it to look like Service Affected: {then populated text} Service Status: {again populated text} Current/Next Actions: {populated text} it ends up printing out …

Member Avatar for leviathan185
0
237
Member Avatar for arch1

Hi, I am new to SOAP and getting this error " RESULTS: Array ( [faultcode] => Client [faultactor] => [faultstring] => Could not authenticate SOAP request: Could not retrieve authentication credentials from SOAP header [detail] => )" The cURL PHP extension is required for NuSOAP to make a connection over …

Member Avatar for jacanon7
0
549
Member Avatar for k.vijayakumar

i am doing onlineeducation project.in that,how to send mails to every student from our mailserver daily at 12pm without our interaction.i am using consoleapplication in vb.net.can anyone please help me thank you in advance

Member Avatar for k.vijayakumar
0
171
Member Avatar for rickya100

Hi everyone, I have tried finding out how to do this everywhere but I am coming up completely blank. I have content coming into my site that I have no control over and it has this symbol • embedded in it. I really want to remove it and I can't …

Member Avatar for leviathan185
0
160
Member Avatar for rhoit

Why Can`t member function be called by pointer object of class/struct. i was trying to call the member fuction of struct though pointer object it showed me error like request for member 'Table::reveal' in `T1`, which is of non-class type 'Table*' where, Table is structure reveal is member function T1 …

Member Avatar for rhoit
0
270
Member Avatar for nateuni

Hi, I am new to programming.. and am studying IT at Uni Over the weekend, I managed to write a java class that handles errors and loops until receiving valid input for a range of different datatypes. I am looking to write something like this in C (as my other …

Member Avatar for Tom Gunn
0
1K
Member Avatar for Gadfly_1943

I am trying to copy a list of email addresses in Excel and paste them into SQL. I am using Navicat. I am able to paste the text, but I lose the hyperlink format. What can I do? Obviously, I new at this. Any help would be appreciated. Thanks...Gadfly_1943

Member Avatar for pritaeas
0
83
Member Avatar for nkarvi

Hi everyone! I have a c# app, in which I get a FormatException. The problem is that whatever I do to trace it doesn't succeed. I have tried using breakpoints, try-catch blocks in various parts of the code that I would expect it to occur, putting Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException); in the Main() …

Member Avatar for sknake
0
117
Member Avatar for DAWNIE

Hi, currently i'm able to save an image that I have draw into SQL but I would like to knw if it is possible to update new draw picture to replace the old picture? how can i modify this code in order for it to save instead of create another …

Member Avatar for sknake
0
125
Member Avatar for moorcroft

Hi I am looking for help with an xsl transform of an xml file. The problem is with <xsl:with-param>. The following is what I have: [code=xml]<xsl:param name="paramTest">$LINKNUM$</xsl:param> <key name="$LINKNUM$">SELECT count(1) from applications</key> <xsl:choose> <xsl:when test="$paramTest = '0' "> do this........ </xsl:when> <xsl:otherwise> do this......... </xsl:otherwise> </xsl:choose>[/code] This select count returns …

Member Avatar for dnanetwork
0
85
Member Avatar for sephora

Hello; I am have written a few lines of programming code that returned data from a SQLBase database. This code has been running successfully without fail up until yesterday afternoon. No changes has been done to it, but the program now crashes with an Time Out Error on the OleDBDataAdaptor.fill …

Member Avatar for sknake
0
118
Member Avatar for chris5126

HI Guys, Prob a very simple one but im stumped, I run the following command and get: [code] date Wednesday, 19 August 2009 09:20:59 BST [/code] But when I run [code] date -u '+%y%m%d.%H:%M:%S' 090819.08:21:27 [/code] My question is why is the second command an hour behind? In my environment …

Member Avatar for iceman29
0
196
Member Avatar for zhangj5

Hi all, i am new to javabeans and JSP, i have some problem to retrieve value from beans, any help will be appreciate. my index.jsp has a from [code] <form action="update.jsp" method="POST"> userName <input type="text" name="userName" /> <br> realName <input type="text" name="realName" /> <br> <input type="submit" value="Log In" /> </form> …

Member Avatar for zhangj5
0
318

The End.