199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for fuggles

I am writing a site where I will have a news feed of updates on the front page. I have a table that will store the posts. Its fields are post_id, topic, body, and dateposted. I would like for it to search through the table and get the ten latest …

Member Avatar for KMon
0
78
Member Avatar for loserspearl

Im working on applying a schema to an xml document but my editor (exchanger xml) is giving me some errors I can't figure out Ln 35 Col 67 - s4s-elt-invalid-content.1: The content of '#AnonType_inventory' is invalid. Element 'element' is invalid, misplaced, or occurs too often. Ln 16 Col 58 - …

0
132
Member Avatar for mrjimoy_05

Hi, how can I change the HTML code via VB .Net code? For example, on .aspx file I have: <div class="Menu_On"><asp:LinkButton ID="Link_Menu1" runat="server">Menu 1</asp:LinkButton></div> <div class="Menu_Off"><asp:LinkButton ID="Link_Menu2" runat="server">Menu 2</asp:LinkButton></div> <div class="Menu_Off"><asp:LinkButton ID="Link_Menu3" runat="server">Menu 3</asp:LinkButton></div> Then, when I click the "**Menu 2**" link, the class which coping the link should change …

Member Avatar for hericles
0
361
Member Avatar for JAGjug

Hello! I’d like to write an app for converting *.swf to *.avi Is there any developer's library to do this? Best regards, JAGjug

Member Avatar for Topiary
0
83
Member Avatar for gogs85

This is my code: proc.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; proc.StartInfo.Verb = "print"; proc.StartInfo.FileName = @"C:\Program Files\Adobe\Acrobat 10.0\Acrobat\Acrobat.exe"; proc.StartInfo.Arguments = @"C:\Program Files\Obrasci\PDF\Obrasci finansijskih izvestaja\Statisticki aneks .pdf"; proc.StartInfo.UseShellExecute = false; proc.StartInfo.CreateNoWindow = true; proc.Start(); This code open my pdf file in acrobat 10, but not work with 64 procesor. Please help me!

Member Avatar for gogs85
0
117
Member Avatar for stormik

Hi there, I need to overload istream in this way: it needs to get string, then it has to parse this string and get number - can be longer than long long, and then save this number in another string, which I will give to class method. So far so …

Member Avatar for stormik
0
327
Member Avatar for nschessnerd

Hey, Ive been working on a program for a while, and once in a while it will crash for an unknown reason. I checked the error log and it says exception 0xc0000005 which means i'm writing somewhere i shouldn't. What are some common causes of this? Also is there anyway …

Member Avatar for MastAvalons
0
217
Member Avatar for kiail

Hello, I'm needing help with a query I've been working on for a week now, I've tried using IEnumerable and tried using the query like a var, to no avail. Basically I'm just trying to query a range using LINQ for example, I need to find the range of invoices …

Member Avatar for kiail
0
538
Member Avatar for jarograv

import javax.swing.JOptionPane; public class Login{ public static void main(String[] args){ String username = JOptionPane.showInputDialog("What is the desired username?"); String password = JOptionPane.showInputDialog("What is the desired password?"); boolean unlock=false; while(unlock==false){ String usernameinput = JOptionPane.showInputDialog("What is the username?"); if(username==usernameinput){ String passwordinput = JOptionPane.showInputDialog("What is the password?"); if(passwordinput==password){ System.out.println("access granted"); unlock=true; }else{ System.out.println("denied"); …

Member Avatar for jarograv
0
120
Member Avatar for jhedonghae

![maintenance](/attachments/small/3/maintenance.png "align-left") i have here below codes of my maintenance module..my problem is that when i click the edit button and search for student number it makes error in saving but when i use the listview to edit it saves successfully...please help me i'll be attaching a sample screenshot here's …

0
77
Member Avatar for Madriganoh

I am new in PHP developing a site,Online Graduate Curriculum Vitae System, and a have the following forms to complete with PHP,: -Personal infomation -Desired employment -Occupational field -Work Experienc -Education and Training -Languages -Personal skills and competences -Additional information and aennexes ...then you save your complete CV that can …

Member Avatar for dricks
0
158
Member Avatar for mariel_1013

Hello, Can anyone help me? I am new to programming. I need to create a program that tracks sales. The store owner wants to keep track of monthly sales. 1. Ask the user for the monthly income of the store (one question per month) keep the numbers input 0-50. Store …

Member Avatar for mariel_1013
0
313
Member Avatar for midnightparade

Hi I'm new to python and this forum and I am trying to work on a program that splits the html text file into its components: The HTML file looks something like this: " Hello World #title Today is a Friday. The weekend is coming. Lets have fun. #summary 1923 …

Member Avatar for bumsfeld
0
227
Member Avatar for jackbauer24

Hey guys, sorry I didn't post for long. Now here I am, with a new issue. Here is my code:- import java.applet.*; import java.awt.*; import javax.swing.JFrame; public class HelloWorld extends JFrame { public HelloWorld() { setVisible(true); setResizable(false); setSize(300, 300); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); } public void paint (Graphics g) { g.drawString("Hello World!", 50, …

Member Avatar for JamesCherrill
0
301
Member Avatar for mweshk

Run time error 3251 Current Recordset does not support updating, this may be a limitation of the provider, or of the selected Locktype Friends, I have a VB application that is using Oracle backend database. My code is as below but returns the above error when I try to add …

Member Avatar for BitBlt
0
439
Member Avatar for kampao00

i have codes for adding data to listview from database but there's a problem .. Public Sub showmyrecords() Dim lvi As ListViewItem Dim dt As New DataTable Dim ds As New DataSet ' Dim intCount As Integer ds.Tables.Add(dt) Dim da As New OleDbDataAdapter("Select * from Schedulings where YearLevels = '" …

Member Avatar for kampao00
0
147
Member Avatar for darthswift00

I wana know how can i use a value from a sql table that i added from another form? It basically supposed to validate that whatever was the last recorded added in the other form(eg formA) , i must then use those same values from the sql , into another …

Member Avatar for Reverend Jim
0
3K
Member Avatar for Sravanthi Ch

Hi.. I need to list the directory contets in an FTP folder. Here my requirment is listing the ditectory contents into an array list of directory items. Directory item contains Name, Full Path, Size and Type (File or Subdirectory). Can any one help. Thank you, Sravanthi Ch

Member Avatar for thines01
0
1K
Member Avatar for zachattack05

I have a few code files that are rather large in length. The one I have open right now is approaching 750 lines and is growing quickly. I'd rather not split the class among multiple files, doing that just makes me nuts (even when VS puts the control declarations in …

Member Avatar for zachattack05
0
141
Member Avatar for Majestics

at javax.swing.table.DefaultTableModel.setValueAt(Unknown Source) at javax.swing.JTable.setValueAt(Unknown Source) I am setting a table row manually.... its just for checking purpose , i have 10 rows and 10 columns but still i am getting this error, please help me to resolve it....

Member Avatar for Majestics
0
283
Member Avatar for sinnebril

Hi there again, I'm still a newby in Python, so I'm taking the Google Python Class. They talk about `ls -l` and `rm -rf` (with the last command the class started laughing) But I don't understand it. I googled it and a hint came to me, that is is a …

Member Avatar for sinnebril
0
3K
Member Avatar for mrcerimo

**Hello there! I have been learning c++ for now 6 months and when i started my goal was to use it whit openg or something similliar I made long, long list and its here:** *I learned this stuff from....YOUTUBE! from user called antirtfm and thenewboston and heres the things that …

Member Avatar for mrcerimo
0
401
Member Avatar for dejanc

Hello daniweb, Need someone to show how to get value from gridview column into textbox. For example if I have EmailGridview with 2 columns ID, and EMAIL. And would like under gridview to show Email value also in textbox. I'm still learning vb.net, and I was trying to do many …

Member Avatar for poojavb
0
3K
Member Avatar for ebolt007

Maybe I'm doing this wrong, but here's what I'm trying to do. Ok, so how do I send the URL to a new page? Right now I understand the writing ajax to a div, replacing the contents of the div, appending it etc. But what about if I am using …

Member Avatar for stbuchok
0
433
Member Avatar for Mitja Bonca

I am doing a crystal report, and I would like to dinamiclly add parameters. I did the code which adds the value to one parameter, which I have created in the crystalReportViewer: [CODE]CrystalReport1 cr = new CrystalReport1(); cr.SetParameterValue("ParameterName", ParameterValue); crystalReportViewer1.ReportSource = cr; crystalReportViewer1.Refresh(); [/CODE] But this is for only one …

Member Avatar for darko444
0
3K
Member Avatar for raheel88

Hi all, I'm a VB newbie in this respect so please be patient with me! I have an app that requires the user to input a bunch of values for various things in textboxes, datagridviews and propertygrids. I want this user input to be written to a text file in …

Member Avatar for raheel88
0
185
Member Avatar for tischn

Hi All I am programming a Black Jack. I made a procedure to calculate the Score of the Cards. Here is the code: int calculatescore (int* spieler, int i0) //Der Score wird berechnet { int ausgabe; int i1; int i2; for(i1=0; i1!=9; i1++) { if(spieler[i0][i1]!=0) { i2=spieler[i0][i1]%13; if(i2>=10) { ausgabe=ausgabe+10; …

Member Avatar for L7Sqr
0
308
Member Avatar for darthswift00

Trying to find a way as to how can i display a message box to say stock not available when i link it to my database to show that the quantity_available of the album( typed in and is refered to by the album_id in the textbox) ? here is my …

Member Avatar for poojavb
0
129
Member Avatar for poolet25

Hello again, I am trying to set a filter button into my application and I need a little bit of help.. Acually I want the user enter the city of the customers (etc:Brampton-Ontario ) and the program prints out the customers of the ontario. If there aren't any records to …

Member Avatar for weeraa
0
174
Member Avatar for kampao00

please help me.. i keep searching anywhere but find no answer i want to set the default value of a combobox in my edit account module based on the levelofaccesstextbox in my login module but my codes doesn't work here's my code: Private Sub editaccount_Load(ByVal sender As System.Object, ByVal e …

Member Avatar for jhedonghae
0
139
Member Avatar for jhedonghae

please help me.. i keep searching anywhere but find no answer i want to set the default value of a combobox in my edit account module based on the levelofaccesstextbox in my login module but my codes doesn't work here's my code: Private Sub editaccount_Load(ByVal sender As System.Object, ByVal e …

Member Avatar for jhedonghae
0
157
Member Avatar for dany12

I can’t make the assets work with the code provided by the contributors the only way i can get my css is with a method discovered by someone else on this ciforum `<?php $this->load->helper('html'); $this->load->helper('asset'); echo link_tag(css_asset_url('default.css'));?>` and now I need a similar method or a solution to include my …

Member Avatar for baig772
0
94
Member Avatar for trektrak

Hello guys, I've been playing around with php / sql programming like 6 months now. I would love to know what is the most basic security that I need to apply for php programming ... well at least the basic.. Well if you can list down .. and some snippets …

Member Avatar for dany12
0
175
Member Avatar for ak47carbon

i want to give this type of coding in my website plz tell how can i give 404 error page like in this url http://www.google.com/m.php

Member Avatar for veedeoo
0
122
Member Avatar for ebanbury

Hi Does anyone know how to make this dynamic field 'sticky'. The code as it currently stands does not keep the chosen item showing in the field if there is an error in the form. It just default back to nothing Many thanks <select name="condo_nm" class="maintextnopad" id="condo_nm"> <?php do { …

Member Avatar for ebanbury
0
719
Member Avatar for mehnihma

Can you help me with this code, I do not know what is wrong? Thread is stuck somewhere? import java.io.*; import java.util.*; import java.util.concurrent.locks.ReentrantLock; public class Pokemon { private static ArrayList<String> pokemonList = new ArrayList<String>(); private static ArrayList<Thread> threads = new ArrayList<Thread>(); private static ReentrantLock lock = new ReentrantLock(); public …

Member Avatar for mehnihma
0
168
Member Avatar for Arob3

Ok im debugging this program for school and I have 3/4 parts done but im stuck on this part. class Outfit { private: Dress dress; Shoes shoes; double price; public: static const double DISCOUNT; Outfit(string, int, string, string, int, string); void displayOutfit(); }; const double Outfit::DISCOUNT = 0.20; Outfit::Outfit(string m1, …

Member Avatar for dark_sider_1
0
210
Member Avatar for gsique

Hello everyone! I would like of uses a popup Ajax to open a site. For example: The user access the site, open a popup ajax with a warning: "The site is on maintenance. Close the window to use the page index of the site". How to ? Thanks you!

Member Avatar for simplypixie
0
52
Member Avatar for tarunfuture

An appropriate representation of the requested resource /admin/offers.php could not be found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. i am getting this error while i m trying to update on my form

Member Avatar for vibhaJ
0
79
Member Avatar for abhishek2301

Hello, I need to display 2 images and 2 corresponding radio buttons so that a user can select one choice and then submit. After submit, it should be posted to the server where some image metadata (size, etc.) will be stored in a db and the previous 2 images will …

Member Avatar for vibhaJ
0
133
Member Avatar for frnds2vivek

Hi..actually am stuck up at a place while converting my current projet from DAO to ADO. As there is no equivalent function for Tabledef in ADO..thus i cant figure it out, as to how to replace the following code with. The following code searches for the table with name "BlockTable". …

Member Avatar for frnds2vivek
0
690
Member Avatar for drogba123

Hi guys, I am doing a validation form (3 inputs: number of apple, orange and banana). for example i type: 'a' as input in the form that required only number (apple), it will prompt me error then i type the next input orange: 2 and it will accept it, however …

Member Avatar for Troy III
0
235
Member Avatar for ttrrp

Hello everyone, i am facing a problem with turbo c, when i complie and run the program, the screen just shows a blank black sreen, nothing is executed. you press any button on keyborad, the screen returns back to the editor mode. No program is getting executed, Found no errors …

Member Avatar for ttrrp
0
242
Member Avatar for DGULLIVER

Hi, Pretty new to php so would like some advice on how to insert linefeed to the text area. here is my senario the query: $polQuery = "SELECT * FROM users WHERE user_id='$userid' AND status='active' LIMIT 1"; $polResult = smart_mysql_query($polQuery); $polTotal = mysql_num_rows($polResult); if ($polTotal > 0) { $row = …

Member Avatar for niranga
0
187
Member Avatar for artemisxx

i created a report which exports to excel. it exports just fine. what i want to do now is merge the consecutive cells in a column which have the same values. how do i do this? please help me. this is code that generates the excel body: Protected Sub generateExcelBody(ByVal …

0
187
Member Avatar for abhi10kumar

SELECT * FROM onlinepg as pg, pg_rooms as rooms WHERE pg.pg_id=rooms.pg_id and pg.status=0 AND ( rooms.roomtype='Sharing Basis' ) How I can write above query in PHP.. so that I can run successfully on mysql.

Member Avatar for abhi10kumar
0
180
Member Avatar for Mxlfa

I'm having a bit of trouble on a web framework, I know that you can use a web application framework to build websites, but what language can you use to build a web framework?? c#, java, php do you use the Zendphp framework or cake or something smilar to building …

Member Avatar for baig772
0
173
Member Avatar for j23

The problem I'm having is that the line = header('location: loggedin.php'); is not bringing jumping to the loggedin page when I enter the correct Username and pword. Can someone see where my problem is? <?php $error = ''; session_start(); //connect to db $connectdb = mysql_connect("","",""); //select database $selectdb = mysql_select_db("") …

Member Avatar for baig772
0
157
Member Avatar for Onlineshade

I have face some problem with java swing component.I need to show at least 200 data in a jtable.But here is the limitation in Jtable to show at most 100 data.How can I solve this problem?? I am using mySQL data base for handling data.So it is too difficult to …

Member Avatar for Onlineshade
0
218
Member Avatar for jbutardo

Hi, I have this textbox that has been inputted by date in the format of MMM-yy using a datetimepicker. TEXTBOX Jan-11 Now I need to get the exact date on the textbox to be inserted in a string. string1 = Cdate(txtbox1.text.trim) but in this code, the inputted text on the …

Member Avatar for poojavb
0
197

The End.