1,977 Topics

Member Avatar for
Member Avatar for romiaujla

A method in the **controller.php** file public function invoke() { if (isset($_GET['book'])) { // show the requested book $book = $this->model->getBook($_GET['book']); include 'view/viewbook.php'; } else if(isset($_GET['add_book_form'])) { $action = $_GET['add_book_form']; include 'view/add_book.php'; } else if(isset($_GET['add_book'])) { $title = $_POST['title']; $author = $_POST['author']; $description = $_POST['description']; $this->model->addBook($title, $author, $description); include("view/add_book.php"); } …

Member Avatar for charlie_3
0
623
Member Avatar for Joemeister

Hi everyone, I want to know if its possible to do the following: I have 2 users and 2 forms. When user A (Admin) logs in on the Log In form, the Main Form appears with ALL its buttons enabled (For editing purposes). BUT when user B (Normal user) logs …

Member Avatar for Joemeister
0
188
Member Avatar for Schol-R-LEA

In light of the regular if slow traffic in certain specialized questions - especially regarding operating systems development and compiler development - I would like to suggest that a sticky be added to the Software Development forum giving links to specialized sites such as OSDev.org, where those sorts of questions …

Member Avatar for HiHe
1
178
Member Avatar for rony001

I am new to c# .I am having trouble to add a datagridview in the below code. can someone tell me how to do it? thanks using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlServerCe; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace _35c { public partial class …

Member Avatar for rony001
0
907
Member Avatar for Chris920

I have an OpenVZ unmanaged VPS. Installed the control panel, LAMP stack, have the DNS and domains on the new nameservers(showing up if you go to the domains) But when i run a pingdom check i have an SOA error. Was reading that it is probably a reverse DNS issue...What …

Member Avatar for JorgeM
0
469
Member Avatar for majinice

Hello everyone my name is Nuruddeen Hayatu Majidadi, am a student at the American University of Nigeria studying software engineering and my friends call me Ruby because i love to write ruby codes. Am looking forward to work wit all of you guy, i love programming, you can ask for …

Member Avatar for majinice
0
131
Member Avatar for Nation

I am interested in Java programming and software development. I hope I fallen in good hands.

Member Avatar for Hatem_1
0
87
Member Avatar for FloEliza

Being an IT professional, I really feel bad for the prospects. There are continuous follow-up calls made everyday. People want to crack the deal. **What about going a little beyond the usual and trying to figure out what happened instead of just letting go? How about asking if there was …

0
61
Member Avatar for mreza

Does anyone have Path, statement and Decision coverage Document with Control Flow Graph example and test case example? If yes then Could it be possible for any of you to share with me. :) Because I'm learning these things. I know basic coverage of Path, statement and Decision. but need …

0
121
Member Avatar for gangsta gama

Hello DaniWeb community! I recently posted a question asking about the character creation screen and that it is all set! I then continued with form validation, and storing values and spitting them back out in a message box. Then I made the create a character screen close, and open the …

Member Avatar for ddanbe
0
165
Member Avatar for Germio_1

hi guys I wanted to know what your perspective is of creating your own software and selling it or become a reseller of someones else software What is your take on it?

Member Avatar for deceptikon
0
145
Member Avatar for JERRY_5
Member Avatar for gerbil
0
247
Member Avatar for Ahmed_39

Hi i have crate an Partial view with name "_Menu" it's view items as menu and sub menu in my website _Menu Partial view Code: @model IEnumerable<MainCats> @using GoShope.Models.GoShopeDB; @{ IList<MainCats> mainList = Model.Where(id => id.IsCompany == true).ToList(); } <div class="panel-group category-products" id="accordian"> <div class="panel panel-default"> @foreach (var item in …

Member Avatar for pritaeas
0
715
Member Avatar for PerpyProgrammer

Hello. I'm a software engineer at NASA. I was wondering how some programmers would go about making a guidance system. I have a design but I want to compare it to other programmers in order to improve it.

Member Avatar for PerpyProgrammer
-2
139
Member Avatar for markdean1989

I have this AVG Tuneup 2014 installed days ago, expired free trial and of course, like many other software, will ask you to buy the pro version. I would love to buy the pro version but I just do not have a credit card yet (common in my country). So …

Member Avatar for markdean1989
0
352
Member Avatar for parth2911

private void Login_page() { var i = 0; while (i < 5) { if (textBox1.Text.Equals("admin")) { if (textBox2.Text.Equals("parth")) { } else { textBox1.ResetText(); MessageBox.Show("passwod is wrong try agine"); i++; } } else { textBox2.ResetText(); MessageBox.Show("username and password is wrong"); i++; } } if (i == 5) { MessageBox.Show("you tried max …

Member Avatar for parth2911
0
193
Member Avatar for Simon180

I noticed this afew times and it only seams to do it on my own application and am wondering if anyone knows how to reslove this I have attached a image showing the theme problem for some reason my richedit scroll bar will go blocky and have spaces. any one …

Member Avatar for Duoas
0
209
Member Avatar for sahil_gupta

I know c++ basics only, how to start doing software development and game development in c++....????

Member Avatar for sneekula
0
173
Member Avatar for anujavionics

Hi, I am writing an application in vc++ 2008, where I am required to send the video data (320x240x3) information through the VGA port of my laptop. Is there any functions or class that can help me to accomplish the same ? Thanks

Member Avatar for rubberman
0
132
Member Avatar for Krefie

Hi boys and Girls, Quick question I cannot seem to find the answer to: Why use CodeDOM to generate a class over say saving the structure of your code as text to a notepad and renaiming it to .cs? or just save it as a .cs file outright? Why go …

Member Avatar for gusano79
0
249
Member Avatar for mridul.ahuja

This is the code i'm using to view the modules being used by a process . string Selected_Process = listBox1.SelectedItem.ToString().Replace(".exe",""); Process[] ObjModulesList = Process.GetProcessesByName(Selected_Process); ProcessModuleCollection ObjModules = ObjModulesList[0].Modules; listViewModules.Items.Clear(); foreach (ProcessModule objModule in ObjModules) { item1 = new ListViewItem(objModule.ModuleName); item1.ImageIndex = 1; item1.SubItems.Add(objModule.FileName); item1.SubItems.Add(objModule.FileVersionInfo.CompanyName); item1.SubItems.Add(objModule.FileVersionInfo.FileVersion.ToString()); item1.SubItems.Add(objModule.FileVersionInfo.FileDescription.ToString()); listViewModules.Items.AddRange(new ListViewItem[] { item1 …

0
88
Member Avatar for Member #1104501

I am facing an issue and am hoping there is an easy way to do this. Is there any possible way to invoke a method from another project without a reference to it? I am unable to reference the project due to circular referencing.

Member Avatar for Member #1104501
0
141
Member Avatar for Kyla Smith

Hi please help me what to do, i have a software Patch about to be installed on our production environment but my fear is it also has some options (which were intentionally built for other of the vendors client) that can make our system freeze if accidentally selected. Our current …

0
34
Member Avatar for ddanbe

It was tinstaafl who put me on the right track. [Click Here](http://www.daniweb.com/software-development/csharp/threads/450463/graph-plotter) I did not know that .NET as of VS 2010 had a charting control! OK, let’s get started! But the learning curve, is as always, a bit steep. MSDN does not seem to provide too much code, so …

Member Avatar for ddanbe
0
3K
Member Avatar for soomro_moon

hello im a computer systems engineer, currently im doing masters in software engineering.

Member Avatar for veedeoo
0
80
Member Avatar for Amr_Mohammad_R

I create a thread within the main form load event of the application and initialize it with a method then start this thread and there is no problem till this point the problem is that when I click on any button on the main form to open another form lets …

Member Avatar for darkagn
0
197
Member Avatar for EclipticalD

Hi guys: I'm developing a small desktop app in c# and i was wondering if there was a way to set a specific user for a specific deployment of the app (eg. software on pc A has user 1 and software on pc B has user 2). I'm wondering if …

Member Avatar for Santanu.Das
0
156
Member Avatar for jjones0150

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace JonesJAsign9 { public partial class frmReservation : Form { const int PRICE_PER_DAY = 115; public frmReservation() { InitializeComponent(); } private void frmReservations_Load(object sender, EventArgs e) { } private void btnExit_Click(object sender, EventArgs e) …

Member Avatar for castajiz_2
0
222
Member Avatar for Reverend Jim

I came across this must-read article. I was a maintenance programmer for 29 years and I've come across many of the deadly sins that he discusses and maybe even one or two that he does not. [How to Write Unmaintainable Code by Roedy Green](https://www.thc.org/root/phun/unmaintain.html).

Member Avatar for taichichuan
0
330
Member Avatar for HuePig

Hi, I have a Blackboard object which is a singleton, what it does is store the message and the reciever. The challenge is that the blackboard will send an alert to the reciever and the reciever have to check the blackboard for the message. class Subscriber{ public: virtual ~Subscriber() {} …

Member Avatar for Banfa
0
371
Member Avatar for jjones0150

I need a form that accepts scores from the user, displays the total, count, and average of the scores, and displays a dialog box that lists the scores. Operation The user enters a score. If the user clicks the Add button or presses the Enter key the application calculates and …

Member Avatar for jjones0150
0
840
Member Avatar for kidkardel

Good day/night to all; As the title says, its really troublesome. Lets say i have form1 and form2 i want form1 to hide while form2 shows, what i do is get a button and use this code: Form2 trials = new Form2(); trials.Show(); this.Hide(); this will hide form1 and show …

Member Avatar for kidkardel
0
171
Member Avatar for nagennaskar

Hi all, I would like to learn on the best practices in code nad software documentation. Also would be great to learn about tools if any for this purpose. Thanks and Regards Nagen

Member Avatar for happygeek
0
228
Member Avatar for JOSheaIV

I have been developing window form applications for probably the last 4 or 5 years, and have drasticially improved my UI designing, which I am rather proud of, as it's a art form you might say. A whole thing of its own on top of development. But while I have …

Member Avatar for ddanbe
0
183
Member Avatar for shahid_650

i am a student of computer science , i like to be a software application developer , but i am confused still about be ** a java software developer or .Net software developer**.....because in Pakistan 1) .net jobs are more ,2) .net application takes less time to compute,3) mostly people …

Member Avatar for J.C. SolvoTerra
0
381
Member Avatar for peter.dzuya

I am a fresh learner in C#. I have this code below.I managed to display the data from the property table into their respective text boxes. But I failed to display the filtered propertyunits into the xtraGrid. private readonly IPropertyService _propertyservice; private readonly Property _property; private readonly IPropertyUnitService _propertyUnitService; private …

Member Avatar for AleMonteiro
0
196
Member Avatar for Trle94

Can someone help me out writing hex string to file hex address from textbox? This is my current code: private void button1_Click(object sender, EventArgs e) { BinaryWriter wr = new BinaryWriter(File.OpenWrite(listBox1.SelectedItem.ToString())); for (int i = 0x83C410; i <= 0x83C417; i++) { wr.Write(textBox1.Text); } wr.Close(); } But it doesn't work after …

Member Avatar for JOSheaIV
0
216
Member Avatar for christinetom

Hi there everybody. I hope you are all well. I have a question about planning and designing computer programs. Can someone tell me how someone going about a large program would go about this. There would be allot of classes, functions, modules etc. I want to learn how to do …

Member Avatar for Bunny Slimer
0
285
Member Avatar for Elixir42

Hi Answerers, **Background:** I just figured out how to solve my unresolved external symbols by just dragging the project files from explorer (contained in exe's directory) and plonking them in the dll project, under thier own filter! **Original Situation:** I was getting 'unresolved external symbols' errors because I was #include-ing …

Member Avatar for Elixir42
0
279
Member Avatar for iConqueror

I am learning about design patterns in C# specifically the Bridge pattern. The GoF definition for the pattern states "Seerates an objects interface from its implementation". I have a question: Isnt an implementation of the interface always seperate from the interface itself? What exactly does the definition mean? Thankyou

Member Avatar for tinstaafl
0
195
Member Avatar for Mr.M

Hi Dw I know this may not be popular to many people but it a standard for financial industry. I'm developing a WOSA XFS app, I've developed the part that deals with calculating denominations, determines how many CU can be dispensed for each CU denomination. Now the problem is that …

Member Avatar for Mr.M
0
2K
Member Avatar for NetJunkie

The title may not be as clear so let me elaborate a little bit. I am creating an application that minifies CSS and JS files for web developers. All of the code is working perfectly except for one little pesky bug I can not figure out! Here is my code …

Member Avatar for NetJunkie
0
377
Member Avatar for Suzie999

I'm having some problems cleaning up some of the processes my windows form application creates. I'm using selenium which starts a process instance of a browser and a browser driver among other things. Selenium library provides a Quit() method which if called inside my running application works just fine at …

Member Avatar for Suzie999
0
233
Member Avatar for Roisin

Hi, I am working on an assignment in c# where I have to maintain student scores...there is a few questions up here already about it but I am still having problems. I need to create a program that allows the user to enter student names and scores... I gather I …

Member Avatar for JOSheaIV
0
597
Member Avatar for chrishea

As some of you may already know, there are significant health risks that can result from too much sitting. Research shows that it can contribute to weight gain, cardiovascular disease and cancer. This is different from the effects of a lack of exercise. Even if you exercise once a day, …

Member Avatar for janeleonard
0
332
Member Avatar for ocw91

I am currently trying out a code to generate image from html pages and i was trying with the code from [bitmap webbrowser](http://www.charith.gunasekara.web-sphere.co.uk/2010/09/how-to-convert-html-page-to-image-using.html). some how i just keep on getting error when the following method run for second times (i guess the threading is the main issue). i am using …

Member Avatar for ocw91
0
202
Member Avatar for sami9356

Does the design pattern play any important role in the development of quality applications by using structured and object oriented paradigm? Justify your answer with logical reasons.

Member Avatar for Schol-R-LEA
0
265
Member Avatar for mayyubiradar

Hello All, I have searched every forum and google etc but nothing directed me in right path. Requirement: I am using a COM object which can be initialized only once. But, when I try with webapi the first run goes fine and the rest fails as the COM object does …

Member Avatar for pritaeas
0
1K
Member Avatar for AmrMohammed

Greetings, I'm using InstallShield 2010 premier. I need to include another .msi application within the project I'm creating and I do not know how to do this I did googling and I did not find any useful article about this. If any one can help me I'm searching for 3 …

Member Avatar for pritaeas
0
77
Member Avatar for javed.iqbal.3979

Hi coders Can anybody give me steps to access Class Diagram feature in VS 2010.I have searched for it using web but couldn't find it in VS 2010.

Member Avatar for ddanbe
0
152

The End.