43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for tayspen

Does any body know how to save your contacts in outlook to the harddrive. i no how to list them. but then i tried the save as methosd. oContact.SaveAs("C:\contacts\" + list.selectedItem + ".vcf", null); and that doesnt work. Any ideas? my code... [code] Outlook._Application olApp = new Outlook.ApplicationClass(); Outlook._NameSpace olNs …

Software Development
Member Avatar for tayspen
0
308
Member Avatar for leb

I need help in creating a python program that plays MP3s, using the [URL=http://www.pygame.org/news.html]PyGame[/URL] package to play both MIDI files, and Ogg Vorbis files. Using a menu that would look something like this: 1. Go to new music directory. 2. Play a song or playlist. 3. Stop music. 4. Create …

Software Development python
Member Avatar for bumsfeld
0
190
Member Avatar for bumsfeld

The Internet has many animated GIF files, they are funny to watch. Does Python have a way to play those? I am asking to much?

Software Development python
Member Avatar for vegaseat
0
171
Member Avatar for w00dy

The object here is to open a selected Word file and Copy&Paste its contents into a text file. The problem seems to be with the Sendkeys commands having no effect. The project freezes, apparently because Notepad has not been closed (by Sendkeys "%FX"). Can anyone tell me what's wrong? :confused:

Software Development visual-basic
Member Avatar for Comatose
0
965
Member Avatar for bumsfeld

A somewhat strange find in the Pyton Code Snippets here on this site. Is the BOO language very much like Python? It seems nice that one can compile and interpret the same language. Will it be worth to translate Python code to BOO just to get a nice small exe …

Software Development python
Member Avatar for Dani
0
301
Member Avatar for campkev

Having a problem with a user logging in and getting a different users information. Only thing I can think of that changed was I replaced a few Response.redirects with server.transfers. It is happening randomly (or, if there is a pattern, I haven't figured it out yet). Ever heard of anything …

Software Development
Member Avatar for campkev
0
107
Member Avatar for HyperEngineer

I would like to change the font in a static text box. But I want it to be that size until I change it again. I put the following code in the OnInitDialog() function: [code] CWnd* pWndControl = GetDlgItem(IDC_PROGRESS_INDICATOR); pWndControl->MoveWindow(((MyRect.right - MyRect.left)/2) - 100/2, MyRect.top + 100/2, 100, 100, TRUE); …

Software Development c
Member Avatar for WolfPack
0
102
Member Avatar for bumsfeld

I did find the Python code snippet on PMIDI module here. It works fine and I have made some interesting sounds with it. Is there way to save this as sound file?

Software Development python
Member Avatar for vegaseat
1
244
Member Avatar for xav.vijay

Hai friends I have a some trouble in running a 3rd party program. This 3rd party program actually takes one file as input & does some processing on it and creates an output in a different folder with the same name, but with different file extention. I do it manually …

Software Development os-x python
Member Avatar for xav.vijay
0
263
Member Avatar for esdesign

How can I control the "enable/disable" network connections from the control panel through visual basic? Or what params do I pass to svchosts.exe to control this, or what is the actual service name of "Network Connections" in services.msc so I can use "NET STOP {SERVICE} | NET START {SERVICE} ? …

Software Development visual-basic
Member Avatar for esdesign
0
442
Member Avatar for johnray31

when i compile this program [CODE]main() { struct emp { char name[20]; float sal; }; struct emp e[10]; int i; for(i=0; i<=9; i++) scanf("%s %f", e[i].name, &e[i].sal); }[/CODE] it gives the Floating point formats not linked but when i run this [CODE]main() { float x; scanf("%f" , x); }[/CODE]<< moderator …

Software Development c++
Member Avatar for johnray31
0
453
Member Avatar for bang2711

hello guy, i need to random up the whole Sentences with detection on spacing. then each word will be place into a label. example; " i`m loving it" "i`m" will be in labelA 1 "loving" will be in labelA 2 "it" will be in labelA 3 then the 3 labelA …

Software Development visual-basic
Member Avatar for Yomet
0
184
Member Avatar for Loopah

Heya everyone. I am a first-year student and doing a project for my C class. It is to do with John Conway's "Game of Life" as I am sure you are all aware of what that is. Here is the things needed. And after that is the code that I …

Software Development c
Member Avatar for Loopah
0
636
Member Avatar for shanenin

I wrote a python script that checks for new media on my windows box, if it is new it copys it over to my standalone freevo jukebox. Below is a small part of the script that does the actually copying [code] source = "/mnt/samba/%s" %i destination = "/mnt/media/movies" print "copying …

Software Development python samba
Member Avatar for vegaseat
0
148
Member Avatar for new guy n c++

HI all; i'm a new in c++ programing and i have some problem that i don't know how to fix it. i have been trying to fix it for severaldays and i it isn't working. can u help me please. this is my program which is A file contains 7 …

Software Development c++
Member Avatar for Lerner
0
425
Member Avatar for Chinjoo

#include<stdio.h> #include<conio.h> struct node { int data; struct node *right, *left; }*root,*p,*q; struct node *make(int y) { struct node *newnode; newnode=(struct node *)malloc(sizeof(struct node)); newnode->data=y; newnode->right=newnode->left=NULL; return(newnode); } void left(struct node *r,int x) { if(r->left!=NULL) printf("\n Invalid !"); else r->left=make(x); } void right(struct node *r,int x) { if(r->right!=NULL) printf("\n Invalid …

Software Development c
Member Avatar for Cudmore
0
391
Member Avatar for atrusmre

I'm sorry I've been posting so much, I'm still learning. :) My question how do you fill a combo using a varible. for example I want to fill my combo box in Visual C++ with something like this. [CODE] char *names[2]; names[0] = "Joe"; names[1] = "Billy"; names[2] = "Bob"; …

Software Development c++
Member Avatar for atrusmre
0
2K
Member Avatar for barry t

Hi I am trying to write an app for price calculations what i need to do is make cut off points for different dollar values the values are when a product is over $22.00 the deduction $3.30. When a product is over $16.50 and under $22.00 the deduction is dollar …

Software Development
Member Avatar for campkev
0
339
Member Avatar for student101

Hey e1, I went out of the way to make my project fool-proof. U can c the pic below, I have 2 input textboxes and 1 output text box. Im trying to get my code to where if you enter a [U]Character[/U] i.e. "abc" , then A mSGBox will tell …

Software Development visual-basic
Member Avatar for student101
0
155
Member Avatar for danizzil14

Ok I was wondering if anyone could help me with how to make a python program interact with files. Copying, pasting, moving, things like that, opening. If it cant really be discussed quicky are there any good tutorials? Mainly a organinzing python program.(looks for a certain file extention, then moves …

Software Development file-system python
Member Avatar for vegaseat
0
217
Member Avatar for danizzil14

Ok, Im still really shaky w/useing python with other programs. So here is my question, is it possible to create just a very small program that grabs my IP adress, copys it, and then sends it to certain IM buddys? The reason I am asking this is beacause my friends …

Software Development python
Member Avatar for shanenin
0
483
Member Avatar for Avner .H.

Hey.. Does anyone know what libraries are needed for using GnomeDruid class (and other Gnome classes), and where can i download these libraries? Thanks!

Software Development python
Member Avatar for vegaseat
0
197
Member Avatar for w00dy

I need to search the pc for all files with a particular extension. Can anyone point the way ?

Software Development visual-basic
Member Avatar for w00dy
0
408
Member Avatar for Yomet

Hi, I am programming an app that I will use to launch different applications depending on the file type specified. I have found, and know how to use, ShellExecute from VB and all I now need to know is how to get the default action specified by the user when …

Software Development file-system visual-basic
Member Avatar for Yomet
0
268
Member Avatar for Riptide-X-

I have this function that takes info from two lists, and produces a list that shows their values in ... non interger form (0.8). I'm calling this function in a for loop, and this function gets repeated 20 times, pulling different info each time. This function works just fine, and …

Software Development python
Member Avatar for mawe
0
247
Member Avatar for student101

Just finishing up this assignment.. I need a code for the "Highest and Lowest" cmd button that will display the name and score in text boxes for the golfers with the highest and lowest from the golfer.txt file. Here is my GUI & code so far..... [IMG]http://www.geocities.com/rc_og/vb1.jpg[/IMG] Private Sub cmdDisplay_Click() …

Software Development display gui visual-basic
Member Avatar for Yomet
0
205
Member Avatar for tdizzle342

Can someone help me, I've been trying forever and still can't get it. I need to get my C++ program to print in dos enviroment. I need it to print the words "Hello" when i push something and nothing else. #include <cstdlib> #include <iostream> #include <conio.h> using namespace std; int …

Software Development c++
Member Avatar for tdizzle342
0
300
Member Avatar for dav83

Hi, Can someone help me in a borland c++ code? i already have a memo field and i want to count the words, i count the blanks but i have problem when appears 2 or more blanks together and when i write to the second line.. Also can anybody tell …

Software Development c++
Member Avatar for dav83
0
212
Member Avatar for smicer

please how do i store large numbers in c. the number has no be large like 121223824824623423476234762347623423476234234342342332762376 maybe up to 100 digits or more. after storing the number i need to carry out mathematical operations on that number which of course has been stored in a variable. mathematical operations like …

Software Development c++
Member Avatar for Lerner
-1
153
Member Avatar for atrusmre

I was wondering if there's a way to convert a CString or a char *x[10] to a int? I know I can convert int to CString, but can it go the other way? Thanx, Atrus

Software Development c++
Member Avatar for Ancient Dragon
0
120
Member Avatar for simon126

The following code works. However i want it so when the user reaches 500 dollars the last cout statement will run. But for some reason i can't get it to work properly. It skips the last cout statment and enters -numbers. [code]#include <iostream> using namespace std; int main () { …

Software Development c++
Member Avatar for vegaseat
0
113
Member Avatar for grandfilth

I'd like excel to write the time when one of my macros tells it to copy and paste some cells into another workbook. I'd like it to paste the time into the other workbook. Any help would be much appreciated.

Software Development visual-basic
Member Avatar for grandfilth
0
134
Member Avatar for bumsfeld

Is there a function in wxPython or anything that can creat a variable frequency sounds?

Software Development python
Member Avatar for vegaseat
0
650
Member Avatar for c_shaft05

I'm working on some python programming and I need some help as to how to double the size of a picture using the image module.... any ideas?!

Software Development image python
Member Avatar for vegaseat
0
1K
Member Avatar for bumsfeld

I want to creat file with each line having date + time + data so I can append more data as need be and know when it was added. What date+time function would be best?

Software Development file-system python
Member Avatar for bumsfeld
0
160
Member Avatar for bumsfeld

I have run the slider demo that come with wxPython docs. It is rather stupid, as it puts slider on a panel using many unexplained numbers, never tells how to get position of slider or what to do next if the slider is moved. I am much lost, does anyone …

Software Development python
Member Avatar for bumsfeld
0
496
Member Avatar for shanenin

I noticed I have two versions of wxPython installed on my linux system. I found a way to choose which version you want to import [code] #!/usr/bin/env python import wxversion wxversion.select('2.6') [/code]

Software Development python
Member Avatar for shanenin
1
190
Member Avatar for bang2711

i have some problem here. i dont know how to explain in words of wat i wan. i have attach the file in i dont know how to create new checkBox in picture Box by using coding? :rolleyes: when ever i click. the button wont go over to the new …

Software Development visual-basic
Member Avatar for bang2711
0
477
Member Avatar for evilbenking

i need a perl code that will take a the input form my 1 question form (name) and print it on a new line with <br> after it in a text file (submit.txt) please can someone either write one up for me as simple as is posible or somthing, o …

Software Development perl
Member Avatar for evilbenking
0
156
Member Avatar for Riptide-X-

I'm very new to python, but am having mighty issues. I was wondering if someoen could help me out. I need to write a simple program that will draw an X whos size is specified by the user. So five would look like this (5 spaces across, and 5 down): …

Software Development python
Member Avatar for shanenin
0
159
Member Avatar for tayspen

When i develop C# in #develop When i use the app on another comp. That comp. only needs .net framework 1.1 right? not 2.0 Right now i am using the VC# 2005 beta. and i dont want people to use the beta frmework. So does #develop use 1.1?

Software Development
Member Avatar for jcc
0
112
Member Avatar for shanenin

when I try and run boa-constuctorI am getting this error. Any suggestions to solve this. [code] C:/Python24/pythonw.exe -u "C:/Python24/Lib/site-packages/wxPython/tools/boa/Boa.py" Starting Boa Constructor v0.2.3 importing wxPython reading user preferences Traceback (most recent call last): File "C:/Python24/Lib/site-packages/wxPython/tools/boa/Boa.py", line 214, in ? import Preferences, About, Utils File "C:\Python24\Lib\site-packages\wxPython\tools\boa\Preferences.py", line 151, in ? screenWidth …

Software Development python
Member Avatar for vegaseat
0
352
Member Avatar for bumsfeld

I can not figure out the order of dictionary keys, they seemed not to be sorted. Any insight?

Software Development python
Member Avatar for G-Do
0
366
Member Avatar for bumsfeld

Okay I have copy and pasted the code from the tutorial on the jpg image [url]http://daniweb.com/techtalkforums/thread33791.html[/url] onto my IDE editor. This time no problem with indents! Now I need to know how to instal required wxPython. I have Windows XP, also Python 2.4. Where do I best get free wxPython …

Software Development ide image python
Member Avatar for wally_lawless
0
279
Member Avatar for G-Do

Hi all, I just added a clustering module to the code snippets. There are classes for modeling points and clusters of points, as well as two point-clustering functions - one is an implementation of the k-means algorithm, which I believe I posted earlier this year, and the other is an …

Software Development algorithm python
Member Avatar for vegaseat
0
90
Member Avatar for a1eio

How do i access or call system commands (can't really think of a better thing to call em???) for example on explorer you can right click on an object and select eject, or format ect ect (mainly eject is what i want to know about) any help would be greatly …

Software Development python
Member Avatar for vegaseat
0
345
Member Avatar for wally_lawless

Hey everybody, first new thread for me on this forum. Just noticed that there's no posts here involving wxPython, I'm just curious to hear if anybody knows why that might be? Anyway, I've got some projects in the works that use it and I'll be happy to post some code …

Software Development first-post python
Member Avatar for vegaseat
0
132
Member Avatar for bumsfeld

I have read the tutorial about Python and JPEG here, but there si no mention about showing the actual picture!

Software Development python
Member Avatar for vegaseat
0
162
Member Avatar for vegaseat

[B]Intro[/B] In part 1 we learned mostly about the header of the JPEG file. In this part we get to display the image and also extract and show any embedded comments. [B]wxPython[/B] To display the image we use wxPython. The raw JPEG image information is first pushed into a data …

Software Development file-stream file-system image python
0
120
Member Avatar for kdw3

I've just started using C++ for my engineering course. I downloaded the Dev-C++ compiler and I am having trouble with the cout command. Everytime the compiler outputs a value/ sentence etc, the command prompt shuts down before anything is displayed. I am running the program on XP Pro Does anyone …

Software Development c++ engineering
Member Avatar for Narue
0
602

The End.