132,728 Archived Topics
Remove Filter ![]() | |
I have simple query. Suppose if I am working on a project which contains one form (frmStudent) which is linked to table tblStudent. Suppose if I release this this application. And after some time I created a new form in my project (frmTeacher) And again for this form I have … Software Development c# | |
Write a Java™ application using NetBeans™ Integrated Development Environment (IDE) that calculates the total annual compensation of a salesperson. Consider the following factors: A salesperson will earn a fixed salary of 60,000 dollars. A salesperson will also receive a commission as a sales incentive. Commission is a percentage of the … Software Development ide java java-netbeans | |
I really tried with the title! I could not find what I was looking for through google or here. Seemed like something that could be common enough that I'd find it online already but perhaps it's so simple that no one had a problem doing it so they did not … | |
There are two textboxes, TextBox 1 and TextBox 2. So the price of 1 value of Textbox 1 is $5 while Textbox 2's price of 1 value is $10. So if I put 4 in Textbox 1, then it'll be multiplied to $5 so $20. But the problem here is … Software Development vb.net | |
I have uploaded an Image into database through C# application. Here is my code. FileStream fs1 = new FileStream(toolStripLableClientSelectedImage.Text, System.IO.FileMode.Open, System.IO.FileAccess.Read); byte[] image = new byte[fs1.Length]; fs1.Read(image, 0, Convert.ToInt32(fs1.Length)); fs1.Close(); SqlCommand cmd = con.CreateCommand(); cmd.CommandText = "INSERT INTO tblClientDetails ([clFname], [clName], [clAddress], [clCity], [clState], [clPhone1], [clPhone2], [clEmail1], [clEmail2], [clProfession], [clPhoto]) … Software Development file-stream file-system | |
In vb. Net application i have a combobox with properties- custome source autocomplete Dropdownstyle- dropdown I use string method to autocomplete combobox from custom source of database. I want to cleat text from the combobox after save button event. I use following code for that but its not working. Combobox.selectedindex=-1 | |
Hi i have an assigment that is giving me a hard time . I want to make a media player in java by using netbeans Can anyone give me an efficient way to do this assigment. please help me shoaib in java [Click Here](http://www.daniweb.com/software-development/java/9/contribute) Software Development java java-netbeans | |
hi i'm trying to build an app that allow to login to instagram using c# when i run my application and logged in , i need to be redirected to fixed page without any reaction from me here's my code : private void button1_Click(object sender, EventArgs e) { HtmlDocument doc … Software Development c# | |
Hi , Can anyone point me to fillPolygon source code , In Graphics.java it is declared as abstract class . - Nataraja G Software Development java | |
here what i have acheive till now xaml <Hub x:Name="EventName" Header="Event Name" Foreground="White" > <HubSection x:Name="HubSection0" x:Uid="first" > <DataTemplate> <Grid> <ScrollViewer > <StackPanel Orientation="Vertical"> <Image HorizontalAlignment="Left" Height="100" Margin="10,10,10,20" VerticalAlignment="Top" Width="100" Source="ms-appx:///Assets/dummyuserimage.png" x:Name="EventPhoto" x:Uid="E_pic"/> <TextBlock Text="Date" FontSize="14.667" FontFamily="Segoe UI"/> <TextBlock x:Name="txtDate" FontSize="14.667" FontFamily="Segoe UI" Height="39" /> <TextBlock Text="Time" FontSize="14.667" FontFamily="Segoe UI"/> … Software Development | |
Design a C++ program by considering the following conditions; 1. User must keyed-in “start” to start the program and “stop” to end the program. . 2. If the user keyed-in “choice1”, print out PATTERN A. 3. If the user keyed-in “choice2”, print out PATTERN B. Use if else statement, while … Software Development c++ | |
hi everyone system.out.println("thank you all for the birthday greeting!!!!!!!!! much appreciated.) hi james it has been quite a while. sorry that I had upset u the last time I was here. I am trying to build a payroll system for a community college in java. and the calculation is off. … Software Development java | |
Hello guys, I'm trying to add an object called product into an ArrayList of orders. I'm getting an error: no suitable method found for add(Product). Did I miss anything? This is my addOrder method: public void addOrder(ArrayList<Order> orders, Product product){ orders.add(product); } I've passed the ArrayList of orders and the … Software Development java | |
how to find and delete aIndex.dat file, delete cookie, delete history, delete cache, in vb.net ,want to delete all .dat cookie cache in vb.net Software Development vb.net | |
Hello Everyone! I'm using C++ to write a small 2D app with SDL and OpenGL. I'm trying as much as possible to keep my code cross-platform. However, I've hit a bump. I can't find a good, easy way to display text on the screen. I am able to do it, … | |
I'm stuck on one of brokenthorn's tutorial on bootloaders. My question is why reference byte 26? > Bytes 26-27 : First Cluster http://www.brokenthorn.com/Resources/OSDev6.html Software Development | |
Hi, I am familiar with C and C++, but dont use sockets regularly.I am facing problem in clinet-server program. my purpose is : 1. First client sends some info to server. 2. Server should read info and inturn send some info to client 3. Client reads info and again sends … Software Development c client-server | |
C++ HELP: hello i made a program where user enter any message then fing its frequency and push it on the queue and sort it i want to sort it again by which element in the same piority entered please anyone can help>? for example for this message: "Eerie eyes … | |
Good afternoon to all i am currently working on a logistics project, where in one of the forms the user needs to select a shipment number and other information related to the shipment. the form is made up of 4 dropdowns a textbox and a gridview as follows. **The Dropdowns … | |
Hey everyone some let me give a quick run down what I got here. About a week ago I was with my family waiting to get a seat at a resturant (to watch the USA Woman's Soccer game). We had a long wait so I was watching my siblings play … Software Development | |
how to start firefox -p in vb.net? Process.Start dont work for firefox -p firefox start but not with -p argument Software Development vb.net | |
Hi All, I know this is very silly question about singleton pattern but still it is first choice of interviewer. Could you let me know in below code snippet. (1) After deleting singleton object why still i am able to call show() method and it works fine. delete obj; obj=NULL; … Software Development c++ | |
code to load xml file in the library TSPLIB http://www.iwr.uni-heidelberg.de/groups/comopt/software/TSPLIB95/XML-TSPLIB/instances Software Development | |
Could someone please look at my ose and let me know where I may be going wrong. The problem to solve is define a class Odometer that will be used to track fueland mileage for an automobile. The class should have member variables to track the miles driven and the … Software Development java | |
Hi Dw. Is it possible and how to get the executing process (detect a starting/executing file process)? I know how to list the already running but how about spotting the starting process? not the already running but let's say I try to open a Notepad.exe file I want to be … Software Development vb.net | |
below is a code which new password entered and compare with the confirmed password. At run time, it doesn't show error but when input password diferent that of the confirmation, it doesn't give any matching error. please below why the system allow me to move to the next. [code] Private … Software Development vb.net | |
Excuse me how to make progress Scan the files in a folder like in this video youtu.be/K6yqoVeNPAk thanks | |
Hello guys! I'm trying to call a method in main called "buyProduct" which displays all products to the user. I' a getting a NullPointerException though. Here's what I have: public static void main(String[] args) { OnlineShopping shop = new OnlineShopping(); ArrayList<Cart> carts = new ArrayList<Cart>(); ArrayList<Order> orders = new ArrayList<Order>(); … Software Development java | |
i did a simple interface programme where one interface extends two interface.so,no error is showing,but no output is showing..here is the code.. interface a { int add(int x,int y); } interface b { int mul(int x,int y); } interface c extends a,b { int div(int x,int y); } class d … Software Development java | |
I have a arraylist which i want to store in database.I am using preparedStatement so how can i pass my arraylist as parameter to store it in database. my code is: public void insertEnquiryRecord(StudentEnquiryEntity enquiryEntity) { // TODO Auto-generated method stub System.out.println(" hi from vivek.."); ConnectionFactory connectionFactory = null; connection=connectionFactory.getConnection(); … Software Development java | |
0ello I'm trying creating a triangular mesh from png. How can I extract the basic information from a image contour to create a mesh? I used opencv module in order to extract the contours . On xyContour variable I have essentially a path, but with a path I think that … | |
Hi guys, I have written a program which currently accumalates different pairs and their frequency from an excel spreadsheet. (1280 pairs) Want I want to achieve is from the top 20/30 pairs, if I can find pairs that link e.g. Pair 1 [1,33] and Pair 100 [1,232] so i would … Software Development | |
Can anyone help me out with abit of code that will detect the location of any exe file on a hard drive / cd? am trying to build a simple exe launcher thanks. Software Development hard-drive pascal | |
I need some help created a google weather api using vb .net. I found the code online and there are no errors. Problem is that I can't seem to display wether information. Nothing shows up on screen and I am not sure what I did wrong. any ideas? Imports System.Net … Software Development api seo vb.net visual-basic | |
I'm currently have and excel speadsheet that has 3 rows. What I would like to do is create a macro that reads the last populated row, usually will be column A1, and then created a new column listing the current date and time. So for example, I have ColA ColB … Software Development microsoft-office visual-basic | |
How to export the column data from excel to listbox without using database. plz help Software Development microsoft-office | |
I am getting below errors while compiling on V2013. I have benn struggling it for last 5 days. Any help much appreciated. ------------------------------------ error LNK2001: unresolved external symbol "double pnl::global_fakedummy" (?global_fakedummy@pnl@@3NA) 1>snpgm.obj : error LNK2001: unresolved external symbol "private: static class pnl::LogMultiplexor * pnl::LogMultiplexor::s_pStdMultiplexor" (?s_pStdMultiplexor@LogMultiplexor@pnl@@0PAV12@A) ------------------------------------------------------------------------------------------------ pnlFakeptr.hpp #ifndef __PNLFAKEPTR_HPP__ #define … Software Development c++ user-interface | |
I do have a dataset with id date code 1 02/02/2012 A 1 02/07/2012 B 1 02/21/2012 A 2 02/02/2012 C 2 02/09/2012 A and I have to create a grid with the days in february and insert the code in the coresponding days id 1 2 3 4 5 … Software Development dataset | |
Hello guys! I'm working a project and it seems that there's something wrong with my switch-case. For example, in the user menu, the user can input the number 2 then it would allow them to deposit, but somehow, it keeps displaying the first switch-case. switch(resp){ case 1: users.get(0).displayProfile(); users.get(0).editProfile(); break; … | |
Hi My vs stopped working everytime i click datagridview Probelem Signature: Problem Event Name: CLR20r3 PS 01:devenv.exe PS 02:10.0.30319.1 PS 03:4ba1fab3 PS 04:System.Drawing PS 05:4.0.0.0 PS 06:4ba1e086 PS 07:49 PS 08:1f PS 09:System.InvalidOperationException Locale ID:1033 Additional information about the problem: LCID:1033 Please Help, Thanks Software Development vb.net visual-studio | |
Sometimes, when I have really, really nothing else to do, I start doodling with some code. Wanted to display the coordinates of the mouse pointer. Thought it was complicated, but it was rather easy. Look, starting at line 94. Then: why not explore a [Bezier curve](https://en.wikipedia.org/wiki/B%C3%A9zier_curve), and what if I … Software Development pc-peripheral | |
hi everyone ! I'm working on a network strategy game with 3 components one reffere will define the mission and 2 players will make moves and attacks in a turn based way . in the end of each turn , the reffere will generate a rapport of each player action … Software Development java web-design | |
Hi guys, Am trying to print datagridview contents to pdf. I have tried to use the code below I learned from the net, bu it is giving an error message "Object reference not set to an instance of an object." Private Sub bntToPDF_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) … | |
I am working on an 8 queens problem, I am to place all 8 queens on the board before figuring out if they will attack one another. I am attempting to do this using a 2d array. How do I create random queens (1's) for each row, but making sure … Software Development java | |
I want to show my custom control(eg: `monthcalendar`) as a drop-down (popup) window. One option is to use `ToolStripDropDown` and `ToolStripControlHost` as the second example in [msdn sample](https://msdn.microsoft.com/en-us/library/system.windows.forms.toolstripdropdown(v=vs.110).aspx). Is it recommended to use ToolStripDropDown for controls other than the ToolStrip items ? Software Development html-css | |
Hello , Can anyone give me an efficient way to do Rect/Polygon filling as below/Attachment .   as of now I'm drawing lines & single pixel rectangles to do this and my application has slowed down so I'm looking for an alternative . This is an extension … Software Development java java-swing | |
(i'm using win7) i can use the Region functions for get the transparent control. but, in some cases, i can get bad resoltes(. i have read that i can use brushes for get the transparent control. can anyone explain better? Software Development c++ | |
Hi, I am writing a program to read from a file. I want to ask the user for the file name to open. I have tried to use the basic open file code from cplusplus.com and it won't work unless I specify the file name in the code. If I … Software Development c++ file-system |
The End.