Internet Computer Mobile Games

Development Help

59892 Posts - Page 2994 of 2995

python33, dictionary, NoneType' object has no attribute 'append'

I am not able to initialize empty dictionary in python33. I have tried: Expand|Select|Wrap|Line Numbers D=dict() D={} Later i want to insert values using: Expand|Select|Wrap|Line Numbers D.setdefault(num).append(ansdb2.Rname) In both cases i am getting error "NoneType' object has no attribute 'append'"

Whats the best backup software for Exchange Server?

I was recently asked by someone what is the best software for backing up Exchange Server, in all of the companies I worked at we always used Symantec but from experience we always had problems with it. It will go for a few weeks or a month or two and then it starts failing and have to be played with to get working again. What backup software would you suggest for regular backups of Exchange Server? Thanks

could you please help me with regex

I want to find all repeating pattersn with start with 1-2degits, contains some text, strange scharacters and numbers and finishes with 4 digits. For example, Expand|Select|Wrap|Line Numbers ref=""" 1. Lieber, C. M. The incredible shrinking circuit. Sci. Am. 285, 58±64 (2001). 2. Cui, Y. & Lieber, C. M. Functional nanoscale electronic devices asse

Write a program that asks the user for two numbers and then print the maximum and min

anyone can tell me how to write this programm ??? Write a program that asks the user for two numbers and then print the maximum and minimum number to the user

Nullreferenceexception was unhandled by user code

Expand|Select|Wrap|Line Numbers using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using MySql.Data.MySqlClient; using System.Data; using System.Configuration; public partial class regis : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (IsPostBack) {  

Hyper-V - Backup Software

What kind of backup software would you suggest? Anyone know of a good Hyper-V backup solution? I would like to backup my VM's, preferably free, if I can. I have used CloudBacko before and see that they have Hyper-V aware/optimized solutions. Anything different I should be looking at? So any advice is appreciated.

Search engine for books

I have zero programming skills so I am posting this question so that some one helps me through this. I have some books in my PC, numbering about 5 to 7 thousand. I intend to download more. Now I want to create a program that can allow me to first tag my books with tags, and then allows me to search through my files using those tags. For example. I would like to tag "Catcher in the Rye" with tags,"coming of age" , "murder", "lost childhood", "books wh

Dev C++ Compiling error missing seperator

When I try to use the 'make' command, I get an error from line 5 in my Makefile line 5 is: g++ $(OBJ) -o Raytrace.exe I'm following this tutorial: https://www.youtube.com/watch?v=wbhOJDHNp1U&index=14&list=UURMDtZfzPspaYFX 6mkM4Qyw

Leaderboard synch with wins and loses

I'm currently attempting to make a leader board which will track wins and loses for each player, I need help getting it so that the name and the win/loses is synched with each other and when I add another win or loss it will add it to the players current wins/loss (so player 1 win =1, and then add another win and it will be player1 win =2) instead of simply making me have a big list of 1s with no way to know who's wins are who's. I'd really appreciate any help is could get as this is my first b

-HELP- sum of 2 textboxs and then getting the total in the last textbox

I am trying to get 2 numbers from 2 textboxs and get a return sum in the third textbox. the strange thing is that i got it to work with this code that i am going to provide on the last app i worked on, now on the new app i am on it doesnt work at all.. Expand|Select|Wrap|Line Numbers int sum1 = 0;             int sum2 = 0;             

Does a Scheme Compiler need a Linker?

Hello, everyone. I have two questions: 1) Does a Scheme compiler need a linker, like in C? 2) Does anyone know of a compiler book (in any programming language and for any programming language) that teaches compiler design including algorithms for generating an executable for Windows? Thanks in advance!

-HELP- How do you populate textbox from selecting an item from combobox

What i want and its been a pain to understand on how to put information into a combobox then show up in a textbox, like an example, i have a txtName and txtComment and a cboProductName, when I type a name in txtName and add information in the txtComment it will populate the combobox, but when you select that name from the combobox it should show the information in the txtComment. Here is the code. Look at the bottom of the code on what i am trying to do. Expand|Select|Wrap|Line Numbers

to make worrd puzzle through python programming

is there any way we can make word puzzle using python programming in 2 dimensional way??? i made 'file_name.txt' containing (asdfghklo) and i need to make some valid words from that txt file (sad,had,gas), which i saved on a 'input_word.txt', can we make our program that read these two files and ?? i got this so far:- '''Original puzzle: | a | s | d | | f | g | h | | k | l | o | Valid words in the puzzle are: sad had gas''' AND IM TRYING TO GET WORD PUZZLE LIKE THIS TO FIND WORD PUZZLE HORI

How to get my form to stay on current record after outputting to PDF

So I have this code below to print to PDF: Expand|Select|Wrap|Line Numbers With DoCmd .Save .RefreshRecord End With Dim SfPath As String SfPath = "\\usfoxsrvfil096\NFDQE\NCR PDF\" & "NCR " & Format(Me.ID) & ".pdf" Dim strOriginalRecordSource As String Dim strNewRecordSource As String strOriginalRecordSource = Me.RecordSour

strcasecmp not working with database value

am trying to compare two variable which I select from the value from database but it does not work please help me fix this below is the code. Expand|Select|Wrap|Line Numbers   $result1 = @mysql_query("SELECT * FROM events"); $data1 = @mysql_fetch_array($result1); $dvenue1 = $data1['ven_title'];       $result = @mysql_query("SELECT * FROM events_location"); $data&

Lottery problem help C++ Lotto is a game in which winners are chosen by random drawin

Lotto is a game in which winners are chosen by random drawing of numbers from among those who have paid money to participate. Write a program that will simulate the lotto game by asking the user five numbers(use array) and should generate a random number in the range of 0-9 for each array element. The program will compare the corresponding elements in the two arrays and if a count of the digits that matches. For instance, if the lottery array contains 8,5,0,2, and 4 and the user array contains 5

coding: cp1252, coding: windows-1252 stop working

OS: windows Python 3.3.5 I am using characters like 'öÖäÄåÅąĄčČęĘėĖįĮšŠųŲūŪžŽ' in my scripts and adding the script file the first line Expand|Select|Wrap|Line Numbers # -*- coding: cp1252 -*- Currently i start getting the error: "Invalid encoding cp1252" when i try to save the file. And error "encoding problem: windows1252 with BOM" when i try to run the file. I also

Running MS Access on Parallel Desktop 9

Periodically I run into problems if two users access the same file in my database at the same time.Changes made by one user affected the records of the second user.

how to freeze header row of grid view in asp.net

Hi i am developing asp.net web application using visual studio 2010. Code is in vb.net I have panel which have horizontal and vertical scroll bars. Inside panel there is grid. i what grids header row to be freeze while scrolling panel vertically. i googled it found many css and javascript but nothing is working for me Please help

Weird DCount Runtime Error 2471

I am trying to run a loop that will enable me to change the values of multiple text boxes. When I do a DCount/DLookup, I am getting a really weird problem. The part of the code I am having an issue with is below: If IsDate(Me.Controls(DateName)) Then DateL = D6Date CritStr = "[Dt] = D6Date" CritStr1 = "[Dt] = DateL" MsgBox (DCount("*", "ManHoursQ", CritStr)) MsgBox (DCount("*", "ManHoursQ", CritStr1)) End If ---- So the first DC

Design Apple Development Security Automobile Network Photography Health Money Travel Shopping Issues Operating systems Drivers Software Programming Tech Home Science Sport Solution