64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Drowzee

This is an offshoot of a specific problem I've posted in the C# forum. However, it applies to C++ as well. If you have opened a file, specifically, an image file, but would like to rename (or, as MSDN says, 'move) the directory the file resides in, what are the …

Member Avatar for Drowzee
0
437
Member Avatar for Drowzee

I have a fairly simple set of controls that make up an image viewer. The goal of this software is to allow image captures to be stored in a temporary directory, viewed in the image viewer, and then have the user able to choose to delete or save the contents …

Member Avatar for Drowzee
0
165
Member Avatar for Puckdropper

Hello, I installed PHP 5 on my Server 2003 machine with IIS and got that working properly. I want to connect to my school's MS-SQL student database, but PHP balks when it hits "mssql_connect" (or whatever the statement is). How can I set this up so I can actually connect …

Member Avatar for papa_fal
0
5K
Member Avatar for Ene Uran
Member Avatar for vegaseat
0
189
Member Avatar for vince_2x

Hi guys! sorry if this question has been asked b4. I just wanna know what is the difference between a==b and a is b? Thanks

Member Avatar for bumsfeld
0
159
Member Avatar for Blujacker

Is possible to display animated image?for example [URL="http://tibia.gamigo.de/images/monster/demon.gif"]this?[/URL] thanks:D

Member Avatar for bumsfeld
0
678
Member Avatar for evil_dude_01

Please help me !!!!! I want to know how to sort a list of records in a text file. I want to sort them by customer number. Here's whats in my module Public CustomerArray() As CustomerRecord Public Type CustomerRecord Number As String Name As String Address As String Town As …

Member Avatar for strick9
0
216
Member Avatar for Stewie

I keep getting this error when ever I try to update or delete a record from my site. The error that I keep getting is "The string is not closed" I have use an example straight from the book so I don't know where to go. Here is my code …

Member Avatar for Stewie
0
137
Member Avatar for INI

Hi Guys, I am trying to design a program whereby the user will click on button in a form and the system will upload a form from a different excel/vb file entirely. Please could someone tell me how that works or if it is possible at all? Thanks. Ini :?:

Member Avatar for INI
0
162
Member Avatar for Matt Tacular

I had that problem a few days ago about running external python programs, which I know know can be done with [code]execfile("filename.py")[/code] But I now have a new problem.... Here is my program I am making for myself: [code]import random from Tkinter import * mainWindow = Tk() strGame="" def dieSimulator(): …

Member Avatar for a1eio
0
2K
Member Avatar for Oxiegen

Hello! Now I have another problem. I have successfully implemented cross-page postback with ASP.NET 1.1 using: [code] [COLOR=#0000ff]Protected[/COLOR] [COLOR=#0000ff]Sub[/COLOR] submit_Click([COLOR=#0000ff]ByVal[/COLOR] sender [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]Object[/COLOR], [COLOR=#0000ff]ByVal[/COLOR] e [COLOR=#0000ff]As[/COLOR] System.EventArgs) [COLOR=#0000ff] For[/COLOR] [COLOR=#0000ff]Each[/COLOR] o [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]Object[/COLOR] [COLOR=#0000ff]In[/COLOR] Page.Request.Form [COLOR=#0000ff] Dim[/COLOR] ctlName [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]String[/COLOR] = o.ToString() [COLOR=#0000ff] If[/COLOR] [COLOR=#0000ff]Not[/COLOR] ctlName.StartsWith(UniqueID & [COLOR=#800000]":"[/COLOR]) [COLOR=#0000ff]Then [/COLOR][COLOR=#0000ff] …

0
118
Member Avatar for Oxiegen

Hi, all! I've been trying to pass a javascript variable to an asp.net webapp through a hidden input field. All according to post [URL="http://www.daniweb.com/techtalkforums/thread26184.html"]http://www.daniweb.com/techtalkforums/thread26184.html[/URL]. But something seems to be garbled. Here's what parts of my aspx code looks like. [code] ... [COLOR=#0000ff] var[/COLOR] src = document.documentElement.outerHTML; document.getElementById([COLOR=#800000]"pSource"[/COLOR]).Value = src; } …

Member Avatar for Oxiegen
0
137
Member Avatar for Sailor_Jerry

How do i return a boolean array? i get an error stating that i can't cast from boolean[] to boolean. I have something like below. [code] method logic... boolean [] information = {true, false}; return information; // this line does not work. [/code] Thanks sj

Member Avatar for Sailor_Jerry
0
167
Member Avatar for kirawr

hellooo. i've been working with this form lately, and i cant seem to figure out how to make the success/error pages redirect to another page. any tips? [PHP]/////////////////////////////////////////////////////////////////////// //Don't edit below this point if you aren't sure what you're doing! // /////////////////////////////////////////////////////////////////////// $good = "Thanks for emailing me!"; //above is …

0
80
Member Avatar for brale

J don't know how to detect mouse click and how to get cordinates of mouse pointer in the moment of click? J need functions that detect mouse click on console.

Member Avatar for brale
0
112
Member Avatar for JC_McGeekster

Hello, These past few months I have been working with the C language. Before that, I was writing console applications with C++. I eventually got to the point where I couldn't seem to do anything more with C++, so I decided to use C as I know it is better …

Member Avatar for JC_McGeekster
0
254
Member Avatar for Debbie Webbie

I'm having trouble with a module in my program that is supposed to read in the files in a directory and return those with the .xml extension. When I import the module from the command line it works perfectly and will return a different list as soon as I change …

Member Avatar for Debbie Webbie
0
136
Member Avatar for Taral

Can anybody show me, how can we collapse, expand a pane/window in python? Thanks in advance for the help!!!

Member Avatar for bumsfeld
0
145
Member Avatar for challenger

I'm not sure if this is the right place to put this. Here goes: I would like to convert a html page to an image. I've done googling. Most of the findings led me to downloading sharewares. As this project has a tight budget, I reckon I should build something …

Member Avatar for challenger
0
132
Member Avatar for hotteaboi

hi i got this program how do i sort this....thanx alot [URL="http://www.ee.umanitoba.ca/~pcard/371/assignment1.py"]http://www.ee.umanitoba.ca/~pcard/371/assignment1.py[/URL]

Member Avatar for Dani
0
180
Member Avatar for ghadahelal

hallo i need 2 deal with each digit after the floating point. ex . 12.5678 i need 2 compare the 12.5 with another number and then the 12.56 and then 12.567 and so on till 4 digits is there is a function that takes the int number and one number …

Member Avatar for jetru
0
244
Member Avatar for a1eio

I'm trying to use the google/python api, but i keep getting this error thrown at me: HTTPError: HTTP Error 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. I also get this error when trying to use …

Member Avatar for a1eio
0
135
Member Avatar for preethishivbaba

Hi all. We are into a student information system project and we want to send confirmation to student that his course is abt to start on so and so date from our website but we are unable to do so..Is it becouse of Source code problem or some connections problem …

Member Avatar for preethishivbaba
0
173
Member Avatar for Matt Tacular

Hey guys, I was wondering if there is a way to include other python programs in your python program. Sorry if there is another thread about this I looked and was unable to find one.

Member Avatar for a1eio
0
198
Member Avatar for J_Search

All, Here is some JavaScript I found. It creates a small scrollbar, which allows a user to scroll though a series of 5 images. The images represent votes, and the user can then press a "Rate us" button in order to cast a vote. As you can see in the …

Member Avatar for J_Search
0
213
Member Avatar for nagramana

Hi, How to insert blob into MySQL using ODBC in C#. My application is windows application. Thanks Ramana

Member Avatar for nagramana
0
119
Member Avatar for Stewie

I have a form set up with 3 select lists where a user can select the date. and from there I insert it into one field in an Access database using this query. [code] <cfquery name="CheckDate" datasource="Rumors_Forms"> INSERT INTO BusTable (Name, Req_Date, Req_Time, Address, Email, PhoneNumber, Reason) Values('#form.Name#', '#form.Month#/#form.Day#/#form.Year#' ,'#form.Req_Time#','#form.Address#','#form.Email#','#form.PhoneNumber#','#form.Reason#') …

Member Avatar for Stewie
0
110
Member Avatar for neophyteprogram

Greetings, I maintain a web page for the engineering department where I work and I was trying to make a humorous tool for the web page. Basically it is a form with three categories... Good/Fast/Cheap. Good meaning - a work product that is correct/accurate/etc. Fast meaning on or ahead of …

Member Avatar for neophyteprogram
0
221
Member Avatar for girish_sahani

I want to generate all substrings of size k-1 from a string of size k. e.g 'abcd' should give me ['abc','abd','bcd','acd'] Order of these strings in the list doesnt matter. Also order doesnt matter inside the string e.g 'abc' or 'bca' or 'bac' is the same. The following code doesnt …

Member Avatar for a1eio
0
213
Member Avatar for dogma

The question is simple... Can Perls LWP::UserAgent handle proxies that require authentication. I have UserAgent running well, but the documentation doesn't mention authenticated proxies. Any help would be great. Thanks

Member Avatar for dogma
0
242
Member Avatar for katharnakh

how to read spread sheet in python. I have a package XLW to generate a spread sheet, but i din't find method to read. How to read spread sheet? Please help me. Thanks, kath.

Member Avatar for vegaseat
0
202
Member Avatar for campkev

Ok, I am using a datagrid with paging enabled. It works fine if number of pages is 10 or less. Where I am running into problem is if there are more than 10 pages An example: paging looks like this Pages 1 2 3 4 5 6 7 8 9 …

Member Avatar for campkev
0
107
Member Avatar for kris.c

I have done programs that print themselves on execution,but is it possible for a c program to execute itself or another c program whose path is specified??

Member Avatar for kris.c
0
189
Member Avatar for kris.c

hi all, Suppose, I have a string stored in a character array. I want this string to be stored in a file. If I do fopen and use the write mode ,the contents of this file will be junk.. How can I store the string as it is inside the …

Member Avatar for Ancient Dragon
0
87
Member Avatar for mikki2

hi, have a little problem using fstream. first here is the code... [code] #include<iostream> #include<fstream> using namespace std; int main() { string word; ofstream outl("biscuit.txt", ios::out); cin>>word; outl<<word; system("pause"); return 0; } [/code] using this, i can type a word into the input screen and it saves whatever word i …

Member Avatar for mikki2
0
2K
Member Avatar for puddin

I AM POSTING A SECOND TIME ON THIS. I NEED SOMEONE TO HELP!!! TO TELL ME WHERE MY MISTAKE IS: THE JPEG PHOTOS DO NOT DISPLAY CLEARLY AT ALL.... CAN YOU HELP PLEASE!!! Thank-you Kindly, Puddin ____________________ This Is My User Form Is The Error Here? ____________________ <?php include 'db.php'; …

Member Avatar for puddin
0
169
Member Avatar for jaden403

Hello, When I compile the following code I get this single error: In constructor `Point::Point expected `{' before ':' token ()': I cannot figure out what is wrong. What am I missing? Thanks. Header file [code] #include <iostream> using std::cout; using std::endl; class Point { friend void setX( Point &, …

Member Avatar for Rashakil Fol
0
178
Member Avatar for Blujacker

[code] from Tkinter import* okno=Tk() okno.title('Pomoc please') platno=Canvas() platno.pack() def volana_funkce(event): print event.widget oval1=platno.create_oval(10,20,30,40,fill='red',tags='klik') oval2=platno.create_oval(50,70,80,90,fill='blue',tags='klik') platno.tag_bind('klik','<1>',volana_funkce) mainloop() [/code] how to get a name of widget if click on them?e.g i klik on oval1 and function volana_funkce will return oval1.. thanks

Member Avatar for bumsfeld
0
327
Member Avatar for skanker

I want to use wxpython, but when I installed it python didn't recognise the module. I've looked everywhere for help but gotten nowhere so could someone help me out?

Member Avatar for vegaseat
0
147
Member Avatar for girish_sahani

I want to generate all size 2 strings from a list of size 1 string e.g featureList = ['a','b','c','d'] gives ['ab','ac' etc] I wrote this code [code] def genC(featureList): for i in range(0,len(featureList) - 1,1): for k in range(1,len(featureList) - 1,1): if i+k <= len(featureList)-1: colocn = featureList[i] + featureList[i+k] …

Member Avatar for girish_sahani
0
73
Member Avatar for aeinstein

Hi All, If the user is to input text - alphabetic or numeric, when is it advantageous to use [I]getline[/I] rather than [I]cin[/I]? It's obviously easier to code something like [inlinecode]cin >> favoriteVacationSpot;[/inlinecode] than something like [inlinecode]getline (cin, favoriteVacatioSpot);[/inlinecode], so I don't see the advantage of using [I]getline[/I]. If anyone …

Member Avatar for Dave Sinkula
0
384
Member Avatar for DATABASE

this code is for a login page but i have a problem with it [COLOR=#ff0000][/COLOR] [CODE] <%@ Page Language="VB" Debug="True" %> <%@ import Namespace="System.Data" %> <%@ import Namespace="System.Data.oledb" %> <script runat="server"> Sub LoginBtn_Click(Sender As Object, E As EventArgs) dim con as oledbConnection= new oledbConnection dim comm as oledbcommand = new …

Member Avatar for DATABASE
0
181
Member Avatar for j4mes_bond25

Is there any way in CSS (without using any JavaScript) which allows us to NOT to have scrollbars next to "certain contents" only. I'm getting my inspiration from this website: [url]http://www.tristarwebdesign.co.uk/templates/templates/infinity/index.html[/url] My very top space is for "company's logo" & I don't want a scroll bar appearing on the right …

Member Avatar for John.Nye
0
2K
Member Avatar for aeinstein

Hi All, Short story: How do you compile two .cpp files at once? Text excerpt: "Step-by-Step 4-1: 1. Open [B]apstring.cpp[/B] and [B]stringex.cpp[/B] into a project in your compiler. The file [B]apstring.h[/B] must also be available to your compiler." All three files are downloaded from the Instructor's Text Resources of my …

Member Avatar for aeinstein
0
369
Member Avatar for aeinstein

Hi All, The program below is returning the following data... A 1 AB (empty line) 3 9 ...when it should be returning... A 1 AB 2 ABCDEFG 7 I've tried changing the assignment code statements to read [inlinecode]MyString = MyString + "B\n"';[/inlinecode] and [inlinecode]MyString = MyString + "CDEFG\n";[/inlinecode], but that, …

Member Avatar for aeinstein
0
178
Member Avatar for tlly

I've got a 2 tricky questions for u. Can anyone write: 1). A "Hello World" program in 'C' without using any semicolon. 2). A 'C' program without using any loop (if, for, while,etc...) to print numbers. A friend gave me those questions but up till now i have not been …

Member Avatar for Dave Sinkula
0
214
Member Avatar for puddin

I have tried and again I cannot figure it out. Everything is working... Only the jpg, JEPG like these do not show up correctly... Can you see the mistake? If you do please spell it out for me. Much appreciated, again, puddin. Here is my form and process photo code: …

0
259
Member Avatar for korbynlehr

Is there an easy way for me to combine these two programs? What I am wanting to use an array for the different loans. Display the mortgage payment amount for each loan and then list the loan balance and interest paid for each payment over the term of the loan. …

Member Avatar for korbynlehr
0
138
Member Avatar for codergem

Helo !!! I was trying to implement linked list in which the data field is Generic... the structure details are.. [code]typedef struct node { void *data; struct node *next; }gnode; [/code] Now to add a node into it, and i have written this function. [code]void insert(gnode **head,void *data,unsigned int size) …

Member Avatar for codergem
0
146
Member Avatar for DATABASE

[COLOR=blue]i wrote this code in the display of a page[/COLOR] sub Display() dim strcon as string ="Provider=Microsoft.Jet.OLEDB.4.0;DataSource =Sales.mdb" dim strcommand as string ="Select * from sales" dim myconnect as oledbconnection = new oledbconnection dim myAdaptor as oledbDataAdapter = new oledbDataAdapter dim salesDS as DataSet = new DataSet myconnect.ConnectionString=strcon myAdaptor.SelectCommand=new oleDbComman(strcommand,myconnect) …

Member Avatar for DATABASE
0
110

The End.