132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for INI

Good Morning Guys, I am having difficulties in figuring out if a file exist. Below is the code I have; for some reason, the code does not pass through the if .Execute() > 0 line, instead it jumps to the else statement.I know that the file exist, please can someone …

Software Development visual-basic
Member Avatar for Comatose
0
120
Member Avatar for vegaseat

In case you are curious, I just posted a new tutorial "Python and Multimedia, Part 1, The amazing Webbrowser Module" on DaniWeb at: [url]http://www.daniweb.com/tutorials/tutorial47392.html[/url] I would love some input from our Linux and Unix friends to see how much cross platform the module is. Post any comments in this thread!

Software Development first-post multimedia python unix
Member Avatar for vegaseat
0
201
Member Avatar for Sacky

Ok i have this code to download some data [CODE] [COLOR=#00007f]Private[/COLOR] [COLOR=#00007f]Sub[/COLOR] Getfiles_Click([COLOR=#00007f]ByVal[/COLOR] sender [COLOR=#00007f]As[/COLOR] System.[COLOR=#00007f]Object[/COLOR], [COLOR=#00007f]ByVal[/COLOR] e [COLOR=#00007f]As[/COLOR] System.EventArgs) [COLOR=#00007f]Handles[/COLOR] Getfiles.Click Webbrowser.Navigate([COLOR=#00007f]New[/COLOR] System.Uri("http://mail.google.com/mail/feed/atom")) [COLOR=#00007f]Dim[/COLOR] Net [COLOR=#00007f]As[/COLOR] [COLOR=#00007f]New[/COLOR] System.Net.WebClient AtomFeed = System.Text.Encoding.ASCII.GetString(Net.DownloadData("http://mail.google.com/mail/feed/atom")) Atomfeedtext.Text = AtomFeed [COLOR=#00007f]End[/COLOR] [COLOR=#00007f]Sub[/COLOR] [/CODE] Every Time i run it i get a 401 Unauthorised Error I …

Software Development email google vb.net web-browser
Member Avatar for Sacky
0
127
Member Avatar for Blujacker

In code snippet, there is an example with wx.menu(), but there is only one command in menu. I need moore [code] menu = wx.Menu()#create_menu menu2 =wx.Menu()#menu2 menu2.Append(wx.ID_EXIT, u"Add")#menu2 self.Bind(wx.EVT_MENU, self.a, id=wx.ID_EXIT) #menu2 menu.Append(wx.ID_EXIT, u"PÅ™idat")#menu self.Bind(wx.EVT_MENU, self.Pridat, id=wx.ID_EXIT)#menu menuBar.Append(menu2, "File")#menu2 menuBar.Append(menu, "Soubor")#menu self.SetMenuBar(menuBar) [/code] it doesn't work correct If do i …

Software Development python
Member Avatar for vegaseat
0
148
Member Avatar for vjeshemv2000

Dear all, i created a vb project for faculty evaluation. for that i also created a database in MS Access. Now I want to include one of the field in table into the section 4 of the datareport. is it possible?. if yes what will be the code. below i …

Software Development session visual-basic
Member Avatar for vjeshemv2000
0
127
Member Avatar for Darkmeerkat

Hello, I've got three files, [b]main.cpp[/b], [b]test.h[/b] (the header file), and [b]test.cpp[/b], (implementation of [b]test.h[/b]). Both [b]main.cpp[/b] and [b]test.cpp[/b] #include [b]test.h[/b], but I don't seem to be able to get [b]test.h[/b] to use the implementation in [b]test.cpp[/b] (leading to "undefined reference" errors when attempting to compile). Searching Google, I've found …

Software Development c++ google
Member Avatar for Darkmeerkat
0
97
Member Avatar for jlgad

I have 3 classes..but i need to print the outcome from the printArray. Right now it is printing from the GetTax Compute class. I am so confused. [code] Class 1... public class PosCalProgram { public static void main(String[] args) { double x = 0; item[] items = new item[3]; items[0]=new …

Software Development java
Member Avatar for DaSogo
0
142
Member Avatar for ~s.o.s~

Hello all prorgammers out there. While just fiddling with the pointer concept of mine which is weak i wrote a very simple function to just give the addr of the array to the char type pointer so that i can refer the array using the pointer instead of the array …

Software Development c
Member Avatar for ~s.o.s~
0
121
Member Avatar for thijs_straathof

[COLOR=Lime]i have a error message which is :[/COLOR] [COLOR=Lime]An unhandled exception of type 'System.NullReferenceException' occurred in WindowsApplication2.exe[/COLOR] [COLOR=Lime]Additional information: Object reference not set to an instance of an object.[/COLOR] [COLOR=RoyalBlue] and it has to do something between the [COLOR=Red]()[/COLOR] behind [COLOR=Red]kubus.show[/COLOR] for example[/COLOR] Dim kubus As Form2 Dim blok As …

Software Development vb.net
Member Avatar for williamrojas78
0
111
Member Avatar for molayos

I have xml strings in a memory in C program. I need to extract the reponse tag. Any known xml parser or string extractor code out there that works?

Software Development c xml
Member Avatar for iamthwee
0
104
Member Avatar for joe935

I have written this code to Display the time every 15 minutes using MSAgent: (Private Sub Form_Load() On Error Resume Next CenterForm LoadAgent "merlin" theAgent.Speak "Hello" theAgent.Hide Gettime: Do Mytime = Time Myhour = Hour(Mytime) Myminute = Minute(Mytime) Mysecond = Second(Mytime) If Myminute = 15 And Mysecond = 0 Then …

Software Development visual-basic
Member Avatar for Comatose
0
238
Member Avatar for alvaro

Hello, I'm trying to write a bash shell script to run some finalization commands on cygwin under Windows XP. I'd like to exit the shell in an automatic way (writing the 'exit' command in the script) but it doesn't work. Do anybody knows a way to do that?

Software Development shell-scripting
Member Avatar for alvaro
0
97
Member Avatar for ooglez

Hi, I'm currently working on a turbo pascal program. I'm creating a game, and were wondering if there was a way to set a timer. This would be done so the user has a limited time to complete the task. I'm only a beginner, so much help is appreciated.

Software Development pascal
Member Avatar for hani odwan
0
151
Member Avatar for kishore22

Hello, I need the logic to implement a stack by using two queues. can anybody help in this ? Thanks & regards, Kishore

Software Development c
Member Avatar for Narue
0
112
Member Avatar for Lun

<Post moved from dead [URL="http://www.daniweb.com/techtalkforums/thread22835.html"]thread[/URL]> is it possbile if the string letters can be alternatively capital? like uhmm ex. boring to a bOrInG? and without using the any str?

Software Development c first-post
Member Avatar for Lun
0
94
Member Avatar for spacedani

Hello, Could somebody help me with my problem: I´ve got a Vector all. Data is: name, date, price@dateX i will print out every person with name, and the amount (all prices together for that person) How to do that??

Software Development java
Member Avatar for iamthwee
0
112
Member Avatar for girish.sh

Can we define exit status intereger values for our purpose except 0? like can i set custom exit status messages: "1" for error occured because of reason #1 "2" for error occured because of reason #2 ... Is there any document which displays all the exit status code values from …

Software Development shell-scripting
Member Avatar for masijade
0
134
Member Avatar for hanabyha

i have to make a program for cinema management system. here i include the question and the source code that i've made before. question: ---------------------------------------------------------------------------- [COLOR=black]. Students are required to design a Cinema Management System program that can perform the following functions (this program should depict the online system of …

Software Development app-store c++ ios
Member Avatar for iamthwee
0
198
Member Avatar for HelmsK85

A farmer has a bunny farm. He has cage capacity for a limited number of bunnies. A pair of adult bunnies will give birth to 2 bunnies (1 male and 1 female) at the end of every three months. A bunny is an adult when he or she reaches the …

Software Development c++
Member Avatar for Dave Sinkula
0
206
Member Avatar for Ace01000

This is my second attempt at a calculator, but my first at switch statements. I try to compile this, but i get a bulk of errors that make no sense to me, they all look rather similar, here is an example of the error: error C2784: 'std::basic_ostream<char,_Traits> &std::operator <<(std::basic_ostream<char,_Traits> &,unsigned …

Software Development c++ legal
Member Avatar for Ancient Dragon
0
128
Member Avatar for ~s.o.s~

Here is the code i have written to accept string from the user. Can you please modify the code so as it can even count the space as well as print the whole line with the spaces instead of the first word. Thanks a lot. [CODE] #include <stdio.h> #include <assert.h> …

Software Development c
Member Avatar for Ancient Dragon
0
169
Member Avatar for binteron

I am new to C++ and working through SAMS C++ primer. one of the excercies involves creating a dynamic array of structures to catalogue car information. I have the following code almost working and I am sure that I am missing something really simple. The program compiles and runs as …

Software Development c++
Member Avatar for binteron
0
164
Member Avatar for robertlees

I just want a simple text-to-speech facility. I just want a digit to be spoken. I'm sure it can be done with an OCX. Could play a wav file, but want this ability within an exe.

Software Development visual-basic
Member Avatar for Comatose
0
366
Member Avatar for shalini_roy

I have just started to learn VB.i'm making a database using oracle and vb6. i have a listbox of items and a search button. one can see the details of a particular item in the listbox in a couple of textboxes in that same form by clicking on the search …

Software Development oracle visual-basic
Member Avatar for Comatose
0
221
Member Avatar for xfruan

I created a program that uses a friend function to access the private member variabls, it runs perfectly in Shedblood Dev-C++, but when i use Microsoft Visual C++ 6 to compile it, the compiler tell me that "the function is not allowed to access private members." Does this mean that …

Software Development c++ microsoft microsoft-access
Member Avatar for Narue
0
250
Member Avatar for thehakan

Hello; I have little experience in c++ and I should implement insertion sort algorithm using linked list. I wrote a working code however I should have use friends for having the list elements from a seperate class and use templates for sorting arbitrary data elements. Can anybody help me how …

Software Development algorithm c++ linked-list
Member Avatar for thehakan
0
149
Member Avatar for HelmsK85

[B]how to create a arry that stores the first 100 multiples of a user-supplied integer, prints the values forward and backwarf rom storage (in an array); prints any values that are multiples of a second user-supplied integer or a message indication that there are no multiples of tha number if …

Software Development c++ storage
Member Avatar for Salem
0
127
Member Avatar for crawf

Hi again guys! I was just wondering how to limit the number of values that are printed out on the screen from a users textField.. Like say, if a user put in 4, only 4 numbers would be printed...Im wanting to do this with my perfect numbers applet, so the …

Software Development java
Member Avatar for DaSogo
0
145
Member Avatar for huffstat

I have created a project in Visual C++ 6.0 called qcard4. This project was started by creating a new single document project and copying and pasting code from qcard3 into the files. I have been gradually improving and modifing this code from qcard1. I tried to produce the qcard3 code …

Software Development c++
Member Avatar for Ancient Dragon
0
433
Member Avatar for DavidR42

I have been trying to get this C++ program to work for my class on a mortgage calculator. I am suppose to let the user enter the amounts for the principal, the term, and the interest. Also, I am suppose to let the user decide to do another mortgage or …

Software Development c++
Member Avatar for DavidR42
0
160
Member Avatar for girish.sh

Hi all, I am a new joinee in this forum. I am facing one problem. How to call Java classes and methods from shell scripts?? i am using KSH. Is it really possible to do that or not? Response will be appreciated. Thanks, Girish Sharma

Software Development java shell-scripting
Member Avatar for masijade
0
313
Member Avatar for aarya

i am learning ejb. which is the best and easiest software to deploy. is it weblogic or eclipse or jboss. i m little bit confused . any body guide me with good tutorial site? thanks

Software Development java
Member Avatar for masijade
0
103
Member Avatar for acezrwild817

I have created a listview in my C# form and when i add an item through my code I change the background color of my cells/rows. However, when i scroll over them at runtime the color defaults back to white and then they stay white. I have different tab pages …

Software Development listview
Member Avatar for alc6379
0
140
Member Avatar for Bigras

Cheers to my first 6hours of coding ... but that's the catch when you start (or start over) ... you get stuck with silly problems: I have created a DataGrid with a DataSet from a search result class- Now I've added a button in my rows to get a new …

Software Development dataset first-post
Member Avatar for alc6379
0
366
Member Avatar for Blujacker

Is in wxPython event like root.bind('<Double - 1>,function) i need on one wxButton 2 event, normal and double. How to create this?

Software Development python
Member Avatar for vegaseat
0
101
Member Avatar for Blujacker

How to create an image to wxButton??? this is my button [code] self.button3 = wx.Button(id=wxID_FRAME1BUTTON2, label=u'Hraj', name='button3', parent=self, pos=wx.Point(35, 925), size=wx.Size(20, 20), style=0) self.button3.Bind(wx.EVT_BUTTON, self.OnButton3Button, id=wxID_FRAME1BUTTON2) [/code]

Software Development image python
Member Avatar for vegaseat
0
109
Member Avatar for vlntine82

I am working on a large VB 6 application. When I go to compile it, I am getting an Out of Memory error. The computer has 1.5 GB of RAM and is running XP. The total size of the program is about 6MB. I have tried changing the compiling options …

Software Development visual-basic
Member Avatar for vlntine82
0
101
Member Avatar for pythonguy

How to activate file typ filter in wxPython file browser I am using wxFileDialog() call for file browsing,I want it to filter all unwanted files in display.

Software Development file-system python
Member Avatar for vegaseat
0
259
Member Avatar for shanenin

I was seeing if I could use python to delete a file upon reboot. I am only able to rename it at reboot, I can't figure out the syntax to set the destination to null. Below is what works to rename the file [code] import win32file import win32api win32file.MoveFileEx("test.txt", "test2.txt" …

Software Development python
Member Avatar for vegaseat
0
452
Member Avatar for SegFaultSoul

Hi all, I'd like to get started programming Windows, but not sure how to go about it. I've only really worked with Java (in terms of OO programming) up until now. Will most Windows programming be done using .NET from now on? I mean, will any of the .NET languages …

Software Development api c++ windows-api
Member Avatar for Ancient Dragon
0
176
Member Avatar for Smooth_411_2000

How would i make visual basick remember selections from other forms so it will excute the disired outcome at the end of my process.

Software Development visual-basic
Member Avatar for bulanhagui
0
171
Member Avatar for Smooth_411_2000

How do i execute multi programs in at one time using maybe a batch file or something like that so that way they would be like embeded in the program.

Software Development visual-basic
Member Avatar for Comatose
0
190
Member Avatar for Nisha R

Hi, I understand the advantages of using perl over other shell programming techniques like sh,ksh,bash etc. I understand that perl is very powerful and advanced. But, here, i want to know, if there is any situation, where in, we prefer to use the usual shell programming over perl? Any performance …

Software Development perl
Member Avatar for chrisranjana
0
251
Member Avatar for rhp405

Hi! I'm trying to find out what is wrong with the next code which I'm trying to run in Linux: [code] int e1; int e2; pid_t pid1; // pid of child pid_t pid2; pid_t w1; // return code of wait() pid_t w2; // child process 1 pid1 = fork(); if …

Software Development c
Member Avatar for rhp405
0
2K
Member Avatar for jeffxiang

Hello, ostream - how to insert a line of text instead of overwrite in the beginning of the file? #include <fstream.h> int main() { char fileName[] = "SampleFile"; char buffer[255]; ofstream m_fp; // m_fp.open(fileName, ofstream::ate ); m_fp.open(fileName, ios::in|ios::out); m_fp.seekp(0, ios::beg ); m_fp << "This is the line written to the …

Software Development c ios
Member Avatar for jeffxiang
0
422
Member Avatar for jbuzz120

Hey Guys and Gals I am new to this site and new to programming. C++ is the first one I am trying to learn. I ran into a problem on one of my assignements. I believe my problem is in the actual calculations. The Bonus part of the program is …

Software Development algorithm c++ ios
Member Avatar for Rashakil Fol
0
518
Member Avatar for kohkohkoh

Hello, Can i know if it is possible to show/ display windows task scheduler information such as: 1) process status -> if it is running or stopped 2) time the scheduler starts and other related info... on vb i've beeeen searching for the sources on yahoo and google... yet still …

Software Development google visual-basic
Member Avatar for Comatose
0
136
Member Avatar for fishman44

Please help a newby trying to code first program. I want to be able to write data to a file, then read from the same file. I can manage this OK, but If I set-up a loop to do the same procedure again I get an error message telling me …

Software Development c++ display file-system ios
Member Avatar for WolfPack
0
167
Member Avatar for Cudmore

Sooo... I just started designing the GUI for an application that I'm writing.. And, well, I can't get either the awt.TextArea OR the swing.JTextArea to work properly. Here are snapshots of both, along with the problems I am experiencing. If anyone can resolve these problems, please let me know.. I …

Software Development gui java java-swing suse
Member Avatar for Cudmore
0
259
Member Avatar for nanodano

I have been writing some CGI scripts in C++, and I was wondering if anyone else has done the same? I have built a pretty decent sized library of functions I use a lot for formatting form inputs and such. The reason I chose C++ is because I'm so familiar …

Software Development c c# c++ perl
Member Avatar for Rashakil Fol
0
495

The End.