132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Sarah_18

Im very new to programming and I need to make a looping flexgrid with the specific code of grid1.additem 3guc+1 vbtab 3guc+2 vbtab 3guc+3 in the middle of my loop the flexgrid only needs to look like this 1 2 3 4 5 6 7 8 9 can someone help …

Software Development visual-basic
Member Avatar for rproffitt
0
390
Member Avatar for toraj58

Computer programs are complex enough beasts when they are just doing one thing at a time When you start to explore the world of threads, you end up with programs that do more than one thing at once, and life can get very complicated. There are two specific conditions that …

Software Development
Member Avatar for Christopher_22
0
5K
Member Avatar for dinilkarun

Hi, I am trying to open a large excel file (.xlsx) to ad some rows of data from another excel file. However, due to the size of the destination file i am getting the memory error. I tried the below, however when i create the worksheet object it is creating …

Software Development microsoft-office python
Member Avatar for ddanbe
0
2K
Member Avatar for Mark_64

I have a rock paper scissors code that works in python 2.7- it gives you 4 options (rock, paper scissors, or quit). However, I have to add a while loop to it and it somehow messes up my code whenever I add it. Can someone please help me? Thanks. import …

Software Development python
Member Avatar for slate
0
299
Member Avatar for venus87

How to write a C program to count the number of mouse clicks in our Pc.Can any one give me idea for that ?

Software Development c
Member Avatar for Seyferx
0
3K
Member Avatar for Lerato_1

hi, I am writing a simple calculator program and want to know how to write my nested if conditions for perfroming calculations

Software Development c
Member Avatar for ddanbe
0
214
Member Avatar for Sherwin_4

Good morning everyone, The library will be home, 0800 till 2100. I've been working on trying my loops in my hailstone sequence into recursions. It seem recursion can easrier to do, instead of creating loops. I say seem, because now I have come to halt on my progress. The halt …

Software Development c++
Member Avatar for JamesCherrill
0
783
Member Avatar for Hi

how do i make a code that willfind the distance wether or not your speed is a float or an integer. please help i get no assistance in my class as techer is awful

Software Development python shell-scripting
Member Avatar for ddanbe
0
665
Member Avatar for jason_27

Hi please help me VB.NET source program that could get a name of database SQL Server file from user and show all tables and fields and size and also SP , view Please answer me If you put the source code of the program, I am very grateful Iam very …

Software Development vb.net
Member Avatar for Dani
0
341
Member Avatar for Jhovyn

Why am I getting an error "Operation is not allowed when the object is open"....Here is my code Option Explicit Public Report As New CrystalReport1 Public mvCn As New ADODB.Connection Public Function printReport() Dim strConnectionString As String Dim rs As ADODB.Recordset Dim strScript As String strConnectionString = "Provider=SQLOLEDB............" mvCn.ConnectionString = …

Software Development visual-basic
0
177
Member Avatar for Raman_6

Need some help. I have the below hardware details. attached Intel Core i7-3770 @ 3.40GHz 4 Cores 8 Logical Ivy Bridge-DT 4 x (32 + 32 + 256) + 8M Cache Features enabled MMX SSE SSE-2 SSE-3 SSSE-3 SSE4.1 SSE4.2 AVX DEP VMX SMX SMEP EM64T EIST TM1 TM2 HTT …

Software Development c c# c++ os-x
Member Avatar for rubberman
0
326
Member Avatar for iriah

Can Somebody help me? i have an error whenever i want to save the data i have retrieved from different table in mysql. my system is doorlock system. im going to choose an item in the combobox and when i click the button, the data i'd chose from the combo …

Software Development mysql vb.net visual-basic
Member Avatar for Mr.M
0
5K
Member Avatar for Violated

I keep getting a sytax error but i can not find it. It does not highlight the area where it is at. I am still new to programming and need a little help on this one. If you need to see the whole code it is [Click Here](https://github.com/wes1696/Home_1/commit/290a6503a295e4e5a31b3d41f0898ad2dc4d5d25). user_input = …

Software Development github python
Member Avatar for rproffitt
0
184
Member Avatar for Norman_3

I am using Excel with VBA 7.1. I am starting another application from VBA using the shell command. The application comes up OK. But now I need to click a button in that application to proceed. My current (and limited) understanding of the procedure I must follow is to first …

Software Development visual-basic
Member Avatar for rproffitt
0
348
Member Avatar for Diogo_1

I want to connect my database (sql) into a program i made on c in codeblocks but i cant find a way to do it

Software Development c sql
Member Avatar for rubberman
0
964
Member Avatar for Agata_1

I need help trying to create a loop to calculate asset depreciation within these paramaters. Part 3) Calculate Depreciation by declining balance. In a company, fixed assets such as equipment lose their value over time and this charge is called depreciation. Equipment is rarely valued as worthless ie $0, even …

Software Development c++
Member Avatar for rubberman
0
1K
Member Avatar for Saboor_1

Hello to all! I have an order of a simple desktop pos which i will develop in java. Actually i have to develop this pos for a person who is owner of a hardware shop(nuts,bolts,nails, hammers and screw drivers etc.). He needs features as follows: 1-Automate his sales transaction i-e …

Software Development java printer
Member Avatar for rproffitt
0
260
Member Avatar for Nazneen_1

Hi , i need to add values in my Grid-View at Run time and save it to the database.i am displaying a particular folder filenames in gridview now after displaying need to add two columns and insert values at runtime in it and then save it to the database.i tried …

Software Development
Member Avatar for ddanbe
0
657
Member Avatar for Branislav_1

Program sifrarnik; Uses sysutils; Type myrecord=Record num:integer; itemname:String[20]; price:Integer; End; Var data:array[1..10] of myrecord; doc:file of myrecord; operatingnum:integer;//item number used for reading and writeing into base error1,choice1,i,j,n,a:integer; begin Repeat Begin WriteLn('1. Add items date':10); WriteLn('2. See items data':10); WriteLn('3. Close'); Write('Chose: ':10); ReadLn(choice1); Case choice1 of 1 : Begin Assign(doc,'myfile.dat'); …

Software Development pascal
Member Avatar for Branislav_1
0
581
Member Avatar for Adm666

So i've made a Node class : public class IntNode { private int _value; private IntNode _next; public IntNode(int v, IntNode n) { _value = v; _next = n; } public int getValue() { return _value; } public IntNode getNext() { return _next; } public void setValue(int v) { _value …

Software Development java linked-list
Member Avatar for JamesCherrill
0
930
Member Avatar for Monique_2

Modify the Week Two Java non-GUI console application using NetBeans IDE (or jGrasp) to meet these additional and changed business requirements: • The company has recently changed its total annual compensation policy to improve sales. • A salesperson will continue to earn a fixed salary of $35,000.00. The current sales …

Software Development gui ide java java-netbeans
Member Avatar for JamesCherrill
0
563
Member Avatar for Sukhdeep_1

i have just installed c builder and i was doing a simple program and when i set to run it is giving me this error: [Linker Fatal Error] Fatal: Could not open C:\Program Files (x86)\Borland\CBuilder6\Projects\Project1.exe (error code 5) . i read some comments and i saw that i have to …

Software Development c++
Member Avatar for rproffitt
0
509
Member Avatar for Dorcas_1

I want multiply three numbers in VB many private sub cmdmult_click() multiplication=Val(text1.text) * Val(text2.text) please assist me

Software Development visual-basic
Member Avatar for ddanbe
0
196
Member Avatar for akrati

please , tell me how i should start making a simple search engine.......what are the things i will need to learn.And how should i proceed?

Software Development java
Member Avatar for Dani
0
310
Member Avatar for Tre Sivileo

I am coding a roman to arabic console program for class been having issue with it I am not sure how to get the next char after the the first char I have tried everything I am not allowed to use cin.peek(). Also my output loop generates p = 0 …

Software Development c++
Member Avatar for tinstaafl
0
304
Member Avatar for Rehana_1

Hello could you help me win 12 slot keno...masslottery.com... I am trying so hard to understand your keno code online.. Could you please break it down for me...how do I beat the computer...

Software Development c++
Member Avatar for ddanbe
0
185
Member Avatar for _1_14

I generate qr code for name and country and member qr code generated without any problem but i need to use memory stream and not use save file dialog my code as below using (SaveFileDialog sv = new SaveFileDialog() { Filter = "JPEG|.jpg", ValidateNames = true }) { if (sv.ShowDialog() …

Software Development file-stream image
Member Avatar for ddanbe
0
373
Member Avatar for bmanzana

i am building a pong like game and cant seem to figure out how to add in a pause feature everything else works i have movement and collision detection, sound, game over and restart options but cant figure out how to pause the game any help would be greatly appreciated …

Software Development python
Member Avatar for shubham_9
0
9K
Member Avatar for Adm666

is there anyway to improve my code's time complexity or memory's complexity ? (without using advanced methods - im a beginner) its a method that gets an array filled with zeroes and other numbers, and it changes each number(which is not a zero) to the distance of the closest zero …

Software Development java
Member Avatar for JamesCherrill
0
413
Member Avatar for tofi

HI I have .csv file which contains 3 columns ( feature 1 , feature 2 , class ) I need to take 13 row each time from f1,f2 with "1" at the end and save it into another .csv file so if the file contains f1 f2 class 1 1 …

Software Development python
Member Avatar for tofi
0
344
Member Avatar for Adm666

i tend to make a method which compares between 2 strings, str1 and str2 and should return true in the terms: -every character in str1 must show up in str 2 at least once or more and in the same order -str2 must be the same length or longer than …

Software Development java
Member Avatar for Adm666
0
4K
Member Avatar for Alana_1

Hi every one :) I've been doing a project and it seems hard for me to finish it, because i dont have an idea with the code. i have a code for looping picturebox . several picture box during runtime had been done, but how do i can give them …

Software Development vb.net
Member Avatar for Reverend Jim
0
218
Member Avatar for Monique_2

I wrote the program up, but I'm getting all types of errors. Which I'm new to this whole Java Application class. I keep getting errors : Please help. 1. employee is not defined. 2. NewSalesPerson is not defined. 3. UtilnumFormat is not defined. 4. Variable declaration not allowed here. 5. …

Software Development ide java
Member Avatar for JamesCherrill
0
657
Member Avatar for Monique_2

Part 2 to Salesperson Java Application, still new to this. class SalesPerson { /** * Fixed Salary */ final double fixedSalary = 35000; /** * Current Commission Rate */ public double curCommissionRate = 0.15; /** * Accrued Commission */ public double curCommission = 0; /** * Total Compensation */ public …

Software Development java
0
229
Member Avatar for Arpita_1

I need to convert python code to java, can anyone help me

Software Development python
Member Avatar for Arpita_1
0
321
Member Avatar for Jan_8

Dear, I'm really new in c# WPF and I need to develop a program that read a directory with sub-directories and files. For each directory I need to create a form and for each file a button. the directory structure is: c:\dir1 c:\dir2\subdir1\file.pdf c:\dir3\subdir1\file1.pdf c:\dir3\subdir1\file2.pdf C:\dir3\subdir2\file21.pdf If it's possible, how …

Software Development pdf
Member Avatar for Reverend Jim
0
164
Member Avatar for Valentine_1

Elevator Logic 1. You are an elevator control systems engineer for ElevatorCorp Pty (Ltd) 2. You have been receiving complaints from a specific customer about the performance of your elevators 3. They have 5 elevators installed that have to service 10 floors 4. There are 1500 people working in the …

Software Development c#
Member Avatar for Reverend Jim
0
586
Member Avatar for vedmack

Heya i want to use ShowWindow(hWnd, SW_HIDE); to hide some application, The problem is that the code i wrote works perfectly for any application except the one i need it for heres the code [CODE] HWND hWnd = FindWindow(NULL, sName); if(hWnd) { ShowWindow(hWnd, SW_HIDE); } [/CODE] it does execute the …

Software Development c++
Member Avatar for Gustav_1
0
10K
Member Avatar for ddanbe

Short snippet in C# to do this classic trick, I could not find one on the web. Little, (even none!) error checking is done here.

Software Development mathematics
Member Avatar for ddanbe
0
886
Member Avatar for massivefermion

Is it possible to use import for third party modules in Python? How? Thanks

Software Development python
Member Avatar for pty
0
515
Member Avatar for Sergio_5
Member Avatar for Reverend Jim
0
246
Member Avatar for Belén_2

Hi, I am creating a program that when you print an author, you must show all the information of all the books that the author has written. Add a new attribute in the Author class that will be "BooksWriting: List (Book)". I have expanded the program so that it also …

Software Development java
Member Avatar for JamesCherrill
0
292
Member Avatar for SaaDwTk

Well this script is working partially, when the script submit the login a MsgBox("The login is wrong!") appeared, but when the page load a MsgBox("The login is ok!") appears. Why the "The login is wrong!" is appearing? Can someone fix for me or tell me another way to do that? …

Software Development vb.net web-browser
Member Avatar for Janzs
0
2K
Member Avatar for sweety

This is a program..to implement stack operations..it is working fine..but a warning message is being displayed..as " Functions containing for are not expanded inline". I would be glad if anyone can tell me the reason for this. Thanks for all the support. #include<iostream.h> #include<conio.h> #include<stdlib.h> #define max 5 [CODE]class stack …

Software Development c++ display
Member Avatar for Tiger_3
0
15K
Member Avatar for glao

I have this tree format. > myapp-> > setup.py > tests -> > test_myapp.py > myapp -> > __init__.py > myapp.py And from test_myapp.py, I am calling: `from myapp import myapp` and when I run` python setup.py test` I am getting `No module named 'myapp'`

Software Development python
Member Avatar for glao
0
299
Member Avatar for Justin Kent

hello i have a code in vb.net and my logic is if i will input 13973.88 the nearest number is 10000 but the output was 15833 can you please help me solving this code please? Dim data(,) = { {0.0, 0, 1}, {0.0, 0.05, 4167}, {41.67, 0.1, 5000}, {208.33, 0.15, …

Software Development vb.net
Member Avatar for tinstaafl
0
524
Member Avatar for kindofsudden

I have an existing table in an Access DB that I want my user to be able to copy by pressing a button. When the user presses the button, they should be prompted for what is to be the name of the table. The program should then copy the existing …

Software Development dataset microsoft-access vb.net
Member Avatar for JohnTheGrateful
0
2K
Member Avatar for niobi

Hello, is there someone that can help me about the syntactic form of the file XML for the italian "FATTURA PA"? From 2017/01/01 is changed the file's form (rel 1.2), and the file created by my procedure is not accepted from the SDI system (outcome: "error 0200 - file not …

Software Development file-system xml
Member Avatar for cereal
0
844
Member Avatar for Justin Kent

hi i am using vb.net multidimensional arrays and i am getting the nearest or closest number i just want to ask if my code was correct or not ? for example i have an input of 13000 and nearest number should be on col 6 can you please help me …

Software Development vb.net
Member Avatar for tinstaafl
0
461
Member Avatar for _1_14

I work in visual studio 2015 windows form . I have textbox for name and combobox for country and button and report viewer control I need when click button get value from text box name and combox country and show these values in report viewer ? How to do that …

Software Development visual-studio
Member Avatar for rproffitt
0
434

The End.