199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for softDeveloper

Hi all! Can anyone help me on finding out if it is possible to fill an iframe in a jsp loading text from MySQL? or a different way to do it? Thanks in advance [CODE] Example: <% Connection conn = null; Statement stmt = null; ResultSet rs = null; String …

0
115
Member Avatar for Peter4n31

Hello, I need to update my older Autodesk plug-in. And I am having troubles get it through. (They changed one function) This is a new definition which I cannot change: [CODE] CoreExport virtual void EnumAuxFiles(AssetEnumCallback& assetEnum, DWORD flags);[/CODE] And here is my code: [CODE] class CheckFileNames: public AssetEnumCallback { public: …

Member Avatar for Peter4n31
0
372
Member Avatar for rmbrown09

(I have another thread on the main page here but that was directed towards getting some basic file structure issues worked out) Problem: I need to create a dictionary that has words that are look-up-able, from a text file. I need to have two classes (Word, Meaning), one for the …

Member Avatar for jaskij
0
533
Member Avatar for rickbolt

Right I'm new to the whole web design so I thought I'd make an account on here to get some help. What I am wanting to do is have a songs name Artist - Song name to be linked so that when it is pressed then youtube loads in a …

Member Avatar for rickbolt
0
115
Member Avatar for myk45

Hello! I have a sample application. I just put a breakpoint at the beginning of main(). The callstack pointed to a function called mainCRTStartup() and before that, the kernel32.dll was present(grayed out). Can anyone please tell me what these functions are, and who invokes them? Thanks in advance!

Member Avatar for deceptikon
0
143
Member Avatar for GAiXz

Good Day Programmer's ^_^ i'm having a problem with this two DateTimePicker in DateTimePicker1 the format or value is "dd-MMM-yyyy" or "01/Jan/2012" and in DateTimePicker2 the format or value is "yyyy" or "2012" when i change the year in DateTimePicker2 to change the year in DateTimePicker1 i'm getting an error.. …

Member Avatar for codeorder
0
2K
Member Avatar for ronvenna

Hello I am supposed to find a bunch of different statistics from a text file for a homework assignment. I have found everything except the shortest line that is not a blank line. Can someone help me solve this problem? Thanks [CODE] def stats(): linecount = 0 blankline = 0 …

Member Avatar for woooee
0
533
Member Avatar for AnkitGuru

Hi guys, I'm designing a form and trying to get different opacity values for different controls. How should i do it?? eg. clear visible text floating over 50% opaque form.

Member Avatar for codeorder
0
220
Member Avatar for Mazinger

Hello everyone, I have a problem with an ASP porgram and I will be very glad for your assist. In the database, I have table (BOK) and column (STATUS), this column is a databite with only 1 and 0 values. I have two checkbox in the HTML code. This work …

Member Avatar for arden_k
0
384
Member Avatar for Shardendu

Plz help me out with this : This is saved as myfuncs.c [CODE]int factorial(int num) { int i, f = 1; for(i = 1; i <= num; i++) f = f*i; return(f); } int prime(int num) { int i; for(i = 2; i < num; i++) { if(num%i == 0) …

Member Avatar for Shardendu
0
152
Member Avatar for bhavan kamble

Guyzz My project is on Restaurant Mgm. I stuck to a place,where I have to Delete Values from Multiple Tables in the database This is My code [CODE] Private Sub BtnCancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnCancel.Click Dim id1 As Integer id1 = Cbid.SelectedItem ds.Dispose() con.ConnectionString = …

Member Avatar for Reverend Jim
0
1K
Member Avatar for SakuraPink

Hi everyone, Here is my problem: For my research I need to work with files of 700 Mb. I get "Segmentation Fault" error and while my code works for smaller files, I assumed the large size of the file leads to this problem. That is why I think that I …

Member Avatar for SakuraPink
0
157
Member Avatar for lxXTaCoXxl

If I remember correctly from C# to C++ the following should convert into the second following. I need to create a console application that will output the physical address of the main interface on a user's computer. This in my experience seems to always be the second interface in the …

Member Avatar for DeanMSands3
0
534
Member Avatar for hbluthi

I need to create a print statement as "n" is being popped from the stack, just like I have one for when it is being pushed on to the stack. I understand what is happening on that final return when in the base case, but I don't know how to …

Member Avatar for hbluthi
0
152
Member Avatar for mrsjdoyle73

here is the code that I have. I'm supposed to be able to input 3 employees, display their individual totals and also combined totals. I know there's some error with the functions or adding, because my result is: Employee Name ......................... mary Base Pay .............................. 200 Hours in Overtime ..................... …

Member Avatar for jaskij
0
113
Member Avatar for shotokanpoloto

Hi! My project has two text file:input and output java.util.NoSuchElementException: No line foundread exception Exception in thread "main" java.lang.NullPointerException at java.io.Writer.write(Writer.java:140) at nfa2dfa.NfaToDfa.OutputFile(NfaToDfa.java:217) at nfa2dfa.Main.main(Main.java:30) I don't know what they mean?!

Member Avatar for NormR1
0
244
Member Avatar for nats01282

Hello, im after merging two strings togther from a for each loop. here is what i have [CODE] foreach($html->find('div[class=product_description]') as $post) { $desc_html_puller = preg_replace("/<.*?>/", "", $post); echo $post } [/CODE] that does the trick but i want to use the $post variable out of the for each loop, but …

Member Avatar for nats01282
0
90
Member Avatar for skiturtles

I am a novice at PHP, but I would like to create a simple form that sends to a single email upon Submit. I am running Apache and I don't get any errors, but I never receive my test emails? I press submit, and nothing. Can anybody tell me what …

Member Avatar for Kannan R
0
372
Member Avatar for Axladrian

I got the following error in my code today: Syntax error in INSERT INTO statement. [code=c]OleDbCommand cmd = new OleDbCommand(); cmd.CommandType = CommandType.Text; cmd.CommandText="Insert into Cursanti([ID],[Nume],[Prenume],[Sex],[Varsta],[Ziua-1],[Ziua-2],[Ora-1],[Ora2],[E-mail],[Telefon],[Referal],[Partic/Grup],[Adult/Copil)] Values ('"+id_b.Text+"','"+name_t.Text+"','"+surname_t.Text+"','"+sex+"',"+age_t.Text+"','"+ziua1.Text+"','"+ziua2.Text+"','"+ora1.Text+"','"+ora2.Text+"','"+email_b.Text+"','"+phone_b.Text+"','"+from_t.Text+"','"+ore+"','"+categorie+"')"; cmd.Connection = con; con.Open(); cmd.ExecuteNonQuery(); con.Close();[/code] The error points at "cmd.ExecuteNonQuery();" Searched the other topics, saw that people had similar problems, but …

Member Avatar for Axladrian
0
97
Member Avatar for jcarbillon

My table has these info T123 T153 T174 Basic SQL count works fine which results to (3).. but when I use this function needed for my query the output is 4. [CODE] COUNT(DISTINCT CASE WHEN id LIKE '%T%' THEN RIGHT(ID, 3) ELSE 0 END) AS Count [/CODE] what's wrong with …

Member Avatar for BitBlt
0
160
Member Avatar for razamughal67

Hello i hope all is well I want to block many porn websites in my computer i am new in vb6 and i want to block website in secret where cannot find anybody and cannot unblock website Just we unlock the website Please help me if not block using vb6 …

Member Avatar for razamughal67
0
300
Member Avatar for DAS-03590

I am new to the VB Scripting area and have done a few simple test scripts to get a feel for some of the commands. I am looking for a command that would use a domain user account to be known as a domain admin before running the actual command …

Member Avatar for DAS-03590
0
203
Member Avatar for sylvester3

Hello, Well my application is 37 KB size, but when i start the program it took like 10-15 sec to startup, is there a way or code to make my applications run fast and fresh?

Member Avatar for codeorder
0
109
Member Avatar for andywyndom

I am wondering if anyone wants to try and better this code sample. Here is the request: Given a range of dates (start, end) return all rows that cross that range where the rows contain a start and end date. This appears to work. I just wonder if anyone else …

Member Avatar for andywyndom
0
200
Member Avatar for Waldema

Hi! I'm building website of my own and got a little problem. My home.php is based on image, which contains certain areas to be links to the other areas. I'm trying to use <map> and <area> elements creating the links. Basically code is working just fine, but when I added …

Member Avatar for jackbauer24
0
185
Member Avatar for guccimane

I am learning tutorials online about http client programming using Linux. I found these 2 sample programs, but I am kind of confused on what command line arguments are suppose to be passed to it. I think for program 1, string [1] should be the IP address of the url, …

Member Avatar for DeanMSands3
0
141
Member Avatar for xuweisen

this my new syntax for my new website [CODE] echo "<li class='childmenu'><a href=#equipment?id='".$row['id']."'>".$row['name']."</a></li>"; [/CODE] and this is the old one for my another website [CODE] $isi .= "<li><b><a class='topikMenu' href=reset/survey.php?id=".$row['kodetopik']."><span title='".$row['jumlahpenyurvey']." surveyor'>".$row['namatopik']."</span></a></b>"; [/CODE] I think it's same concept about give the $row[''] in the middle of html syntax, but I …

Member Avatar for xuweisen
0
178
Member Avatar for gdubz

I run the program and nothing prints out.. #include <iostream> #include <vector> #include <windows.h> using namespace std; void check_neighbors(vector<vector<char> >, int [22][88]); void generation(vector<vector<char> >); void display(vector<vector<char> >); int main() { vector<vector<char> > world(22, vector<char>(88, '.')); int neighborArray[22][80]; //Intial condiion world[3][3] = '*'; world[3][4] = '*'; world[4][4] = '*'; world[3][7] …

Member Avatar for Lerner
0
137
Member Avatar for befigard

I am building a GUI for school, aside from the coding issues (that I can't figure out). I need to add a logo of a planet. I found a cute little pic, resized it and downloaded it to my computer. Got it uploaded to Netbeans ...but I can not figure …

Member Avatar for emclondon
0
139
Member Avatar for aidanmack

Hi, I'm trying to load some xml in using ajax. But my xmlhttp status is always 0. The status never comes through as 200. I dont actually no what 0 is equal to. I could find anything when I looked that status up. My script looks like this... Could someone …

Member Avatar for aidanmack
0
340
Member Avatar for draven07

..hi...im working with a Cash Collection System using PHP and a Yii Framework.. ...but i am wondering if it is possible to connect a MSSQL Database by Yii... ..if so...then could you please help me how...

Member Avatar for pritaeas
0
77
Member Avatar for Drezta

Hypotheticaly, if you have a large object that is needed almost everwhere within a program and this object is used for accessing data. Is it better to pass the object by referance into each function that needs it, or to make the object static? For some context, I am most …

Member Avatar for deceptikon
0
114
Member Avatar for mohamedasif18

Hi all, I need a code that i want to set an anchor tag to flash file , Bcz i want to count the clicks on the flash file and want to save into my DB . Is there any way for that ? I dnt need getURL(); It will …

Member Avatar for tiggsy
0
414
Member Avatar for 21122012

table roomBooking: roomBookingID roomID bookingDate startTime endTime glID numberOfPeople staffID table room: `roomID typeOfRoom roomState` php code: <?php require_once('../config/conn.php'); $sql="SELECT * FROM roomBooking, room WHERE roomState='empty'"; $rs=mysql_query($sql,$conn); $row_rs = mysql_fetch_assoc($rs); $count=mysql_num_rows($rs); ?> ... <table border="0"> <?php do { ?> <tr> <td> <?php echo $row_rs['roomID']; ?> </td> <td> <?php printf('<a href="action/roomDetail.php?roomID=%s">詳情</a>',$row_rs['roomID']); …

Member Avatar for pritaeas
0
159
Member Avatar for morpheus063

Hi All, I am trying to follow the CS106B: Programming Abstractions to learn C++ ([url]http://www.stanford.edu/class/cs106b/[/url]) . As part of the practice, I have to configure Visual Studio to include the custom libraries. I followed the instructions availble at the following location: [URL="http://www.stanford.edu/class/cs106b/handouts/02-Getting-Started.pdf"]http://www.stanford.edu/class/cs106b/handouts/02-Getting-Started.pdf[/URL] [URL="http://www.stanford.edu/class/cs106b/handouts/07P-Downloading-Visual-Studio.pdf"]http://www.stanford.edu/class/cs106b/handouts/07P-Downloading-Visual-Studio.pdf[/URL] [URL="http://www.stanford.edu/class/cs106b/handouts/08P-Using-Visual-Studio-2008.pdf"]http://www.stanford.edu/class/cs106b/handouts/08P-Using-Visual-Studio-2008.pdf[/URL] Can anybody guide me how I …

Member Avatar for onenoc
0
391
Member Avatar for Eclipse

Hello. I'm currently a 10th grader who's been sitting in front of the computer for hours trying to figure this assignment out. First, my teacher gave me a reverse integer problem. He wants us to reverse the numbers `12345, 10001, 1200, and 5`, and display in in the output. The …

Member Avatar for JamesCherrill
0
265
Member Avatar for alafift

[code]import java.sql.*; public class GetAllRows{ public static void main(String[] args) { System.out.println("Getting All Rows from a table"); Connection con = null; String url = "jdbc:mysql://localhost:80/"; String db = "Flights"; String driver = "com.mysql.jdbc.Driver"; String user = "root"; String pass = "pass"; try{ //Class.forName(driver).newInstance(); con = DriverManager.getConnection(url+db, user, pass); try{ Statement …

Member Avatar for masijade
0
144
Member Avatar for Jigs28

How to bind selected columns to datagridview at runtime. I have written select * from tableName. And result i have stored in DataTable dt. Now i want only selected columns to be displayed in datagridview at runtime. I dont want to bound gridview at designtime.

Member Avatar for Jigs28
0
520
Member Avatar for 21122012
Member Avatar for mohamedasif18
0
115
Member Avatar for EmbroideryEtc

I have written a class to read a text file and write the data into a 2D array of max records x 12 fields. Now that I have this working, I need to be ablel to call this array from my other classes to perform different tasks on the data. …

Member Avatar for NormR1
0
973
Member Avatar for kained

This is annoying me. I have made a simple RSS feed but i need some of the links to open in a new window But i can't find a way to do this. All i want is the same functionality you get in html when you specify target-"_blank" How is …

Member Avatar for ShailRathore
0
1K
Member Avatar for jsawant85

Hello everyone! I am new to this forum and a beginner programmer. I wish to develop a small social networking site using JSP/Servlet and other useful java technologies. Your help is needed a s I am not much aware of the SDLC process. Need your help starting from the basics …

Member Avatar for jsawant85
0
411
Member Avatar for jakizak

Does anyone see an issue with the following IF statement... I sure can't yet it doesn't work! VARIABLES: $CHECK = A returned value from the database either "y" or "n", the value is returned successfully so I know that is not the issue here. There is no error message returned, …

Member Avatar for almostbob
0
179
Member Avatar for dhruv_arora

I had setup some submission form using Joomla and a CCK component "Zoo", when i click for the form, i get this error : [CODE]Fatal error: Call to a member function getItem() on a non-object in /home/content/b/o/o/boomshiva/html/tafconnect/bazaar/media/zoo/applications/business/templates/default/renderer/item/submission.php on line 15[/CODE] Can anyone help me with that The contents of the …

Member Avatar for diafol
0
155
Member Avatar for mrabrar09

Hello Everyone, Am facing problem am using RAD IDE, Java Version 1.6.0_30 from Sun Microsystems Inc. the program are executing successfully and showing output in IDE. But when am trying to compile the program outside the IDE the java program compiling the program and generating .class file but it is …

Member Avatar for JamesCherrill
0
250
Member Avatar for zacharysr

im wanting to make a 'pop up' form, kinda like facebook does when you delete your history and cookies and it tells you you need to sign back in, or when you click on a music link and it pops up the form, but it not a new window, its …

Member Avatar for pritaeas
0
103
Member Avatar for 47pirates
Member Avatar for KJThaDon

[url]http://lcdforvideo.com/josh/[/url] I am trying to add additional input fields to the fields Features, Includes, and both rows under Specifications. I would like them to post to the next page when you submit. I have got all of the other ones working but I cannot figure out how to get additional …

Member Avatar for pritaeas
0
93
Member Avatar for skran

Hi all! I try to filter a datagridview and I wrote an sql statement for that reason. The problem is that although I achieved to have multifilter I can find how to make my cod ignore the criteria which are null (empty criteria, when the user doesn t give any …

Member Avatar for skran
0
271
Member Avatar for Vampiricx3

Hey guys, right now I have an Employee style java program that is basically for adding Employee data to a .txt file, I have all of that down pat, I have also got my program to automatically set the highest ID + 1, so I don't have to find the …

Member Avatar for Vampiricx3
0
161

The End.