43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for MWE_QUE

I was working on the wrong assignment, so I hammered this out, it's almost due, and I am having trouble figuring out how to test my program. Eclipse keeps showing errors when trying to figure out how to populate my fields, assuming I have the rest of the program right. …

Software Development java
Member Avatar for blauthor
0
958
Member Avatar for IIMorphII

Hey, First: Hello, i'm new here :lol: And here my question: It's a very short question: Is it possible to get the screen size (resolution) with pygame and how do i get it?

Software Development python
Member Avatar for diliupgabadamudalige
0
17K
Member Avatar for Diamonddrake

I am working on a combination productivity and source/version control app. One of the features i would like to add might sound crazy, but I would like to substitute the User's windows Desktop folder with the project files "Working Directory" That way, until the the software is exited, or the …

Software Development windows-vista
Member Avatar for Kelly_5
1
864
Member Avatar for reminem

Hello Everybody, I searched the the internet and this forum, but cannot find the solution for my problem. Started with python and have this code (part of): import requests `def Send_invitation(): data = {"bsn": e3.get(), "initialen": e2.get(), "achternaam": e1.get(), "geslacht": e4.get(), "geboortedatum": e5.get(), "postcode": e6.get(), "emailadres": e7.get(), "screening_type": e8.get()} response …

Software Development api json python
Member Avatar for reminem
0
332
Member Avatar for aaron.breen.50

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
Member Avatar for rproffitt
0
8K
Member Avatar for sashiksu

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 …

Software Development sql vb.net
Member Avatar for sashiksu
0
2K
Member Avatar for Esmerelda

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
Member Avatar for Tushar_4
0
2K
Member Avatar for eniacpx

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 …

Software Development dataset python
Member Avatar for Gribouillis
0
5K
Member Avatar for rpv_sen

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#
Member Avatar for tobyITguy
0
331
Member Avatar for AkshatGupta

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

Software Development gui java
Member Avatar for Ammar_7
0
5K
Member Avatar for Papa_Don

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
Member Avatar for Sblogger
0
2K
Member Avatar for alvoryx

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 …

Software Development c c# c++
Member Avatar for Ahmad_13
0
9K
Member Avatar for cambalinho

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++
Member Avatar for cambalinho
0
1K
Member Avatar for nic56208

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
Member Avatar for JamesCherrill
0
133
Member Avatar for Ghast

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
Member Avatar for Ghast
0
126
Member Avatar for androidz

good day is there a way in storing image and retrieving images using ms access and display in picture box randomly or just like a slideshow?which slides form left to right?or vice versa..i have some codes here but i does not display...hope you could help me and correct me..thanks more …

Software Development image microsoft-access open-source vb.net
Member Avatar for rhea jane
-1
899
Member Avatar for jared.geli

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
Member Avatar for richardsonka
0
2K
Member Avatar for iPoor

Hi Guys, i want to open .tiff and .tga images in my program's PictureBox but i am not able to open them, any Solution??

Software Development vb.net
Member Avatar for iPoor
0
2K
Member Avatar for JOSheaIV

Alright this one is bugging the heck out of. I am developing some software that can auto generate a solution and projects within. I have the project templates already created (done by another co-worker), and zipped up. I have then added these as an embedded resource into my project. However, …

Software Development
Member Avatar for JOSheaIV
0
261
Member Avatar for lielee

Hello. My VB.Net project is connected with MS Access. Whenever input in VB, it will save in Access. I don't have any problem with textbox but I don't know what to do with checkbox and radiobutton. I want, when checkbox or radiobutton is checked in VB, it will checked also …

Member Avatar for mars12345
0
2K
Member Avatar for tig2810

Hello, Please could someone help me with the syntax to add orderlines to an order in the below? I just cant figure out the syntax for it. many thanks using System; using System.Collections.Generic; namespace ParentChild { class Program { static void Main(string[] args) { var Order = new Order { …

Software Development
Member Avatar for tig2810
0
170
Member Avatar for adikimicky

Hi everyone, I am trying to make a user login page. The user is required to fill username and password in textFields and when he clicks the Submit button, all details are needed to be written in the database. import javax.swing.*; import java.sql.*; import java.awt.*; import java.awt.event.*; public class register …

Software Development java java-swing
Member Avatar for Lakhveer
0
7K
Member Avatar for Tamir09

Ok, I know about how to check for the end of a file, but what I need to know, is if you create a new file, thats empty, how do you check if it really is empty, and if its the same as EOF, then what am I doing wrong …

Software Development file-system vb.net xml
Member Avatar for ddanbe
0
2K
Member Avatar for Sneaky Pete

Hello everyone, I have a txt file with data which I want to import to an excel file, by button click. The first couple of lines of the txt file contains general information which I don't want to export. The program should only read the lines which contains a word …

Software Development file-system vb.net visual-basic
Member Avatar for Raul Perez
0
474
Member Avatar for Papa_Don

Group, I've created and published a VB.net program. I've also installed this onto my computer. I want to set it up now to run via the Window Task Scheduler. However I need to locate the executable file to start the run. However I'm unable to find it using the name …

Software Development vb.net
Member Avatar for Minimalist
0
5K
Member Avatar for isla.rose.3

Here is the original task: * The Fast Freight Shipping Company charges the following rates: Weight of Package Rate per Pound 2 pounds or less $1.10 Over 2 pounds but not more than 6 pounds $2.20 Over 6 pounds but not more than 10 pounds $3.70 Over 10 pounds $3.80 …

Software Development python
Member Avatar for ashaa
0
3K
Member Avatar for Mr.M

Hi Dw. I have a project that uses Process to marge some files, now because the merging can take quite sometime I've used BackgroundWork. The main problem I'm facing is to know when the Process is done because I want to delete the files that it was merging with so …

Software Development vb.net
Member Avatar for Reverend Jim
0
3K
Member Avatar for ztdep

Dear friends: I need to use a data structure which can start the first index of an array from a nagtive value. I have searched the MTL library, and bltiz lib, but it seems that they doesn't support this kind of vecotr. Could you please give me some suggestions. Regards

Software Development c++ data-structure
Member Avatar for tinstaafl
0
250
Member Avatar for cool_intentions

Hello everyone, I need help with VisualState.StateTriggers. The message I’m getting in my xaml code is: The member “State Triggers” is not recognised or is not accessible. I have try to use Blend to generate xaml code for triggers but the small button for that doesn’t exists. My project is …

Software Development visual-studio windows-10
Member Avatar for cool_intentions
0
168
Member Avatar for rproffitt

One of the best tips I learned long ago was to turn on all warnings and error messages from the compiler or development system. Yet last week, once again a big system was being worked on and the bug was tracked down to *uninitialized variable*. Now this isn't specific to …

Software Development c c++
Member Avatar for Raul Perez
0
299
Member Avatar for Stefce

Hello everyone, im thinking how to make car engine sound on button click... my idea is when i click the button to be the same as you click on the gas pedal the engine starts to make sound (i know its not possible that with keyboard key) BUT i think …

Software Development gui
Member Avatar for rproffitt
0
341
Member Avatar for Ghast

Hello. I have a weird problem with VB.NET applications. In Visual Studio 2013 the work just fine. But outside of VS, it does not run. At all. In a nutshell, the process runs 3 times using almost no ram but GUI is just not there. Also I can not kill …

Software Development gui vb.net visual-studio
Member Avatar for Ghast
0
528
Member Avatar for PratikSagar
Member Avatar for JamesCherrill
0
94
Member Avatar for ogsirus

Hi Guys Ive come accross an interesting application which sorts out an array. Nothing special about that right? But then it gets a bit messy as it can sort out numerous array based on the original. So Lets say I provide it with an Array of 4 number (3,4,1,2) and …

Software Development
Member Avatar for Reverend Jim
0
182
Member Avatar for joshSCH

When I try to execute my jar file through the command prompt by typing: java -jar myJar.jar It returns an error message saying that it can not access the jar file. Why is this? myJar.jar is the exact name of my jar file.

Software Development java microsoft-access
Member Avatar for stultuske
0
36K
Member Avatar for PratikSagar

can anyone help me that how I can read numbers from images through java program..

Software Development image java
Member Avatar for JamesCherrill
0
329
Member Avatar for Suzie999

I have many checkboxes on my form, I decided to create a custom checkbox to use instead. I thought I could just change the following two lines of code in Mainform.designer.cs... `private System.Windows.Forms.CheckBox chkapp;` to `private CustCheckBox chkapp;` and `this.chkapp = new System.Windows.Forms.CheckBox();` to `this.chkapp = new CustCheckBox();` And I …

Software Development visual-studio
Member Avatar for Suzie999
0
3K
Member Avatar for stilllearning

Hi, I looked for this information, but couldn't find it anywhere. Is there a difference between a "template class" and a "class template" or are they just two different ways of saying the same thing ? Thanks a lot.

Software Development c++
Member Avatar for parchuresunilv
0
2K
Member Avatar for Suzie999

I'm trying to draw a border around some controls in order to highlight them, but I'm getting unexpected behaviour, in that nothing is drawn. Here is a current event method. I've tried a few variations. private void checkBox1_Paint(object sender, PaintEventArgs e) { if (statechanged) { //Debug.WriteLine(checkBox1.Checked.ToString()); statechanged = false; ControlPaint.DrawBorder( …

Software Development image
Member Avatar for Suzie999
0
2K
Member Avatar for TonyTGI

Hello. Im new to this coding stuff, so I want to know how to make controls moveable when the program is actually running. My aim is to make a panel with a label and button moveable. Its kinda like a widgit :) Im using Visual Basic 2010 Express. Thanks! (PS: …

Software Development visual-basic
Member Avatar for TonyTGI
0
240
Member Avatar for Steven_10

package com.company; /** * Log Nazi -- Created by Steven Richardson on 2/2/2016. */ import javax.swing.*; import java.io.*; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import java.util.Scanner; /** * Created by Steven on 1/29/2016. */ public class LogReader { // declare variables static String theFile; static int rows = …

Software Development file-system java java-swing
Member Avatar for Steven_10
0
980
Member Avatar for JustARandomguy

Hi, I just want to know if i can remove a part of a string Exemple : in Textbox1 i have "C:\Users\Someone\Desktop\test.exe" and i want delete the string until the "\" so in the textbox i get "C:\Users\Someone\Desktop\" Thanks if you reply me and sorry for the bad english, its …

Software Development
Member Avatar for JustARandomguy
0
197
Member Avatar for toxicandy

I just figured out the answer to one of my previous questions but now I have a new problem, before I was just being a tad silly and forgot how to properly write a function but now my question is if I have the following function `int findMobile( string word, …

Software Development c c# c++
Member Avatar for rubberman
0
272
Member Avatar for nemzmiyaw

i want to disable the Alt Tab, windows key, ctrl esc key. FOr my Log On Security that start up in coomputer like windows log on. Thanks for the help. Try to search hours for this but i cannot find the right solution im using vb.net 2005 and OS is …

Software Development vb.net windows-vista
Member Avatar for adeministrator
0
6K
Member Avatar for Aeonix

As soon as I find out exact manner of communication between the server and the software. I realized how easy it is to use programs to intercept it, analyze it and then send malicious (or rather illegal) query through. So. I was wondering is there a way to make sure …

Software Development client-server cybersecurity web-server
Member Avatar for ryantroop
0
457
Member Avatar for Suzie999

I'm not even sure what it's called or even if it's possible, what I'm trying to do. I'm hoping the code might explain it. Each class that derives from Base has a method named oPrint, and I want to call them in the below fashion(ish) if possible. namespace nSpace { …

Software Development
Member Avatar for Suzie999
0
339
Member Avatar for jeffrey4u

Hi there Am a new student in C# and am using Microsoft Visual C# 2013. My aim is to i. open a child form inside its MDIparent form ii. disable the MDIparent form when the child form is active/opened it was easier in VB.net with frmStuDetails.ShowDialog() I have tried 1. …

Software Development
Member Avatar for jeffrey4u
0
2K
Member Avatar for toxicandy

I am trying to declare a function to find the largest mobile element for a program to list permutations using johnson-totter algorithm. Here is my definition of the function in the header file: `int findMobile( string, int[] );` and here is my actual declaration of the function: `int findMobile( string …

Software Development algorithm c c# c++
Member Avatar for rubberman
0
476
Member Avatar for Belfina

Hello there! I've got the following assignment: Write a method in Java called FirstDNAMatch(shortDNA, longDNA) that receives 2 strings with the letters that have to do with the four main nucleobases found in the nucleic acids DNA (A for Adenosine, G for Guanine, C for Cytosine and T for Thymine). …

Software Development java
Member Avatar for Belfina
0
905
Member Avatar for dmanw100

Hello, I've just begun working with assembly so I'm sorry if this question is simplistic. I would like to implement an atomic add (for incrementing an array pointer). My code looks like this: int * ptr; int step; asm("lock add %1, %2;\n" :"=m"(ptr) :"m"(ptr),"r"(step) : ); But I'm getting an …

Software Development assembly
Member Avatar for Feanis
0
318

The End.