132,726 Archived Topics
Remove Filter ![]() | |
Alright i am totaly new to python and could really use some help. I need a program that will run and starting at "2:00" count down all the way to "0:00". The left side being minutes and the right side being seconds. so 120 seconds total. I have no idea … Software Development python | |
![]() | I don't know too much about web development or making web pages although I can make simple html pages that have forms and so forth. I can do a little bit of javascript and css so that I can give the page some functionality and some type of design. However, … Software Development javascript php vb.net |
hey , I'm at unhandled error. if you can give me help I apreciate it :) when I run software it say "connection already open". I find all, but I can't find. If Len(Trim(txtloanids.Text)) < 4 Then MessageBox.Show("Please Check Custormer ID", "", MessageBoxButtons.OK, MessageBoxIcon.Warning) txtloanids.Focus() Exit Sub End If query … | |
I was able to get the ComboBox to load a list of files from a directory. but, now i am trying to get the contents of that file output to a TextBox or richTextBox. I am able to use this to output to another ComboBox(however, this is not what i … Software Development file-system | |
One of the questions given to us for the lab exam was to generate the first 10 armstrong numbers. I could generate upto 5 numbers correctly..the rest are wrong. [code] #include<stdio.h> #include<conio.h> void main() { int n=1,a,b,i=1,r; clrscr(); while(i<=10) { a=0; b=n; do { r=b%10; a=a+r*r*r; b=b/10; }while(b>0); if(a==n) { … Software Development c | |
In this vb.net form, I've created a login form which contains 3 fields: 1. User Name 2. Password 3. Combobox to select which which department the user belongs to. For combobox, I've created a particular code: Private Sub Form3_Load(sender As Object, e As EventArgs) Handles MyBase.Load cn.Open() 'da = New … Software Development vb.net | |
Hi, I have always programed in Turbo C 3.0 and little exp. with 4.5 but recently I installed Borland C++ Builder 6 and the environment is completely diifferent.. I was just testing some codes to get used to this new environment.. But this code below is giving an error i've … Software Development c++ | |
I was able to get the ComboBox to load a list of files from a directory. but, now i am trying to get the contents of that file output to a TextBox or richTextBox. I am able to use this to output to another ComboBox(however, this is not what i … Software Development file-system | |
so all i want to so is read a txt file and store it into an array but im im having a difficulty and here is my code and my txt file has a delimeter (',') so i put a getline function as well but it is not wrking for … Software Development c++ file-system | |
Hi all, I am doing some basic experimenting with ENCOG ANN, but am having issue following a simple walthough. At this stage I am simply trying to grab data from a CSV and normalise it. My code is: string filename = "spots.csv"; var format = new CSVFormat(',', ' '); IVersatileDataSource … | |
Using the wx.lib.pdfwin.PDFWindow one can read Adobe PDF files (.pdf) with wxPython. The PDF file format is popular document file format allowing mixing of text and graphics. The GUI toolkit wxPython's newer wx.activex module allows one to use the ActiveX control, as if it would be one wx.Window. It actually … | |
I keep getting "List index out of range" when trying to execute this code, but for the life of me I cannot figure out why, If anyone has any experience coding linux gDesklets this would help. File: StockWatcher.display [code] ... parser.dataSet = stockInfo.html ... [/code] stockInfo.html is an object containing … | |
Hey guys. I seem to be having a problem with my code. import java.util.Scanner; public class fishingGames { public static void main(String[] args) { int totalPoints = 0; String items; int Sides = 6; boolean playAgain = true; Scanner keyboard = new Scanner(System.in); Dice = new Dice(Sides); while (playAgain) { … Software Development java | |
I use this code to replace word file's some words with vb.net windows application text boxes values. 'use early binding Dim objWordApp As Word.Application = Nothing Try objWordApp = New Word.Application 'Open an existing document. objWordApp.Documents.Open("C/temp/word.docx") 'copy data to clipboard txtFirstName.SelectAll() txtFirstName.Copy() 'find <address> objWordApp.Selection.Find.Execute("<address>") 'copy richtext from clipboard objWordApp.Selection.PasteSpecial(DataType:=Word.WdPasteDataType.wdPasteText) … Software Development file-system vb.net | |
I've an abstract class Area, which is subclassed as Province, Division, District and City. Now, I need to specify in the City class in which district this city exists. So, I will have an instance of District class inside City class (Composition), so that I could pass id of a … Software Development | |
Vb.net I have hooked the keyboard. When i press "s" key it sends "d"char(thats what i wanted) but the problem is when i press ctrl+s notepad does not save the doc and sends "d". How to solve this. Software Development vb.net | |
Hi guys, i have an assignment where i have to create a oop text based java game and have no clue where to start or what i need to include. any tips? thanks | |
/*Hi guys ^^ can you help me ?? i keep getting these "error C2447: missing function header (old-style formal list?)" i just want to do 2 converters and somehow i end up in doingthis, pls guys help me ^^*/ # include <iostream> # include <cstdlib> using namespace std; int choice; … Software Development c++ | |
Hello everybody, I need your help to solve my problem. I've just upgraded my Windows from 7 Ultimate to 8, and my Dev-C++ (latest version - 5.7.1) it's compiler is becoming slower than when I use it in Windows 7 environment. It takes more than 20 seconds to compile a … | |
Hi I am trying to create a service in c#, if i click start in service it has to execute the run.bat file. if i click stop in service it has to execute the stop.bat file can any one please help me to fix the code. using System; using System.Collections.Generic; … Software Development c# | |
MAke a quiz in gui which shows the player the time left for a particular question and automatically proceeds to the next question when time limit exceeds. time left to be shown in a jlabel | |
hello guys I created an app in visual basic abd i want it to be requsting for a password when installing it or transfering it from one computer to the other. I want to put security to it. Any help will be appreciated Software Development visual-basic | |
Hi All, I have a nest list and i need to get the indivdual columns i can do a foreach and the sublist has the 4 arrays but i cant access each columns e.g. the first column is 1 2 the second column is 5 8 Thanks for the help. … Software Development | |
=client reads line from standard input (inFromUser stream) , sends to server via socket (outToServer stream) =server reads line from socket =server converts line to uppercase, sends back to client =client reads, prints modified line from socket (inFromServer stream) i just want to know how the code for server and … Software Development client-server | |
i want to search with name,email,id based on that suppose if they enter id then i need to serch with name or if they enter email i need to serch with mail or i want to serch with these 3 fields. so pls give a suggesion for best search query … | |
Group, I'm using VB.net 2010 and would like to convert a text file into a PDF file. In reading through the internet, it appears that I need to download a 3rd party .dll file. But is that needed? I see multiple PDF library references by right clicking the project name, … Software Development file-system pdf vb.net | |
I am having a list of items in combo box. in runtime if user feels to add new item to combo list he should be allowed to do the same just by typing new item in combo box typing area Software Development | |
Hi, I fail removing some carriage return, (\n\r i guess) from a god file which brings that the software where i'm exporting to is crying.. if i manually remove the CR from notepad, no problem i'm googling around for nearly 3 hours now on every possible way i can imagine … | |
Hello! What can be done with send input, native methods, DoKeyBoard? Please give me a full code of native method, dokeyboard,blockinput, sendinput. I want to know this because i want to send strings to other app from vb.net with keypress(suppose pressed key"a", and send an unicode char) and i have … Software Development | |
So I have to Create a Program where the Code Reads the CSV File (csv file consists of FirstName, lastName, ID,Mark). Then after it should sort it by it self and then print how much it takes to execute the program using hte Seleciton Sort method and the Collection.sort. When … Software Development file-system java | |
Hi Dw I've tried to update the progressbar under the For Each loop and it doesn't change its value, there was a piece of code I tried but can't remember now and that piece only updated let's say only once to (I think that value was 15 or 20). What … Software Development vb.net | |
I have the following code which handles my Print Button but I'm getting my ListView contents all on 1 page only (overwriting). How can I loop through the ListView items an d print on more than one page? Excuse my "newbiness". Private Sub Button1_Click(sender As Object, e As EventArgs) Handles … | |
I wan to call oracle database function I tried this but i am getting error `ORA-06550: line 1, column 7: PLS-00221: 'F_GET_DESC' is not a procedure or is undefined ORA-06550: line 1, column 7: PL/SQL: Statement ignored` public void Get_Desc() { string oradb = "Data Source=source;User Id=myuser;Password=ss;"; string CommandStr = … Software Development open-source oracle | |
I want to be able to control the print head of a Canon PIXMA iP5000 (inkjet) for printing. This printer has the finest resolution of any I.J. Printer made and it is this resolution I need to be able to utilise and control. I do have access to Cannon's Official … Software Development c++ microsoft-access printer | |
using: char username[255+1]; DWORD username_len = 255+1; GetUserName(username, &username_len); i get the actual user name. but how can i get the program folder name for execute a program? the '%ProgramFiles(x86)%' on folder name string is ignored :( Software Development c++ | |
Salutations! I am having a lot of trouble trying to create a program that will test the validity of a user entered password. Below is the criteria of the test: 1. The password must be 6 digits long entered as a single integer (assume no leading zeros are entered – … Software Development c++ | |
hello friends sorry for posting this basic question here but i can't figure it out why my variable "tasse" is getting 8 or (the value of variabale i) in this code below. #include <stdio.h> int main(){ int leght = 15; int tasse =0; int random; int array[15]={1,5,4,7,8,5,1,0,9,7,0,0,5,4,10}; int i,j; for(i=0; … | |
Develop a program that examines a sentence that hasn’t got any punctuation and finds and identifies the positions of each word that occurs in the sentence. With that the system shouldn’t be case sensitive: text, Text, TEXT should be treated as the same word. The program must be able create … Software Development | |
The Tkinter GUI toolkit comes with a scrolled text widget that is called ScrolledText. To get access to it you have to import it separately. It allows you to display large amounts of text in a small space. | |
i never used VBScript. how can i use win32 functions? Software Development shell-scripting vb.net visual-basic | |
Hello, I am having a bit of an issue with my networking addition to my game engine. The engine uses SDL to provide an event-driven programming environment. I tried adding networking functionality, but it doesn't seem to work. Here is the relevant code: //includes #if defined(_WIN32) #include <winsock2.h> typedef int … Software Development c socket-programming tcp-udp ubuntu windows-10 | |
Having problems getting my code to run on non dev machines. All machines are win 10 and my code targets .Net 4.6 which is supposed to ship with it. On one machine I had a problem where an exception to do with System.Data.SQLite was thrown and on another I had … Software Development sqlite | |
Hello. I need some help with manipulating a file. For example, I want to add 2 lines of text like this. 1 2 I know I need to use the StreamWriter but how ? Also, thanks for trying to help me :) Software Development file-system vb.net | |
So.. I have This program that generates Random Numbers with the User input. Now I Don't know how to find the Maximum and Minimum Value from that Random Numbers. This Code Generates Numbers So Far with No Errors. This Is My Code So Far. package patel.Jainam; import java.util.Random; import java.util.Scanner; … Software Development java | |
Hello, I want help in python for checkbox form i use this html code <input name="do" type="checkbox" value="file1" /> <input name="do" type="checkbox" value="file2" /> <input name="do" type="checkbox" value="file3" /> <input name="do" type="checkbox" value="file4" /> ----------- and after submet for i in query.getvalue("do"): print "_%s_<br>" %(i) when i check more than … Software Development python | |
import random import time badmStudentsF = ["FNAME1","FNAME2","FNAME3","FNAME4","FNAME5"] badmStudentsM = ["MNAME1","MNAME2","MNAME3","MNAME4","MNAME5","MNAME6","MNAME7","MNAME8", "MNAME9", "MNAME10","MNAME11"] random.shuffle(badmStudentsM, random.random); random.shuffle(badmStudentsF, random.random); print "HackLab Groups : " + time.strftime("%Y-%m-%d %H:%M") print "++++++++++++++++++++++++++" for i in range(0,len(badmStudentsM),1): if i == 4 or i == 8 or i == 12 or i == 16 : print "------------------------------" for … Software Development python | |
Hello, I have been intruiged by the video stabilization done by YouTube and wanted to implement it on matlab. I tracked down two papers related to it, this being them, 1.) http://static.googleusercontent.com/media/research.google.com/en//pubs/archive/37041.pdf 2.) http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=6738007&url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel7%2F6726158%2F6737993%2F06738007.pdf%3Farnumber%3D6738007 (L1 L2 optimization for video stabilization) I've made some progress, but sadly all I can get … | |
I need to sort three numbers that are entered in 10 different textboxes and display these numbers ascending and when I press a different button display them descending. Now I think that I need to put these three numbers into an array, sort and display, but I'm not really too … | |
Hi Dw. I'm tryign to change a registrykey on my system but I get this error: `ArgumentException was unhandled, The specified RegistryKeyPermissionCheck Value is invalid. Parameter name: mode` here is the line that throws this error: regKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(Root & Last, True, (Security.AccessControl.RegistryRights.FullControl)) and the rest of the function code … Software Development microsoft-access vb.net | |
Good day guys I need help for adding rows in datagrid where the rows to be added are equal to the number of rows copied from excel. I can copy the data but it displays only the first row from excel on the last row of datagrid but if I … Software Development microsoft-office vb.net |
The End.