132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Delano_1

Gives me the error on the line :while costumepmt <> 7777 AND revname <> 'qqqq' do, I really don't know what to do, please help, thanks in advance! Program revelers_info; uses wincrt; var revnames, busybodies, summerbodies, readybodies, winnerbodies, goldenbodies :Array[1..7] of string; costumepmt, busybodiescost, summerbodiescost, readybodiescost, winnerbodiescost, goldenbodiescost:Array[1..7] of real; …

Software Development pascal
Member Avatar for SalmiSoft
0
3K
Member Avatar for Papa_Don

Hello Group, I'm trying to convert some VBA code into VB.net. Here is that VBA code: Open filePath For Input As #1 ' filePath = the text file I need to read Do Until textRowNo = 8 'discard these first 7 rows... Line Input #1, LineFromFile 'this is the row …

Software Development open-source vb.net visual-basic
Member Avatar for Reverend Jim
0
9K
Member Avatar for Transcendent

What languages do you need to learn to be a software engineer? I can only think of c, c++, and java but do you need to be really really good at it?

Software Development
Member Avatar for rubberman
0
160
Member Avatar for Sruthi_2

Hi, I am trying to write a script that will traverse through my directory and sub directory and list number of files in a specific size. For example 0kb-1kb: 3, 1kb-4kb:4, 4-16KB: 4, 16kb-64-kb:11 and goes on in multiples of 4. I am able to get list of file numbers, …

Software Development python
Member Avatar for woooee
0
247
Member Avatar for Mohamed59

Hello, I have a problem with my connection to the emulator mySql when I log on to my games and I run a command me his crash, is when I see her in my my emulator me this error: Error Message - Connection must Be valid and open (System.InvalidOperationException), its …

Software Development dataset mysql
Member Avatar for Mohamed59
0
1K
Member Avatar for hira_5

m nt understanding how can i make main of a class

Software Development c++
Member Avatar for sfuo
0
118
Member Avatar for هومان

Private Sub GenerateButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GenerateButton.Click Dim i As String = PhoneNumberTextBox.Text Dim one As Integer = i.Substring(0, 1) 'Remove each digit Dim two As Integer = i.Substring(1, 1) Dim three As Integer = i.Substring(2, 1) Dim four As Integer = i.Substring(3, 1) Dim …

Software Development vb.net
Member Avatar for Reverend Jim
0
164
Member Avatar for alexdoc9999

Hello All This is probably an easy one (I hope). I have a JLabel whose text I am trying to right justify. Should be <labelname>.setHorizontalTextPosition(JLabel.RIGHT). Simple, right? (wrong). It does nothing to the text on the label. The text just shows up with it's default left justification. However, when I …

Software Development java
Member Avatar for Joao_3
0
889
Member Avatar for Nation

Hie everyone, I am trying to develop a GUI through hard coding. I encountered a challenge: I created a Jframe and onto this I added a JPanel. **I assigned thge flow layout manager of the frame to null**(because i want to do the positioning of my components manually) The program …

Software Development gui ide java
Member Avatar for Nation
0
2K
Member Avatar for steven.rose.94

''' in Python 3.4 Attempting to parse and print one line (actually a number)from the downloaded code from yahoo sourecode using regex to pull the number that is located at the (.*?). I've tried everything I can think of to get this to work - I expect the problem is …

Software Development python regex
Member Avatar for steven.rose.94
0
360
Member Avatar for nitin1

int find(int x) { for(int i=0;i < n; i++) { if(a[i]==x) return i; } return -1; } int find(int x) { for(int i=0;i < n/2; i+=2) { if(a[i]==x) return i; if(i+1 < n && a[i+1]==x) return i+1; } return -1; } int find(int x) { for(int i=0;i < n/3; i+=3) …

Software Development c
Member Avatar for Duoas
0
211
Member Avatar for it@61@sec

I have the following struct definition: struct finfo { string filename; long fsize; bool operator() (finfo i, finfo j){return (i.fsize > j.fsize);} } fstruct; And the following vector definition: vector<finfo> fdata; In the code I use the following statement to sort the vector elements by fsize: sort(fdata.begin(),fdata.end(),fstruct); This works perfectly …

Software Development c++
Member Avatar for it@61@sec
0
990
Member Avatar for TheGuy831

Hi ive been trying to InvokeMember onmouseup to close a banner in WebBrowser Control.. <div id="layer1" style="height: 0px; left: 240px; position: absolute; top: 30px; width: 10px; z-index: 1;"> <span onmouseup="document.getElementById('floatLayer2').style.display='none'"> <img alt="" border="0" height="12" src="http://www.streamking.info/images/close.png" width="12" /></span></div> PLease!!!! Help!! Thank You...

Software Development vb.net
Member Avatar for TheGuy831
0
1K
Member Avatar for renzlo

Hi, All, I am instructed to develop a console application which monitors a process. It is now done but the problem is when I'm running it the CPU usage increases up to 100%, kindly check below code for some enhancement: Console App: Sub Main() While True System.Threading.Thread.Sleep(1000) If IsProcessExist() = …

Software Development vb.net
Member Avatar for Reverend Jim
0
421
Member Avatar for LukeJWhitworth

Hello Guys, How would I have a button that when I click skips the calendar forward one month from the selected date? I'm a bit confused as there is no skip option or anything. Regards, Luke

Software Development vb.net
Member Avatar for LukeJWhitworth
0
104
Member Avatar for jean_5

This code gets the data from the table to show in a table for the user using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Collections; using System.Collections.Generic; using System.Text; namespace Form { public class RelUse { public DateTime Date { get; set; } } public RelUse() { …

Software Development asp.net
Member Avatar for djjeavons
0
1K
Member Avatar for Taufique111

i've a code that's inserting but it's not dumping into the database!!!! private void buttonX1_Click(object sender, EventArgs e) { if (textBoxX1.Text != "" && textBoxX2.Text != "" && textBoxX3.Text != "" && textBoxX4.Text!= "" && textBoxX5.Text!= "" && textBoxX6.Text!= "" && textBoxX7.Text!= "" && textBoxX8.Text!= "") { string s = …

Software Development
Member Avatar for mark261511
0
167
Member Avatar for flebber

Hi What would be a good recommendation for a practical resources on using xml, xpath and xquery? By practical I mean. Accessing values, storing files, creating set queries on xml to create a feed to push data to other applications (eg ipython, rstudio, the Web) maintaining data integrity, and transformng …

Software Development xml
Member Avatar for Mike Askew
0
351
Member Avatar for CodingSource

Dear fellow programmers, I am trying to build a form that has two datetimepickers (for date range) and one button. When a user clicks the button the datagridview will show results according on the date range (by the two datetimepickers). This is my code so far: Dim dbconnection As New …

Software Development dataset vb.net
Member Avatar for Santanu.Das
0
807
Member Avatar for 303factory

Greetings all I've done some research and its apparently impossible to hide a tab on a tabcontrol, I need to save one to a tab page variable and recreate it. I know how to add a tab from a TabPage variable [CODE] TabControl.Controls.Add(tab1);[/CODE] However I have no idea how to …

Software Development
Member Avatar for Victor_8
0
125
Member Avatar for ALEXANDER R

Some one help me to create a graphics in c++??? TIA

Software Development c++
Member Avatar for ALEXANDER R
0
277
Member Avatar for Szabi Zsoldos

Hey guys, I have this script that does count one year of files, 2014, but when it comes to this year, everything messes up. How could I count properly for each year in the same script ? In the attached screenshot it's obvious that I would only need 2014 - …

Software Development shell-scripting
Member Avatar for Watael
0
1K
Member Avatar for muhammad_74

hi,I want to learn java programming with start to end,Do you know any free website or books for me.plz answer i am nobb student. Thanks,uxama

Software Development java
Member Avatar for Nation
0
263
Member Avatar for Dacorncob

so, i got this code, what it does is that it counts down from 20 minutes, is there a way to do so it counts from 0 to 20 min in that same gui? try: # Python2 import Tkinter as tk except ImportError: # Python3 import tkinter as tk import …

Software Development gui python tkinter
Member Avatar for Dacorncob
0
508
Member Avatar for khadikhel.orakzai

write a c++ program that will do the . Enter 10 integer . Pushing on stack and poping on user choice . pushing on queue and poping form queue . Bring the integer in order. Display the calculator selecting oprtion by user choice (+,-,*,%)

Software Development c c# c++ queue
0
92
Member Avatar for TazaZaza

Hello the best crew, First i wish all of you happy new year and all the best wishes. Second if i have a two forms , with two datagridviews. first one is products , second one is orderline. i need to set a button on the first cell in the …

Software Development vb.net
Member Avatar for imti321
0
290
Member Avatar for EdJones

I'm looking for a script that generates random images using the PIL Image module by assigning random RGB values to each pixel on a blank canvas. Does anyone have one of those lying around? (I want to write my own just for practice, but if it's already been done by …

Software Development image python
Member Avatar for vegaseat
0
6K
Member Avatar for mnkyskilz

hi i am required to write a program in mips assembler where i am to create a checkerboard which is too be saved and written to a bmp file, compile this program it has a problem with writing the file because it jumps straight to my error message could someone …

Software Development assembly file-system open-source unix
0
284
Member Avatar for humorousone

For example: If I had a loop that does something complicated, would I explain how the loop works in my comments, or would I just state the purpose of the loop? Also, do comment conventions vary from language to langauge, or does is it the same across the board (if …

Software Development
Member Avatar for rubberman
0
153
Member Avatar for itsnauman

Hey, guys can any one suggest me a cool intermidiate level python library idea to work on in these summers?

Software Development open-source python
Member Avatar for vegaseat
0
147
Member Avatar for IneedHELP2020

i have to make an numberplant genarator in python 3.4.2 but i am having a lot of trouble plz help

Software Development python
Member Avatar for vegaseat
0
113
Member Avatar for CodeWarrior14

Hello. I'm working on a project that requires some data to be encrypted with AES 128. My encryption works fine but when I decrypt I get an `Exception in thread "main" javax.crypto.IllegalBlockSizeException: Input length not multiple of 16 bytes` exception. Code: import javax.crypto.Cipher; import javax.crypto.spec.SecretKeySpec; public class AESCipher { private …

Software Development encryption java
Member Avatar for JamesCherrill
0
882
Member Avatar for Gribouillis

Sometimes you want the value of a variable to be related to its name in the source code. For example, the variable x should have the value "var x". This is especially useful when you perform symbolic computations with python (with the sympy module for example). In standard python, the …

Software Development python
Member Avatar for Gribouillis
0
446
Member Avatar for Transcendent

This what I'm trying to do: Type two or more lines of text into a file. Write a program to open the file, reading each word into a vector<string> object. Iterate over the vector, displaying it to cout. That done, sort the words using the sort() generic algorithm But I'm …

Software Development algorithm c++
Member Avatar for Lerner
0
292
Member Avatar for NA7KR

Trying to update Packet.MSGState to P where if not R or D and it is Y in table Packet.MSGState SQL is MS-Access var ODBC from c# This is not undating all correct. UPDATE Packet SET Packet.MSGState = 'P' Where (MSGState <> 'R' and MSGState <> 'D') and Exists (Select MSGTO.Selected …

Software Development sql
Member Avatar for NA7KR
0
174
Member Avatar for PinoyDev

Good day! Is there a way to identify if a given date is hijri/arabic? Thank you!

Software Development visual-basic
Member Avatar for PinoyDev
0
134
Member Avatar for XodoX

When I have a simple server-client code, how do I get the client to send the server a time request and the server responds, and the client then displays the offset and the delay ? The communication should be in NTP. I think that means there are 4 time stamps, …

Software Development c client-server
Member Avatar for XodoX
0
345
Member Avatar for ddanbe

Looking on the web for how to do it. Found several solutions: serialisation, XML etc. Cannot decide which to use. My List class contains a string, some booleans and two other Lists. Awaiting some opinions that will be accepted with great gratitude. :)

Software Development
Member Avatar for ddanbe
0
239
Member Avatar for umesh_1

did any of you guys help me out to know c programming easily.i feel it hard . so please help me out,,

Software Development c++
Member Avatar for shayan_doust
0
173
Member Avatar for Nation

Hello everyone, I want to develop a GUI like the one shown in the image below. I want to do this through hard coding - no drag and drop. Please may you assist me with: 1. what should i include to come up with such a **layout**. 2. how do …

Software Development gui java
Member Avatar for Nation
0
204
Member Avatar for PinoyDev

Good day! I have a combo box which is readonly. It is loaded with data from the database. However, there is a point that I need to set text on it, and those text is equal to one which is in its list aleady. The below code produces runtime error …

Software Development visual-basic
Member Avatar for PinoyDev
0
386
Member Avatar for markdean1989

*** Systems *** OS: Windows 8.1 64bit IDK: MS Visual Studio Express 2013 for Windows Desktop Problem: I created a simple (very simple) User-defined function named func_compare that compares two numbers, it has two parameters of type Integer. It has no errors whatsoever until you compile it, and it says …

Software Development c c# c++ os-x visual-studio
Member Avatar for markdean1989
0
324
Member Avatar for Nghia_1

Hi, this is my first post here. The fact is i'm not a programmer and i need help. I have a software that i need to solve a vehicle routing problem for my thesis. But i dont have anything on hand . Can u share me some source code or …

Software Development c++
Member Avatar for rubberman
0
158
Member Avatar for MiicahLiim

Write a function IsoTriangle() that takes a sizw parameter and displays an isosceles triangle with that many lines. Use the DrawBar() function as a Basis. it should look like this: * *** ***** ******* this is the drawbar() function: /*Overloaded DrawBar() program Illustrated overloaded DrawBar functions*/ #include <iostream> using namespace …

Software Development java
Member Avatar for JamesCherrill
0
264
Member Avatar for twtw

i got it success but error and i cant find it my code here: bool BinarySearchTree::search(int d) { tree_node *t = head; if(root==NULL) cout<<" The Tree is empty. Please insert a value "<<endl; while (t != NULL) { if (t->data == d) break; else if (d > t->data) t = …

Software Development c++
Member Avatar for Taywin
0
170
Member Avatar for thebuffy

Hello i am trying to code a survey. there are questions and answers.The answers are radioboxes. if answer "no" is selected,the partial page which includes that question part, should be refreshed and a more question is needed to asked. How can handle this partial refresh stuff in html? <html> <form> …

Software Development
Member Avatar for JorgeM
0
227
Member Avatar for sahil_gupta

I know c++ basics only, how to start doing software development and game development in c++....????

Software Development c++
Member Avatar for sneekula
0
159
Member Avatar for Papa_Don

Group, When publishing my first program, I noticed that it put the program in the App folder as opposed to "C:\Program Files\". Is there a way to direct where everything should be stored when you install it on the users computer? Thanks, Don

Software Development publishing vb.net
Member Avatar for imti321
0
330
Member Avatar for Nation

please assist by explaining what this code is trying to do - i mean the logic. if ((InteractiveForm.this.tableModel.getRowCount() - 1) == row &&//i dont understand this line(the logic) !InteractiveForm.this.tableModel.hasEmptyRow()) { InteractiveForm.this.tableModel.addEmptyRow();//this is where we append a new row } the whole program can be found [here](http://www.javalobby.org/articles/jtable/?source=archives) any explanation is greatly …

Software Development java
Member Avatar for Nation
0
161
Member Avatar for kirangentlebree

i am new to xml...i dont know how to convert a word document to xml...can any one help me??

Software Development xml
Member Avatar for BharathGowda
0
200

The End.