132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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++ | |
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); … | |
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 | |
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 | |
create aprogram that will identify seat plan for an airplanewith availables columns and 20 availables rows. Software Development java | |
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 | |
I made a visual basic program and i want to know how to make installer can anyone help? Software Development visual-basic | |
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 | |
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 | |
![]() | 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 |
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 | |
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++ | |
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 | |
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 … | |
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. … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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! | |
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 | |
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++ | |
HI i got stuck in this program please help me and provide me the source code,.. Software Development c ![]() | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
** # 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 | |
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 | |
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 … Software Development operating-system visual-basic visual-studio | |
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 … | |
Please help me to calculate salary, i have Health ensurance,security fees Software Development | |
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++ | |
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 | |
i just want to ask, why we need to declare the header on the upper part of our syntax. | |
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 | |
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 … | |
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 | |
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 … | |
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 | |
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 | |
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 |
The End.