132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sam.tubb.10

Hello, I am newish to wxPython and I am attmpting to make a text editor Everytime it attempts the open file code it gets this error: IOError: [Errno 22] invalid mode ('r') or filename: u'' WHY!!! here is the code... import wx import os wildcard = "Text file (*.txt)|*.txt;|"\ "All …

Software Development microsoft python
Member Avatar for TrustyTony
0
227
Member Avatar for kimlong2012

Dear all programmer; I build an application using vb.net and sql sever. I want to create auto number increasement like (STAFF-0001). For STAFF-000 mean like default value and number is increasement. example: STAFF-0001, STAFF-0002, STAFF-0003. Please help me thank. Best regard, Kimlong

Software Development vb.net
Member Avatar for jezguitarist30
0
191
Member Avatar for ldpasaje

Hey guys, I have a rough code here that displays a Square asterisk, Oval shaped asterisk, Arrow asterisk and a Diamond asterisk, and it displays vertically, but I cant figure out how to display my output horizontally. here's my code so far, #include<iostream> #include<conio.h> using namespace std; int main() { …

Software Development c++ display
Member Avatar for Labdabeta
0
2K
Member Avatar for annette_arpana3

import java.util.*; import java.net.*; import java.awt.*; import javax.swing.*; import javax.swing.border.*; import javax.swing.plaf.*; import java.awt.event.*; import java.io.*; import snmp.*; public class SNMPInquisitor extends JFrame implements ActionListener, Runnable { JButton getDataButton, getTreewalkDataButton, getTableButton, getNextButton, setValueButton; JButton clearButton; JTextArea messagesArea; JScrollPane messagesScroll; JTextField hostIDField, communityField, OIDField, valueField; JLabel authorLabel, hostIDLabel, communityLabel, OIDLabel, valueLabel; …

Software Development java java-swing window-manager
Member Avatar for JamesCherrill
0
241
Member Avatar for muditvijay

hi guye please help how to sort a file like: with phone no. name;class; phone no mudit;5th;987654321 rohit;4th;98745321 sumit;7th;987654321 ankit;9th;984321 aaa;5th;987654321 bbb;5th;9874321 ccc;4th;98765421 ddd;8th;9876543

Software Development c++
Member Avatar for Cross213
0
129
Member Avatar for Thiole

http://pastie.org/4237634 Behavior tree im manipulating http://pastie.org/4237628 Plugin Manipulating it, ( my behavior tree starts at line 135, its not moving on to the next step ( my behavior tree is basically the first document, without it returning ) idk what else to add

Software Development
Member Avatar for Thiole
0
48
Member Avatar for rdx05

#include<iostream> #include<string> #include<conio.h> using namespace std; int main(){ string array[5][5]; int i=0,j=0; string z[5]={"abdg","ygur","guqh","asdf","sent"}; for(i=0;i<5;i++) for(j=0;j<4;j++) { array[i][j]=z[i][j]; cout<<"\narr[][]="<<array[i][j];} for(i=0;i<5;i++) cout<<"\narr="<<array[i]<<endl; //this z not workin.WHY??...PLZ HELP! getch(); return 0; }

Software Development c++
Member Avatar for rdx05
0
207
Member Avatar for kimlong2012

Dear All; I have a form contain with two TextBox control and one ComboBox. There are StaffCode(txtStaffCode),StaffName(txtStaffName),Gender(cboGender). After I insert data into table, I want to retrive it back by using Reader method. The code I had done as below: Private Sub btnSearch_Click(-----) dim cnn as new SqlClient.SqlConnection dim cmd …

Software Development vb.net
Member Avatar for poojavb
0
115
Member Avatar for ChristianOncken

from socket import * from time import time, ctime import thread import Queue import os class ThreadSafeConsole(Text): def __init__(self, master, **options): Text.__init__(self, master, **options) self.queue = Queue.Queue() self.update_me() def write(self, line): self.queue.put(line) def clear(self): self.queue.put(None) def update_me(self): try: while 1: line = self.queue.get_nowait() if line is None: self.delete(1.0, END) else: …

Software Development os-x python queue tkinter
Member Avatar for ChristianOncken
0
2K
Member Avatar for tashee2007

Dear Expertise, I am problem with coding to search the data from database using stored procedure and vb.net form. I am coding with vb language not the C#. Explanation: I have stored procedure named "usp_GetPayByGrade" : /* Name: usp_GetPayByGrade Description: Search the Record to dbo.hrGradePayScale table by gpsIntGrade Author: Tashi …

Software Development encryption sql vb.net
Member Avatar for kRod
0
754
Member Avatar for SyncMr

0 down vote favorite I have a huge vector of boost dynamic_bitset. I want to write the dynamic_bitset vector to a file and later read the file back into a dynamic_bitset vector. Is the memory for dynamic_bitset allocated as a contiguous block of memory (so that I can write the …

Software Development c++ file-system ios visual-studio
Member Avatar for NathanOliver
0
2K
Member Avatar for writerervin

I apolagize if this question has been asked before, but I was looking to see how I would go about writing an editor that saves the file on a server instead of on the harddrive. I would appreciate any and all help.

Software Development client-server java
Member Avatar for trishtren
0
171
Member Avatar for hkboateng

Hello Guys, I am writing an elevator problem and am stuck at the movement of the elevator and also stopping the elevator. The elevator is suppose to state the current floor is starting and the number of passengers that are in the elevator. I am able to let it go …

Software Development java
Member Avatar for hkboateng
0
581
Member Avatar for VasquezPL

I have a very strange problem...I have a function which works in 99/100 times...But unfortunately I have noticed one group which generates me some problems. The worst thing is that I don't see anything special in it...name is nomral, I have access to list it...But my program doesn't return any …

Software Development advertising c c# c++
Member Avatar for VasquezPL
0
705
Member Avatar for ppstyle

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:PadmaSMSConnectionString %>" SelectCommand="SELECT [EmailID], [Password],[CnPassword] FROM [Registration] WHERE [EmailID] = @EmailID" UpdateCommand="UPDATE [Registration] SET [Password] = @password WHERE [EmailID] = @EmailID"> <SelectParameters> <asp:SessionParameter Name="EmailID" SessionField="User" /> </SelectParameters> <UpdateParameters> <asp:ControlParameter ControlID="txtnewpass" Name="password" PropertyName="Text" Type="String" /> <asp:Parameter Name="EmailID" /> </UpdateParameters> </asp:SqlDataSource> protected void BtnChangePass_Click(object sender, EventArgs e) { …

Software Development asp session
Member Avatar for hericles
0
213
Member Avatar for BHKK

Hi, I got a problem in reading and write on file. I have to create an virtual agenda, therefore I enter a name and a number for N persons. After entering the infos if the file doesn't exist, the program create it and save the infos, if the file exist …

Software Development c c# c++
Member Avatar for Ancient Dragon
0
177
Member Avatar for renyges

Hi. I’m currently doing a project based on permutation and combination and I don’t get it. It should permutated a series of number entered in a textbox and search all that number in ms access database. If the searching number exists in the database, it should list down all the …

Software Development vb.net
Member Avatar for renyges
0
115
Member Avatar for TheBusDriver

B works, A does not. Is there any way to make A work without using new (that includes placement new)? The code is more or less identical and I'm sure my overloaded new/delete are being called. The only difference is that A doesn't call the constructor but that shouldn't matter …

Software Development c++
Member Avatar for sepp2k
0
657
Member Avatar for Labdabeta

I have been having this problem since I started using stl containers awhile ago. Basically, when I debug them with the default Code::Blocks MinGW debugger I find that it gives far too much irrelevant information such as iterators and other 'behind-the-scenes' stuff. I can make it better by telling it …

Software Development c++
Member Avatar for Labdabeta
0
306
Member Avatar for mrgadgets

What c framework are you people using to develop a game written totally in c? Mind to share?

Software Development c
Member Avatar for DeanMSands3
0
166
Member Avatar for gahhon

i've linked the database correctly, but i can't view the value after i drag the table from data source, and my database already saved data. why? :(

Software Development vb.net
Member Avatar for gahhon
0
256
Member Avatar for Eruditio

I'm struggling to think of a reason why I should be getting an 'Access denied' error when trying to save an Excel document opened through a program written in VB 2010 Express. The program is essentially glorified Excel automation. It converts information from hundreds of Excel documents into a few …

Software Development file-system microsoft-office vb.net
Member Avatar for Reverend Jim
0
1K
Member Avatar for sebass123

Im not really sure where my program has gone wrong and would be thankful for any help provided. It compiles and runs up until the first function is called then crashes however I have tried multiple ways to fix it such as different names, changing the return values, changing the …

Software Development c
Member Avatar for Perry31
0
124
Member Avatar for david56connor

Hi there, I have a piece of code that I made to handle the joining of 'characters' in to a 'raid' on a game. The program refreshes a page to check if the 'raid' is available, if it is, it 'forms' the raid and 'joins' the characters. The joining process …

Software Development multithreading python queue
0
141
Member Avatar for Floppy1

Hi, I need to Runexport from DB to specific file im my network, no problem. When i search there is more than one post, so I get a list and export all searchhits, No problem. BUT I need to name the pdf files to each specific invoice number. Each post …

Software Development pascal pdf
Member Avatar for pritaeas
0
215
Member Avatar for messynaddy

public class Stack extends LinkList{ public Stack(){ public void push (Object element) { insertAtFront (element); } public Object pop(){ return removeFromFront(); } public Object peek(){ return getFirst(); } } Im trying to create a movieApp using pop push and peek method(Stack). But once the class got compiled, it shows a …

Software Development java
Member Avatar for messynaddy
0
288
Member Avatar for MasterHacker110

I have this encryption code, it encrypt the file but doesnt want to decrypt it: it gives a segmentation fault error. By the way i am using linux... #include <iostream> #include <string> #include <fstream> #include <cstdlib> #include <sstream> #include <vector> using namespace std; int n, c, l; void gen_code(string word1, …

Software Development c++ encryption ios
Member Avatar for MasterHacker110
0
2K
Member Avatar for KE50

Hello All, I have been wondering how possible is it to have an application that would run a php application that would be used for making the database updates as well as handling the business logic while on the front end, have delphi forms So The form will be used …

Software Development delphi pascal php
Member Avatar for pritaeas
0
684
Member Avatar for karoke

CAN anyone help me in knowing the differences between J2EE, J2SE & J2ME... I am a newbie to Java. Please explain me in detail. Thankz in Advance !!!

Software Development java
Member Avatar for JamesCherrill
0
5K
Member Avatar for rdx05

#plzz help me to solve this problem....i hav tried but there are many errors....# #include<iostream> #include<string> using namespace std; class matchMaker { public: string rtn[] getBestMatches(string members[], string currentUser, int sf) { int i=0,scount=0,x; string rtn[10]={0}; for(i=0;i<20 && scount<2;i++) { if(currentUser[i]!=' ' && scount<2) continue ; else scount++; } int …

Software Development c++
Member Avatar for rdx05
0
171
Member Avatar for gee_azizi

Hey guysz. I had follow up the Daniweb discussion on VB6. I tried to develop a software based on what I got. It is a similar to library system (it is a different program actually). Thanks alot ^^. Now I almost 80% done. So I need a little help 1. …

Software Development visual-basic
Member Avatar for gee_azizi
0
139
Member Avatar for lxXTaCoXxl

I've been given a homework assignment in which I have to create a linked list, then store 25 random integers within it, after I've stored the values I have to find the sum of these 25 numbers, and then the floating point average of them. So for the most part …

Software Development c++ linked-list objective-c
Member Avatar for histrungalot
0
208
Member Avatar for mrgadgets

Let say you have came out with a software written in c is there anyway to insert a clickable icon on your desktop so you can run the program on windows desktop? c is very good but we need to get a clickable icon so we can run our software.

Software Development c
Member Avatar for Ancient Dragon
0
112
Member Avatar for RobBrown

Hi All, I have a program for a multiplication table that requires a user to indicate the table they want to see with an integer between 4 and 12 and I would like the final array (MultTable) to look like the following, is this possible? 0 1 2 3 4 …

Software Development c++
Member Avatar for RobBrown
0
287
Member Avatar for jillianking8751

Hi everyone, I am new to C++ and have no idea where to start with classes. I took my first programming class last semester and just started object oriented programming. I am new to classes and this is my first assignment. Any help with a link or anything would be …

Software Development c++
Member Avatar for jillianking8751
0
232
Member Avatar for sebass123

I am having trouble compiling this program, I have just about everything written up but the compiler errors are keeping me stuck at a standstill. In the WRITEARRAY and READARRAY function are where the main compile errors are giving me subscript is not of integral type and this is making …

Software Development c
Member Avatar for sebass123
0
118
Member Avatar for deshazer.jad

I'm trying to load a PNG file into a BufferedImage like so: BufferedImage image = ImageIO.read(new File("smile.png")); When I use this line of code alone, it produes the error: Unhandled Exception Type IOException... I can fix this by surrounding the statement with try/catch like so: BufferedImage image = null; try …

Software Development image java
Member Avatar for deshazer.jad
0
854
Member Avatar for kerek2

Hi all... I'm new in vb.net and just create a listview project . I wan to display item from database(.mdb) into listview.how to make the next item going below and not auto sorting by id?...please help me...thank in advance Do While IBSSDR.Read() If IBSSDR.Item("USERDEFINED10").Equals("Y") Then ListView1.Items.Add(IBSSDR.Item("CARDHOLDERID")).ToString() ListView1.Items(ListView1.Items.Count - 1).SubItems.Add(IBSSDR.Item("NAME")).ToString() If …

Software Development listview vb.net
Member Avatar for kerek2
0
141
Member Avatar for brunoccs

Give then following Class declaration: class Employee { public string Name { get; set; } public int Age { get; set; } public override bool Equals(object obj) { Console.WriteLine("In Equals(Object)"); if (obj is Employee) if (this.Name == (obj as Employee).Name && this.Age == (obj as Employee).Age) return true; else return …

Software Development
Member Avatar for Momerath
0
173
Member Avatar for mrgadgets

I am looking forward to develop game in java and might sell it as well so here is the question: Do we need to pay fee to Oracle if we sell our game on the market or host it on our own web site with advertisement on the game page? …

Software Development java oracle
Member Avatar for stultuske
0
246
Member Avatar for HTMLperson5

Well, as you might know, when you are attempting to run a script from poweshell and have not used: Get-ExecutionPolicy You will get File C:\scripts\test.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get- help about_signing" for more details. At line:1 char:19 + …

Software Development microsoft shell-scripting windows-api
Member Avatar for khansen46
0
4K
Member Avatar for smile1

I apologise in advance but I have resorted to posting all of my code as I'm really struggling on this! I have created a table which is initially empty then a user imports a text file and creates 'n' rows depending on the content. Each row has an option menu …

Software Development python tkinter user-interface
Member Avatar for TrustyTony
0
1K
Member Avatar for bmfinn

I am trying to create a gui that will interact with an existing external console application, e.g. the user only changes information in text boxes or radio buttons and that will prompt the VB.net program to sumbit a certain set of commands. I will create a folder for the end …

Software Development gui vb.net
Member Avatar for bmfinn
0
938
Member Avatar for bipi09

i have this code in main.jsp <html> <head> <link rel="stylesheet" href="/bipi/css/bp.css" type="text/css" media="screen"/> </head> <body> <div class="navigator"> <a id="currenttab" href="/WEB-INF/jsp/main.jsp">Add</a> <a href="/bipi/display.jsp">Delete</a> <a id="currenttab" href="/WEB-INF/jsp/main.jsp">Main</a> </div> <%--<% String fname = request.getParameter("f_name"); String fage = request.getParameter("f_age"); if (fname != null && fage != null ) { com.test.gerrard.Insert(fname, fage); } %>--%> <form …

Software Development html-css java java-jsp
Member Avatar for anand01
0
985
Member Avatar for whypython

Suppose I have this textfile: **Generation #1:** trash_jsdbjsabnf trash_nsdjklfndsnf trash_jlsndfknsf ... trash_akjsdlkjasdasd **Game_List:** game = 111 game = 222 game = 333 **Generation #2:** trash_jsdbjsabnf trash_nsdjklfndsnf trash_jlsndfknsf ... trash_slajdlaskjdlas **Game_List:** game = 119 game = 262 game = 323 ... ... **Generation #500:** trash_jsdbjsabnf trash_nsdjklfndsnf trash_jlsndfknsf ... trash_jkansdklnalsda **Game_List:** game …

Software Development python
Member Avatar for TrustyTony
0
129
Member Avatar for Labdabeta

I wrote this program because I often am asked by people that know that I like to make games to make just a quick simple game for some reason or another. I always make a simple text based adventure game (like Zork, but simpler) and they are usually happy with …

Software Development c++ gaming
0
486
Member Avatar for satti

Need your urgent help , i have connected weighing machine with serial port ,now am getting data to a rich textbox in a string form , problem is i dont know how to get the only desired figures. the output string coming in this format from rtbDisplay _A0+0000002 Kg054__A0+0000002 Kg054__ …

Software Development vb.net
Member Avatar for Reverend Jim
0
134
Member Avatar for astian

Ok, I think Im missing something Big in programming logic when comes to web applications. Once again Im clueless about how to proceed in the curent situation. I have a Bing Maps application that connects to a WCF Service to read and write to a database. In this application I …

Software Development open-source
0
118
Member Avatar for bmfinn

I am trying to create an applicaiton that will verify that a large text file used far a CNC machince has all of the operations in order (someone may have edited the file by mistake) I wish to bubble sort the lines of the file while ignroing other lines. I …

Software Development file-system vb.net
Member Avatar for Reverend Jim
0
426
Member Avatar for nquadr

I have the following code that I would like to count files in a folder and return their name. Function CountFilesInFolder(strFolder As String) As Long Dim noOfFiles As Long Dim FileName As String FileName = Dir(strFolder) noOfFiles = 0 Do While FileName <> "" FileName = Dir 'ActiveSheet.Cells(noOfFiles, 1).Value = …

Software Development visual-basic
Member Avatar for WetCoastLife
0
273

The End.