Hello everybody! Me again with an other question :) I have a file with a list and 3 functions in it; view, sort, append. I used pickle to save data changes in to an other file (films.db). Imagine you want to use this programe for the first time on your system so there is no db file correct? You should type python favemoviese.py view or favemovies.py append.... At this time the script must creat the db file immidiately beacuse there was no primary db file, right? And then you should be able to append your word to the list because …

Member Avatar
Member Avatar
+0 forum 14

Hi, I have a requirement where I need to generate the combinations of string based on some rules. For Eg: I have a string like: [x | y] z [A] Possible combinations are, z,ZA,xz,xyz,xzA,yzA The rules are, 1.[],| are symbols. 2.Any text inside [] is optional eg: [x] 3.| means “or” eg:;[x | y] – this means either “x” or “y”. Both cannot come together. 4.Any text outside [] is mandatory eg: z 5. <> Means range and can be ignored eg: <1-512> The text suffix to this operator must be treated as any other combination. Can we store these …

Member Avatar
Member Avatar
+0 forum 1

Hi all! I do the project about seafishing from the boat.Can anyone help to build the interesting storyboard.? Opened for ideas 24/7.Regards.

Member Avatar
Member Avatar
+0 forum 1

i installed PHP version5.4.3 SQL server 2008 IIS7 SQLSRV version3.0 Drupal 7 SQLSTATE[42S02]: [Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid object name 'watchdog'. This error occurs right after the following during Drupal 7.26 installation (shown in the error report). It hangs at the start of Install Profile: Installation tasksChoose profile(done)Choose language(done)Verify requirements(done)Set up database(done)Install profile(active)Configure siteFinished SQLSTATE[42S02]: [Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid object name 'watchdog'. Any idea?

Member Avatar
Member Avatar
+0 forum 1

how to create a menu same like daniweb. i am new to web designing. please help.

Member Avatar
Member Avatar
+0 forum 2

I have been trying to do this and i dont know why exactly its not working.. Here's the idea. I want to receive the name and age of a person via POST method and then put it in an array dynamically, so that as more names and ages are added, the array is increased. <?php if (isset($_POST['submit'])){ $name= $_POST['name']; $age= $_POST['age']; foreach($array as $name=>$age){ $array[$name]= $age; } print_r($array); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <form method="post" action=" <?php $_SERVER['PHP_SELF'];?>"> Name: <input type="text" name="name"/> age:<input …

Member Avatar
Member Avatar
+0 forum 6

hello, i have a application, with sql database, now i want to backup every week, so i have code a but it gives error: "The process cannot access the file 'C:\Users\yogeishh\Desktop\Restaurant-Stock-Management-System\Restaurant-Stock-Management-System\DataBase\RestaurantStockDataBase.mdf' because it is being used by another process." can anybuddy solve this error?? my code is :: " Private Sub btnCreateBackUpOfSetting_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCreateBackUpOfSetting.Click 'Try Dim fulfilename As String fulfilename = "C:\Users\yogeishh\Desktop\Restaurant-Stock-Management-System\Restaurant-Stock-Management-System\DataBase\RestaurantStockDataBase.mdf" Dim sfd As New SaveFileDialog sfd.FileName = "Restaurant Stock Backup" ' sfd.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.Desktop sfd.Title = "Select Save Location..." sfd.Filter = "SQL Server 2005 Files (*.mdf)|*.mdf" If sfd.ShowDialog = Windows.Forms.DialogResult.OK Then …

Member Avatar
Member Avatar
+0 forum 1

hi frend how cn i give a newly install windowserver 2008 on my pc a root domain name.....so that i could do automatic deployment of printer configuration on group policy an so fourth on my pc

Member Avatar
Member Avatar
+0 forum 3

Hi,I am an asp.net developer working on c# language I WANT TO GENERATE A DIFFERENT URL PATH FOR A PARTICULAR PATH FOR EG: my website url is www.abc.com when i used to write this url on webbrowser my page will get open. But i want to generate a duplicate url of www.abc.com like www.dfre4647/58fdrf43f and when i copy this url and make run on webbrowser, my same page gets open as it was open on run www.abc.com. The duplicate url should generate on linkbutton or on button click. On every click different url path gets generate but on running it …

Member Avatar
+0 forum 0

Creating a Report in Visual Studio 2008 In this section, you create a report that draws its information from the sample Microsoft Access database that ships with Crystal Reports. To create a report with secure data from the Your database follow these steps . 1. In Solution Explorer, right- click the project name that is in bold type, point to Add, and then click Add New Item. 2. In the Add New Item dialog box, in the Templates view, select the Crystal Report template. 3. In the Name field, enter the name "MyReport.rpt" and click Add. 4. In the Create …

Member Avatar
Member Avatar
+0 forum 1

Hello, I am facing a problem in creating setup project in C# window applications. Actually I have made two pojects, one fee managment system and library management system. In library management project i have merged the fees management project, so that i can reuse Student entry and updation forms in library management project. It is working fine. But when i am creating the setup for library management project it adds the EXE file of fees project in library project setup, so when i install it on any computer, it makes EXE files for both library management and fees management. I …

Member Avatar
Member Avatar
+0 forum 1

I know how to create groups, the problem is that I need to create Groups with diffrent scopes. For example: Security,Universal or Distribution, Global I have found the code, but I dont understand the "enum" part. How to join two enums if I want the group (for example) to be global+security. or: Universal+distribution. I tried many things, but I couldnt get the proper results. Thx for help! using System.DirectoryServices; using System.Reflection; public class ADGroup { private String ADGRPOUP = "group"; // Grouptype-Definition enum GrpType : uint { UnivGrp = 0x08, DomLocalGrp = 0x04, GlobalGrp = 0x02, SecurityGrp = 0x80000000 } …

Member Avatar
+0 forum 0

i have recently started using linx mint 13. have installed the LAMP package but i now have trouble creating the folders for the websites i want to develop. can i use the terminal to create the folders on the file system?

Member Avatar
Member Avatar
+0 forum 1

Hey everyone, I am new to the site and to programming so please be gentle. I am working on a simple project where I use pre-created classes that define shapes and call the methods within them to create a picture on a canvas. I have most of this down, but my problem comes in when I want to animate the shapes. I would like to have all the shapes of a particular image to move at the same time, but instead I get each individual shapes moving one after another. Here is an example of one of the methods I …

Member Avatar
Member Avatar
+0 forum 3

Where I can find Google Maps with route creator, object point and description tutorial? i mean this for make travel maps. I Would integrate these maps with these options in my Website.

Member Avatar
+0 forum 0

Experts agree that Creating Business Page Facebook is essential in order to advertise your blog online. But just recently, Facebook discontinue Static FBML and replaced it with IFrames. Now, I am confused on what to do with my facebook pages and how I can make use of this Iframes on my page. Also, I noticed that there is no landing page in Iframe... Any idea guys?

Member Avatar
Member Avatar
+0 forum 8

I thought this program was as good as done, turns out, it's more broken than I thought! Right now I'm in a panic, since it's due tomorrow, and I have a few big problems with it. Problem 1: I need to either open an existing file, or a new one depending on what the user wants. Opening an existing file works to a certain extent. If the user screws up and enters a bad file name, it says it can't find the file and prompts them if they want to try again, if they say yes, I'm screwed because even …

Member Avatar
Member Avatar
+0 forum 2

I know that it's a very undesireable scenario, but I need to create a database straight from java code. Yes, a database. Not a table. A database. The database will be dropped at the end of the program and will never be directly touched by the user, so all I'm really concerned with is the actual creation. Also, using a pre-existing database as a jumping point isn't really an option. I'm certain there must be some way to do this, but I haven't really found anything yet that sounds very promising....is this actually possible?

Member Avatar
Member Avatar
+0 forum 11

I am trying to make a program which so i can put in orders and have shopping and handling calculated the problem is, each time i run the program there will be a different number of people placing an order, how would i set up a loop that on each cycle creates a new variables? example: [code=python] loopController = input("how many order did we have today? ") while loopController >= 0: name = raw_input("Who's order") order = input("How much was the order") orderTotal = order + shippingCharge loopController = loopController - 1 [/code] after all loops are completed i would …

Member Avatar
Member Avatar
+0 forum 3

I have an object like this. List<TSQLBeginTransactionBlock_Ext> beginTranList =new List<TSQLBeginTransactionBlock_Ext>(); Now i want to make some changes to this object but i want the original object as well. I tried created a temporary object like this List<TSQLBeginTransactionBlock_Ext> tempBeginTranList =new List<TSQLBeginTransactionBlock_Ext>(); tempBeginTranList = beginTranList; then I've made changes to this temp object. But since class objects are of reference types the changes were automatically made to the beginTranList object. Can somebody help me out with this?

Member Avatar
Member Avatar
+0 forum 2

Helloo Im new in Databases. I want to create a simple shopping cart i have a table called product [CODE] CREATE TABLE `products` ( `id` int(11) NOT NULL AUTO_INCREMENT, `category` varchar(150) NOT NULL, `name` varchar(100) NOT NULL, `author` varchar(100) NOT NULL, `details` varchar(10000) NOT NULL, `price` int(11) NOT NULL, `imgpath` varchar(500) NOT NULL, `dateadded` date NOT NULL, `stock` int(11) NOT NULL, PRIMARY KEY (`id`) ) [/CODE] what i want is when i click the add to cart button the product must add to a cart i don't have a idea how to do this

Member Avatar
Member Avatar
+0 forum 2

The End.