199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for yehernpoh

Hi! I am using concert tech to link Cplex with C++ Coding. There is an error that pop up when I tried to run: error C2676: binary '+=' : 'IloNumVar' does not define this operator or a conversion to a type acceptable to the predefined operator Below is a portion …

Member Avatar for WaltP
0
176
Member Avatar for minimee120

Hi guys, I'm a real beginner at using Java, it's taking me almost all day to get what I've put together so far, but I'm having a real hard time getting it to print out the average, total, and count when I run my code and input my numbers, Here's …

Member Avatar for minimee120
0
167
Member Avatar for Denden17

Hello . need help about sql statements im using this in my VB.net project about sorting Varchar2 datatype like a Number for example //I want this to be outputed. 1 2 3 4 4A 4B 5 6 But when i use this SELECT PUROK FROM TBLPUROK ORDER BY ldap(PUROK,10) ASC …

Member Avatar for Reverend Jim
0
216
Member Avatar for Navlag

Here is some code (snippet) from a function I have that takes a users "user_name" and "password" as parameters. There is an if else statement that triggers along the way, basically, if there is a value $v, then it look ups the users user_name and password in a table and …

Member Avatar for LastMitch
0
297
Member Avatar for beholdafrica

Please am a final year student in a university studying Bsc Information technology. am about to start my final year project and i need some titles, please feel free to suggest any title, weather it a project you have done before or not, please i need your support to select …

Member Avatar for stultuske
0
171
Member Avatar for llandis3

I have the set of code writen in vb 2010 to reformat a text file of ip address and give me ipsec command to block the ipaddress to my server. It takes a long time when I'm doing 1000+ Ip Address to block a country. This might not be able …

Member Avatar for llandis3
0
144
Member Avatar for Summer995

After debugging, I find myself in a "loop" of sorts. The program is not recognizing the letters in the gameWord enough, to compare to the letters inputed. Could someone please tell me what I've done wrong. Thanks. using System; namespace Hangman { class Program { const string letters = "abcdefghijklmnopqrstuvwxyz"; …

Member Avatar for nmaillet
0
141
Member Avatar for Yorkiebar14

Hey, I was wondering if someone would be able to tell me how I can let a user fill out a form and it would create a page with that information for other people to see (Sort of like a forum). I currently have no code for this but I …

Member Avatar for phorce
0
326
Member Avatar for Yorkiebar14

Hi, How could I generate a new number/ID for a new line in my database? Tell me if I'm not clear enough. Thanks

Member Avatar for Yorkiebar14
0
155
Member Avatar for nickg21

Hey everyone, I have the following two queries, and want to know why the first one would return a count of 52, but the second would return a count of 51 when technically they should be the same; SELECT count(*) from Inquiry Inner Join NoDecision on Inquiry.ID = NoDecision.InquiryID_fk Inner …

Member Avatar for urtrivedi
0
143
Member Avatar for vegaseat

The Tkinter library folder \lib-tk contains a module called turtle. You can import this module and experiment with turtle graphics. Tell the turtle to move and draw circles, lines, rectangles and more, and watch it, as it performs on a Tkinter canvas. In typical turtle fashion it moves at its …

Member Avatar for woooee
0
2K
Member Avatar for websols180

hi; i am facing this trouble in paginatoin " Notice: Undefined index: start in F:\wamp\www\Cybertraders\demo_paging1.php on line 16 " $page_name="demo_paging1.php"; $start=$_GET['start']; > the upper line is line 16 if(strlen($start) > 0 and !is_numeric($start)){ echo "Data Error"; exit; }

Member Avatar for websols180
0
302
Member Avatar for furianera

Hello everyone, i read all the discussion about "web scraping" here in DaniWeb forum but i didn't found a solution to my problem. I have to extract "title" and "content" of news from a website. I wrote (after reading a lot of "tutorial") these lines: $dom = new DOMDocument(); $dom->load('http://www.php.net'); …

Member Avatar for Squidge
0
167
Member Avatar for compulove

Hello! I need helping using the DataGridView in vb. This needs to show the degrees from 2001 and 2003. I displayed some examples also! The things this needs to display are the following: 1. Display degrees in alphabetical order by field of study. 2. Decreasing percentage of those enrolled for …

Member Avatar for AndreRet
0
167
Member Avatar for kinjal.shukla.77
Member Avatar for stultuske
0
81
Member Avatar for Lynne Good

<select name="header"> foreach(options_typography_get_google_fonts() as $face2) { echo '<option id="fontface2"'; echo 'name="fontface2"'; echo 'value="'; echo $face2; echo '"/>'; echo $face2; echo '</option>'; echo '<br />'; } ?> </select> I have stored the chosen value from the drop down list into a session. What I am trying to accomplish is "selecting" the …

Member Avatar for Lynne Good
0
294
Member Avatar for xtianpark

**** GOOD MORNING GUYS ,, DOES ANYONE KNOWS HOW TO HIDE THE BOX APPEARING IN THE PICTUREBOX IN VB ? MY PROBLEM IS ONCE I PUT BACKGROUND IMAGE IN THE FORM TOGETHER WITH THE PICTURE INSIDE THE PICTUREBOX .. AND WHEN I RUN THE PROGRAM THERE'S A BOX APPEARING BEHIND …

Member Avatar for TnTinMN
0
121
Member Avatar for ayat abukhadra

Hey, I've been working with a company which basically works with vb6 and now we're trying to re-write the applications they developed using vb.net any recommendation for where i should start searching , what we're thinking of is to create application programmatically and then loading forms from access then looping …

Member Avatar for TnTinMN
0
500
Member Avatar for prisacariualex

Hello everyones. I have a problem: I created the code to update a database. Everything work( no error message0 but when I go to see the table in the place where needed to be the updated information is nothing(""). Please help! The file who update the information(ap1i_moc.php) <?php // Conectare …

Member Avatar for prisacariualex
0
129
Member Avatar for gerard4143

Does anyone know how to do this? I attached a program that collects all the command line arguments into a map container noting how many times each command line argument occurs. Now I want to sort this map of information by loading a vector with iterators that point to each …

Member Avatar for vijayan121
0
524
Member Avatar for mohana_61

hey friends, i am new to vb.net so i have a problem to sort out.Can u pls help me. In my form i have a combobox and textbox,when i select an value from combobox then in the txtbox it has to automatically generate value (from database) corresponding to value selected …

Member Avatar for mohana_61
0
295
Member Avatar for HibaPro

hey everybody , anyone can help me by some ideas as design and coding to calculate the Labour Productivity ?? i have the labour type stored in combobox and the salary as input to DataGrid view and accomodation , Social Security , overtime, Sick day, Dayoff, Transportation.... how i can …

Member Avatar for HibaPro
0
119
Member Avatar for sundog1

Hi Guys, I have a form with a DGV and some text boxes.. I am trying to get the program to update the rows shown on the DGV by using the values in the text boxes. Below is my code so far: private void btnOrderEdit_Click(object sender, EventArgs e) { System.Data.OleDb.OleDbCommandBuilder …

Member Avatar for Mike Askew
0
226
Member Avatar for av11453

In the java policy file what will happen if we comment out //permission java.lang.RuntimePermission "stopThread";. My understanding is that we can't call thread.stop() anywhere in the program am i rite? If we call it should say "Access denied"... If any Text area is built with AWT closing it by clicking …

Member Avatar for NormR1
0
334
Member Avatar for straylight

Hello, I am very new to C and having the hardest time with arrays. I am attempting to find a pivot point in a sorted array for example { 1 2 4 5 9 } might become { 5 9 1 2 4 }. I am thinking it should be …

Member Avatar for deceptikon
0
593
Member Avatar for vimit

Hello, I am facing a problem in creating setup project in C# window applications. Actually I have made two pojects, one fee managment system and library management system. In library management project i have merged the fees management project, so that i can reuse Student entry and updation forms in …

Member Avatar for arunkumars
0
270
Member Avatar for turbomen

Code a decision using an IF, THEN, ELSE statement (2 branch decision) Code a one branch decision using a null else statement The following is my answer: [CODE] program Negatives; {$APPTYPE CONSOLE} uses SysUtils, ourcrt; var balance, posNeg:integer; begin randomize; writeln ('Generating your bank balance'); writeln ('Please wait .....'); sleep …

Member Avatar for htir
0
205
Member Avatar for kshahnazari

I have a simple question about regular expression and Im new to php so sry about my bad questions , what is the meaning of ^ and $ in regular expression and please give examples that if we dont put them it will go wrong . thank you

Member Avatar for kshahnazari
0
176
Member Avatar for israruval007

I need help creating xml file with C# ok lets say I have the following users.xml file that contains the following <Users> </Users> After executing the C# code below public void addUser() { string filePaths = "users.xml"; XmlDocument xmlDoc = new XmlDocument(); string user = textBox2.Text; // USER INPUT if …

Member Avatar for Mike Askew
0
349
Member Avatar for czxzxcXZ

Hi, I would like to question about setting up the element types I am currently developing a catalogue of course desriptions so I have an element that is, <xs:element name="code" type="this is the problem" /> inside this is the problem, I am supposed to include type that allows me to …

Member Avatar for Mike Askew
0
195
Member Avatar for fritafana

I just want to connect my mysql with vb.net code as below: But,for some reason I cant figure out the problem i have also added the mysqldata.dll in my reference. all the input in connection string is valid and there is no error in the code. it just shows cannot …

Member Avatar for artemix22
0
192
Member Avatar for phpHelp

Hey guyz, I am here again with a PHP issue... I need to upload an image and create a thumbnail for the same. Yeah it's so simple. But the difficult part is that the user will create the thumbnail (not crop) by his own choice. Please help.

Member Avatar for pritaeas
0
141
Member Avatar for israruval007

Ok lets say i have the following xml file <Users> <User> <Name>Jonathan</Name> <Tests> </Tests> </User> <User> <Name>John</Name> <Tests> </Tests> </User> </Users> Im writing a C# program, and what I want is to search for a specific name(eg Jonathan) and add elements and values to that specific tag in my xml …

Member Avatar for israruval007
0
403
Member Avatar for shwetakharat84
Member Avatar for WvTxMan_1

I have created a form in netbeans with two radio buttons in a button group with a text box. Box 1 = Yes Box 2 = No when form loads no is already selected. I want the text box to be ivisible until user selects yes. but everything I have …

Member Avatar for JamesCherrill
0
203
Member Avatar for ninad.chandoskar

Hi guys, I'm a student and need to practice Oracle SQL queries since we have Advance SQL in our syllabus. I have Intel-based MacBook Pro running Mac OS X Snow Leopard 10.6.8. I just downloaded the SQLDeveloper for Mac and unzipped it. The application executed and started well. But I'm …

Member Avatar for debasisdas
0
535
Member Avatar for ctclements

import java.io.File; import java.util.Scanner; import javax.swing.JFileChooser; import javax.swing.JOptionPane; import javax.swing.UIManager; public class TextAnalysis { public static void main(String[] args) throws Exception { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); JFileChooser chooser = new JFileChooser("c:/users/zachary/demo"); int outcome = chooser.showOpenDialog(null); if (outcome == JFileChooser.APPROVE_OPTION) { File f = chooser.getSelectedFile(); Scanner words = new Scanner(f); String word = JOptionPane.showInputDialog("Enter …

Member Avatar for Majestics
0
2K
Member Avatar for niyasc

I have made a simple socket program so that client can connect to server by specifying ip of system in which server is running. And in server we can type characters which will be received by client and client will store it in a file. I want to clear some …

Member Avatar for np complete
0
5K
Member Avatar for chira9na9pal
Member Avatar for zacharysr

Hello, i am making a keyboarding site for my class, and i have a div with some text inside, when they type, i want to check if the text matches the text in the div, if it dosn't, i wan't to update a box with an "error count". How can …

Member Avatar for Troy III
0
286
Member Avatar for poojavb

Hello, Can we perform bulk insert for SQL data? I have the complete SQL data in text files. There are multiple tables and the corresponding text files. I tried to do the bulk insert but always got some new error. Please help me to get an answer. My code Imports …

Member Avatar for poojavb
0
1K
Member Avatar for iamthwee

Yeah, basically if you're using PDO for dbs, and you're using a framework which uses MVC, how would you change the code? I was assuming you would just use the classes in the MVC but then you wouldn't be using the benefits of PDO? Does that make sense?

Member Avatar for jkon
0
582
Member Avatar for honeybee2090

i have 1 text box and 1 button in my application text box have items like this 24.192.72.54:27799*71.163.168.187:40807*93.31.71.187:2541* 24.140.130.144:49251*76.15.157.93:16811 now what i want to do? when i press button then txt change in to this format , like this 24.192.72.54:27799 71.163.168.187:40807 93.31.71.187:2541 24.140.130.144:49251 76.15.157.93:16811 some when can help me? please

Member Avatar for AndreRet
0
273
Member Avatar for cempli.branom

I wrote code Private Sub cmdok_Click() Dim rs As New ADODB.Recordset Dim strSql As String Set rs = New ADODB.Recordset rs.CursorLocation = adUseClient rs.LockType = adLockOptimistic rs.CursorType = adOpenDynamic strSql = "SELECT * FROM tb_absensi " & _ " WHERE nrp='" & cmbnrp & "'" & _ " AND tanggal …

Member Avatar for AndreRet
0
181
Member Avatar for jeaninem71

I am a newbie so please forgive my ignorance. I need help with this program, it is outputting 1s for the functions. I know it's something simple, but like I said I am new and don't know what to do. #include <iostream> #include <cctype> #include <string> #include <iomanip> #include <cmath> …

Member Avatar for np complete
0
338
Member Avatar for jeaninem71

Here is a second one I am stuck on. This one is working correctly, but I didn't know how to go about doing a function for the output of line 9 so that put me into problem of not being able to figure out how to get line 10 to …

Member Avatar for np complete
0
223
Member Avatar for nmahmood630

This is the problem I am suppose to solve: A mail order house sells six different products whose retail prices are as follows: Product 1, $3.75; Product 2, $5.95; Product 3, $8.75; Product 4, $6.92; Product 5, $8.75; Product 6, $7.87. Write an application program that reads a series of …

Member Avatar for nmahmood630
0
1K
Member Avatar for neolyte120109

Hello every one., .. i have this problem about the datagridview.. i try many codes which are being posted by other person to other forum sites. As i can see the codes are really working, but not for me .. i can add, delete, and retrieve data, but it doesn't …

Member Avatar for ChrisPadgham
0
3K
Member Avatar for nathanpacker

Hey, I've got a simple little table that has only 3 fields. ID (primary key, auto-increment), cat_name, and cat_num. I need to know how to get my php script to go into that table, and increase the value in cat_num by one on every row. So for instance, here is …

Member Avatar for tgmsocal
0
3K
Member Avatar for jeets1892

Hello, Please take a look at the below code - #include<iostream> #include<ctime> // for the time() function #include<cstdlib> // for the srand() and rand() functions using namespace std; int compInput; int userInput; int die1 = 0; int die2 = 0; int Dice () { // set the seed srand(time(0)); // …

Member Avatar for jeets1892
0
2K

The End.