199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sirlink99

Hello Everyone. I am wondering if anyone has any experience working with Korean characters. I attempted to find out how to split them up, but I have had no success thus far. What I was thinking is having a character like "안" and having it split up into "ㅇ", "ㅏ"and …

Member Avatar for sirlink99
0
428
Member Avatar for jay.barnes

Hi, all I'm working on a website that is comprised of two iframes within several nested divs ( the frames named "frame-menu" and "frame-main"). Displaying as such: <div id="wrapper"> <div id="header">Header text/image goes here</div> <div id="menu"><iframe name="frame-menu" id="frame-menu" src="menu.php" frameborder="0" height="30"></iframe></div> <div id="main"><iframe name="frame-main" id="frame-main" src="login.php" frameborder="0" width="878" height="700"></iframe></div> <div …

Member Avatar for diafol
0
590
Member Avatar for sbglobal

hi I want to change the width of column in Gridview bound field but it is not changing . Code Is [code] <asp:BoundField DataField="Address" HeaderText="Address" SortExpression="Address"> <ItemStyle Width="500px" /> </asp:BoundField> [/code] thanx

Member Avatar for grovalmitchul
0
597
Member Avatar for AntonyRayan

Hi everyone, I am creating a invoice page, for that in the invoice table I have fields like(id, ionvoice_no, invoice_date,client_name,address,service_cost,tax,etc). While I enter invoice, I don not want to enter invoice, but it should change automatically from 1 previously it has to check whether already invoice number is or not. …

Member Avatar for mangel.murti
0
6K
Member Avatar for autoXP

need some assistance. I am currently learning vb.net with sql. I have two textboxes (txtValue and txtText) , a dropdownlist (ddl1) and save button (btnAdd). I insert value to txtValue and txtText (eg: txtValue: A and txtText: Apple). when i click button Add, The value will display in dropdownlist (like …

Member Avatar for autoXP
0
447
Member Avatar for basitji

hi all friends plz help me. i have an assingment giving by sir. write a program that accepts three values from user and print the highest value from them? remember: The program should be for turbo c.

Member Avatar for rubberman
0
101
Member Avatar for Petcheco

Hello, guys. Here's the challenge: 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20? I wrote my code: #include …

Member Avatar for Petcheco
0
321
Member Avatar for rnyamonga

Hi guys, I need help with some homework... hopefully this is the right forum. So my last project assignment is making a shopping cart and having the user add, remove items therefrom. I am having a problem adjusting the totals after the items get removed from the cart: Using Lists …

Member Avatar for rnyamonga
0
728
Member Avatar for jay.barnes

Hi, all I have a web page that breaks down to several divs, two of them containing iframes (one for content, one for a menu): <HEAD> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <link rel="stylesheet" type="text/css" href="styles/default.css?ver=33"> </HEAD> <BODY> <div id="wrapper"> <div id="header">Welcome to my website</div> <div id="menu"><iframe name="frame-menu" id="frame-menu" src="menu.php" frameborder="0" height="30"></iframe></div> <div id="main"><iframe …

Member Avatar for jay.barnes
0
3K
Member Avatar for bananacat

Hi. I'm using 3 classes: the Character class, the Scanner class, and the Test class. This is the Character class: public class Character { private char cargo = '\u0007'; private String sourceText = ""; private int sourceIndex = 0; private int lineIndex = 0; private int columnIndex = 0; public …

Member Avatar for rproffitt
0
350
Member Avatar for DaveAmour

I am tinkering with prototypal inheritance in JavaScript. I have the code below and I am trying to find out if there is a way of getting the code which makes Cat inherit Animal actually inside the Cat function - so that it is all niceley encapsulated as one unit …

Member Avatar for Troy III
0
404
Member Avatar for Faixan_1

Hi when i click on a link and there are three select box populated dynamically now i want to change the first select box value and want to add the third one select box value add.as much as i populated select box all the value of third select box is …

Member Avatar for Faixan_1
0
477
Member Avatar for RikTelner

recently ive seen video of a man which showed on how A* works, that is some algorhythm for pathfinding in 2d in games, to show this he made a game in c# (visual studio only), where he could explore the "maze" board in 3d and could see the red square …

Member Avatar for RikTelner
0
2K
Member Avatar for paul1145

Public Function setEmailSend(ByVal sSubject As String, ByVal sBody As String, _ ByVal sTo As String) As Boolean Dim oApp As Outlook._Application Dim oMsg As Outlook._MailItem setEmailSend = False oApp = New Outlook.Application oMsg = CType(oApp.CreateItem(Outlook.OlItemType.olMailItem), Outlook._MailItem) oMsg.BodyFormat = Outlook.OlBodyFormat.olFormatRichText oMsg.Subject = sSubject oMsg.To = sTo 'here I need the current …

Member Avatar for paul1145
0
672
Member Avatar for Julie_2

7— File Data Statistics In this project, you will write a program to read a series of values from a file and calculate the following statistics: • A count of the number of values read from the file • The sum (total) of the values read from the file • …

Member Avatar for vegaseat
0
187
Member Avatar for CodeWarrior14

Hello, A simple program I am writing uses a struct to store a key and key size variable. However I get an error that states that my struct variable is being used without being initialized... I dont really know why it is telling me that. Code: `keygen.hpp` #include <ctime> #include …

Member Avatar for jencas
0
177
Member Avatar for divinity02

hi everyone i am building this java command line game. it is called counting numbers game. here is the detail descripbing of the game This game consists of 10 questions which are broken down into 3 game rounds. See below for rules regarding the game rounds: Round 1 This round …

Member Avatar for rubberman
0
236
Member Avatar for 04279169

04279169@uofn.edu.om Do Muluplication in this program ? #include<iostream> using namespace std; class Node { private: int row;// different data type for other apps int column; int value; Node *next; // the link pointer to next item public: Node(int x=0,int y=0,int z=0,Node * ptr=NULL); // constructor int getRow(); int getColumn(); int …

Member Avatar for startomana
0
211
Member Avatar for kxjakkk

I'm attempting to make a small program that when a user inputs a string, it counts all the letters. Here's what I've got so far: import java.util.Map; import java.util.HashMap; import java.util.Set; import java.util.TreeSet; import java.util.Scanner; public class LetterTypeCount { public static void main(String[] args) { // create HashMap to store …

Member Avatar for JamesCherrill
0
311
Member Avatar for autoXP

I need some assistance here. I currently learning and i would like to create a simple webpage (as a hobby). I have two textboxes (textbox1 and textbox2) , a dropdownlist (ddlist) and save button (btnSave). I insert value to textbox1 and textbox2 (eg: textbox1: A and textbox2: Apple). when i …

Member Avatar for autoXP
0
241
Member Avatar for SoMa_2

I want to display images based on what user checked from number of checkboxs. I'm trying this code, but it not working <!Doctype html> <html><body> <form method="post" action="" id="myForm"> <div class="opt-first"> <h1><b>Subject</b></h1> <input type="checkbox" value="Account/Finance" name="subject[]" /> Account/Finance<br /> <input type="checkbox" value="Marketing" name="subject[]" /> Marketing<br /> <input type="checkbox" value="" name="subject[]" …

Member Avatar for diafol
0
1K
Member Avatar for westsiderailway

hi there, Dim queryString As String = "select avg(pumpnum) from petrol_table" Using adapter As New SqlDataAdapter(queryString, connectionString) Dim table As New DataTable adapter.Fill(table) Dim row As DataRow = table.Rows(0) TextBox5.Text = row.ToString as the code stands now, all i get in the textbox is "system.data.datarow" the column called "pumpnum" is …

Member Avatar for westsiderailway
0
3K
Member Avatar for haven_u

Could someone help me out with implemeting a simple http POST method that receive and data through a socket. I would like to know how to simply get values entered in a html form. Since data receive form the socket includes headers as well as the actual data of interest.It …

Member Avatar for snippsat
0
187
Member Avatar for saifN

Hi, What is the time complixity of the following code: Can you please give rules to follow , I couldn't figure it out! func(n) s←0; for i←n to n^3 do j←1; while j < i^2 do j←j×2; s←s+j−i; return(s); Thanks

Member Avatar for Ene Uran
0
169
Member Avatar for ralf.frix

I am trying to access the site hacksummit.org but it kept on being redirected to Freelancer's site. Any ideas as to why this happens?

Member Avatar for ralf.frix
0
122
Member Avatar for python1

How can we save a text file we make using python in another directory?The default directory is always the directory in which , the program is ? is there any way to change this?Can this be done when we are creating the file (FILE=open(filename,"w")) thanks in advance

Member Avatar for Parikshit_1
0
44K
Member Avatar for elamigosam

hello, I am having issues inserting comma separated values to my database, this is what I have: $invoiceProducts = "14:12,"; // eventualy the 14:12, will multiply to other values 43:2,34:1,45:1, etc $invoiceProducts = addslashes($invoiceProducts); //stripslashes() to remove the slashes tried with and without stripslashes. $stmt = $conn->prepare("INSERT INTO invoices (invoiceActive, …

Member Avatar for elamigosam
0
329
Member Avatar for jamesjohnson25

The perl command is perl /opt/translation/moses/scripts/tokenizer/tokenizer.perl -l en < Eng-hin.translation.en > Input/tokenization/Eng-hin.translation.tok.en I want to execute the above perl command in python script ,Here the perl command is executed successfully in Popen() but no output file is created at location "Input/tokenization/Eng-hin.translation.tok.en". var = "-l en < Input/Corpus/"+inputfilename+" > Input/tokenization/Eng-hin.translation.tok.en" pipe …

Member Avatar for woooee
0
415
Member Avatar for SoMa_2

this code will display all courses user has <h1>YOUR COURSES</h1> <form action="delete.php" method="POST"><ol> <?php $con=mysqli_connect("localhost","FYP","123","FYP"); $sql= mysqli_query($con, "SELECT C_Code FROM F_COURSES WHERE F_ID=".$_SESSION['userid']); while($row = mysqli_fetch_array($sql)){ echo "<li name='course'>".$row['C_Code']."<input type='submit' value='Delete'>";} ?></ol></form> I need when user click on delete button that course delete from F_courses <?php session_start(); if (! empty($_SESSION['logged_in'])) …

Member Avatar for broj1
0
382
Member Avatar for Pobunjenik

So I'm building this pretty simple top trumps card game as part of an assignment. I have the game logic built, the swing GUI is in place and I plan to do all the calculation on the server app and have it update the client up with the game's state, …

Member Avatar for Pobunjenik
0
688
Member Avatar for Kenneth_3

I am trying to compile the following code and I keep getting a reference error for my output file through a function. The purpose of the program is to read a file, sort through arrays, and output into a certain form. I am sure it is something small, but I …

Member Avatar for Kenneth_3
0
165
Member Avatar for karodhill

a)I am working on a payroll program The first base class is bonus the class should contain 2 public properties salesid and sales. Include a default constructor and a parameeterized constructor in the class.Also include a a getbonus method(function) that calculates a salespersons bonus using the formula sales*0.05 b) create …

Member Avatar for karodhill
0
252
Member Avatar for PM312

I am trying to update pdf file to sql but getting error (line 17) as **operator '&' is not defined for types 'string' and '1-dimensional array of byte'** on beow line cmd.CommandText = "UPDATE PDC_CHQ_IN_HAND set PDC_CHQ_IN_HAND.PDF='" & data & "'WHERE PDC_CHQ_IN_HAND.RefNo='" & TxtRefNo.Text & "'" * my code is* …

Member Avatar for PM312
0
3K
Member Avatar for CSprogA

basicly my project is making a shopping list which allow the user to: - type 1 to add a new shopping list - type 2 to add an item on existing shopping list - type 3 to check certain items in a certain list as bought - type 4 to …

Member Avatar for Schol-R-LEA
0
9K
Member Avatar for Melissa_2

I am working on an assignment for my object oriented programming class, it is a very simple program, but it has raised a question. My assignment is to create a rectangle class where I just assign points. The thing is we write our programs with notepad and run them through …

Member Avatar for JamesCherrill
0
168
Member Avatar for William_17

Hello everyone, I need a little help from you guys. I need to find the position of some strings , these strings store in a file named "queryfile" , from an other file named "datafile". However, my programe just work on a single "word" , can't find the position of …

Member Avatar for rubberman
0
240
Member Avatar for westsiderailway

Hello everyone, Dim SI As String = "" SI = CheckedListBox1.SelectedItem Dim TextcommandSQL As String = "" Dim myCOLUMN As String = "" myCOLUMN = ComboBox1.SelectedItem TextcommandSQL = "SELECT * FROM test_table where " & myCOLUMN & " = " & SI MsgBox(TextcommandSQL) Dim con As New SqlConnection con.ConnectionString = …

Member Avatar for westsiderailway
0
372
Member Avatar for amaya Gimhani

model controller function viewdashboard(){ $this->load->model('AgentPerformance/agentPerformance_model'); $value = $this->agentPerformance_model->dashboard(); //echo $value; return $value; view <html> <head> <script src="http://code.highcharts.com/highcharts.js"></script> <script src="http://code.highcharts.com/modules/exporting.js"></script> <script> $(function () { $('#container').highcharts({ chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false }, title: { //alert('ttttt'); text: 'Browser market shares at a specific website, 2014' }, tooltip: { pointFormat: '{series.name}: …

0
169
Member Avatar for markdean1989

Hi, my question is very simple. Like the title says; How to declare an object? I have this declaration in my program; Class_name Object_name; and it is giving me an error, saying "Expected a ';' before "Object_name" And this is driving me nuts because putting a ';' before the object …

Member Avatar for deceptikon
0
378
Member Avatar for Mayukh_1

Hey is there anybody who works with SDCC to make projects for 8051 microcontroller series on Macbook. If yes then can you please post the working make file, specially the part which loads the program in the device. I am confused what to write specifically with the program tag in …

Member Avatar for Mayukh_1
0
763
Member Avatar for derekcpt

Guess this is javascript. Similar as in excel, (I have seen this before), lets say I have 3 fields in a form. Now when entering a numeric value in field 1, and lets say field 2 has the value of 5, then the value of field 1 times field 2 …

Member Avatar for jubbar003
0
185
Member Avatar for Erica_2

So i am back again, working with arrays this time. I can get it to run in the main but i am not sure how to make this code into a void function . #include <iostream> #include <iomanip> #include <string> using namespace std; int main () { // Declare variables …

Member Avatar for Erica_2
0
589
Member Avatar for complete

I have a silverlight app that uses TextBox XAML controls. In the c++ code-behind, IXRTextBoxPtr types are associated with these textboxes using "FindName" like this: FindName(L"ColNum3", &m_pColNum3); (where ColNum3 corresponds with the XAML CODE like this: ) Then, the code assigns the pointer like this: std::wstring wsTransfer; // gets the …

Member Avatar for complete
0
882
Member Avatar for markdean1989

I have an issue with the random generator. I use the code; myNumber = rand() % 100; //for numbers 1 - 100; My problem is, the numbers getting generated have a pattern. Such that the first output is 33, 43, 62, 29, 0, 8 ... Why is this so? I …

Member Avatar for rubberman
0
637
Member Avatar for J.C. SolvoTerra

I was wondering if there was an existing method within the .Net frame work which will copy every nth element of an array to a differant array with an initial offset e.g. Original Source Array (Bytes) 11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30 Original Target Array 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 Source Offset 1 Source Step 3 Target Offset 3 …

Member Avatar for overwraith
0
2K
Member Avatar for PatrikIden

Hello i have this codes to try to get this working. But when on ./index.html all the li are given a class of current_yes exept for the ./clients.html link. And the other way aroud if i go to Clinets/clients.html then all li exept ./index.html are given a class of current_yes. …

Member Avatar for PatrikIden
0
326
Member Avatar for imti321

I am getting this error while trying to login to my school managment software.It gives error message when i dont write anything in username and password but when i type correct login details it gives this error An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll Additional information: A connection …

Member Avatar for imti321
0
232
Member Avatar for sciwizeh

I'm porting some code from a book about ray tracing from C++ to Java, because I like java better and it seems like a decent way to learn how the code works. I ported the code for the Torus Primitive and all seemed well, until I tried to view it …

0
345
Member Avatar for Dipanjana

Hi , i hv created 2 tables : a Department table with fields Deptname , Deptid and Employee table with Empid , Empname, Salary . I have created a datagrid with fields empname , address , Salary , Deptname and edit and delete command columns . By clicking on edit …

Member Avatar for tarunap
0
381
Member Avatar for soraa

hello, i m working on connecting sqlData with C# form showing data detail on text boxess like ID,name,occupation.and doing the search by entering the ID on textbox then clicking the button to show the details i'm just a beginner in C# so i did the the coding like this and …

Member Avatar for soraa
0
612

The End.