199,114 Archived Topics
Remove Filter ![]() | |
How can i open acces file using a command button in vb. What should b da reference? what should b da code? Same question for opening pdf file. help me plz. | |
What this produces and why? >>> a = 2 >>> b = 5 >>> exec "print(a+b)" in dict(a=6, b=9) | |
Hey guys, Im looking for a simple blog script for a website. It doesnt need to be fancy, just a single admin page and then the blog display page. No styling is required, as I am to add this to a HTML template. If anyone could point me in the … | |
![]() | #include "stdafx.h" #include <iostream> #include <iomanip> using namespace std; int main() { char stupac1, stupac2; for (static_cast<char>(stupac1)= 'A'; stupac1 <= 'Z'; ++stupac1) { for (static_cast<char>(stupac2) = 'a'; stupac2 <= 'z'; ++stupac2) cout << stupac1 << setw(5) <<stupac2 << endl; } return 0; } So before i make mistakes explaining this, … ![]() |
Do you get content of oper right before trying it out? oper = ['plus', 'minus', 'times'] oper.extend('divide') How about do you know what happens when you run this? Big bang? ;) print('a' 'b' 'c') And this is same, isn't it`? c = 'c' print('a' 'b' c) | |
Hey Guys, I'm struggeling with an idea of mine and hope there's someone here who can help me. **My idea:** A small gallery package, consisting of as few files as possible (html, css, javascript) that can read the /images folder in the same folder, and output those files to the … | |
Hi all, I have two files namely a.txt b.txt a.txt contains 100 records and b.txt contains 9 records.These 9 records in b.txt is also present in a.txt.So,I need a script that compares these two files and outputs the unique 91 records alone in another file. Thanks to all in advance!!!! … | |
Hi! *Minimize HTTP requests*. One of the suggestion I always read is to combine files, so I made a little Class that merges files on the fly, the supported formats are CSS and Javascript. With little efforts, I think, it can work fine also with JSON and CSV. Usage is … | |
I am self teaching myself python and I have hit a question that I can't seem to figure out dealing with raw_input. This is the code that is confusing me: print "How tall are you?", height = raw_input() print "So, you're %r tall ." % (height) I input my height … | |
I created a simple program for animation direction in visual basic. but as I can is clockwise. then how do I make it in the counter clockwise ? this my listing program : Private Sub Command3_Click() 'animasi searah jarum jam Cls Form1.DrawWidth = 30 For i = 1 To 5 … | |
Hi, I wrote the followiing code for a Jtable: public class simpletabletest extends JPanel{ public simpletabletest() { String[][] data = { {"...", "...", "...", "..."}, {"...", "...", "...", "..."}, {"...", "...", "...", "..."}}; String[] Columns = {"Name", "LastName", "Phone", "MobilePhone"}; //DefaultTableModel model = new DefaultTableModel(data, Columns); JTable table = new … | |
Hi! Created application is working toooo slow, looks like there are a lot of memory leaks, there are a lot of pointers. So, please, can you advice some effective tool for run-time errors and memory leaks detection in Visual Studio C++? | |
Good Afternoon, I'm getting this errors on the program: warning C4244: 'argument' : conversion from 'double' to 'const int', possible loss of data warning C4244: 'argument' : conversion from 'double' to 'const int', possible loss of data warning C4244: 'argument' : conversion from 'double' to 'const int', possible loss of … | |
Hello everyone, this is something I wrote a couple months back. It is used as a universal class/object loader from an XML file. For the handling of XML I use the JDOM library. The story basically goes like this: I have a load of classes in a game I'm working … | |
I am trying to learn C++ and am trying to figure out how to use strings and if statements together. Here's the code I'm trying to play around with: [CODE=c] #include <iostream.h> int main() { char * a; cout << "Do you want to enter?\n"<<endl; cout << "To enter, type … | |
I checked a few websites related to this topic but I could not find anything to start with ? http://ditio.net/2008/08/06/detect-connection-speed-with-javascript/ http://www.emanueleferonato.com/2006/05/31/determine-connection-speed-with-php/ Using any of these is not giving the right result !! What should I do ? Please help! | |
Hi, I have been working on trying to figure out, how I can get a web page to call a PHP function and have the results returned to the client for processing, for about two weeks. I hope I am in the right forum (ie. Javascript). I will also post … | |
How can i check whether the text box is numeric or not? Because i want to do validation. but i tried many style still cannot work. | |
![]() | So I'm trying to write a program to play the card game Go Fish, and I can't get the following code to compile: import java.util.Random; public class CardPile { public static final int DECKSIZE = 52; private Card[] cards; private int numCards; public CardPile() { cards = new Card[DECKSIZE]; numCards … ![]() |
Hi All, I am needing some assistance on how I can grab the values for the number of die that come up as 1, 2, 3, 4, 5 or 6. I have the count variables holding the count for each one that fits the "if statement". But I can't use … | |
Hi there, I am new to this forum so please be patient with me :-) My problem is how to bring a nested XML structure into a single DataGridView. The XML looks like this: <Artist> <Name>John Doe</Name> <Age>36</Age> <Language>english</Language> <Artwork> <Picture>Picture 10</Picture> <Picture>Picture 20</Picture> <Picture>Picture 30</Picture> </Artwork> </Artist> <Artist> <Name>Mike … | |
Finding efficiently primes, whose begining numbers are also primes. See the thread http://www.daniweb.com/software-development/cpp/threads/425821/prime-number-c in C++ forum for discussion on topic. | |
Hi, Needs to construct the tables with the meta info retrived by another stored procedure I wrote, given the table id or name. There could be some flaws in the logic, not sure. The flow is - - iterate through one table which stores tbl name, id info - pass … | |
I want to create an email class with many functions and use this methods I want some advice how to make this flexible and reliable as much as I can but another important feature is security to verify all the external input I am going to past all my code … | |
Hi all, I'm having difficulty with a function I've written. What it does, is creates a standardised list of Options Value's in a Selector for HTML. The value of the MySQL query is then used as the value, but for some reason, I'm getting an error in the code. If … | |
How can i add some space between these four components and the JFrame window?  | |
hello friends, i want to learn cryptography,steganography ane algorithms , i have tried some books but failed. is there any way to learn from beginning and easily? thanks. | |
Hi to all I used standard item in binding navigator such as add and save button. How can I modified the code for add records button like if the user press this button then insert to my database and for the save button to save in my database. I already … | |
I think there are memory leak in my application, perhaps the problem is in a part of code status = myPubSubSubscribe.Receive(fsReceivedTopic, myBufferSubscribe, myHeader, 0); if (status == PS_ENGINE_UNAVAIL) { printf("Unable to connect to the pubsub engine: %s\n", PSPubSub::Status2String(status)); myBufferPublish.FreeBuffer(); myBufferPublish.~PSBuffer(); myPubSubPublish.~PSPubSub(); myBufferSubscribe.~PSBuffer(); myPubSubSubscribe.~PSPubSub(); return; } | |
![]() | Hi I have a question. I don't know where to started. I recently installed **CKEditor** and would like to know how to create a **Archive** page. It's kinda like a blog but for me it's kinda neat using the **CKEditor**. For example: Article: Hi ... page. I want to save … ![]() |
Hello, please help me. I want to maximize my form size when i maximize my window. means when i double click on window to maximize then my form also get maximize with window, i used dock property bt still not getting proper result. | |
I currently have a running program. All i want to do is be able to shut it down at anypoint by pressing CTRL C. I cannot figure out the code for this command for the life of me. Can someone please help me out? thank you. I am using c++ … | |
Hi, I have a form which saves a string of text to a database with rawurlencode() which adds things like space characters (%20) and newline characters (%0D%0A), however, when I use rawurldecode() on this string it only decodes the space characters, and ignores all the newlines, by simply printing them … ![]() | |
i wanna extract many ziped folders, but i am not successfull. i have find out problem but not the solution of that. whenever i pass an array or associative array in a for loop to code given below to extract all ziped folders to unzip it stop working. $zip = … | |
Hello, im trying to insert data to sql server and its not working so well even the code not show any error message or errors on compile. when i check the database......hes empty. Please look at the code for sulotion: [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using … ![]() | |
I have a union defined as so: typedef union RGB { unsigned Color; struct { unsigned char B, G, R, A; }; } *PRGB; I'm reading 32 bit and 24 bit bitmaps. I'm trying to Read Pixels from my RGB union and set pixels as well. I know bitmaps are … | |
Hi Guys, I am extremely new to ASP.net using C# the task i have at hand is as follows: Page Load Tasks 1. Ensure that the LDAP is online first and if it is not provide the user with a message plus send a outlook mail to the administrator. Once … | |
I cannot find the mistake in the following code function doArray(n){ // test with n > 1000 var str, i, j,arr=[], cnt=0, q=0, re; str = ["one two three","two three four","three four five", "four five one", "five one two"]; for(i=0; i<n; i++){ j = Math.round(Math.random()*(str.length-1)); arr.push(str[j]); } re =/two/g; for(i=0; … | |
here is my dilemma I have a database that consists of tables (duh!) for an award nomination project where I have a table for nominees and a table for each category of qualifications for example table 1 (nominees) name ID_NUMBER PK DEPARTMENT NAME PHONE# table 2 (education_information) ID_NUMBER FK DEGREE … | |
![]() | Hi I have a few questions. **1) I want to put the a text editor in the admin section so I can edit the 'home page' context from the admin section which is in php language (I have no context in the admin created yet, this will be my first … |
I have div. <div>This is text in div1.</div> How do i get the text written in div to variable in javascript ?? | |
**_Greetings, dear Python forum users, from newly appointed moderator pyTony!_** There have been some development lock up of the Forum database occuring due to debugging process of current transition process to new Forum software. I have today been appointed as moderator and I have started to learn the processes involved … | |
Hello all, I have an application in which I have put a datagrid with update and delete buttons. What I want is when I change the contents of the columns and click on update button, it should update that particular cell value into the database. My xaml code is as … | |
Hi, All, Is this possible? I want to copy the value of one cell in datagridview to the selected cells of the datagridview? See picture below:  Thaks in advance. | |
SMTP Error: Could not connect to SMTP host. can some one check if i doing this right? $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Mailer = "smtp"; $mail->Host = " smtp.gmail.com"; $mail->SMTPAuth = true; $mail->SMTPSecure = "ssl"; //ssl or tls //$mail->Host = "ssl://smtp.gmail.com"; $mail->Port = 465; //set smtp port for the gmail … | |
![]() | Hi Folks, Like many of you, I have been awaiting PHP6 for some time - especially since all those pre-emptive manuals appeared on the shelves of my local bookstore some time ago. The main wait, as far as I can make out has been down to the inability to agree … ![]() |
Hi all, I want to know the way of maintaining sessions in a WPF application. I did the same in ASP.Net but that was a web application. I'm not sure how to do the same task in WPF. Any help is appreciated. Thanks. | |
![]() | Hi again and thanks in advance ! Last question ! I have to create a class called polygon (not normal) that has in private the number of sides and the length of each side and in public that has 2 constructors (the one has as variables the number and each … |
![]() | Hi I have a question regarding **Ascending Order** and **Descending Order**. I want to learn how to write a **Ascending Order** and **Descending Order** on any list. For example: I want to create a booklist and I want to organized it by a library code system. **Category**----**ID**-----**Arthur** History-------123----Scholastic Art------------456----Da Vinci … ![]() |
Follow this link: http://www.daniweb.com/software-development/vbnet/threads/423122/crystal-report-from-date-todate/2#post1808761 As I am not getting any reply there and if any one else can solve this problem then please do reply or tell me any other alternative. Ok The problem is : 1]Its not showing any report if I click on Button. The button is where … |
The End.