199,126 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for CodeWarrior14

I improved my AES encryption code, I now generate a key from a password of any length. But now I dont know if I'm generating a 128, 192 or 256 bit AES key. Here is my code: import javax.crypto.spec.PBEKeySpec; import javax.crypto.spec.PBEParameterSpec; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory; import javax.crypto.Cipher; public class AESCipher …

Member Avatar for CodeWarrior14
0
3K
Member Avatar for mrhunt
Member Avatar for Delano_1

Gives me the error on the line :while costumepmt <> 7777 AND revname <> 'qqqq' do, I really don't know what to do, please help, thanks in advance! Program revelers_info; uses wincrt; var revnames, busybodies, summerbodies, readybodies, winnerbodies, goldenbodies :Array[1..7] of string; costumepmt, busybodiescost, summerbodiescost, readybodiescost, winnerbodiescost, goldenbodiescost:Array[1..7] of real; …

Member Avatar for SalmiSoft
0
3K
Member Avatar for riwakawd

I use codeigniter 2+ for my frame work I am having issue with my multple file upload that are in array. I is not picking up the number with in the array. Example: name="banner_image[auto_generated_number]['image']" how to make a foreach work with the banner_image[auto_generated_number]['image'] Currently my code is public function do_upload() …

Member Avatar for lps
0
212
Member Avatar for AntonyRayan

while updating an user profile , if I update a new image ,it updates the new image and displays it. If I update other fields without updating image field , it updates others, but it does not showing the image. How to display it?

Member Avatar for lps
0
151
Member Avatar for malatamil

i have two tables. in 2nd table i assigned the 1st table primary key as foreign key. i have two options edit and delete. i can't delete foreign key value and also primary key value in 2nd table.

Member Avatar for mangel.murti
0
212
Member Avatar for toyanc

I am new to android programming. I tried to execute a app from one of the tutorials and it is showing runtime error. If it runs highscores menu. Application closed. Below are the error messages from logcat and the activity file. Appreciate your help. Thanks in advance. ERROR 12-15 03:49:51.124: …

Member Avatar for cool_zephyr
0
262
Member Avatar for Papa_Don

Hello Group, I'm trying to convert some VBA code into VB.net. Here is that VBA code: Open filePath For Input As #1 ' filePath = the text file I need to read Do Until textRowNo = 8 'discard these first 7 rows... Line Input #1, LineFromFile 'this is the row …

Member Avatar for Reverend Jim
0
9K
Member Avatar for Transcendent

What languages do you need to learn to be a software engineer? I can only think of c, c++, and java but do you need to be really really good at it?

Member Avatar for rubberman
0
160
Member Avatar for Sruthi_2

Hi, I am trying to write a script that will traverse through my directory and sub directory and list number of files in a specific size. For example 0kb-1kb: 3, 1kb-4kb:4, 4-16KB: 4, 16kb-64-kb:11 and goes on in multiples of 4. I am able to get list of file numbers, …

Member Avatar for woooee
0
247
Member Avatar for Transcendent

What languages do you need to learn to be a web developer? I know you have to learn html, javascript, php, and css but do you need to be pro at it?

Member Avatar for diafol
0
160
Member Avatar for vizz

I want to read pdf file and store only contents of pdf file as it is into mysql database. Can anybody help ? please ...... Thanks.

Member Avatar for diafol
0
2K
Member Avatar for grakovski

Hello! I have some i like this: `<i class="pcon" style="background-image: url(./styles/SkyBoot/imageset/topic_unread.gif); background-repeat: no-repeat;">` I want to change only this: `styles/SkyBoot/imageset` to this: `styles/SkyBoot/imageset/black` Because i have cookies and i want to create second template. I want this to change images for my black template (second theme) I try with: `jQuery('.pcon').each(function(e) …

Member Avatar for grakovski
0
428
Member Avatar for klemme

Hi all, Im starting to use composer, and have installed a few packages - This thread is about illuminate/database component. Im clearly misunderstanding something about how i can use the autoloader. I have the following directory structure: -app -assets -vendor index.php [Request goes to index.php] - This file includes composers …

Member Avatar for klemme
0
1K
Member Avatar for gentlemedia

Apologies for such a vage title, but I seriously don't know where the two issues I have are related to. My JavaScript/jQuery skill is on a noob level, so bare with me please :) I'm working on a AJAX/HTML5 History website which is a pet project of mine. It will …

Member Avatar for Airshow
0
553
Member Avatar for denmarkstan

I am new to vs2012.I am trying to run MVC3 tutorial to experience the working of vs2012. I have ran thesame tutorial on vs2010 successfully and inserted new record. Now I want to run thesame tutorial on vs2012. On both cases, i am using sqlserver management studio and entity framework(dotnet …

0
103
Member Avatar for Mohamed59

Hello, I have a problem with my connection to the emulator mySql when I log on to my games and I run a command me his crash, is when I see her in my my emulator me this error: Error Message - Connection must Be valid and open (System.InvalidOperationException), its …

Member Avatar for Mohamed59
0
1K
Member Avatar for prash21m

Hi than, Just wanted your help. I have been stuck on a place. I just want to create a script that can echo "next" and "previous" or both based on total number of content. I have parameter in url like : mysite.com/index.php?start=8 (page 1) mysite.com/index.php?start=16 (page 2) mysite.com/index.php?start=24 (page 3) …

Member Avatar for EvolutionFallen
0
140
Member Avatar for hira_5
Member Avatar for هومان

Private Sub GenerateButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GenerateButton.Click Dim i As String = PhoneNumberTextBox.Text Dim one As Integer = i.Substring(0, 1) 'Remove each digit Dim two As Integer = i.Substring(1, 1) Dim three As Integer = i.Substring(2, 1) Dim four As Integer = i.Substring(3, 1) Dim …

Member Avatar for Reverend Jim
0
164
Member Avatar for alexdoc9999

Hello All This is probably an easy one (I hope). I have a JLabel whose text I am trying to right justify. Should be <labelname>.setHorizontalTextPosition(JLabel.RIGHT). Simple, right? (wrong). It does nothing to the text on the label. The text just shows up with it's default left justification. However, when I …

Member Avatar for Joao_3
0
889
Member Avatar for brijen
Member Avatar for Nation

Hie everyone, I am trying to develop a GUI through hard coding. I encountered a challenge: I created a Jframe and onto this I added a JPanel. **I assigned thge flow layout manager of the frame to null**(because i want to do the positioning of my components manually) The program …

Member Avatar for Nation
0
2K
Member Avatar for steven.rose.94

''' in Python 3.4 Attempting to parse and print one line (actually a number)from the downloaded code from yahoo sourecode using regex to pull the number that is located at the (.*?). I've tried everything I can think of to get this to work - I expect the problem is …

Member Avatar for steven.rose.94
0
361
Member Avatar for nitin1

int find(int x) { for(int i=0;i < n; i++) { if(a[i]==x) return i; } return -1; } int find(int x) { for(int i=0;i < n/2; i+=2) { if(a[i]==x) return i; if(i+1 < n && a[i+1]==x) return i+1; } return -1; } int find(int x) { for(int i=0;i < n/3; i+=3) …

Member Avatar for Duoas
0
211
Member Avatar for it@61@sec

I have the following struct definition: struct finfo { string filename; long fsize; bool operator() (finfo i, finfo j){return (i.fsize > j.fsize);} } fstruct; And the following vector definition: vector<finfo> fdata; In the code I use the following statement to sort the vector elements by fsize: sort(fdata.begin(),fdata.end(),fstruct); This works perfectly …

Member Avatar for it@61@sec
0
990
Member Avatar for TheGuy831

Hi ive been trying to InvokeMember onmouseup to close a banner in WebBrowser Control.. <div id="layer1" style="height: 0px; left: 240px; position: absolute; top: 30px; width: 10px; z-index: 1;"> <span onmouseup="document.getElementById('floatLayer2').style.display='none'"> <img alt="" border="0" height="12" src="http://www.streamking.info/images/close.png" width="12" /></span></div> PLease!!!! Help!! Thank You...

Member Avatar for TheGuy831
0
1K
Member Avatar for janicemurby

Hi i have 2 errors on some software i brought for inbox can anyone tell me whats wrong with the code below to cause the errors any help would be much appreicated ty jan Warning: implode() [function.implode]: Invalid arguments passed in /home/letsswin/public_html/inbox.php on line 198 Warning: mysql_fetch_array() expects parameter 1 …

Member Avatar for Traevel
0
252
Member Avatar for PierJean

hello! Being a newbie (70 years young) I an trying to complete this php code so my search-form with a multichoice-checkbox may return a selected response on a webpage from mysql 5.4 database. So far I have this query that is working BUT returning ALL members from the DTB regardless …

Member Avatar for PierJean
0
456
Member Avatar for renzlo

Hi, All, I am instructed to develop a console application which monitors a process. It is now done but the problem is when I'm running it the CPU usage increases up to 100%, kindly check below code for some enhancement: Console App: Sub Main() While True System.Threading.Thread.Sleep(1000) If IsProcessExist() = …

Member Avatar for Reverend Jim
0
421
Member Avatar for LukeJWhitworth

Hello Guys, How would I have a button that when I click skips the calendar forward one month from the selected date? I'm a bit confused as there is no skip option or anything. Regards, Luke

Member Avatar for LukeJWhitworth
0
104
Member Avatar for jean_5

This code gets the data from the table to show in a table for the user using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Collections; using System.Collections.Generic; using System.Text; namespace Form { public class RelUse { public DateTime Date { get; set; } } public RelUse() { …

Member Avatar for djjeavons
0
1K
Member Avatar for imti321

If i delete recored 1 next when i want to view the table i shall see recored 1 deleted and in that place recored 2 shall be named as recored one.By record i mean id <?php //var_dump($_POST); i used it to check if $_POST array contains the values or not. …

Member Avatar for imti321
0
171
Member Avatar for Taufique111

i've a code that's inserting but it's not dumping into the database!!!! private void buttonX1_Click(object sender, EventArgs e) { if (textBoxX1.Text != "" && textBoxX2.Text != "" && textBoxX3.Text != "" && textBoxX4.Text!= "" && textBoxX5.Text!= "" && textBoxX6.Text!= "" && textBoxX7.Text!= "" && textBoxX8.Text!= "") { string s = …

Member Avatar for mark261511
0
167
Member Avatar for flebber

Hi What would be a good recommendation for a practical resources on using xml, xpath and xquery? By practical I mean. Accessing values, storing files, creating set queries on xml to create a feed to push data to other applications (eg ipython, rstudio, the Web) maintaining data integrity, and transformng …

Member Avatar for Mike Askew
0
351
Member Avatar for jean_5

I have the following table User in my database Name(Varchar) DateOfBirth(datetime) Age(int) Name(Varchar) | DateOfBirth(datetime) | Age(int) John | 2014-12-20 23:59:59 | 0 Mary | 2014-12-20 23:59:59 | 1 How can i verify throught javascript if the field DateOfBirth of the table User of the database z is of type …

Member Avatar for jean_5
0
385
Member Avatar for CodingSource

Dear fellow programmers, I am trying to build a form that has two datetimepickers (for date range) and one button. When a user clicks the button the datagridview will show results according on the date range (by the two datetimepickers). This is my code so far: Dim dbconnection As New …

Member Avatar for Santanu.Das
0
807
Member Avatar for divyakrishnan

I am using uploadify to upload images in php. After uploading the files, showing the progress bar as completed but the uploads folder is showing as empty. I have downloaded the script and just added a new folder to upload files as uploads folder. Here is my code index.php <!DOCTYPE …

Member Avatar for network18
0
2K
Member Avatar for harishprakash
Member Avatar for 303factory

Greetings all I've done some research and its apparently impossible to hide a tab on a tabcontrol, I need to save one to a tab page variable and recreate it. I know how to add a tab from a TabPage variable [CODE] TabControl.Controls.Add(tab1);[/CODE] However I have no idea how to …

Member Avatar for Victor_8
0
125
Member Avatar for ALEXANDER R
Member Avatar for ALEXANDER R
0
278
Member Avatar for Violet_82

hi all, I've got something odd going on here. Basically I created a database table in visual studio 2012, using localDB and saved it OK. Now, I'm trying to amend something in it and when I right click on the table (Overtime) to "Open table definition", it loads for about …

Member Avatar for Violet_82
0
181
Member Avatar for Szabi Zsoldos

Hey guys, I have this script that does count one year of files, 2014, but when it comes to this year, everything messes up. How could I count properly for each year in the same script ? In the attached screenshot it's obvious that I would only need 2014 - …

Member Avatar for Watael
0
1K
Member Avatar for muhammad_74

hi,I want to learn java programming with start to end,Do you know any free website or books for me.plz answer i am nobb student. Thanks,uxama

Member Avatar for Nation
0
263
Member Avatar for Dacorncob

so, i got this code, what it does is that it counts down from 20 minutes, is there a way to do so it counts from 0 to 20 min in that same gui? try: # Python2 import Tkinter as tk except ImportError: # Python3 import tkinter as tk import …

Member Avatar for Dacorncob
0
509
Member Avatar for vizz

I'm using Multiple instances of jQuery.countdown. How to create countdown circles using jQuery Knob. http://jsfiddle.net/qt3rteL5/ http://jsfiddle.net/26ppb5yc/1/ (reload preview frame to see error and result) **jQuery.countdown Multiple instances** <div data-countdown="2016/01/01"></div> <div data-countdown="2017/01/01"></div> <div data-countdown="2018/01/01"></div> <div data-countdown="2019/01/01"></div> **jQuery Knob** <input class="knob days" data-readOnly="true" data-insidelabel="Days" data-width="150" data-angleOffset="180" data-fgColor="#fff" data-skin="tron" data-thickness=".1" value=""> <input class="knob …

Member Avatar for vizz
0
750
Member Avatar for khadikhel.orakzai

write a c++ program that will do the . Enter 10 integer . Pushing on stack and poping on user choice . pushing on queue and poping form queue . Bring the integer in order. Display the calculator selecting oprtion by user choice (+,-,*,%)

0
92
Member Avatar for TazaZaza

Hello the best crew, First i wish all of you happy new year and all the best wishes. Second if i have a two forms , with two datagridviews. first one is products , second one is orderline. i need to set a button on the first cell in the …

Member Avatar for imti321
0
290
Member Avatar for AntonyRayan

Hi godd morning to everyone. I have , 1.index.php 2.signup.php 3.check.php 4.logout.php 5.welcome.php 6.dashboard.php 7.connect.php Suppose, any user opens other pages except index.php(its default page), I need to show error reporting page and it should redirect to index.php. how ? is it possible?

Member Avatar for AntonyRayan
0
374
Member Avatar for EdJones

I'm looking for a script that generates random images using the PIL Image module by assigning random RGB values to each pixel on a blank canvas. Does anyone have one of those lying around? (I want to write my own just for practice, but if it's already been done by …

Member Avatar for vegaseat
0
6K

The End.