199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hazar

Hi all, I've been looking at the idea of encryption of traffic over the internet, just finished reading a [I]lot[/I] of articles on how public key encryption works. Here is what I understand so far: 1. Large random number is generated, from this a private and public key is generated …

Member Avatar for hazar
0
161
Member Avatar for killhha

iv seen the line 'halt' in some pascal programs after readkey or readln. what does halt do exactly?

Member Avatar for Turtle85
0
307
Member Avatar for Awah Mohamed

hey guys what is wrong with my mysql_fetch_array here is my code : [CODE]<table width="400" border="0" align="center" cellpadding="3" cellspacing="0"> <tr> <td> <strong><h2>Welcome to Our Website</h2></strong> </td> </tr> </table> <br /> <? $mysql_host = "localhost"; $mysql_database = "members"; $tbl_name = "posts"; mysql_connect('localhost','admin','*******')or die("can not connnect to database"); mysql_select_db("$mysql_database")or die("sorry , can …

Member Avatar for raju_boini525
0
179
Member Avatar for NH1

I just need to know how to update a time when someone imputs a short version. such as, if i were to put "3a" in the label, i want it to automatically put in 3:00am. Is there any way to do such a thing.?

Member Avatar for NH1
0
78
Member Avatar for mands

Hi guys Im having a bit of trouble with my form, I basically want the values from the checkboxes to output to a div, I also want to give the check boxes a numerical value eg: if monday conference selected that would cost £80 if Tuesday conference selected theat would …

Member Avatar for Dokemion
0
333
Member Avatar for stevthym

Hello! I have a Case Study Scenario for which ERD & Use Case Diagram are required. My question is... Should Use Case Actors be the same number of Entities into ERD? E.g. If i have 5 actors in UML it means that I should also have 5 entities of these …

Member Avatar for tesuji
0
2K
Member Avatar for AngelicOne

I tried setting the value type as DATE but it's not being recognize.. I'm using SQL Server 2005.. I though date is a value type but it's not working..

Member Avatar for nick.crane
0
118
Member Avatar for sam023

i want to read Excel-sheet.. for that i am using PHPExcelReader.. when i use it on localhost.. its work fine but on my linux server it throw this error [code]Fatal error: Class 'ZipArchive' not found[/code] through google i came to know that i have to uncomment the zip.dll in PHP.ini …

Member Avatar for pssubash
0
478
Member Avatar for valter

Hi, I am looking for a way to split a series of sentences to no longer than 100 characters per line, but with the split being on a white space, so that words are not broken. Is there a regex or some way to do this. Thank you valter

Member Avatar for PierlucSS
0
74
Member Avatar for Kanoisa

Hi all, Im wokring through NEHE's tutorials at the moment and building a cone approximation class to play with the code and learn from the examples but iv reached a snag. I cant get texturing the top curved part of the cone to work (i have called it a pyramid …

Member Avatar for mike_2000_17
0
487
Member Avatar for iPeterS

Hi, I'm kind'a new to AJAX, and have not a lot experience with JS, so this might be just a stupid beginners-error... I'm busy creating a PHP-website in which i'd like to implement some dynamic features (like adding comments tot photo's without having to reload, searching a user-DB, etc). I've …

Member Avatar for iPeterS
0
136
Member Avatar for dandixon

Hi Just wondering if someone could give me an idea of the best way around this problem. Ive been asked to come up with a solution for a site a little like the confused insurance comparison website. Basically i have a range of products that i need many companies to …

Member Avatar for dandixon
0
105
Member Avatar for judithSampathwa

Hi there, I have a question regarding file delete, for this I use the File.Delete() commend . as a parameter for this I send the file path. Which is “C:\\Documents and Settings\\awaduge\\My Documents\\Visual Studio 2008\\Projects\\Admin Application\\Admin Application\\Details\\P110082010112121\\Report\\Technical Sheet" And Technical Sheet is the file name. the file can be in …

Member Avatar for nssltd
0
186
Member Avatar for AngelicOne

i have textboxes that needs to have a value before passing it to database. How to do this? I'm new to windows form validation.. I know of something [CODE]if(textBox1.Text=="") { //do something }[/CODE] is this the right valdiation for windows form?

Member Avatar for Geekitygeek
0
401
Member Avatar for imso

How do you allow the controls of an application to go back to the cursor of the textbox after checking that the textbox has an empty input? what i want is just the cursor back to the textbox to allow easy user access. thx :) [CODE]txtReminder.?????[/CODE]

Member Avatar for nick.crane
0
138
Member Avatar for mpc123

I have products in a data base with several features to compare, i could do with 2x drop down menus where they are populated by the database and then once selected a table is echoed with all the feature fields. The 2nd one will be so you can compare a …

Member Avatar for mpc123
0
73
Member Avatar for shainjetly

i have a scenario where i need to know what are the entities it has. i found 5 entities. 1- Company 2- Customer 3- Package 4- Shipment 5- Staff I have been told that the company is not an entity. is it true here in this scenario? it says that …

Member Avatar for tesuji
0
480
Member Avatar for Major_Hafez

Hey , guys i'm just [I]beginner [/I], and wanna little help .. i have two WebPages ( [B]Default1 [/B]& [B]Default2 [/B]) in each one i put [COLOR="Red"]Datalist [/COLOR]control in [B]default1 [/B]the [COLOR="red"]Datalist [/COLOR]reading data from SQL DB and i edit Item Template to put [U]Hyberlink [/U]reading from DB ([U]Item_Name[/U]) !! …

Member Avatar for Emiliya
0
117
Member Avatar for FPinget
Member Avatar for syd919

helloz I am trying to make a program that calculates the distance between several cities and prints out the shortest distance of them all, the input will come from a textfile e.g 3 3 A 2 1 B 1 2 C 2 2 where the first two numbers are row …

Member Avatar for Ancient Dragon
0
442
Member Avatar for Acute
Member Avatar for Acute
0
116
Member Avatar for Namibnat

I am new to working with Django, and have found it really fun and interesting to develop with. But I have been trying to upload it to a hosted server and just not getting it to work. I have followed the instructions they give, but just not getting it to …

Member Avatar for Namibnat
0
223
Member Avatar for jop-pop

Hi, Need to do a project where the data from a HTML form is sent to Python, and then repackaged and sent back out as HTML. Problem is, I'm having issues with Python. When I run the form information with Python, I get this error: [QUOTE]There was an error with …

Member Avatar for Beat_Slayer
0
453
Member Avatar for progcomputeach

I'm interested to see how many languages most programmers end up learning and what languages are the most useful or popular. I've seen people talk about Javascript, C, PHP, Visual Basic, SQL, Java, and Python a lot. I thought it would be good to write down a list of programming …

Member Avatar for nicolajoseph1
0
351
Member Avatar for Ketsuekiame

Exact Message: [CODE="plain"]Error 1 error C3861: 'SHOWERROR': identifier not found[/CODE] My Includes: [CODE]#pragma once // Exclude rarely-used stuff from Windows headers #define WIN32_LEAN_AND_MEAN #define SAFE_RELEASE(x) if( x ) { (x)->Release(); (x) = NULL; } #define SAFE_DELETE(x) if( x ) { delete(x); (x) = NULL; } #define SAFE_DELETE_ARRAY(x) if( x ) …

Member Avatar for Ketsuekiame
0
304
Member Avatar for dadam88

There is a easier way and more efficent way to do this with a for loop I believe...I can't put the nail on it can anyone help me out? I want to move a character around in a array...right or left or up and down with md arrays. [CODE] #include …

Member Avatar for Kanoisa
0
108
Member Avatar for venkatnams

Hey guys,,here is a code that i got to upload an image,,,,i seriously dont understand wat s going on in this code,,,could some one help me out,,,,pls,, [code=vb] Private Sub mnuRecordAdd_Click() Dim rs As ADODB.Recordset Dim person_name As String Dim file_num As String Dim file_length As String Dim bytes() As …

Member Avatar for AndreRet
0
207
Member Avatar for Sheina_m

Hello experts! Since I am a newbie in the Vb programming, I'm really eager to ask you about making a search code. In my program, I have a textbox named txtCriteria.text, wherein the user inputs the title of the book they want to search. These are the objects I have …

Member Avatar for AndreRet
0
110
Member Avatar for Awah Mohamed

hi guys , i wrote this code but when i try to open the page it says there is a syntax error on line 26 here is the code : [CODE]<table width="400" border="0" align="center" cellpadding="3" cellspacing="0"> <tr> <td> <strong><h2>Welcome to Our Website</h2></strong> </td> </tr> </table> <br /> <? $tbl_name = …

Member Avatar for Shanti C
0
119
Member Avatar for jamesyrawr

ok there's a game i want to try and make an application for using Java i have some knowledge of JavaScript but its only used for drawing pictures and graphs and arranging images :P what i want to do is create an app for a game called tribal wars so …

Member Avatar for peter_budo
0
99
Member Avatar for NightKev

I've been putting together a player list for a sort of risk-like webgame-type thing me and a friend are working on, and I'm having trouble getting some text to display on a webpage. Here's the code: [CODE=Python]from django.http import HttpResponse class players: def info(self, name, territory, color): self.name = name …

Member Avatar for tls-005
0
166
Member Avatar for hanvyj

I have a curius problem with my bitmap writing function, it takes a char array and writes a 24 bit BGR bitmap. It was working fine using an array captured from a camera, I printed out the content of the first couple of bytes: 132 135 131 132 135 131 …

Member Avatar for hanvyj
0
214
Member Avatar for Tech B

I'm going to start learning web development useing Django. I'm following the tutorials on their site and when I run "python manage.py runserver" i get a traceback saying: [code] Traceback (most recent call last): File "manage.py", line 11, in <module> execute_manager(settings) File "C:\Python26\lib\site-packages\django\core\management\__init__.py", line 362, in execute_manager utility.execute() File "C:\Python26\lib\site-packages\django\core\management\__init__.py", …

Member Avatar for tls-005
0
219
Member Avatar for Smithy566

Hi all, I'm having a bit of trouble trying to convert a string which represents hex, to a byte. Logic below, something like this: [CODE] String hexString = "0x5C"; Byte myNewByte; myNewByte = Byte.Parse(hexString); [/CODE] [B]Error: "The input string was not in a correct format"[/B] I know I can have …

Member Avatar for Smithy566
0
96
Member Avatar for magunkey

Hi, I'm completely new to scripting and may as well be looking into a tin of beans. I'm working is CS4. I can create a contact form and set up the spry values and hidden fields etc. My host supports PHP but doesn't offer a mail script to I have …

Member Avatar for boorsekala
0
115
Member Avatar for arjunaw

I have a class template (ExclusiveMap) which takes two type parameters C1 and C2 and declares two private members map<C1, C2> and map<C2, C1> (both STL maps). In test code I instantiate this class template providing types int and string for C1 and C2 respectively. The test code compiles cleanly …

Member Avatar for arjunaw
0
180
Member Avatar for shivaniaroraji

i have uploaded a group of files and the number of files uploaded is dynamic its value is recieved from form now the name of file type is the number of attachment e.g if 2 files are uploaded then name of 1st file in form will be 1 and name …

Member Avatar for boorsekala
0
92
Member Avatar for PixelExchange

Hello everyone. Does anyone know if a database has a maximum capacity to much data can be stored inside of it? Someone told me that the max info a given database can hold is 4 gigabytes. Also, if there IS maximum capacity per database, does anyone know how to INCREASE …

Member Avatar for PixelExchange
0
134
Member Avatar for BlueCharge

Hi Everyone, I am currently trying to list a leaderboard for refferals. The table is set up with the following columns: id | refferer | user So obviously if someone reffers someone else they will be in a new row so there are multiple rows per person. I am trying …

Member Avatar for boorsekala
0
148
Member Avatar for taylby

I am trying to get the following functionality working which requries some SQL. The need is to be able to produce a list of general staff who are not on holiday or on other sessions on a given day. I have two sql statements that will give me the information …

Member Avatar for taylby
0
269
Member Avatar for Levo

Hi, I am using the following code to download files from the internet: [code=c]size_t write_data(void *ptr, size_t size, size_t nmemb, FILE *stream) { size_t written; written = fwrite(ptr, size, nmemb, stream); return written; } int main(int argc, char** argv) { FILE *downloaded_file; if ( (downloaded_file = fopen (download_path , "w" …

Member Avatar for 0x69
0
2K
Member Avatar for AngelicOne

This is my current code [CODE] SqlConnection con = new SqlConnection("Data Source = .\\SQLEXPRESS; Initial Catalog = Library; Integrated Security = True"); string query = "select author_name from author"; SqlCommand cmd = new SqlCommand(); cmd.Connection = con; cmd.CommandText = query; SqlDataAdapter da = new SqlDataAdapter(); da.SelectCommand = cmd; DataTable dt …

Member Avatar for AngelicOne
0
122
Member Avatar for DaveTELFA

I seem to be getting a null error and I can't for the life of me solve it. I'm basically creating a Tetris clone, but I can't seem to get this to work. I'm creating an array to hold the square shape, and then I am creating rectangles that are …

Member Avatar for zerocool21
0
430
Member Avatar for kollon

Hallo dont now if its right forum and excusse for bad english. I hawe a site on one.com and tried to restore my sql data base. i hade a backup, before i restored it i dropped all the thables to read in the new wone. buth it dosent work it …

Member Avatar for pavan_teja
0
117
Member Avatar for aladar04

I have attached the files. I think, there's a problem with listarr.cpp. I'm not yet good at c++ terminologies, please take time to download and see the files. I use dev-c.

Member Avatar for cgcgames
0
325
Member Avatar for trippinz

I have created a string in (e.g. Button1_click) Call that string "textboxtext" now for some basic text to assign to the string I did the following [code] public void button1_Click(object sender, EventArgs e) { string textboxtext; textboxtext = textBox1.Text; textboxtext += textBox2.Text; textboxtext += textBox3.Text; //Some other code later on …

Member Avatar for saravind84
0
179
Member Avatar for shobhit25

hi all i m very new to php n wanna knw hw can i add a richtext box in my application... thanx in advance..

Member Avatar for arundurai
0
220
Member Avatar for floris

Hi there, I have a script in my intranet to which I have 100% rights to run through browser using exec(); passthru(); system(); etc with php. Now we use this to make automated backups per user database of certain systems connected. Very simple for the end-user after done working and …

Member Avatar for TheOgre
0
254
Member Avatar for DubZ

Can anyone help me create an .exe using Mirosoft Access. I have an Access application and I want to place an .exe file on the server so that everyone can have access to it. Please Help!!:!: :cheesy:

Member Avatar for shivareddy
0
393
Member Avatar for nv136

I am having a tough time in vb.net to make the scrollbars to work of the contents of a panel.... here is my code Private Sub HScrollBar1_Scroll(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ScrollEventArgs) Handles HScrollBar1.Scroll Panel122.Left = HScrollBar1.Value now, i want to change .Left to .Right, but it won't …

Member Avatar for Oxiegen
0
181

The End.