132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Start4me

I have a listbox with items and a panel. What I want to do is when I click on an item, a label shows up in a panel, which was already there before the item was clicked. I've managed to show the label, but it didn't add to the panel, …

Software Development vb.net
Member Avatar for Start4me
0
303
Member Avatar for nhrnjic6

Can somebody please tell me what is wrong in here or what does this error message means : " error : reguest for member 'name' in 'person',which is of non-class type 'Person[2]' " struct Person{ int days; string name; }; const int size = 2; bool way_to_Sort(const Person &a, const …

Software Development c++
Member Avatar for mathijs
0
186
Member Avatar for murali2489

Hi Team, Im reading Collections. It is mentioned that while intialising priority queue, it uses natural ordering by default. But my output is not like that. Below is my code and output. public class BackedCollections { public static void main(String[] args) { PriorityQueue<Integer> pq = new PriorityQueue<Integer>(); pq.offer(3); pq.offer(1); pq.offer(5); …

Software Development java queue
Member Avatar for murali2489
0
4K
Member Avatar for SkyInfinity

Dim checks As Double Dim Fee As Double Dim Q As Double Dim Initial As Double Initial = 10 Dim number1 As Decimal = 0.1D Dim number2 As Decimal = 0.08D Dim number3 As Decimal = 0.06D Dim number4 As Decimal = 0.04D TextBox1.Text = checks If checks >= 1 …

Software Development vb.net
Member Avatar for fourty
0
153
Member Avatar for Violet_82

Hello, I have looked at an example of `GridBagLayout` (JamesCherrill you must be thrilled : - )!!) and there are a few things that are not entirely clear to me. First here is the code taken from deitel and deitel “Java how to program”, chapter 25: // Fig. 25.21: GridBagFrame.java …

Software Development gui java java-swing
Member Avatar for Violet_82
0
206
Member Avatar for maricar_1

create aprogram that will identify seat plan for an airplanewith availables columns and 20 availables rows.

Software Development java
Member Avatar for JamesCherrill
0
86
Member Avatar for prakash2813

Hello friends. I am having problem with displaying japanese characters into eclipse console. I use eclipse IDE. And I have two properties files. one for default english text, and second has japanese text. which is not correctly displayed when normally opened. I have used ResourceBuilder and Locale class (JDK 6 …

Software Development ide java java-swing
Member Avatar for prakash2813
0
324
Member Avatar for joshintanaka.donque

I made a visual basic program and i want to know how to make installer can anyone help?

Software Development visual-basic
Member Avatar for peter_14
0
105
Member Avatar for eltonpiko

Hi does anybody know how to create a custom form that user can fill in excel. what i need is: lets say user select and click 1 or 3 cell a popup form open. The user then fills in the info on the form ( ex.. name, address, tour operator …

Software Development visual-basic
Member Avatar for Stuugie
0
3K
Member Avatar for SkyInfinity

This is the problem I am working on ( you have likely seen it before) A bank charges $10 per month, plus the following check fees for a commercial checking account: $0.10 each for less than 20 checks $0.08 each for 20 through 39 checks $0.06 each for 40 through …

Software Development vb.net
Member Avatar for Reverend Jim
0
279
Member Avatar for Rebecca_2

Hi, I have an output file (.txt) from a computational chemistry program. At some point in this file, following an unknown number of iterative steps, the following table will be found: Comparison of initial and final structures : -------------------------------------------------------------------------------- Parameter Initial value Final value Difference Units Percent -------------------------------------------------------------------------------- Volume a …

Software Development file-system python
Member Avatar for slate
0
263
Member Avatar for elouch

how can i paste result from excel formula to value or even store the result into a string below codes does not seem to works... For x = 2 To rowcount worksheet2.Range("B" & x).Value = worksheet2.Range("D" & x).Text worksheet2.Range("C" & x).Value = worksheet2.Range("E" & x).Text Next worksheet2.Range("C" & x).Value = …

Software Development vb.net
Member Avatar for fourty
0
1K
Member Avatar for folabidowu

Please can somebody help me with the line of codes of this question:write a C++ program which inputs litre consumption given in miles/gallon and which translates these figures into the litres/kilometre format which is more common in Europe.Use the following conversion factors: 1 mile=1.609km and 1 gallon= 3.785litres

Software Development c++
Member Avatar for Banfa
0
791
Member Avatar for TIM_M_91

Ok so I have started to create an metro application using dotnetbar within visual studio its all working apart from 'CloseModalPanel' my problem is when I try to close the panel from the usercontrol.cs to return back to my main form I am told 'UserControl does not contain a definition …

Software Development visual-studio
Member Avatar for Ketsuekiame
0
454
Member Avatar for MxDev

hi guys, iam workin on an application that calculate the income for certain diving centers, i using the SQLite database, i developed a database with 3 table the first one for user input, the second is to hold daily income, and the third for weekly income. i've a problem when …

Software Development java sqlite
Member Avatar for takonewa
0
2K
Member Avatar for murali2489

Hi Team, I am working on Collections and in order to Sort ArrayList of Objects of a Class based on their instance variable, it is mentioned in book that I need to OverRide CompareTo Method. compareTo Method works fine but Iam not getting the clear idea of its sorting logic. …

Software Development apple java
Member Avatar for murali2489
0
339
Member Avatar for Gulzar_1

I have a project which is running on client side.Now i have to do some modification in it.so i have to make patch file.what is patch file and how to make it.Can i make ocx,dll and exe in place of that.

Software Development visual-basic
Member Avatar for Deep Modi
0
450
Member Avatar for haider885

I am using visual studio 2013. I am just a Beginner. Trying to make a shutdown Program in c++. its give the errors. 'Shutdown.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file. 'Shutdown.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file. 'Shutdown.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot …

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
325
Member Avatar for Vish0203

odd mountain is a list of odd numbers going up from 1 and then back to 1. e.g. odd_mountain of size 5 is [1,3,5,3,1] odd_mountain of size 4 is [1,3,3,1] Hint: use the list functions and a builtin function. Can anyone help me in this? all my tries are going …

Software Development python
Member Avatar for wshane796
0
295
Member Avatar for joseph_7

am trying to create a python code that counts words,vowels,consonats,upperand lower case letter,and the frequency which has the option like Do you want to enter the text via the keyboard? Do you want to read in the text from a file? here is how i got but idont if am …

Software Development python
Member Avatar for TrustyTony
0
241
Member Avatar for moozyedogawa

Bagaimana caranya ganti nilai hex dari file dat dalam file bin di vbnet dengan menggunakan satu tombol, tolong beri saya coding dan jawaban karena saya memerlukannya :). coba lihat contoh di gambar English translation: How do I change the hex value of the dat file in the bin file in …

Software Development file-system vb.net
Member Avatar for moozyedogawa
0
349
Member Avatar for clife

Hi, I am trying to prepare a shared library using another shared library. but the second shared library does not contian the definations of funtions which are defined in first shared library. lets say i have libfirst.so. in this there are no undefined functions. while creating libsecond.so, i am linking …

Software Development c++
Member Avatar for L7Sqr
0
226
Member Avatar for Elvi

Hello! I have a exercise about matrices. here is the question: is given a square matrix [M] [N] which determines the amount of each column. Thank u!

Software Development c c# c++
Member Avatar for Ancient Dragon
0
138
Member Avatar for flebber

What is the best way to implement a reusable usr confirmation? Basically so that I can embed it in other functions, so that the user will get to confirm if output is ok or whether they want to recall function or quit. So it seems it should be like. def …

Software Development python
Member Avatar for dashing.adamhughes
0
132
Member Avatar for nhrnjic6

Let me try to explain a problem I have.I have built array of structures that contains int(num of days) and string(Name).So basicy user should enter name of a friend and days they last talked,and then make a list sorted by the names of the friends of by how recently it …

Software Development c++
Member Avatar for nhrnjic6
0
153
Member Avatar for hey_shishir

HI i got stuck in this program please help me and provide me the source code,..

Software Development c
Member Avatar for akshit.arora.14224
0
4K
Member Avatar for xile27

I would like to do is to read CSV file begin to display to datagridview. show all the rows in the CSV but only the columns between START and END. This code below is for import all data from csv to datagridview. If OpenFileDialog1.ShowDialog(Me) = DialogResult.OK Then Try Dim fi …

Software Development dataset open-source vb.net
Member Avatar for tinstaafl
0
594
Member Avatar for ade.julianto

hy guys.. i have a problem how to search data by month in format dd/MM/yyyy and i use tipe data varchar(10) exm: 23/01/2014

Software Development
Member Avatar for Ketsuekiame
0
622
Member Avatar for Ryan_8

I appologize if this has been answered elsewhere but the terms I search for do not turn up a good fit. I am new to everything I am trying to do here and need some direction to solve this problem. I have a string that is 'variable1=5&varible2=3&variable3=27&varible4=1' I need to …

Software Development python
Member Avatar for snippsat
0
160
Member Avatar for Trle94

So example i have Box1, Box2, ..., Box5. All are Textboxes Its in row for serial key, if you dont understand i can make screen. Is there anyway i could Copy/Paste all data from all boxes in format like Box1 - Box2 - Box3 etc? and in same way paste …

Software Development vb.net
Member Avatar for Deep Modi
0
286
Member Avatar for LeNenne

I have a dir list box db.Close 'Kill (App.Path & "\PhoneTel.mdb") our = (Dir1.Path + "\" + File2.filename) mitt = Left$(File2.filename, 12) ' phonetel.mdb SourceFile1 = our ' DestinationFile1 = App.Path + "\" + mitt '"PhoneTel.mdb" FileCopy SourceFile1, DestinationFile1 as seen in the second image there is i will that …

Software Development visual-basic
Member Avatar for LeNenne
0
158
Member Avatar for dhatsah

Quick question, the answer is eluding me on the internet. Which is unusual. When we reference and call a sub/function from a class is it automatically started on a new thread or will it join the main thread? Cheers in advance.

Software Development multithreading vb.net
Member Avatar for Ancient Dragon
0
216
Member Avatar for rohit b k

Hello everyone, In my wpf application i have user conrtols like button,rectangle,image etc.. in one side of the window(whole window is divided into 2 canvas panels) i need to implement the functionality where, if i drag any user control and drop it in other area of the window, a new …

Software Development
Member Avatar for MarkAMalo
0
280
Member Avatar for munir.ashley

I have been searching google but I did not find how to display a message in C# win store app. Actually I have been developing a app in which user will input. I have built rgex. When a text box is empty & user click on validate button it would …

Software Development app-store c# display
Member Avatar for MarkAMalo
0
371
Member Avatar for COKEDUDE

Can someone please tell me what is wrong with strcmp? I don't understand why I am getting a segmentation fault when comparing array of strings and string. char *strings[100]; char nam[100]; int g = 0; while (fscanf(pFile, "%s %d", nam, &val) !=EOF) { strings[k] = nam; printf(" string is %s …

Software Development c
Member Avatar for Rolf_2
0
273
Member Avatar for parth2911

** # i am tring to merge two array but every time its display first array proparly but in second array its only display last element....thx....# ** #include<stdio.h> #include<conio.h> void main() { int a[10],b[10],i,j,c,d,e; clrscr(); printf("how many number in first array="); scanf("%d",&c); printf("how many number in second array="); scanf("%d",&d); printf("\nenter …

Software Development c
Member Avatar for parth2911
0
254
Member Avatar for islam-morad

Hello guys, I'm workin on an application that is supposed to be generating certificates. Here are the steps: 1- input certificate data 2- generate certificate number 3- create the certificate and save its data in the database i have a table in the database which will hold certificates. The database …

Software Development java
Member Avatar for islam-morad
0
198
Member Avatar for BrandonRich99

Hello. I'm trying to start making a basic Operating System with Visual Studio Express 2010 C#, and COSMOS. I started out with all the default code, didn't change one think. I thought that if it was the default code, it should run without any problems, right? Well, that's not the …

Member Avatar for Fenrir()
0
373
Member Avatar for star.bravo

I want to know how I can have an array of strings for example: a[] = {A,B,C,...,Z} and then randomly choose one character from the array (for instance 'F') and apply a font format from windows on it and then render that particular letter in the form of Bitmap image …

Software Development c# image
Member Avatar for Fenrir()
0
393
Member Avatar for manjeanpaul

Please help me to calculate salary, i have Health ensurance,security fees

Software Development
Member Avatar for george4986
0
91
Member Avatar for lwarshaw19

Okay so I'm kinda stumped... here are our directions.. My code is at the bottom of this post "Write a program consisting of only the main function, called piApproximator.cpp. When your program begins, the user is prompted to enter a number n representing the number of terms to be used …

Software Development c++
Member Avatar for p s suvin
0
3K
Member Avatar for mavtcr

Hello friends..please help me I have two identical Tables in my Database (Access) Table 1.Salup , Table 2.Salup1 . All the fields are identical My problem is:- I want to copy/append 1. All the records 2. selected Records agreeing certain criteria(eg."Sex=Male") From Table 1 to Table 2. through VB6 code.I …

Software Development microsoft-access visual-basic
Member Avatar for mavtcr
0
211
Member Avatar for cherrymae.calma

i just want to ask, why we need to declare the header on the upper part of our syntax.

Software Development c c# c++
Member Avatar for cherrymae.calma
0
122
Member Avatar for zaxo311

So here's my problem I have inner structure inside of client. How can I know while reading from txt file that I'm reading item data or client data for my list? struct item { char item_name[30]; char item_state[30]; float item_price; char item_status[30]; float item_price_if_not; struct item *next; }; struct client …

Software Development c data-structure linked-list
Member Avatar for zaxo311
0
9K
Member Avatar for daino

Hi I'm having a little trouble understanding C++ string arguments if that's what you call them. The below example illustrates. I'm not sure I understand what line 14 does. The vector 'myvector' is passed to myfunction (called on line 35. I'm assuming string w takes in the first value of …

Software Development c c# c++
Member Avatar for daino
0
366
Member Avatar for COKEDUDE

Can someone please tell me the the maximum and minimum of int, long int, long long int, double, float, and anything bigger than that? And also how to calculate this?

Software Development c
Member Avatar for rubberman
0
101
Member Avatar for Start4me

I need to make one statement to select either of the items in listbox and show the same label, regardless of which item is selected. I've tried someting like If Me.ListBox1.SelectedItem = "R115" Or "Bay, Charles" Then Label1.Text = "Address Information Avaliable" End If But it doesn't work. The code …

Software Development display vb.net
Member Avatar for Start4me
0
251
Member Avatar for srao1

Here is the mex code I wrote to read in a tab-delimited file. The mex file got created but it causes my MATLAB to end abruptly and give the following error. Can anyone help me where I am going wrong? Please let me know if any further information is required …

Software Development c data-structure file-system
Member Avatar for Ancient Dragon
0
378
Member Avatar for James19142

I wrote this function I plan on using to load in .obj files from Blender into a DirectX application. The problem I'm having is that when when the model is loaded, it appears that every other triangle face is missing in a pattern, for every quad, only 1 traingle is …

Software Development c++ mathematics qt
Member Avatar for James19142
0
847
Member Avatar for RikTelner

Is software hackable no matter how perfect it is written? Let's say I will create simple OS, I will spend like 30 years on encrypting every single variable, every code string and insert quadrillions of hacking preventions. Let's say, that there are absolutely no leakings in code, variables, passwords. Is …

Software Development python
Member Avatar for Coloradojaguar
0
358

The End.