199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aKiLa.. :)

i want to do a project using graphics in c++..i am going to start with a simple project, because i am a beginner.. plz tell me which websites to refer in order to get help on topics and to learn about graphics in c++.. thank you.. :)

Member Avatar for Ancient Dragon
0
233
Member Avatar for i2u2me

Why do you think the Java language chooses to treat file data as a stream rather than as a single object?

Member Avatar for i2u2me
0
75
Member Avatar for rajandass65

hi i am working on db design of multilingual site. For creating multilingual site we usually use xml or different col in table represting language. I am thinking of using diferernt db for each languge,it will simplifies many things. so my question is that, is this thing of using muliple …

Member Avatar for smantscheff
0
81
Member Avatar for teddy_kul

[CODE]<% String Username = request.getParameter("USER_ID"); String Password = request.getParameter("USER_PASS"); String Mobile = request.getParameter("Mobile"); String Address = request.getParameter("Address"); String sql = ""; { int LoaiSubmit; String DriverName; String connectionURL; Connection con; Statement stmt; LoaiSubmit = 0; LoaiSubmit = Integer.parseInt(request.getParameter("LoaiSubmit")); DriverName = "oracle.jdbc.driver.OracleDriver"; connectionURL = "jdbc:oracle:thin:@"; con = null; stmt = null; …

Member Avatar for peter_budo
0
147
Member Avatar for vlowe

i need to create a unix timestamp in milliseconds like 1319031463499 to post to an web service. tried all sorts and cant get it. i have googled and keep getting strange years?

Member Avatar for mschroeder
0
17K
Member Avatar for BasicBoy

I am trying to update a row in a Gridview control whilst it is in edit mode. I am trying to extract the old data field values which have not changed during the edit process, but can't seem to find them, as the postback after clicking the edit button removes …

Member Avatar for nakor77
0
875
Member Avatar for hindu times

Hi there, I posted another thread earlier about Recaptcha. I'm trying to implement a recaptcha into a form on my client's website. However, when I add this code (below) to the correct position in the page's source code, it's showing up with a syntax error on the line starting require_once('recaptchalib.php'). …

Member Avatar for hindu times
0
219
Member Avatar for jacob21

Hi, I am using below code for sending attached mail when i am sending an image as attachment i am getting image file in .txt extension. Need suggestion for sending only image. [CODE] $file = $_FILES['uploadedfile']['name']; $target_path="upload/"; $target_path = $target_path . basename( $_FILES['uploadedfile']['name']); move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path); $fileatt = $target_path; // Path …

Member Avatar for pritaeas
0
140
Member Avatar for bilal_fazlani

I am looking for the a simplest for of code where I can add some items to a listview. i have 4 text boxes and 4 columns in a listview.. what could be the code to put 4 values as a single row in list view.. i managed to put …

Member Avatar for Reverend Jim
0
197
Member Avatar for DmytriE

I cannot spot the issue and neither can VS2010/ VS11 Developer preview edition. The code runs perfectly until allocating memory for the double pointer new_matrix. The only reason I cannot find the problem is because I've allocated space for 3 other pointers successfully. I believe I have the syntax correct …

Member Avatar for Narue
0
95
Member Avatar for zachattack05

I'm working on a custom textbox control that can "filter" out inappropriate input. The filter property can be: None, Numerical, LowerAlpha, UpperAlpha, Alpha, AlphaNumeric, Symbol None would function like a normal textbox Numerical would be any number key (1,2,3...) LowerAlpha would be any alphabet character as long as it is …

Member Avatar for zachattack05
0
235
Member Avatar for ssreevidya.m

Hai , I have gris fro student listing. And I need to export this list to pdf. But i get the error msg like: Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified …

Member Avatar for ssreevidya.m
0
413
Member Avatar for DariusG

Hello. I am trying to fix this for about 10 hours and i can't do it. I got a template from web and trying to make it dynamic. Somehow, i did something till now.. It get images from a database. Each picture is kind of a gallery and is somewhat …

Member Avatar for phoenix_2000
0
189
Member Avatar for ChristosK

Hello How i can read the motherboad model using code in vb? I write a program in ms access and i want to read/confirm the motherbord model on startup. Thanks in advance

Member Avatar for GGSoft
0
481
Member Avatar for hhheng

I'm new to Java and while trying to add a text area to the applet, found the textarea uneditable, and while trying to add the scrollbar to the textarea, found the applet will not be started. Code as below: [code=java] import java.awt.*; import javax.swing.*; import java.applet.Applet; public class AppletEditor extends …

Member Avatar for hiddepolen
0
416
Member Avatar for ChaseRLewis

So need to use C# to create this tool I want for a game. It will involve an interop between Excel and my own program so I can easily tweek values on some items in my program or through excel. So far it's going ok, but when I'm constructing the …

Member Avatar for charlybones
0
270
Member Avatar for morrisproject

I current have a column in my database called ConveyorNumber, which could be something like CMD1234, CMD1256, CMD1136 etc. I also have a column called Asset_type which relates to the conveyor number. So depending on the conveyor number the asset type will change, its a description of the conveyor type. …

Member Avatar for smantscheff
0
121
Member Avatar for albana

i have as a homework to do a desktop aplication using C#,it will be good if i use also and databases,plsss could anyone give me some ideas what willl be good to work on...(sorry for my english)...

Member Avatar for ChrisHunter
0
111
Member Avatar for aksahoo17

Hi All, I am new to ColdFusion and i m using CF-8. I Want to create a Log file for error and i have done that, but the problem is that the text file "error.txt" content all the data retrieve by the CFERROR variables. But its store duplicate records as …

Member Avatar for aksahoo17
0
135
Member Avatar for hmortensen

Hi All, I'm trying to bind a textbox to a listbox's selected.Content properties. The listbox displays the items as designed in the datatemplate. But I can't get a textbox to display one/any of the selectedItems properties. [B]DataTemplate[/B] [CODE] <DataTemplate x:Key="dt_Afloeser" > <Border BorderBrush="Black" BorderThickness="0.5" CornerRadius="2" Margin="2,2,2,2"> <DockPanel HorizontalAlignment="Center"> <TextBlock Name="navn" …

Member Avatar for hmortensen
0
2K
Member Avatar for Mubusher

i am having attachments you can see the image when ever i move to mouse on Forms to Buttons so buttons shape is changed but its not clicked on form when you click the button from mouse so its not clicked it can cliked with only keyboard what its occur …

Member Avatar for Mubusher
0
180
Member Avatar for jacksantho

Hi, 1. Just am created a user for the login 'test'. 2. As with this login 'test', i logined to the server. 3. I don't have the permission to create the database. 4. So i tried this query: [CODE] use master grant create any database to user go[/CODE] 5. Am …

Member Avatar for pritaeas
0
3K
Member Avatar for Mike Askew

Hi all, My program is proving Kaprekar's Constant - 6174. To do this I will need to store values exactly how they come out without losing any preceding 0's which int has a habit of cutting off. For example: Number to store exactly: 0147 Int stores: 147 A googling session …

Member Avatar for Mike Askew
0
142
Member Avatar for aecha

Hi, I am now try to fixing the error in my update form but I still cannot find where is it. Can anyone help me with this problem? There is no error occur but the form cannot update to database and also appear the blank form. These are my code …

Member Avatar for Stefano Mtangoo
0
146
Member Avatar for Farhad.idrees

Hi guys i hm havig problem....My Code is [CODE] <?php $conn = mssql_connect("FARHAD-PC\SQLEXPRESS","",""); mssql_select_db("Testing",$conn); $query = "select * from User1"; echo $query; ?> [/CODE] The error iss Fatal error: Call to undefined function mssql_connect() in C:\wamp\www\Testing\SqlConnection.php on line 4 Hope someone will help me.. Regards.. Farhad

Member Avatar for Stefano Mtangoo
0
277
Member Avatar for ChaseRLewis

So I'm beginning to use JavaScript with a new gaming platform I'm trying out and LOVE the interface. It's making everything so easy compared to the in the garage type setup I'm used to. Learning JavaScript has been pretty easy so far but I've hit a snag with typeof. [CODE] …

Member Avatar for ChaseRLewis
0
107
Member Avatar for stereomatching

[code] void test_rr(std::string const &lvalue) { std::cout<<"this is lvalue"<<std::endl; } void test_rr(std::string &&lvalue) { std::cout<<"this is rvalue"<<std::endl; } int main() { test_rr("this is"); //will output "this is lvalue" std::cout<<"system pause"<<std::endl; std::cin.get(); return 0; } [/code] how could I treat "this is" as rvalue reference? The easiest way I could think …

Member Avatar for stereomatching
0
286
Member Avatar for Ritesh_4

Hello I need to create a pdf doc which will look like the word doc attached, and have to use php to do so. In the doc, the blue texts will need to be filled from data fetched from table User in mysql, and the Autofill part as well will …

Member Avatar for Ritesh_4
0
474
Member Avatar for praveendasika

string name = ((TextBox)grid.Rows[e.RowIndex].➥ FindControl("nameTextBox")).Text; in the above line what does this mean? ((TextBox)grid.Rows[e.RowIndex]

Member Avatar for skatamatic
0
102
Member Avatar for vinay.bharadhwa

In my application i am allowing only 3 admin users at a time to log in to the application. In case where one of the admin user directly closes the window or tab without signing out i need to invalidate the session or need to decrement the number of admin …

Member Avatar for vinay.bharadhwa
0
1K
Member Avatar for nikita.

I have to run a shell script and store whatever is performed in it into a log file. the path can be altered for the log file. how can i do that ?

Member Avatar for nikita.
0
4K
Member Avatar for ishtine18

[B]hello ! my thesis is all about language translation and im having a problem with the concatenation of strings in the textbox...because for example i input city kiss and it will display the ilocano(dialect) ili agek but when i input kiss city it still display ili agek[/B]

Member Avatar for Iswariya
0
229
Member Avatar for rhodge09

Hey guys i have a code here that allows me to add any database to the existing database that i have already. I can do that fin by using a text field and submit button for that. Now the harder part for me is trying to delete an existing field …

Member Avatar for ajbest
0
417
Member Avatar for amulet_john

Please HELP Me!!! I want to directly pass the value of a javascript variable into php variable... I used this code below but it doesn't work.. Can anyone teach me how to do it?? PLEASE.. Thank you so much in advance.. Here's my code: [code] <script type="text/javascript"> var a = …

Member Avatar for ajbest
0
4K
Member Avatar for beaute

Hello. I have a problem and I would love it if I could get some insight on it. I have read the forums with many answers about the subject, but I'm still having problems so I'm writing here. Basically I was following [URL="http://tom-shelton.net/index.php/2008/12/11/creating-a-managed-wrapper-for-a-lib-file/"]this[/URL] guide which is for creating Managed Wrapper …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for amulet_john

Hi guys... I'm trying to create an examination page (in PHP) wherein I want to show to the user/examinee the remaining time.. I manually set the exam time to 1 hour (1:00:00). The problem is I want to keep that time decrementing once the examination is started.. If time become …

Member Avatar for ajbest
0
659
Member Avatar for DSTR3

I'm using Visual Studio 2010, Win 7, MS Access 2010, C++, Direct ODBC, 32 bit. The first SELECT statement executes. The INSERT, SELECT, SELECT and UPDATE statements don't nay help is appreciated. Thanks. [CODE] #include <windows.h> #include <stdio.h> #include <sqlext.h> const char* DAM = "Direct ODBC"; SQLCHAR szDSN[256] = "Driver={Microsoft …

Member Avatar for Ancient Dragon
0
118
Member Avatar for ljvasil

Hi all, I wrote this somewhat simple script that is suppose to change and update polygon GRIDCODES based some rules. The shapefile is reclassified into likelihood of conversion. So the code is set up to get the GRIDCODE value of all adjacent polygons to the cursor polygon. I put these …

Member Avatar for Gribouillis
0
428
Member Avatar for Joemeister

I'm struggling very hard to get this to work and I don't know what I'm doing wrong. I have a register page that I want to take the data inserted into the form and INSERT it to the database with jQuery and AJAX. I'm not very experienced with AJAX AND …

Member Avatar for stanley87
0
3K
Member Avatar for 650U

Hi, I am looking to create a Bar Chart based on the values I get from the form. It works with positive values, but at times (since some math are done to find the value) I do have negative values and the graph just shows a bar going down that's …

Member Avatar for ajbest
0
439
Member Avatar for valestrom

Just wondering, how high can c++ really count? Because I made a fibonacci program, and it starts acting weird and printing negatives at about 10-11 places. With both long, and int variables? Is it impossible to count higher? If not, how?

Member Avatar for Clinton Portis
0
263
Member Avatar for khentz

Hi, Please help me how to pass value from database to a variable. This is my query: [CODE] Dim it As String = "Mouse" Dim itNo As String SELECT * FROM tblITEquipmentName WHERE equipmentName LIKE '" & it & "%'" [/CODE] I would like to get the ItEquipmentNo and pass …

Member Avatar for khentz
0
9K
Member Avatar for arson09

I'm having trouble creating a function with one parameter that reads from a file and then creates and returns a dictionary based on what's in the file. And example of whats in the file: [ICODE]115 139-28-4313 1056.30 135 706-02-6945 -99.06 143 595-74-5767 4289.07 155 972-87-1379 3300.26[/ICODE] What i have: [CODE]open('balance.txt', …

Member Avatar for arson09
0
566
Member Avatar for Procx

Hello, I'm currently working on a small database project with various search algorithms. Right now I seem to be a little stumped. Basically what I need to is to read a huge file of strings, such as these 2 lines: Abram,Smith,70,M,Nursing Unit,324b Ace,Lewis,7,M,Intensive Care Unit,324c I then need to delimit …

Member Avatar for Procx
0
91
Member Avatar for namratag
Member Avatar for Zssffssz
0
88
Member Avatar for Stokes37

I can not figure out how to go to the next line. In the data we read in number of test on the 1st line then student names followed by their test scores on the following lines. My problem is I can only get the first student and his average …

Member Avatar for Stokes37
0
143
Member Avatar for ben1996123

What I want to do is read a whole paragraph of text from a custom file. How would I do this without doing something silly like this? [CODE]while(someFile >> word1 >> word2 >> word3){ //etc. }[/CODE] I need to be able to read 3 numbers for todays date, then read …

Member Avatar for Zssffssz
0
930
Member Avatar for RedexProGamma

Hey all (who see this), I am currently writing a Login Script, and I am having trouble making StreamReader read a specific line in a text file. This is what I have so far (not the entire script, just the reader lines): [CODE] Dim path As String = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) Dim …

Member Avatar for RedexProGamma
0
191
Member Avatar for Zssffssz

Ok when I use gcc (all th time) the program it makes in c++ with debug on is around a megabyte when off it is around half a megabyte when working with c with debug on it around 50 k with it off it's at about25 k this doesn't seem …

Member Avatar for mike_2000_17
0
188
Member Avatar for sandman64

[CODE] #include <iostream> #include <fstream> #include <string> using namespace std; string constestantName(istream &); void getJudgeData(istream &, string); void CalcScore(ostream &, string, double, double, double, double, double); double findLowest(double, double, double, double, double); double findHeighest(double, double, double, double, double); int main() { int loopnum, counter, nestcounter; string name; ifstream infile; infile.open("starsearch.txt"); …

Member Avatar for Mr. K
0
213

The End.