199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shahriar2403

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.

Member Avatar for sridinesh
1
381
Member Avatar for TrustyTony

What this produces and why? >>> a = 2 >>> b = 5 >>> exec "print(a+b)" in dict(a=6, b=9)

Member Avatar for TrustyTony
1
185
Member Avatar for BleepyE

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 …

Member Avatar for nevenov
1
120
Member Avatar for Jackk123

#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, …

Member Avatar for Jackk123
1
127
Member Avatar for TrustyTony

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)

Member Avatar for snippsat
1
185
Member Avatar for DAZL

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 …

Member Avatar for DAZL
1
256
Member Avatar for dave_nithis

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!!!! …

Member Avatar for laksh.ss
1
116
Member Avatar for cereal

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 …

Member Avatar for cereal
1
335
Member Avatar for reddsoxy

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 …

Member Avatar for reddsoxy
1
186
Member Avatar for riztra

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 …

Member Avatar for Nitesh Katia
1
211
Member Avatar for antonis21

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 …

Member Avatar for dougWill
1
110
Member Avatar for Qusto

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++?

Member Avatar for Topiary
1
153
Member Avatar for poloblue

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 …

Member Avatar for Schol-R-LEA
1
1K
Member Avatar for Aviras

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 …

Member Avatar for Troy III
1
396
Member Avatar for lightningfire

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 …

Member Avatar for sftranna
1
11K
Member Avatar for apanimesh061

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!

Member Avatar for pritaeas
1
154
Member Avatar for umcookeg

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 …

Member Avatar for rajeevphp2011
1
2K
Member Avatar for gahhon

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.

Member Avatar for gahhon
1
158
Member Avatar for sammoto

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 …

Member Avatar for sammoto
1
416
Member Avatar for choosenalpha

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 …

Member Avatar for choosenalpha
1
475
Member Avatar for VBTommy

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 …

Member Avatar for kvprajapati
1
501
Member Avatar for TrustyTony

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.

1
275
Member Avatar for network18

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 …

Member Avatar for network18
1
296
Member Avatar for dany12

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 …

Member Avatar for dany12
1
129
Member Avatar for Coyx

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 …

Member Avatar for Coyx
1
264
Member Avatar for nikolaos

How can i add some space between these four components and the JFrame window? ![jframe_view](/attachments/large/0/jframe_view.jpg "jframe_view")

Member Avatar for nikolaos
1
18K
Member Avatar for technoknol

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.

Member Avatar for devender22
1
155
Member Avatar for tirso

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 …

Member Avatar for Pradip sarma
1
2K
Member Avatar for MastAvalons

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; }

Member Avatar for Topiary
1
213
Member Avatar for LastMitch

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 …

Member Avatar for LastMitch
1
375
Member Avatar for wenbnet

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.

Member Avatar for poojavb
1
486
Member Avatar for atown282

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++ …

Member Avatar for Lucaci Andrew
1
578
Member Avatar for Red Dragon

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 …

Member Avatar for diafol
1
585
Member Avatar for shujat132

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 = …

Member Avatar for shujat132
1
227
Member Avatar for elidotnet

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 …

Member Avatar for prathamesh3090
1
7K
Member Avatar for triumphost

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 …

Member Avatar for triumphost
1
446
Member Avatar for GTTravis

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 …

Member Avatar for nuevoenjava
1
119
Member Avatar for patocardo

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; …

Member Avatar for Airshow
1
131
Member Avatar for yomr

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 …

Member Avatar for agbenaza
1
250
Member Avatar for LastMitch

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 …

Member Avatar for dannette
1
4K
Member Avatar for new_developer

I have div. <div>This is text in div1.</div> How do i get the text written in div to variable in javascript ??

Member Avatar for JorgeM
1
155
Member Avatar for TrustyTony

**_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 …

Member Avatar for vegaseat
1
282
Member Avatar for KushMishra

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 …

Member Avatar for akhildwivedi
1
213
Member Avatar for renzlo

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: ![Untitled74](/attachments/large/3/Untitled74.png "Untitled74") Thaks in advance.

Member Avatar for renzlo
1
134
Member Avatar for hwoarang69

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 …

Member Avatar for vibhaJ
1
8K
Member Avatar for diafol

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 …

Member Avatar for diafol
1
86
Member Avatar for KushMishra

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.

Member Avatar for pkumarSinha.399
1
2K
Member Avatar for coutnoob

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 …

Member Avatar for Kanoisa
1
4K
Member Avatar for LastMitch

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 …

Member Avatar for diafol
1
4K
Member Avatar for Iamateur

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 …

Member Avatar for Ezzaral
1
161

The End.