199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for JoshuaBurleson

In one of the books I'm using to study Python I keep seeing things like: [CODE] class Application(Frame): super(Application, self).__init__(master): self.grid() self.bttn_clicks=0 self.create_widget"""which is another function in the class"""[/CODE] Why is the super necessary for the class if the class it's calling is itself?

Member Avatar for JoshuaBurleson
0
263
Member Avatar for Obadiah1

hello every one, i ask for some help i would like to write program that enables the user to insert a photo into the picture box by clicking on a button. i used the following but it is bringing an error [CODE]pictureBox2.Image = Image.FromFile("path");[/CODE] Thanks

Member Avatar for Jazerix
0
124
Member Avatar for surajrai

Hi, Can you give some practical example of association, aggregation and composition which will make this understandable. regards,

Member Avatar for abhisinghstudy
0
154
Member Avatar for ceal21c

Hello, I am trying to bind an Access database to a MSChart control in VB Net 2008. I have a test database populated with four fields SAMPLE-Date\Time, Values-Number, MAX-Number and MIN-Number. I'd like to only display the rows that fall within a specific date range but I'm running into a …

Member Avatar for Upoma
0
85
Member Avatar for CSharpUser

Hi all, and thanks in advance for your help. I am trying to write a Linq to XML query that will test attribute values in multiple elements and return the possibly multiple qualifying entries from a main element. The XML I'm looking at is basically like this: [CODE]<ContentList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" …

Member Avatar for CSharpUser
0
2K
Member Avatar for zoraster01

can you help me to code a vb.net program.. i want to have a button that if i click it will add a table in the sql server database.. tnx :)) i really really need this code i only have 1 week to finish dis project :))

Member Avatar for shivya jain
0
132
Member Avatar for vishalbhavsar

hi all, i am trying to do a mini project in java which is totally console based. please suggest me few topics for it...

Member Avatar for amrita111
0
161
Member Avatar for tky

is it possible? i would like create Q&A game with a countdown-timer. if timer=0 then stop the game. how can i do this? Thank you

Member Avatar for qqaa1122
0
634
Member Avatar for newbie14

Dear All, I have read dateTime field into a string from mysql database and in my java I have another dateTime in string format and in same format as the mysql date time and would like to compare both to see which one is before?

Member Avatar for newbie14
0
166
Member Avatar for Hayzam Sherif

Hi i Am A Newbie In This Website So Please Go Easy on Me. I Have Baisc Knowledge of C++ And I Do Projects on A Daily Basis, But I Have Never Tried Anything Related To Networking .So I am Asking How Can I Make A Chat Program With 2 …

Member Avatar for Narue
0
212
Member Avatar for Digitalwolf

Hello everyone, i write mostly in java but have recently started picking up c and c++, and i was wondering if there was an equivalent to the java date class in c++ or c? I've searched for a date.h and came up empty.

Member Avatar for Digitalwolf
0
629
Member Avatar for pseudorandom21

Basically I'm wondering what a sensible approach to learning Windows driver development would be. I have a logitech mouse that logitech decided to drop support for Vista/W7 on, and I'd like to write a driver for it but if that isn't possible it's fine and I would work with some …

Member Avatar for Narue
0
81
Member Avatar for anglerman247

Hi I'm new to this forum and I am looking for a little help. I was wondering if someone could provide some code that allows someone to enter a message into a comment box, hit submit, and then that message is sent to an email account. I also have two …

Member Avatar for tej kharka
0
501
Member Avatar for thompsonSensibl

Hi there, I am trying to get the words (city names) from a user input. For example, the inputs: [CODE] String input1 = "Pyeongchang 135135.13 531.351"; //Note: "Pyeongchang" is of one word. String input2 = "New York 3543.25 25352.523532"; //Note: "New York" is of two words. [/CODE] I need to …

Member Avatar for JamesCherrill
0
174
Member Avatar for Upoma

I need the dates in a specific range.And i want to get the result in java manipulating from a MySQL database.Now how can i do so. Suppose there are 3 days 17.08.2011,18.08.2011 and 19.08.2011 .I want the dates in the range 16.08.2011 to 18.08.2011 .So how can i manipulate it …

Member Avatar for mKorbel
0
162
Member Avatar for phaedrusGhost

Hi all, For some reason I can't seem to wrap my mind around JOINING tables and getting the data I need from this. I have three tables I am trying to join. I need to count the number of blogs, comments and number of views for each user. I have …

Member Avatar for phaedrusGhost
0
127
Member Avatar for muaazab

Hi, I am learning to work in JAVA. I have gone through the basic concepts, understood and experimented small codes successfully. The point where I have been stuck is garbage collection, finzalize() method and System.gc() method. I have searched these on Google but all the explanations are in high-tech language …

Member Avatar for JamesCherrill
0
253
Member Avatar for pivotcity

I have been looking at tutorials in regards to isNullOrWhiteSpace to validate user input of a string. but i am unsure how to initialise the method. This is just a code snippet and all i am trying to do is place this in a loop to ensure if user presses …

Member Avatar for pivotcity
0
296
Member Avatar for coroll

Hi all, I want to know how to assin a return value to a variable when calling a regex function. it always returns a bit type of value(its ok). i want that bit type of value tobe cheked whether it is '0' or '1' this is my C# code in …

Member Avatar for coroll
0
181
Member Avatar for David321

Is there any easy way to view the full content of multidimensional arrays in VC++ 2010 in the debugger (or some other way I suppose)?

Member Avatar for David321
0
204
Member Avatar for vizz

I have multilanguage emails(Hindi,chinese,japanese etc). I can not read that multilanguage emails using [COLOR="Red"]imap_fetchbody or imap_body or imap_bodystruct[/COLOR] can anyone help me to read emails?

Member Avatar for vizz
0
597
Member Avatar for Simplicity.

Dear Folks, When I iterate within the very bottom function under the comment "#Update conserved quantities" in this module using for loop (see below), I have noticed that the block of statements below it is not iterated, [CODE] """ """ from numpy import * from math import * from scitools.std …

Member Avatar for Simplicity.
0
3K
Member Avatar for kmk_cena

Hi evryone, i'm doing a project in Asp.net. I need your help in generating report. The concept for generating report is when each user login to the website using his id i would retrieve data from his table if 2 values is retrieved thn this 2 values act as a …

Member Avatar for kmk_cena
0
152
Member Avatar for rodge125blazer

I have a project.A shape game There are shapes and yours should be controlled by arrow keys.. you should crash with another to gain point. once you collide to a another shape, it should adopt the shape and the color. The problem is when i se,t for example, shape1 top …

Member Avatar for rodge125blazer
0
200
Member Avatar for vishal1949

I am making a program of a bowling tracker. I made four names and then I have to add specific dates they played and then the score they got on those days. Then print to screen the names, the number of games they played, average score, last games score and …

Member Avatar for NormR1
0
412
Member Avatar for Genericusername

Hello, I have written some code that spans 5 different files, which are all in a folder called Employee. The code runs fine without a package, but i have an assignment to package them. When i try to compile the object method which contains all the get and set methods, …

Member Avatar for Genericusername
0
147
Member Avatar for manchurianCEO

Hello, I just revamped a website and rather experimented including absolutely all <head > contents within a single .php file, including google analytics. But I am a little confused now reading the analytics for my website and I wonder if google analytics, being fed to all the pages from a …

Member Avatar for manchurianCEO
0
153
Member Avatar for hughesadam_87

Hey everyone, I've tried extensively to find a thread like this already, so I hope it's not a repose. Basically, I have a program with a nice GUI (Tkinter) which has a frame which takes in matplotlib figures. I am able to connect the plots to the Tkinter frame this …

Member Avatar for hughesadam_87
0
390
Member Avatar for SamY

I know how to print forms in vb but i wanted to change the page orientation to landscape but the code in the help file is [COLOR=red]:evil:form1.orientation=1 '1 for landscpe and 2 for prtrait:evil:[/COLOR] [COLOR=#ff0000][/COLOR] [COLOR=black]this doesn't work please help[/COLOR]

Member Avatar for agrothe
0
1K
Member Avatar for mikejs

Hi I am trying to save settings on close I have the following code [CODE] Private Sub MainSystem_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing My.Settings.firstRun = Me.RadCheckBoxFirstLoad.Checked = True End Sub[/CODE] and on form load [CODE] If My.Settings.firstRun = False Then RadPanelWelcome.Show() Else RadPanelWelcome.Hide() End If[/CODE] I …

Member Avatar for mikejs
0
143
Member Avatar for discovery-power

Hi All, I am writing a program that saves quotes for writers to an xml file. Well I save my data to the xml file, but when I go to load the document I get this exception thrown at runtime. System.Xml.Xsl.XslLoadException was unhandled LineNumber=2 LinePosition=1 Message="Stylesheet must start either with …

Member Avatar for lolafuertes
0
268
Member Avatar for ptemedia

Hi, I have seen a lot of people have been having a similar problem to this, but I have not found a solution and so daniweb is the best place to go! Basically, whenever I use: [CODE]<?php include_once "Filename.php"; ?>[/CODE] which I often do for the header, navigation and footer …

Member Avatar for ptemedia
0
277
Member Avatar for ninjatalon

I've created this application for some clients and for some odd reason it is not working for 1 of my clients. its seems to download a file no problem using this code [CODE] Dim request As FtpWebRequest = Nothing Dim response As FtpWebResponse = Nothing Dim respstrm As Stream = …

Member Avatar for ninjatalon
0
177
Member Avatar for warlord902

I am using netbeans 7.0 in windows 7. The problem I am facing is that when we design any frame in GUI builder of netbeans then it uses Windows Look and Feel always, so i need to design according to that. So as long as I use windows look and …

Member Avatar for mKorbel
0
867
Member Avatar for Srcee

I'm writing an application in C#. I already have not empty .xml file but I want to add new values in it, without deleting some old. I have tried these codes: First: [code=c]FileStream docNewUser = new FileStream(@"C:\\MyApp\\MySubDir\\Data\\" + pr + ".xml", FileMode.Open); XmlTextWriter xmlNewUser = new XmlTextWriter(docNewUser, null); xmlNewUser.WriteStartDocument(); xmlNewUser.WriteStartElement("RootEl");//root …

Member Avatar for hericles
0
166
Member Avatar for Javaid1

Hi All, A newbie question and a really stupid one indeed:$ I want to store some incoming data into an array and then compare it with an array that I have defined. I am posting the program here but it is Arduino based and uses the Wire library. But I …

Member Avatar for Javaid1
0
797
Member Avatar for Nahiyan

Hello, I am storing my mysql connection data and other sensitive information in a config file, however I detected an issue that anyone can access that file and view the contents of that file but I don't want to let anyone do that without appropriate permission. I can encode the …

Member Avatar for eXpertPHP
0
130
Member Avatar for Roobin

Hi! Im Im trying to read a some 32-bit registers from a PLC and check if a bit is set. If e.g bit number 8 is set then i have an alarm. If bit 9 is set then it is acknowledged. If there is an alarm i would like to …

Member Avatar for sknake
0
855
Member Avatar for rom.

Hi all. I'm trying to move someone else's app onto a different server (and debug it in the process). Among the onslaught of bugs to squash, theres one I just cant get my head around... I get a parse error on try-catch, and I have no idea why. I've isolated …

Member Avatar for rom.
0
340
Member Avatar for SANJAY26

[CODE]Imports System.Data.OleDb Public Class Form1 Public con As New OleDbConnection Public cmd As New OleDbCommand Public da As New OleDbDataAdapter Public dr As OleDbDataReader Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim oOLE As String Try con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\BOND\BOND\bin\database\RBIBOND.mdb;Persist security info=False;" con.Open() oOLE = …

Member Avatar for SANJAY26
0
112
Member Avatar for DaveTran

Hi folks, I was wondering how I can differentiate between file types when using OpenFileDialog. I would like to be able to have the option to load different file types (as denoted by the Filter property) and handle each type in a different way. For example [CODE] Stream stream; OpenFileDialog …

Member Avatar for DaveTran
0
230
Member Avatar for cse.avinash

Can any one help me to know how to deal with big numbers, like to count the number of digits in factorial of 5*10^9. or how to make number 20,000 decimal. array can store only to 10^6, if heap is taken the size could extend up to 10^9.How to deal …

Member Avatar for TrustyTony
0
281
Member Avatar for Majestics

How to set white back ground for disabled combo box??? I already tried setBackground.... But it didnt work like textfields.

Member Avatar for mKorbel
0
1K
Member Avatar for supersuru

hey can any one please help me by showing me how to buy and sell a product online using php

Member Avatar for supersuru
0
61
Member Avatar for Vaspar

[IMG]http://i25.lulzimg.com/29b7c6.png[/IMG] I used transparent panel and labels... used paint method to round corners... b4 using paint method panels were transparent but now one panel is transparent others are white... in properties it still transparent [url]http://www.mediafire.com/?l7tbtsh00w97pyn[/url] if i select wordpress category panel become transparent.. how i can solve this problem and …

Member Avatar for Vaspar
0
104
Member Avatar for binu_ds

I fetched some data(eg:name ,email,phone,mobile etc) from a website using simpleDOMhtml.I want to store it into the database.Which page will write the code and how will write?Please help me.Thanks in advance.

Member Avatar for binu_ds
0
166
Member Avatar for fragtech

My program generates a list of random or pseudo random numbers between a certain range specified by the user through the console. My problem is when the user, or in this case myself, tries to generate a random number list specified by entering true(1) in the console the output is …

Member Avatar for WaltP
0
176
Member Avatar for krulex

I have made a following program that will convert lower case letters in to upper case and upper case letters will remain same and that will be done Realtime (as character is typed). [CODE]#include<stdio.h> #include<conio.h> void main(void) { char ch; printf("Type a sentence: "); while (ch!='\r') { ch=getch(); if (ch …

Member Avatar for krulex
0
455
Member Avatar for nikita.chandra
Member Avatar for KSS
0
106
Member Avatar for dr.4030

Hi I create some tables in EasyPhp>>Phpmyadmin>>test(db name)>>((localhost)) and it works correctly with my designed page in dreamweaver but i wanna upload all of tables into the mysql db in cpanel So, the question is How can I move all of the tables with saving details to mysql db in …

Member Avatar for anand01
0
133

The End.