132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gamers18

I am having trouble accessing an edgelist of a vertex(which is another object of vertex linked to it). Any ideas how? like for example i have Edge.cs, Vertex.cs, DirecGraph.cs In the DirectGraph.cs IDictionary < String, Vertex> dic = new IDictionary< String, Vertex>(); .. ... // Then add a vertex type …

Software Development
Member Avatar for Ketsuekiame
0
132
Member Avatar for tafarie

I have a question,,, I create 1 form, and in this form I add 5 control checkbox, namely: Checkbox1 = cek1 Checkbox2 = cek2 Checkbox3 = cek3 Checkbox4 = cek4 Checkbox5 = cek5 I want to ask, 1. how to count the number of checkboxes are checked.? 2. how to …

Software Development vb.net
Member Avatar for Reverend Jim
0
288
Member Avatar for Renesme-LuCiFeR

Hi Every One, I Was Wondering If Anyone Could help me With This Problem Or Not... I Just Need A Simple Program, With The Least Amount Of Using Arrays, And Loops... And My Main Problem While Writing It Is When I Want To command The Program To Act Like a …

Software Development c
Member Avatar for Ramesh.YoTLC
0
238
Member Avatar for robjackstewart

I am trying to get each elemnt of a text file with 13 integers in one line, each seperated by a space, into each slot of an array, any idea how to do this?

Software Development c++
Member Avatar for ravenous
0
966
Member Avatar for untitled69

Hello! I need to create a project using C#. I must think about something linked with the word puzzle. If anyone has any ideas i am here to see them. Please help me! Thanks in advance!

Software Development puzzle
Member Avatar for JOSheaIV
0
192
Member Avatar for sgw

In the following program I declared "long" for a, but still getting incorrect negative output after the 1860th term (all are supposed to be positive). What is the cause? int main() { for (int i=1; i<=2000; i++) { long a=i*i*i/2-3*i*i/2+3*i-1; cout << setw(3) << i << "\t" << setw(8) << …

Software Development c++
Member Avatar for asifalizaman
0
256
Member Avatar for solomon_13000

Base on my understand a mediator is a central authority that varies the interaction between objects in the same group. So can I classify the code below as a mediator? package com.mediator; public class BaseMediator { public void store(){ System.out.println("store"); } public void retrieve(){ System.out.println("retrieve"); } } package com.mediator; public …

Software Development java web-design
Member Avatar for solomon_13000
0
231
Member Avatar for Galbatorix

hi, I have two sql strings being executed at the same time one of which is an update statement and the other a save statement. The save statement works but the update statement does not. Here is the error i am receiving System.NullReferenceException: Object reference not set to an instance …

Software Development vb.net visual-studio
Member Avatar for Galbatorix
0
161
Member Avatar for Siberian

A script I have that checks if an external HDD is connected, which has a prompt to mount the drive, with the option 'retry' and 'cancel'. If I click 'retry' it says it has found the drive, even though it's not connected, how can I fix this ?

Software Development visual-basic
Member Avatar for Reverend Jim
0
157
Member Avatar for James19142

I just started using Qt5 and now i'm getting an error which seems to be generated near the end of compiling saying this: cc1plus.exe: out of memory allocating 408 bytes. I compiled this same exact code in Qt 4.8.1 without any problems multiple times. I have no way of getting …

Software Development motherboards-cpu-ram qt
0
130
Member Avatar for ilovemwah

Hi sir, can you help me on how to update an attendance of every employee every week?. Please sir, for my thesis. :(

Software Development vb.net
Member Avatar for monching
0
113
Member Avatar for monching

Hi, How to save the value of DataGridView to doc or xls?

Software Development vb.net
Member Avatar for monching
0
95
Member Avatar for rfrapp

I've written bucket sort, to read a list of numbers from a file, sort them, then write the sorted list to a new file. My program runs through the process just as it should, but whenever a bucket is completely sorted, it doesn't save the changes in the bucket. My …

Software Development c++ file-stream ios
Member Avatar for rfrapp
0
540
Member Avatar for anestistsoukalis

In lines 359 and 360 i have this piece of code: printf("Oi mathites me ton megalytero bathmo ( %f ) einai oi: \n",max); for (i=Stack.Top;i>=0;i--) { printf("%f, \n",Stack.Element[i]); } And i want to print the results of that Stack...... but nothing happens .. :-/ What have i missed to add …

Software Development c storage
Member Avatar for Ancient Dragon
0
260
Member Avatar for welshly_2010

i am having problems creating multiple frames and getting them in the right place. i want to put 4 frames on my display so i can have a display like the first attachments but this its not working and the 2 frame is going straight to the middle when i …

Software Development gui python tkinter
Member Avatar for vegaseat
0
7K
Member Avatar for usongo123

hi guys im stuck in this question would anyone care to help me(its a csv file)?? How many times does the least common string appear in the field [gemstone]? valid gemstone owing mark channels code No Diamond 26.06 20 218 (KJQ:10E)2 Yes Diamond 15.43 25 36 (DRX:25H)7 No Sapphire 11.44 …

Software Development python ruby
Member Avatar for vegaseat
0
184
Member Avatar for alexsamam

package pkg2.pkg3; import java.io.*; import java.util.logging.Level; import java.util.logging.Logger; class pachet { double adresaS; double adresaC; String com; String raspuns; pachet(double adrS, double adrC, String c, String r) { adresaS = adrS; adresaC = adrC; com = c; raspuns = r; } } class Client extends Thread { pachet p; double …

Software Development java
Member Avatar for Majestics
0
153
Member Avatar for jhonnyboy

Hello everyone. I would like to learn how to make a multi column list box. I have set the multi column Boolean to true and set the width but i have yet to see the two columns. I only see one. I currently have a .csv file and in the …

Software Development vb.net
Member Avatar for danprash
0
8K
Member Avatar for Arman Majumder

A temperature converter GUI. Converts from Celsius to Fahrenheit and vise versa. Tests JLabels, JButtons and JTextFields. *Two separate programs, Converter and Thermometer (Thermometer Class)*

Software Development gui java
Member Avatar for robinlrandall
0
744
Member Avatar for gamers18

Hi, ive been trying to print out a dictionary item with its List but im so confused about it. Basically I created a dictionary and I managed to add an Item to the dictionary(as a Key) and List of something (as value) Dictionary<String, List<string>> dic = new Dictionary<String, List<string>>(); public …

Software Development c c# c++
Member Avatar for tinstaafl
0
5K
Member Avatar for kirenemook12

Hello everyone I am trying to make a app. witch uses windows that pop-up if a button is pressed. the problem is, i don't know how to make more than one window. Can anyone tell me how to do that? I am using Microsoft Visual Studio 2010 Express, in a …

Software Development c++ microsoft windows-api
Member Avatar for Ancient Dragon
0
1K
Member Avatar for bdheeraj

hi i wrote a Gui program in python3.2. i want to convert my .py program into a windows executable file(.exe). i googled for it and found py2exe but it only supports 2.7 . is there anyway i can convert my program.

Software Development gui python
Member Avatar for vegaseat
0
5K
Member Avatar for roshu10

hello guys, how to play audio files using c ?? i am just a beginner to c programming and also to this form.. thanks in advance.. :) with regards, roshan

Software Development audio c
Member Avatar for Moschops
0
375
Member Avatar for Samyx

Hello Everyone, How can I verify if an date type field is empty? I tried: `I_MENOP_NA00_OOPH_DT_3994 eq ""` but it does not work for a partial date type field. <RuleDef OID="MENOPAUSAL_STATUS_V21RULE12" Name="OOPH Provided But Procedure Date Not Provided"> <Description>If OOPH is marked Yes, the Procedure Date should be provided.</Description> <Expression>I_MENOP_NA00_OOPH_9377 …

Software Development xml
Member Avatar for Samyx
0
124
Member Avatar for biscayne

There used to be an open source initiative called sla2pdf which used a python script to convert Scribus sla files to pdf. Unfortunately downloading the programs from https://code.google.com/p/sla2pdf/ is no longer possible. Is there anyone who knows where to find the programs and preferably some documentation ? Many thanks, P

Software Development open-source pdf python
Member Avatar for biscayne
0
257
Member Avatar for Nagarajan M

I have an jar called Myapp.jar.. It is working fine in java installed system.. And my task is to Bundle jre inside jar(Not along with jar(i.e we can put jre and jar in same folder to run a jar as given in following url http://www.mindfiresolutions.com/Run-jar-without-jre-on-windows-machine-76.php )). and I should not …

Software Development ide java
Member Avatar for Nagarajan M
0
3K
Member Avatar for syedalisajjad

#include "LVdefs.h" struct konfigDatei { char tableName[50]; char columnName[128]; char primary1[50]; char primary2[50]; char primary3[50]; char primary4[50]; char primary5[50]; char primary6[50]; }; main( int argc, char * argv[] ) { int loop = 0; int count = 0; struct konfigDatei kd[50]; char line[500]; char *ch; FILE *f = NULL; f …

Software Development c data-structure file-system
Member Avatar for syedalisajjad
0
195
Member Avatar for cromz

Need some help with this problem. On the following table Supplies Storedlocation Containing the following rows 5 A 2 A 3 B 2 A 2 A 2 A 2 B 2 B Here is my code to display the sum of supplies based on the stored location select sum(supplies) from …

Software Development vb.net
Member Avatar for Reverend Jim
0
152
Member Avatar for kimangel

Hi experts, I have a type mismatch error in getting time difference from database. Below are my codes. Private Sub cmdSearch_Click() Dim sTrID As String Dim Total As Integer Dim xhours As String Dim Intime As String Dim Outtime As String sTrID = txtSearch.Text Set rs = New ADODB.Recordset rs.Open …

Software Development visual-basic
Member Avatar for QVeen72
0
327
Member Avatar for Cameronsmith63

Hi guys, is this possible? I want to click on a picture box and test the response with a message box. Only problem is, these picture box controls only get created on runtime. public Form1() { InitializeComponent(); this.WindowState = FormWindowState.Maximized; //this.PnlViewFolders.Click += new EventHandler(pictureBox1_Click); // this.pictureBox1.Click += new EventHandler(pictureBox1_Click); }// …

Software Development
Member Avatar for Cameronsmith63
0
219
Member Avatar for cargito

Hi, I have a problem compiling the "pjproject.sln", and I have the following error appearing: "fatal error LNK1104: cannot open file 'dsound.lib'" Build log was saved at "file://c:\Users\SLF101\Desktop\PJ Project\pjproject-2.0.1\pjmedia\build\output\pjmedia_test-i386-Win32-vc8-Debug\BuildLog.htm". Could anyone help me solve that problem? It seems like it does not want to open the "dsound.lib" file everywhere. That …

Software Development c++ file-system visual-studio
Member Avatar for Ancient Dragon
0
984
Member Avatar for prateek29chandra

hi guys am having problem with data binding navigator control. have added data source. here in my case table name is "Event" and table name is "mca1". have set properties of all textboxes nd combo boxes to its repective field. and set bindindNavigator1 binding property to mca1bindingSource. now am getting …

Software Development
Member Avatar for Ketsuekiame
0
146
Member Avatar for ryan311

I use DevExpress in some of my projects. Each time there is an update to the devexpress libraries, they get copied to the clients computers when I update the software. Unfortunately this leads to losts of old versions of devexpress libraries on the client’s computers. I'm planning to create a …

Software Development
Member Avatar for Ketsuekiame
0
228
Member Avatar for dualzNZ

Good Afternoon everyone. I am currently working on a little side project that aquires player statitical data from a website / XML Feed getting the data is fine and using item.substring(item.indexOf("ABC")) but what i would like to do is call a series of information and show them with in a …

Software Development
Member Avatar for Ketsuekiame
0
217
Member Avatar for Wattsits

hi daniwebers. its been a while since iv visited. soz. a friend of mine sugested i learn a bit of xna in c# so i could help him with a future project of his. im still a verry basic coder and dont have alot of programing knowledge but i try. …

Software Development
Member Avatar for Ketsuekiame
0
147
Member Avatar for jalpesh_007

I have created two socket file,But it is not working in proper way. please let meknow where the porblem is. TCPClient.java import java.io.*; import java.net.*; class TCPClient { public static void main(String ar[]) throws Exception { String fromserver; String toserver; Socket clientsocket=new Socket("localhost",10000); BufferedReader infromuser=new BufferedReader(new InputStreamReader(System.in)); PrintWriter outtoserver=new PrintWriter(clientsocket.getOutputStream(),true); …

Software Development client-server java
Member Avatar for JamesCherrill
0
172
Member Avatar for datajaya_ap

hello there, anyone can help... is this possible? i have a string value of form names in my DB so when my condition passes, the variable string will take over the value , then that value will call the form(variable) as string. i got an error when i use this …

Software Development vb.net
Member Avatar for alifax89
0
2K
Member Avatar for jalpesh_007

dear all, I will stuck with one problem.I have one java program in which frame will be there. I am fetching some data from database and i am selecting background image from dialogbox. Now i have used BuffereImage class, i want to print that image with text through the printer. …

Software Development java printer
Member Avatar for jalpesh_007
0
300
Member Avatar for boomerang2711

How to make an application to prevent itself from launching from the command line? I have a binary which should be launched by a daemon; but when somebody tries to launch the binary from command line, I should error out stating "cannot be launched from command line". Tried googling but …

Software Development c
Member Avatar for boomerang2711
0
217
Member Avatar for bezzel.zubber

I want to compare between nodes in BST to find the highest salary and im using recursion function in implementing my BST. Below is the question: A company needs to keep all records of its employees. Employee record should contain employee id(4 digit integer numbers), name, department, salary and an …

Software Development java
Member Avatar for bguild
0
235
Member Avatar for kay19

from __future__ import print_function, division #requested per VPython import time from visual import * #make sure this is asterisk char, copy/paste no go ## constants mzofp = 1e-7 L = 2.5 q = 2*1.6e-19 scalefactor = 7e-9 deltat = 9e-20 #objects & initial conditions particle = sphere(pos=vector(0,0,-4e-10), radius=1e-11, color=color.red) velocity …

Software Development python
Member Avatar for kay19
0
182
Member Avatar for AmrMohammed

Greetings As the titles says I wanna know what are versions of C++ other than Standard C++ and what are the differents between those version if any! Second question what is contained in the .exe file I'm using Microsoft compiler "Visual Studio 2010 IDE"? Is it contains the assembly instructions? …

Software Development assembly c++ ide visual-studio
Member Avatar for mike_2000_17
0
901
Member Avatar for icepickero

hi can anyone please help me with this problem arranging given input that is alphanumeric in ascending and descending order using turbo c *note the given info are char only example output: info to be arranged: blk4 lot 32 ascending order: bkllot234 descending order:tollkb432

Software Development c
Member Avatar for deceptikon
0
370
Member Avatar for Nethran

Hi again! So, I have an object that gets appended to a linked list now. Now I need to have all of that item's data output in a formatted manner - something similar to this: CD Artist CD Title CD Length Track Name Track Length Arist name here Title here …

Software Development c++ linked-list seo
Member Avatar for Nethran
0
398
Member Avatar for Nethran

Basically, I'm getting an error when I try to append a CD object to my linked list. What error? This one: > First-chance exception at 0x550257aa (msvcr100d.dll) in Programming 3 Course Project.exe: 0xC0000005: Access violation reading location 0xfeeefee2. > Unhandled exception at 0x550257aa (msvcr100d.dll) in Programming 3 Course Project.exe: 0xC0000005: …

Software Development c++ linked-list seo
Member Avatar for Nethran
0
409
Member Avatar for fedaa91

hi i am adjusting a socket program code to make it able to read and write on files and send and recieve packets but i am stuck it only performs the first while loop and doesn't go to the next lines to execute them ! i dont usually program using …

Software Development c
Member Avatar for fedaa91
0
213
Member Avatar for harinath_2007

Hi.. My java desktop application runs every time the computer starts up and runs as long as computer is ON. It monitors all the activities and interacts with database more often and will tell me some updates by looking on the internet at regular intervals etc..etc.. So what I usuallly …

Software Development java
Member Avatar for mKorbel
0
169
Member Avatar for triumphost

I have a class called Control. All other "controls" inherit from this class. Some controls need a default constructor so that I can assign or construct them later. The classes look like: class Control { private: //All Members Here.. void Swap(Control &C); public: Control(DWORD dwExStyle, std::string Class, std::string Title, ....); …

Software Development c++
Member Avatar for triumphost
0
845
Member Avatar for alex910TN

Hi guys. I am a student who really needs some assistance with creating a recursive function in C that changes multiple consecutive white spaces (blanks) from an array of characters into a single blank. For instance: char c [10]; // let ␢= blank symbol where the contents are :␢␢␢␢INT␢␢␢ the …

Software Development c
Member Avatar for deceptikon
0
2K
Member Avatar for mc3330418

I need to read this into a arrays. 123455 45 67 87 69 98 3456787 67 98 34 54 67 456778 87 76 89 76 34 344568 65 78 76 45 98 56789 98 76 45 34 54 Here is the code I have void getGrades(double exam[], int studentId[]) { …

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

The End.