132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Tensigh

I'm trying to write code in VBA in Excel that opens a desginated directory, finds all xls and xlsx files and then converts them to csv. I found two sets of code that do one or the other perfectly, but I can't make it work. I'm sure I'm just missing …

Member Avatar for Stuugie
0
5K
Member Avatar for asdsadddsadsd

Umm my code doesn't work properly and I don't seem to find the solution for my problem. Code doesn't print the right numbers. Can anybody help? Thank you! #include <iostream> #include <conio.h> using namespace std; main(){ int number[] = {3, 5, 8, 1, 9, 2, 6, 4, 7, 10}; int …

Software Development c++
Member Avatar for richieking
0
244
Member Avatar for RikTelner

**1.** Is there a character, that can be written/read by system (C#/.NET), but can't be written by any standard keyboard (European, Nordic, Slavic, Cyrlic, Arabic, Mongolian, African, Greek and Mandarin). What I need this for is seperation of characters, I need user to input own character and that I can …

Software Development
Member Avatar for gusano79
0
307
Member Avatar for sami12345

i need to create a project that allows a teacher to enter three test scores for each of the three students. the appliaction should calculate each students average test score and assign a letter grade based on the grading scale shown below. average test score letter grade 90 or greater …

Software Development vb.net
Member Avatar for Santanu.Das
0
187
Member Avatar for Francis_2

MIPS program that takes an array elements as inline data and prints them in ascending and descending orders input should be interacive. I don't know where to fix.... help me to fix. .text main: li $t4, 9999 #$t4 = 9999 la $s0, array #$s0 = address of array[0] move $a1, …

Software Development assembly
Member Avatar for Schol-R-LEA
0
652
Member Avatar for krypton25

MACHINE PROBLEM NUMBER 3 ROTATING SENTENCES Input File: rotate.txt In ``Rotating Sentences,'' you are asked to rotate a series of input sentences 90 degrees clockwise. So instead of displaying the input sentences from left to right and top to bottom, your program will display them from top to bottom and …

Software Development c++ legal
Member Avatar for richieking
0
198
Member Avatar for Mara_1

Hi. Good day This is my code in C# while (SMSMessages.Count != 0) { String SMSMessage; if (SMSMessages.TryDequeue(out SMSMessage)) { string[] nummsg = SMSMessage.Split(';'); ConsoleWriteLine("Waiting for message to send..."); IAsyncResult result; Action action = () => { _smsreadyNotifier1.WaitOne(); }; result = action.BeginInvoke(null, null); if (result.AsyncWaitHandle.WaitOne(20000)) { string TaskID = null; …

Software Development
Member Avatar for tinstaafl
0
181
Member Avatar for YakuzaJevin

I want to arrange numbers from highes to lowest ( you will input the numbers first e.g 1,2,3,4,5 ) and it will be 5,4,3,2,1 Thanks!

Software Development vb.net
Member Avatar for Mark Anthony_2
0
696
Member Avatar for necrovore

I am trying to find out the bounding box of a bezier curve. I know that it can be done by getting all the points using de Casteljau's algorithm and then finding the minimum reactangle around the curve. But de Casteljau's algorithm will make my application too expensive, i feel. …

Software Development algorithm
Member Avatar for ddanbe
0
240
Member Avatar for Roger_2

hello everyone! my program is nearing completion and is due tommrow. However i have identified the source of an issue. i am cycling through a few functions which roll a dice 1-6 and add that result to a buffer to keep score.Then when i want to print, i am only …

Software Development algorithm assembly
0
110
Member Avatar for Roger_2

thank you all of you for the help i really appreciate it. i have a hopefully quick question, is this the correct syntax for adding an integer to a buffer: " add dword [userScore], 6 " or do i have to convert the userScore buffer to integer then add and …

Software Development assembly
Member Avatar for Roger_2
0
244
Member Avatar for mappersas

I could use some assistance My final project in a python class is to calculate the distance between 2 lat/long points. My code is really just managing the input & output portions, while using existing code (properly credited) in a function to do the actual calculations. I've got it working …

Software Development java javascript python
Member Avatar for Peter_21
0
6K
Member Avatar for Farid_1

please help!!!!! I wrote this program to calculate addtition and subtraction of two large numbers (maximum 100 digit) it won't work for minus numbers :( i know it have problems but i couldn't fix them,please help me for fixing this :) #include <stdio.h> #include <stdlib.h> int main() { int i,d=0,la,lb,max,ia,ib,ix,iy; …

Software Development c
Member Avatar for Farid_1
0
213
Member Avatar for divinity02

hi guys how are you all, I sincerely hope that you all christmas is shaping up very good. I am doing my individual assignment, yes another one, a take home this time, I am to implemented a payroll system into a company using a for loop and which i did. …

Software Development java
Member Avatar for divinity02
0
193
Member Avatar for Abdul_30

{ string nameLabels =trainingTable.Rows[rowsNumber]["FaceName"].ToString(); string[] labels = (string[])nameLabels; } // data comes from ms acces database // i want to to put all faces names in a string array but in the second line error comes canntot implicitly convert string to string[]

Software Development
Member Avatar for deceptikon
0
324
Member Avatar for chrisjordinsky

Hello friends, I am trying to work on a project that dynamically allocates memory when needed for a string array. I just keep getting memory faults when reallocating memory but can't find any thourough tutorials on realloc besides the man page. So basically, I malloc 201 character spaces in an …

Software Development c
Member Avatar for chrisjordinsky
0
189
Member Avatar for Riya_2

Write a program that reads a sentence as input and converts each word to “Pig Latin.” To convert an English word to Pig Latin, you remove the first letter and place that letter at the end of the word. Then you append the string “ay” to the word. Here is …

Software Development c++
Member Avatar for tinstaafl
0
2K
Member Avatar for shahera.arafat

hi everyone :) I want a new questions on Hash functions and graphs >>like what process can we do on it !! any code ideas ? because I have an exam (data structure) so I want to study new ideas thanks ^_^

Software Development c++ data-structure
Member Avatar for shahera.arafat
0
114
Member Avatar for antonymatoi

hello, plz assist in this: Assuming i have a sourcecode for example for developing a stock management system, how do i edit it to suite my problem?

Software Development vb.net
Member Avatar for Reverend Jim
0
66
Member Avatar for Roger_2

my objective is to create a simple game called Pig. The rules are 2 players (you and the computer) are racing to reach 100 points. Each turn, the active player faces a decision: a) Hold, take your turn total and add it to the player's overall total. The next player …

Software Development assembly
Member Avatar for Roger_2
0
354
Member Avatar for kieran16

#include<iostream> // this will allow me to display an output and allow the player to give input into my game #include<string> #include<sstream> using namespace std; char slot[6][7]; // this will let my game store what is inside each slot of the board // the board is a 7 x 6 …

Software Development c++
Member Avatar for rubberman
0
323
Member Avatar for Clyde_1

HELLO guys IM beginner using java IM asking what is my problem of my codes?? can you fix it?? import java.applet.Applet; import java.awt.Color; import java.awt.Graphics; public class invalid3 extends Applet implements Runnable { /** * */ private static final long serialVersionUID = 1L; private int x0 , y0 , incx …

Software Development java
Member Avatar for JamesCherrill
0
142
Member Avatar for n0tS0av3rag3

I am doing this assignment in my Java class. I have never done any programming in my past so I am a complete beginner. I have typed up a program that will ask for employee name, the hourly rate, and the number of hours worked. The program needs to run …

Software Development java
Member Avatar for JamesCherrill
0
139
Member Avatar for Cort3z

Hi. I am trying to make a script that will print out numbers in rapid succession after working a little with them. The script needs to write them in the console one after another (next line). The code works just fine when I do not utilize multi threading, but when …

Software Development python
Member Avatar for Puneet_1
0
16K
Member Avatar for cypherscouter13

I have a large amount of code, so I have tried to only include the relevant parts of the code here I have a header file called "ASp.h" namespace ASP { class ASp { public: ASp(); ASp(FILE* fp); void T_B_P_N(const char* type, int num); } } another header file "ms.h" …

Software Development c++
Member Avatar for cypherscouter13
0
1K
Member Avatar for dimitris.dimitri.73

Hello everyone,i have two questions regarding vbnet and binding navigators.As you can see in the pic i have attached ,if we create a database in microsoft access,by going on the database tab and dragging the table in the form,automaically the binding navigator is placed on the top and we just …

Software Development microsoft-access mysql vb.net
Member Avatar for Santanu.Das
0
304
Member Avatar for kayleigh0411

My program compiles with no errors, but when I try to use it, the results do not show up and there is an error. Please help!!! import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.text.*; public class RetailSales extends JFrame { // declarations Color black = new Color(0, 0, 0); Color …

Software Development java java-swing
Member Avatar for kayleigh0411
0
334
Member Avatar for Ray_2

I'm trying to write Fibonacci code for the first 100 numbers. It works until I get to number 94. 93 12200160415121876738 ok 94 1293530146158671551 mine 94 19740274219868223167 should be this I'm stumped as to why it doesn't work after 93. Can someone point me in the right direction? The code …

Software Development c#
Member Avatar for Ray_2
0
178
Member Avatar for My_1

How do i put a flag on location that the user right click on it. and how do i put an img to all mine in game board when game is end? I try to put an img but wont work? How can i fix it? here is what a …

Software Development gui java java-swing
Member Avatar for My_1
0
697
Member Avatar for Programmer592

Hi. I'm making a program somewhat like Siri except through text boxes not voice command. On my form FormMain I have two text boxes named TextBoxInput and TextBoxConversation. I also have two buttons named ButtonStart and ButtonEnd. Here is my entire code for FormMain so far: Public Class FormMain Dim …

Software Development vb.net
Member Avatar for Programmer592
0
186
Member Avatar for Jordan_4

im a beginner with python, and I'm having trouble with some functions. I'm pretty sure it might be a syntax error or how i set up the code, since i am a beginner, however, i have no clue why this code works. Here is the code, its for a tic …

Software Development python
Member Avatar for woooee
0
392
Member Avatar for Weejin

I need to write a program like this Sample output: Please enter a number(Less than 8 digits): 1203021 There are 2 zero (0) in this number I dont know how to write a formula to count the 0 inside number please teach me.

Software Development c++
Member Avatar for Rafiii
0
152
Member Avatar for ram_10

Hello, When I'm using the 'open' function how should I specifiy the directory ? I'm getting an IOError and bit of confused! I'm not sure if my script is wrong or I've problems with specifying the directory. input = open('New.txt', 'r') text = input.read() wordlist = text.split() wordfreq = [wordlist.count(p) …

Software Development python
Member Avatar for vegaseat
0
459
Member Avatar for sesaso

Can someone please! Fix this for me? My program : loop reads 10 double numbers after that inserts them into an array list. after that print MAx and MIn And AVg THIS MY PROGRAM WHY I CAN NOT MAKE COMPILE Fix this for me : import java.util.Scanner; import java.util.ArrayList; import …

Software Development java
Member Avatar for sesaso
0
125
Member Avatar for Papa_Don

Hello everyone! Is there a way in VBA to find a file name that has an unknown portion to it? Let me explain: Our computer system is UNIX based. It is creating a text file for us that uses the date, the hour, minutes and seconds that the file was …

Member Avatar for Minimalist
0
330
Member Avatar for amatsas

Hello, I am working on a project with the following directions: Store a name as ASCII Hex values in an array – enter Hex values into ASM source code directly. First character of first and last name is Capitolized, all other characters are lower case. Output 3 different strings: 1. …

Software Development assembly
Member Avatar for David_50
0
117
Member Avatar for Simon180

Am using GetProgrammDir to get my application folder and it works but I need more control over it were I can select folders inside or outside of my program say there 2 folders Data and Items data will store exe and items will store information txt but the data will …

Software Development delphi pascal
Member Avatar for SalmiSoft
0
198
Member Avatar for OtepTheThird

Hi Guys, Im currently working with application, where it will automatically inform the user that there is an overdue account today. i decided to compare the current date(today) to stored date in mysql database, heres my code: Public Sub getReminder() Dim _con1 As New MySqlConnection Dim _cmd1 As New MySqlCommand …

Software Development mysql vb.net
Member Avatar for Santanu.Das
0
3K
Member Avatar for Xiao_1

if corrct this code it will come of the list in the datagridview in VB from access this my code: Private Sub ComboBoxadm_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBoxadm.SelectedIndexChanged Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If conn.State = ConnectionState.Open Then conn.Close() conn.Open() Dim sql …

Member Avatar for Reverend Jim
0
149
Member Avatar for gara_mirza

what's wrong in this code in part 2 it should give answer same the solution part 1 --------------------- Private Sub mnuFileCloce_Click() End End Sub ---------- 'para1 Private Sub Text1_Change() Dim K1, K2, K3, K4, K5, K6, K7, K8, K9 As Double Dim Tc, Pc, T, X, Xx, Xy, Xz, P …

Software Development visual-basic
Member Avatar for Reverend Jim
0
229
Member Avatar for KetraCoder

Row 1[ item1, item2, item 3, item 4, item 5, item 6, item 7, item 8] Row 2[ item1, item2, item 3, item 4, item 5, item 6, item 7, item 8] Row 3[ item1, item2, item 3, item 4, item 5, item 6, item 7, item 8] Row 4[ …

Software Development java
Member Avatar for Slavi
0
290
Member Avatar for Alxprog

There are a lot of examples demonstrating how to connect to ms sql database from windows form application using Visual Studio Professional (right-clicking on the project name -> "Add" ->"new item" -> "LocalDatabase" -> give a name with .sdf extension to the newly created database - > and so on …

Software Development sql visual-studio
Member Avatar for deceptikon
0
312
Member Avatar for Saboor880

Hello to all! My question is that can we develop a real time datawarehouse on VB.net? Or should i use Java? In other words, has VB.net such functionalities of features which can make a real-time data warehouse?

Software Development vb.net
Member Avatar for Saboor880
0
238
Member Avatar for Xiao_1

when done with the form it will come out antother that is this form in the listbox1 should show out dun need click anthing it will come out auto of the admin No why dose not show out Public Class DataOfProject Private Sub ListBoxassign_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As …

Software Development open-source vb.net
Member Avatar for Xiao_1
0
110
Member Avatar for ram_10

Hello, I'm trying to script a Caesar cipher with the key, I find this exercise too much for me at this moment! I just can't come up with an algorith to get this done. Please advise. key = {'a':'n', 'b':'o', 'c':'p', 'd':'q', 'e':'r', 'f':'s', 'g':'t', 'h':'u', 'i':'v', 'j':'w', 'k':'x', 'l':'y', …

Software Development python
Member Avatar for vegaseat
0
251
Member Avatar for asif49

Example of problem: Pattern one is: 1, 10, 1: 1 Pattern two is: 10, 10, 10: 0 From this extremely simple pattern we will know that a small value followed by a large increase and then a large decrease means it is a 1. Otherwise its a 0. Using something …

Software Development algorithm java
Member Avatar for mike_2000_17
0
319
Member Avatar for iamsupreeth

python function that creates automatically a dropdown year selector (that is a "select" element poulated with all years starting from current and dating back to a given year)? I don't need day/month (otherwise i'd have used the datepicker), i just need the year! Thanks in advance

Software Development python
Member Avatar for vegaseat
0
164
Member Avatar for qashnfhkh

don't work this: bg_fon2 = PhotoImage(file='2.GIF') from tkinter import* import random root = Tk() root.geometry("896x626") canv = Canvas(root, height = 626, width = 896) bg_fon = PhotoImage(file='fon.GIF') canv.create_image(0,0,image=bg_fon,anchor='nw') class Fish: image = 0 coor = 0 direct = 0 real_img = 0 obj = 0 canv = 0 def fiish1(): …

Software Development python tkinter
Member Avatar for sneekula
0
139
Member Avatar for Amit_25

hii I have a list having m1 m2 m3........ m922 and in each there are a1 a2 a3 a4 are there like m1=a1 a2 a3 a4 a5 a6 m2=a1 a2 a3 a4 a5 a6 m3=a1 a3 a5 a7 a8 a2 etc and i want this as m1=a1 a2 a3 a4 …

Software Development python
Member Avatar for sneekula
0
178
Member Avatar for EdJones

Is this considered good form when writing cross-platform code? #! /usr/bin/env python3 And how about this? if __name__ == "__main__": main() I've reviewed some recent sample snippets and not all of them use the shebang and the conditional main call, so I wasn't sure whether that is still considered good …

Software Development python
Member Avatar for sneekula
0
147

The End.