199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vegaseat

Using the Python win32 extensions it is relatively simple to copy to and from the clipboard. Sorry. the Windows OS is a requirement.

0
2K
Member Avatar for Jack_11

I've been asigned to develop a website in php. I run windows, and I want to know what IDEs are good for this.

Member Avatar for Jack_11
0
98
Member Avatar for tNicknames

My localhost is running on self-certified HTTPS and I am using Stripe API. I am getting following errors: Warning: stream_socket_client() [function.stream-socket-client]: SSL: connection timeout in D:\xampp\htdocs\edplace_live\stripe\stripe\lib\Stripe\ApiRequestor.php on line 374 Warning: stream_socket_client() [function.stream-socket-client]: Failed to enable crypto in D:\xampp\htdocs\edplace_live\stripe\stripe\lib\Stripe\ApiRequestor.php on line 374 Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://api.stripe.com:443 (Unknown …

Member Avatar for Jack_11
0
414
Member Avatar for cypherscouter13

I am using scientific linux. In the directory user/project/Build , after I ran 'make' to compile and link all the cpp files,I had no problems. But then, when I went to directory user/run/run.sh , which runs the project binary in user/project/Build/bin/project , I get a segmentation fault error. In the …

Member Avatar for Moschops
0
265
Member Avatar for djblois

I am trying to look on the web for a way to create a stored procedure that I can run and then put in multile values and this is the closest I can find: CREATE TYPE dbo.EmployeeList AS TABLE ( EmployeeID INT ); GO CREATE PROCEDURE dbo.DoSomethingWithEmployees @List AS dbo.EmployeeList …

Member Avatar for hericles
0
141
Member Avatar for robertlaar
Member Avatar for robertlaar
0
66
Member Avatar for khloud.alharazi

using switch statement writing a program for simpe calculator having functioinalities of finding addition,subtraction,division,square,cube and square root for any tow numbers obtained from user? `Inline Code Example Here`

Member Avatar for rubberman
0
71
Member Avatar for newbieJava85

Hello, I am a little stuck. I have grasped the concept of methods, understanding thier purpose but still unsure on how to code it. Below is part of my code I kindly need guidance on. I am trying to create a method which can hold roles and depending on which …

Member Avatar for rubberman
0
209
Member Avatar for CodyOebel

Here's what I need to accomplish. So any help on this would be absolutely magnificent. I've programmed in WinAPI32, but for fast development I'm looking to use QT IDE in order to connect to an SQL database. I need to run queries on addresses for stored patience. The address is …

Member Avatar for rubberman
0
239
Member Avatar for Username87

I have a problem with an application. The application have a Form contains a data grid view for displaying items data. There is a column within the data grid view of custom control type when pressing F3 on such column it shows another Form for searching the items. The other …

Member Avatar for cgeier
0
260
Member Avatar for PerplexedB

I have this Linq expression that works well. What is the right approach to test if it has returned anything? internal static void getCreditNotes(string invoiceId, out DataTable creditNotes,out double total) { total = 0; creditNotes = new DataTable(); var q = dt.AsEnumerable(). Where(r => (string) r["invoiceId"] == invoiceId && (string) …

Member Avatar for PerplexedB
0
217
Member Avatar for BENTABET

I wrote a template class named "Tree<T>" in C++ which attributes are : - T data - std::vector<Tree*> sons; I wrote the basic methods consisting of writing and reading in those two attributes. Now, I'm writing methods that return the min and max depth. I have no compilation problems but …

Member Avatar for Duoas
0
299
Member Avatar for Ryan_14

I added a Breakpoint here: public class JavaApplication8 { I added another here: public static void main(String[] args) { Finally, I added one more here: Scanner input = new Scanner(System.in); Ctrl + F5 is supposed to start the debugger, right. Mine doesn't work. When I hit Ctrl+F5, another window opens …

Member Avatar for JamesCherrill
0
203
Member Avatar for riwakawd

When I upload I can upload single files fine but, I cannot seem to upload if input is like **<input type="file" name="file[]">** I am not sure on my php upload function how to make it allow multiple files? Thanks in advance. public function upload() { $this->load->library('request'); $directory = FCPATH .'upload/'; …

Member Avatar for riwakawd
0
254
Member Avatar for CoderGuy101

Programming is such a customizable duty. I would like to ask some approaches (not solutions) to coding a program that has a GUI that functions as a cooking timer for hamburgers, steaks, cookies, etc. Call it reasoning or planning assistance for software development. I am having a tad bit of …

Member Avatar for JamesCherrill
0
150
Member Avatar for ken_6

I'm trying to do is send a temp password to the user email. It works fine but I just want to add images inside the message seems like it showing n/a image. My directory are correct, I even try using a URL image but still wont work. Please help here. …

Member Avatar for havok
0
200
Member Avatar for ballhysaledio_1

Hello.I am currently a newbie in Java and I was wondering if smn would help me for this project. Thanks. JAVA PROGRAMM Build a class named Rectangle that represents a two - dimensional area . This class must contain: public Rectangle ( int x , int y , int width, …

Member Avatar for CoderGuy101
0
192
Member Avatar for mtho

I'm new to Java and im trying to create a game that uses an AnimationTimer. I want to loop through the question one at a time but at the moment the for loop I use just adds all the question to the canvas at the start of the game. I …

Member Avatar for stultuske
0
716
Member Avatar for jean_5

I have the following table: Region IdDescription IdUser Metropolitan Right 5 Metropolitan Left 6 Metropolitan Right 5 Metropolitan Left 6 Country Town Right 5 Country Town Left 6 Country Town Right 5 Country Town Left 6 Metropolitan Right 7 Country Town Left 8 And I want to query the kinds …

Member Avatar for Taywin
0
106
Member Avatar for win_1

In my visual basic code, I have an object **(objXmlCaseDoc)** containing xml document. I want to add a variable **(strPoNumber)** into this object at the beginning of the xml document. I would like to add the code for the variable where I have a comment in vb code which says …

Member Avatar for win_1
0
218
Member Avatar for SimonIoa

I am starting to use Flash Builder for php to make an app. I have started with this very good example suggested by a user. [http://files.zend.com/help/Flash-Builder-for-PHP/Getting-Started/Mobile/build_a_mobile_(php)_application.htm](http://files.zend.com/help/Flash-Builder-for-PHP/Getting-Started/Mobile/build_a_mobile_(php)_application.htm) On Step 11 running the PHPUnit i am getting this error PHPUnit_Framework_Error_Warning:mysqli_connect()[<a href='function.mysqli-connect'>function.mysqli.connect</a>]:MySQL server has gone away I am understanding that it cant connect …

Member Avatar for SimonIoa
0
357
Member Avatar for manalibhadula

Hi guys Does anyone know any java api which can handle .xlsx file with 10lakh records? I have tried using POI XSSFReader, it is not supporting this much large file. My xlsx file size increases horizontlly as well as verticaly.

Member Avatar for David_50
0
105
Member Avatar for PinoyDev

Good day! I have a page let say page1.php and page2.php. In page1.php, I have build menus which names are taken from MySQL database like the code Ive made below: <ul> <?php do { ?> <li><a href="fullwidth.html"><?php echo $row_rec_tourismmenu['menuname']; ?></a></li> <?php } while ($row_rec_tourismmenu = mysql_fetch_assoc($rec_tourismmenu)); ?> </ul> I want …

Member Avatar for PinoyDev
0
140
Member Avatar for Bile

Hi Daniweb,I'm trying to modify and upgarde My codes from Native mysql to mysqli. My trail seems to be somehow good as I got My hands with the Php Manual Documentation so forth. The Only point I got stuck is where I implimented the mysql's mysql_affeted_rows() and so changed it …

Member Avatar for Bile
0
212
Member Avatar for Nova6112

Hi, I'm developing application in vb6.0 with MS-Access. When i try to fetch data between two dates using DTPicker for Ex. i select 15-Jan-15 , 16-Jan-15 in DTPickers it selects only datas from 16-Jan-15 it's not select data from 15-Jan-15.I'm using the following Query : sql = "select * from …

Member Avatar for Nova6112
0
130
Member Avatar for lostmymom

The above date is stored in varchar type i want to display the error date for rectification. so i tried NOT LIKE '__/__/____' but it didnot work. I want to display the records which does not have the 02/02/2000 pattern. thanks

Member Avatar for rch1231
0
127
Member Avatar for Violet_82

Hello, I'm building an expenses application in asp.net and I'm attempting to insert some data in a SQL database in visul studio but I get the following error (screenshot here http://s13.postimg.org/4kjmn4nev/SQL_error.jpg): The INSERT statement conflicted with the FOREIGN KEY constraint "FK_expenses_ToexpenseCode". The conflict occurred in database "Applications", table "dbo.expenseCode", column …

Member Avatar for djjeavons
0
3K
Member Avatar for Xiao_1

in Student Register_Form i key in the Stud Admin and admin card but when i key in the admin card one number it come out alot of small box that say (Insert time in) here is all the code: Public Class Student_Form Private Sub btnRegister_Click(ByVal sender As System.Object, ByVal e …

Member Avatar for tinstaafl
0
150
Member Avatar for azegurb

Hi all, i have web application and login form. i would like when i exit (logout) it automatically logs out from all devices (or browsers or PC). Can anyone help me?

Member Avatar for broj1
0
264
Member Avatar for xrjf

By means of Mates8, graph coding becomes a bit easier. The web page has four textboxes so the figure gets bounded to the left, right, top and bottom; and a draw button. Additionally, a panel control will contain the image generated by the code after the button is pressed.

Member Avatar for xrjf
0
569
Member Avatar for Littlen

Hi all, Im trying to create an AES Shared secret to encrypt and decrypt a message in J2ME. Ive already tried this code in J2SS and it works fine but when i try to use the exact same code in J2ME it doesnt work. I get the following error : …

Member Avatar for avinashsdz
0
308
Member Avatar for minie1877

Hi need help urgently, can anyone check my code and find what is wrong in there. i have add referance the web services and this web services has server authentication that i need to pass when i send the data (request header value with request message). even i have add …

Member Avatar for minie1877
0
230
Member Avatar for PulsarScript

//Hi all just switching from c++ to c#.Can anyone help,with the question i have: //this is a peace of code from c++ banking aplication int ShowMenu(void); void AddAccount(vector<CAccount*>& list); void DisplayAccount (vector<CAccount*>& list); void Lodgement (vector<CAccount*>& list); void Withdroawal (vector<CAccount*>& list); void InterestRate (vector<CAccount*>& list); CAccount* findAccount (vector<CAccount*>string ); bool …

Member Avatar for ddanbe
0
2K
Member Avatar for Rahul47

As a part of my assignment I need to solve a problem in which I have to take space seperated inputs. I have already done my homework and stuck at a point where I have to take space seperated integers when number of integers are not predecided i.e whether there …

Member Avatar for Rahul47
0
214
Member Avatar for davy_yg

DELETE * FROM image_upload WHERE image_id=51You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM image_upload WHERE image_id=51' at line 1 if(!empty($_GET['image_id'])) { $sqlstr = "DELETE * FROM image_upload WHERE image_id=".$_GET['image_id']; //echo $sqlstr; …

Member Avatar for rch1231
0
205
Member Avatar for hacgor

I start programming in Vb6 a few weeks ago, and I have a big problem now… When I like to insert Date in .dbf table from my VB6 Application, I get the error: [COLOR="Red"][B]Malformed GUID. In query expression[/B][/COLOR] My SQL string: [COLOR="Green"]strSQL = "[B]INSERT INTO stok_sme (Date_time) VALUES ({^" & …

Member Avatar for Santanu.Das
0
1K
Member Avatar for Jack_11

I was just poking around the C# forum, (and some others) and I noticed that there's a lot of people that are reading and writing data from text files in C#. When in python you could do in ten lines when in C# it takes fifty. HECK PERL IS BETTER …

Member Avatar for cgeier
0
145
Member Avatar for shafter111

Hi.....I am a newbie...really confused with do while loop in python. Does it even exist? [CODE] J=[] do: finished = "false" while finished != "true": finished="true" for j in xrange(len(lis2)): cenP2 = G[i+G0] if ((cenP2 == 0) & (sigma2 > 0) J.append(1) finished = "false" print 3 # test code …

Member Avatar for sneekula
0
31K
Member Avatar for SimonIoa

I just installed ZEND STUDIO to make a mobile application out of my php files. Does anyone knows any good tutorial or examples?

Member Avatar for SimonIoa
0
352
Member Avatar for hell hansen

Hi guys, i'm tryng to check available when update a record! so i'm getting that the record is available! Bellow my class and my proccess //this is my function i use inside of my class function getInfonupdate($display_name) { $query = $this->link->query("SELECT * FROM tbl_types WHERE display_name != '$display_name'"); $rowcount = …

Member Avatar for hell hansen
0
129
Member Avatar for nugnug1616

This sort of works but my tkinter window kees freezing. heres my code: import pygame, sys, time, random#Imports the modules pygame, sys, time and random form the python libary from pygame.locals import *#Imports all of the pygame modules global randomNumber #randomNumber = random.randint(1,4) redandBlackCounters = [120, 735, 250, 735, 560, …

Member Avatar for TrustyTony
0
469
Member Avatar for techker

hey guys im tring to list whats in my collection base but no output.. by the way is there a way to load info from TXT file in collectionBase? by the way this is just a project i have : class ATM public void AddClient(string ClientID, string Full, string Type, …

Member Avatar for techker
0
116
Member Avatar for Jack_11

One thing. Why aren't there any high-level languages capable of low-lovel programming? I understand that pointers and such are a difficult concept. But why hasn't anybody made a systems programming language like python (I.e. a high-level syntax)

Member Avatar for mike_2000_17
0
283
Member Avatar for cambalinho

i did these function for uppercase: string Upper(string text) { string result; result.resize(text.size()); for(int i=0; i<text.size(); i++) { if(text[i]>96 && text[i]<123) result[i]= text[i]-32; result[i]=text[i]; } return result; } but i'm getting the wrong results :( what i'm doing wrong?

Member Avatar for sneekula
0
343
Member Avatar for coder91

Hi, so for my .net project I've to use HTML/CSS provided by another colleague. Ive copied this into the site master page in .net but it doesn't appear in the child pages, anyone have any ideas how I can fix this. The code is: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" …

Member Avatar for coder91
0
319
Member Avatar for markdean1989

Hi I am working on a simple C++.Net project which will allow me to run another program (e.g., I. Ex., Word etc.). However, I can't seem to find any working codes online. Here are the codes I have found so far; ShellExecute(GetDesktopWindow(), "open", "c:\myTestFolder\myfile.exe", NULL, NULL, SW_SHOWNORMAL); requires the inclusion …

Member Avatar for markdean1989
0
342
Member Avatar for juniper.root

I understand its usually a header has been already sent type scenario but I'm starting to lose it. I have no idea how to sniff out where I mucked up in my code. I tried using a print sub routine that prints both to stdout and to a file. I …

Member Avatar for 2teez
0
233
Member Avatar for humorousone

I'm creating my first github repo in C# (compatability has only just been added), and I'm really unsure of how to structure my project. I know that many languages have folders like: /src /builds though i'm not sure how this would apply to C#. There's this C# project, although it …

Member Avatar for deceptikon
0
252
Member Avatar for pritaeas

I have the following: <h1><asp:Literal runat="server" Text="<%$ Localize:LoginRequest %>"/></h1> <fieldset> <legend></legend> <input runat="server" class="form-control" placeholder="E-mail" type="text" /> <input runat="server" class="form-control" placeholder="Password" name="password" type="password" value="" /> <button runat="server" type="submit" class="btn btn-default"><asp:Literal runat="server" Text="<%$ Localize:Submit %>"/></button> </fieldset> `Localize` is a custom expression builder to translate my strings from a resource file. I …

Member Avatar for pritaeas
0
195
Member Avatar for manalibhadula

Hi guys I am facing issue in an array list where i am putting a value at specified index, but it is replacing all the index value in it. I am putting map inside a arraylist, now in a loop when i am putting value in list.add(i, Map).The value at …

Member Avatar for manalibhadula
0
225

The End.