132,728 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Amiet_1

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#
Member Avatar for Mr.M
0
168
Member Avatar for sclansing68

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
Member Avatar for JamesCherrill
0
273
Member Avatar for weekendrockstar

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 …

Software Development dataset vb.net xml
Member Avatar for weekendrockstar
0
228
Member Avatar for Melon Lord

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
Member Avatar for Melon Lord
0
221
Member Avatar for Amiet_1

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
Member Avatar for Amiet_1
0
994
Member Avatar for Satyam_1

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

Software Development html-css vb.net
Member Avatar for Satyam_1
0
257
Member Avatar for shailamureed

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
Member Avatar for JamesCherrill
0
392
Member Avatar for mjbor1

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#
Member Avatar for DaveAmour
0
331
Member Avatar for nataraja833

Hi , Can anyone point me to fillPolygon source code , In Graphics.java it is declared as abstract class . - Nataraja G

Software Development java
Member Avatar for nataraja833
0
1K
Member Avatar for nitish.mohiputlall

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
0
105
Member Avatar for Hector3000

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++
Member Avatar for Moschops
0
138
Member Avatar for divinity02

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
Member Avatar for rproffitt
0
161
Member Avatar for xn hunk

how to find and del all unwanted File in vb.net?

Software Development vb.net
Member Avatar for weekendrockstar
0
136
Member Avatar for laguardian

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
Member Avatar for JamesCherrill
0
499
Member Avatar for xn hunk

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
Member Avatar for Mr.M
0
110
Member Avatar for Zcool31

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, …

Software Development c++ opengl
Member Avatar for BeautyBeast
0
1K
Member Avatar for printf

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
Member Avatar for printf
0
169
Member Avatar for clife

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
0
177
Member Avatar for usmanjani

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 …

Software Development c++ queue
Member Avatar for usmanjani
0
254
Member Avatar for zamm65

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 …

Software Development display html-css vb.net
Member Avatar for Santanu.Das
0
225
Member Avatar for JOSheaIV

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
0
95
Member Avatar for xn hunk

how to mak an index.dat Viewer in vb.net

Software Development vb.net
Member Avatar for xn hunk
0
96
Member Avatar for xn hunk

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
Member Avatar for xn hunk
0
148
Member Avatar for can-mohan

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++
Member Avatar for Moschops
0
200
Member Avatar for nguyenthanh2676

code to load xml file in the library TSPLIB http://www.iwr.uni-heidelberg.de/groups/comopt/software/TSPLIB95/XML-TSPLIB/instances

Software Development
Member Avatar for Suzie999
0
50
Member Avatar for Bobbiegirl

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
Member Avatar for JamesCherrill
0
913
Member Avatar for Mr.M

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
0
91
Member Avatar for jmensah

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
Member Avatar for Mr.M
0
5K
Member Avatar for Admin_2

Excuse me how to make progress Scan the files in a folder like in this video youtu.be/K6yqoVeNPAk thanks

Software Development vb.net video
Member Avatar for Mr.M
0
337
Member Avatar for laguardian

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
Member Avatar for laguardian
0
378
Member Avatar for Sayam_1

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
Member Avatar for Sayam_1
0
96
Member Avatar for vivekH

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
Member Avatar for jwenting
0
239
Member Avatar for Marco_3

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 …

Software Development image python
0
756
Member Avatar for ogsirus

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
Member Avatar for ogsirus
0
262
Member Avatar for Simon180

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
Member Avatar for Simon180
0
231
Member Avatar for hwoarang69

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
Member Avatar for tinstaafl
0
534
Member Avatar for SpeakerKeyboard

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
Member Avatar for SpeakerKeyboard
0
208
Member Avatar for preethi_1

How to export the column data from excel to listbox without using database. plz help

Software Development microsoft-office
Member Avatar for JOSheaIV
0
274
Member Avatar for Puru_1

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
0
95
Member Avatar for kukuruku

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
Member Avatar for tinstaafl
0
144
Member Avatar for laguardian

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; …

Software Development java perl
Member Avatar for stultuske
0
213
Member Avatar for Lethugs

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
Member Avatar for Reverend Jim
0
406
Member Avatar for ddanbe

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
0
262
Member Avatar for btissam

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
Member Avatar for btissam
0
256
Member Avatar for wilsonchama

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) …

Software Development pdf vb.net
Member Avatar for zinist
0
4K
Member Avatar for Christina_4

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
Member Avatar for JamesCherrill
0
375
Member Avatar for bhaskerlee

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
Member Avatar for bhaskerlee
0
191
Member Avatar for nataraja833

Hello , Can anyone give me an efficient way to do Rect/Polygon filling as below/Attachment . ![Patterns.png](/attachments/small/3/13ab1a68a958648cc9313476241adfb2.png "align-left") ![Patterns.png](/attachments/large/3/13ab1a68a958648cc9313476241adfb2.png "align-center") 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
Member Avatar for nataraja833
0
489
Member Avatar for cambalinho

(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++
Member Avatar for triumphost
0
956
Member Avatar for iansane

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
Member Avatar for Jaja19
0
17K

The End.