199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MasterHacker110

So if you want to send a text file to some you would use: Client: char* rbuffer; //will save file content here ifstream file; file.open(filepath, ios::in | ios::binary | ios::ate); //open file if(file.is_open()){ file.seekg(0, ios::end); size = file.tellg(); //file size! cout << "The file size is " << size << …

Member Avatar for Nick Evan
0
338
Member Avatar for erezz

Hi, I have a text file that contains about 15000 lines like the lines below: IBN LG 00 0 00 05 304 602 1047 SB GWLPOT IBN LG 00 0 00 11 077 500 2547 SB GWLPOT IBN LG 00 0 00 19 077 574 2000 SB GWLPOT IBN LG …

Member Avatar for 2teez
0
307
Member Avatar for tinstaafl

I'm working on a project that contains 3 different lists. 2 lists of 2 different controls, and 1 list of a custom class. I found that I needed each of these lists sorted. The problem with sorting a list of complex types is there's no default comparer for them. That …

Member Avatar for Ketsuekiame
0
301
Member Avatar for MasterHacker110

I have this RSA encryption code but it doesnt encrypt the whole message its suppose to encrypt. It only encrypts #include <iostream> #include <string> #include <string.h> using namespace std; // prime numbers int p, q; //compute int n ;//= p * q; //totient int phi;// = (p - 1) * …

Member Avatar for MasterHacker110
0
149
Member Avatar for lhsunshine

My case is Input is "abdknmgbm". BUT The record in database that i want to query out is "abkdnmgmb" The input and database record is quite similar. String length is same, only some arrangement of character are not same. In the above case, dk and kd ; bm and mb. …

Member Avatar for pritaeas
0
127
Member Avatar for calibi.yau

I'm thinking that maybe this just needs a fresh set of eyes, but this is my first go at using session_set_save_handler() and storing session data in mysql so who knows, maybe I've really messed something up. I've written this up according to a few examples I found online and based …

Member Avatar for calibi.yau
0
204
Member Avatar for simplypixie

I thought I had this sorted on another website but just can't resolve the problem now. I have a link that when clicked shows a form. The form is submitted through jquery ajax, runs the PHP and updates the html in a div on success. All fine. However, after the …

Member Avatar for simplypixie
0
980
Member Avatar for a9602

hey.... im supposed to make a school project using files and graphics..my topic is telephone directory.if i have to delete a particular entry,should i keep making a new file or is there any alternative with regards

Member Avatar for a9602
0
182
Member Avatar for daniel36

I am working on one project in which it is required that in registration field if a user selects a location then the location's logitude and latitude inserted into input field.If possible,Please tell me the way to do this.

Member Avatar for pritaeas
0
130
Member Avatar for Rahul47

Hello all, I Wish to call Button1_click event of Form1 in Button2_Click event of Form2. i.e Calling event of one form into evnet of other form. How can I achieve this? Thanks.

Member Avatar for Rahul47
0
164
Member Avatar for amaicahglyne.decastro

I need a programme for my mom's business inventory. I tried to download Dev-C and Visual Basic so I could make one, but after downloading it, the software would not open completely in the computer.

Member Avatar for JamesCherrill
0
96
Member Avatar for rotten69

Hi there, Today, I had a chat my lecturer about instance methods and static methods. I thought you make methods with static modifier (let me know in the comments below if I'm wrong) if you want to access them without creatng an instance of the class which they're defined in. …

Member Avatar for ChrisHunter
0
166
Member Avatar for Rahul47

I want to create tables in database dynamically i.e at the click event of a button or any other event. Suggest me HOW ? Thank You

Member Avatar for Rahul47
0
114
Member Avatar for 0Usama.Naeem0

http://www.rcdxb.com/ Can this website work work on Internet explorer (All versions, specially 6)? The transition effects and everything

Member Avatar for riahc3
0
101
Member Avatar for dr_robert

Hi there, I'm just a hobbyist teaching myself python but I am making progress with the help of "Rapid GUI Programming with Python and QT". I have written what is probably a very poorly designed programme which does just about what I want but when it's closed the process continues …

Member Avatar for dr_robert
0
1K
Member Avatar for Pervex

Hi, Am trying to get some data from DB , here am checking whether username is registered or not , if he register am getting some data related to that user and displaying on window . I want function to wait for untill user finish typing his username , then …

Member Avatar for riahc3
0
601
Member Avatar for monching

Greetings! I have a problem with my dialog box, my project has multiple form. When I try to exit the dialog will appear, If will the OkButton the method function as what i want, but if I click CancelButton the from will close itself but the program is still running. …

Member Avatar for tinstaafl
0
241
Member Avatar for AARTI SHRIVAS

i want that when i select value from 1st drop down box according to selected value values of 2nd drop down box changes and on selecting value from 2nd drop down values of 3rd drop down changed according to 2nd drop down selected value how can i achive this i …

Member Avatar for AARTI SHRIVAS
0
280
Member Avatar for neha05

1.Category 2.Category_sub note: category_name field in Category_sub table is im using as category_id hope u get after see d snap shot i want to do in my category_sub table i am storing category_id frm category table i am attacting the screen shot of table.. i want when i click on …

Member Avatar for neha05
0
504
Member Avatar for mattboy64

These days im using xcode and its a bit of annoyingly good amounts of changes from borland which im used to But i keep getting error for this printf ("\nThe amount of First Class cars Stocks remaining are: %d", &stock1); (while stock1 is declared: int stock1) and it says format …

Member Avatar for Tumlee
0
184
Member Avatar for Sadhikary

I have one table with content of data with a Status (Yes/No). I want to get sum of total data where status is "yes"and put it into another table and sum of total data where status is "no" and put it into previous table in a different column to maintain …

Member Avatar for Sadhikary
0
458
Member Avatar for t2nator

I host my website from my home server. I have downloa folder that constantly changes, is there a way to get the php file to automatically create download links everytime it is accessed?

Member Avatar for jasonbean
0
139
Member Avatar for Mits14

hello! I got this error when I tried to connect to my db in sql server. > Unable to add data connection. Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version = 10.0.0.0, Culture = neutral, PublicKeyToken = 8945dcd8080cc91' or one of its dependencies. The system cannot find the file specified. …

Member Avatar for Mits14
0
232
Member Avatar for ryklon

I'm encountering a problem when I try to write over a network stream. When I press this button here, I can successfully write to the tcp stream and the other part of the program successfully receives the data. Dim ClientSocket As TcpClient Private Sub btnConnect_MouseClick(sender As Object, e As System.Windows.Forms.MouseEventArgs) …

Member Avatar for ryklon
0
569
Member Avatar for Start4me

I want this code to run in the background but still be active: Private Sub frmMain_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress lblTest.Text &= e.KeyChar End Sub

Member Avatar for Start4me
0
287
Member Avatar for lavanya uppala

I am trying to How to export the crystal reports to Excel pdf etc. I am not getting the solution it shows the invalid path but i am giving correct path.pls suggest me,How to solve the problem. Thanks in Advance.

Member Avatar for Ajusha
0
1K
Member Avatar for Valosar

First of all I'm using pythong 2.7.3 and libtcod 1.5.1 I am following a tutorial found at http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_2 and have code matching (as far as I can tell) exactly what it is telling me to do. My code is below. The general idea is to create a white and yellow …

Member Avatar for Valosar
0
205
Member Avatar for garyjohnson

I am trying to insert data into the database. It is a text area from html which looks like this where is says description. Everything else works fine. <table width="300" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <form name="form2" method="post" action="uploadmachine.php" enctype="multipart/form-data"> <td> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF"> <tr> <td …

Member Avatar for garyjohnson
0
318
Member Avatar for hwoarang69

i have two number qty_p and price_db. qty_p will be always int. and price_db can be int or double with 2 decimal place. $qty_p = $_POST['qty']; //get number from input field $price_db = $row['price']; //get number from database on top iam get the value and so far its fine. but …

Member Avatar for diafol
0
155
Member Avatar for vlkaiser

Hi, Let me preface this by saying I'm about 4 days into learning MSVC++ 2010. I just need a little program that takes in a string, puts it in an array and I'd really like it to display it on the screen as the data comes in (1089 strings per …

Member Avatar for Ancient Dragon
0
410
Member Avatar for GraficRegret

I am creating a database that will be filled with items for sale. I am trying to create a back end so that the items can be edited, currently I am working on the pictures that will be uploaded for the items. I need to make it so that I …

Member Avatar for GraficRegret
0
338
Member Avatar for hwoarang69

so i have a form, when user click the button 1st javascript runs, than php runs. so if user hit submit button a window pop ups which is created in javascript. problem is that i only want to pop up window if it goes in here else{ //***********pop up window …

Member Avatar for LastMitch
0
182
Member Avatar for cor.vandijk.779

//Why do I have to use following code to get a column number: ListSelectionModel ks = tabel.getColumnModel().getSelectionModel(); //Rowselection does not require a special row selection, I can get a proper row number with: ListSelectionModel ss = tabel.getSelectionModel();

Member Avatar for mKorbel
0
611
Member Avatar for Kcachilove

Hello, please am having issues querying my reports from the database. i want to creat a reports from a number tables ( rooms ==> this table is where i have all the room numbers. bookings ==> this table is where i have all the room numbers used per each date. …

Member Avatar for LastMitch
0
167
Member Avatar for R0bb0b

I am running multiple sites on one server and am tired of seeing 404s coming from missing apple-touch-icons. I am required to have 6: apple-touch-icon-57x57-precomposed.png apple-touch-icon-72x72-precomposed.png apple-touch-icon-114x114-precomposed.png apple-touch-icon-144x144-precomposed.png apple-touch-icon-precomposed.png apple-touch-icon.png Each "property" docroot I am hosting may, and probably will, have several sub-docroots all using the same apple touch icons …

Member Avatar for R0bb0b
0
666
Member Avatar for joshmac

I am having a devil of a time trying to get my arrays to print right, but I am missing something. I am hoping another set of eyes can help me figure it out. I have this current function: function getArrayUsers($id) { $sql = DB::inst()->query( "SELECT * FROM " . …

Member Avatar for joshmac
0
281
Member Avatar for communism

Hi I'm creating a socket server in Linux using pthreads. I was just wondering, how does the server send specific messages to its clients (for instance, a PM) if each is in its own standalone thread?

Member Avatar for Lucaci Andrew
0
277
Member Avatar for SumTingWong59
Member Avatar for TrustyTony
0
141
Member Avatar for z.n11

Write a Python program to apply the given formulae above to complete the missing information in Table 2.2. As vMax (his speed at 30,000m) is an unknown, allow the user to input a value of between 500m/s and 600m/s, each time displaying a new completed table. For an extra 3 …

Member Avatar for TrustyTony
0
104
Member Avatar for sciwizeh

My project compiles fine, but when running a push_back on a vector, I'm getting an access violation when the vector attempts to resize itself. I have lots of code, but hopefully I can boil it down to just relevant classes. I am sorry about the HUGE amount of code, but …

Member Avatar for sciwizeh
0
6K
Member Avatar for Ancient Dragon

![Untitled40](/attachments/small/0/Untitled40.png "align-left") I'm trying to figure out how to add a new connection to MySQL running on a different computer on my network. When I click Project --> New Data Source a list of drivers appears, but none of them are MySQL (see thumbnail) which I have previously installed. I'm …

Member Avatar for Ancient Dragon
0
281
Member Avatar for pars99

I have been making an Adventure Game and when I try to test it, it always comes up with Hello! Welcome to the adventure game! What is your name? Parsia Parsia? Well hello there! Let us begin... You are at a trail with two paths. Left or right? left Traceback …

Member Avatar for vegaseat
0
279
Member Avatar for ravoras

Hello, I am trying to access my website after having recently shifted hosting servers. When I try to access it I get the following error: > HTTP Error 500.19 - Internal Server Error > The requested page cannot be accessed because the related configuration data for the page is invalid. …

Member Avatar for siju kuriakose
0
252
Member Avatar for glenndr_15

Greetings! I just want to ask on how to transfer a letter from a textbox to label? what I mean is for example we have a label then a textbox, In a textbox I'm going to type a random words/letters then If there is a letter "A" in the text …

Member Avatar for tinstaafl
0
214
Member Avatar for Gabums

Greetings! I took some code from this [site](http://osvaldas.info/elegant-css-and-jquery-tooltip-responsive-mobile-friendly). It works great in EVERY browser but IE7 where the arrow of the tooltip is missing. I know that there are issues with IE7 not supporting :after in CSS. I've tried adding this code: <!--[if lt IE 8]> <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE8.js"></script> <![endif]--> But …

Member Avatar for Gabums
0
406
Member Avatar for Shodow

so here it is, first you will input how many textfield you have then click ok after clicking ok input the value in all the textfield after that if you click add you will see the sum of all the value in the textfield help pls <html> <head> <title>Margz</title> </head> …

Member Avatar for Shodow
0
94
Member Avatar for bulleh

Hi guys!, I thought i'd try and learn a bit of python to keep myself occupied, and i was wondering if you could give me some constructive criticism on a word guessing game i have created. I'm an amatuer programmer and i'm always looking at improving when and where ever …

Member Avatar for bulleh
0
254
Member Avatar for GlenRogers

This is probably simple enough to do, but I cant get it! I have a mysql table 'links' with these fields; id int 10 primary ai link varchar 200 description varchar 200 I have a links page to populate with this info. I want the desciption as the visible text. …

Member Avatar for EvolutionFallen
0
130
Member Avatar for pjh-10

how do you link functions written in other computer languages with a C/C++ program? this is in a past paper , & i can't find it anywhere? helps

Member Avatar for CGSMCMLXXV
0
95
Member Avatar for Tekito

This is an issue that I've discusses many times before, but never with a conclusive solution. I am trying to programmatically change the data range for an existing chart in Excel. My code goes something like this: [CODE] With WS.CharObjects(SelChart).Chart With .SeriesCollection(1) .XValues =DataWS.Range("A1:A101") '<-----ERROR! .Values = DataWS.Range("B1:B101") End With …

Member Avatar for gmcfarlane
0
267

The End.