199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for br_astronut

I am learning ASP.NET and have built a basic web site that I want to use as a template for future sites. I am wondering if I should build a code generator that will take as an input an xml file which describes the application and then generate the base …

Member Avatar for AleMonteiro
0
207
Member Avatar for MrAppleseed

I recently wanted to get involved in C++0x (Native, OS independent thread support?! Heck yes I want that!), and it seemed as though my compiler supports it. So, I added it in Code::Blocks, under Settings >> Compiler and debugger.. >> Global Compiler Settings >> checked "Have g++ follow the comming …

Member Avatar for mike_2000_17
0
187
Member Avatar for warlord902

I have a requirement that my java application should open a web browser when user click on a button and thereafter the web browser open up a page in which user have two options "Agree" and "Not Agree", depending on the button he clicks on, some code comes in the …

Member Avatar for warlord902
0
421
Member Avatar for BobTheLob

Hey, I have a potentially very stupid question. I'm working on a project where I need to input a few numbers. What I would like to do is run it via the command line like, "java test 2 3", where 2 and 3 would be the inputs. I want to …

Member Avatar for Ezzaral
0
122
Member Avatar for Skrell

I can't seem to find this answer anywhere. All i want to do is write a list of numbers to a file using the file.write() method however i wanted to format the numbers as if i had been using a print statement. When you print you can use %0.2f for …

Member Avatar for markfw
0
230
Member Avatar for Mark198995

HEY im pretty lost i need to make a program where user has in enter a name and after it has been entered it has to repeat the name 100 times can someone please help me im fairly new and i cant get it to work =/. this is what …

Member Avatar for Mark198995
0
153
Member Avatar for mikejs

Hi I need some help I have a variable stored in db which is created when a new person is added it takes the day of todaysDate on the day they register and stores only the day I would like to use this date as the same day of every …

Member Avatar for adam_k
0
135
Member Avatar for gilgil2

Hi, I have the following code to edit a .txt file, but it says there is an error on line 34, I am not sure what it is. Also there are bound to be other problems with the code, so please feel free to point them out. [CODE]<? if ($_POST['pw']!="") …

Member Avatar for gilgil2
0
2K
Member Avatar for MasterOfNothing

We have a problem similar to [URL="http://forums.techguy.org/all-other-software/947576-solved-java-applets-only-working.html"]this[/URL] Clean boot doesn't help and the unchecking of services doesn't help ether. We have a Java applet that's working correctly on xp but isn't working correctly on win 7. The applet runs and the browser asks you to accept the certifiket but the …

Member Avatar for MasterOfNothing
0
331
Member Avatar for coolbeanbob

I'm having trouble finding information on the implementation of "or". I want to use it in the do while loop below. [CODE] do { cout << "Please enter 1 for random or 0 for pseudorandom." << endl; //bool, 1 is TRUE, 0 False cin >> random; } while (random !0||!1);[/CODE]

Member Avatar for sfuo
0
94
Member Avatar for blivori

Can you kindly tell me why I am getting a runtime exception when trying to run this code? [CODE] Sub BtnNowClick(sender As Object, e As EventArgs) Dim myProcess As New Process Dim processFile As String = dlgFolder.SelectedPath Dim pyLocationDel As String = Path.Combine(dlgFolder.SelectedPath, "pdfmerge.py") Directory.SetCurrentDirectory(dlgFolder.SelectedPath) myProcess.Start(pyLocationDel) myProcess.WaitForExit() System.IO.File.Delete(pyLocationDel) End Sub[/CODE] …

Member Avatar for lolafuertes
0
390
Member Avatar for Mike Bishop

can anyone help me add a title to a graph? the code i run to create the graph is [CODE][B]Dim strConn As String = connectionstring Dim conn As New SqlConnection(strConn) Dim sqlProducts As String = "SELECT * from VW_OEEBrakeDowns_ByYear where Year ='" & Me.lbyear.Text & "' and LineNumber =" & …

Member Avatar for lolafuertes
0
128
Member Avatar for zsgamer

Errors: imagepng(): supplied argument is not a valid Image resource in /home/publicr/public_html/dynsigs/anything.php on line 29 Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/publicr/public_html/dynsigs/anything.php on line 29 PHP: [CODE] <php><?PHP function sql_sanitize( $sCode ) { if ( function_exists( "mysql_real_escape_string" ) ) { // If PHP version > …

Member Avatar for Ezzaral
0
1K
Member Avatar for jacksantho

i have a little form with a select list, and i am submitting the form every time i select an item. the problem is that, after selecting a value and submitting the form, the selected item doesn't remain selected. Is there any method to keep the selected item selected in …

Member Avatar for almostbob
0
14K
Member Avatar for superjj

Hi This is a code for placing a few labels. Now, I have a problem with my grid. I want the 0,0 point in the upper left corner but at the moment it is around the middle. Can someone help me please? [CODE]import javax.swing.*; import java.awt.*; public class test { …

Member Avatar for superjj
0
172
Member Avatar for fullarmorzz

i have many questions to ask with regards to C++. In our programming class we do not use the "#include<iostream.h>" or something like that and MANY MORE! :D it is a lot different from ours anywhere i look. :D here is an example of our program. :D [CODE] #include<stdio.h> #include<conio.h> …

Member Avatar for Onlineshade
0
132
Member Avatar for mikejs

Is it possible to store a document in a database and then be able to load it into VB and populate specific areas with data from textBoxes? like address or name details I suppose a bit like a mail merge ?

Member Avatar for mikejs
0
87
Member Avatar for goluman

[CODE] IpPairVec matches; blah blah other definitions for (unsigned int i = 0; i < matches.size(); ++i) { drawPoint(img1,matches[i].first); drawPoint(img2,matches[i].second); const int & w = img1->width; //.........etc etc etc } std::cout<< "Matches: " << matches.size(); //This returns a number after every iteration which is continuous. //I am able to redirect …

Member Avatar for Narue
0
179
Member Avatar for akasekaihime

hello everyone! I need help....a prof asked for our help to create a simple program for her assignment but i am having a hard time doing it for I am still not an expert in java.....here is the scenario..... [QUOTE]You are about to go to the Super market and would …

Member Avatar for NormR1
0
181
Member Avatar for FutureDev86

Hi, I just completed a beginner's course to programming, in the Python language. I am now enrolled in a VB programming course, and I am more of a hands on type person, so I'd like to get a head start on things before the start of my class. I am …

Member Avatar for kingsonprisonic
0
246
Member Avatar for vb.net_beginner

Hey Folks, Just starting out with vb.net and am struggling with an equation I have a fixed percentage 0.3% I need to multiply this by a number of months which varies 1 to 12 Having done this I need to add the percentage to a pre-determined number so as an …

Member Avatar for vb.net_beginner
0
1K
Member Avatar for jrosh
Member Avatar for klemme

I have some really big problems changing the appearences of my urls.. Cant seem to get this to work: I want to change this url: [url]http://www.enkelt-webdesign.dk/index.php?sid=1&titel=FORSIDE[/url] Into this url: [url]http://www.enkelt-webdesign.dk/Forside[/url] I have tried many things in my .htacess file now, and just dont get the desired result. This is what …

Member Avatar for madCoder
0
90
Member Avatar for Cyl11

how would I go about assigning more than one value to a dictionary - rather like a list. for example I have students who each have courses. Each student name is a key (unique) e.g as a dictionary student = {"name":"course"} but students can have more than one course student …

Member Avatar for Cyl11
0
134
Member Avatar for Ensanvoration

Here is what I have so far... [code]import java.util.Scanner; public class tst { public static void main (String [] args) { Scanner stdIn = new Scanner(System.in); String sentence = "This is the test."; char response; // user's y/n response int ctr = 65; do { System.out.print ("Would you like to …

Member Avatar for Ensanvoration
0
153
Member Avatar for thinkingofaname

hey im a new coder and the reason im getting into coding is to do some mathematical tests ive created several mathematical formulas that i want to turn into a program i dont have the c++ know how to do this though. what im wondering is if anyone would like …

Member Avatar for Onlineshade
0
136
Member Avatar for Pravinrasal

i create small application in struts but it give me following error : SEVERE: Servlet.service() for servlet jsp threw exception java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491) at org.apache.struts.util.MessageResources.<clinit>(MessageResources.java:57) at org.apache.struts.taglib.html.FormTag.<clinit>(FormTag.java:93) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:126) at org.apache.jsp.Index_jsp._jspx_meth_html_005fform_005f0(Index_jsp.java:109) at org.apache.jsp.Index_jsp._jspService(Index_jsp.java:87) at …

0
117
Member Avatar for rajatchak

[CODE] #include<iostream> #include<windows.h> #include<stdio.h> #include<conio.h> #include<stdlib.h> #include<fstream> #include<string.h> #include<windows.h> #include<fstream.h> #include<ctime> void checking(); void display(double); enum check{correct,incorrect}; class words { public: char word[20]; check cword; check cchar[20]; }; void main() { ifstream fin("Book.txt"); char ch; char wrd[20]; time_t start,end; double dif; cout<<"\n Enter the text below. Press 0 to finish …

Member Avatar for rajatchak
0
1K
Member Avatar for zachattack05

Doesn't appear that a radio button has a value property other than true/false so I was hoping someone could help me out with this one. I'm writing a method applied to the "CheckedChanged" event. The method is applied to all of the radio buttons, so it always triggers regardless of …

Member Avatar for zachattack05
0
214
Member Avatar for now how abt tht

please help me understand when does one use *n=m and when to use n=&m [code]int *n,m; *n=5; m=2; *n=m;[/code] //gives an error

Member Avatar for jnawrocki
0
134
Member Avatar for Man1919

hi, i got a message board kit that connects to the computer (i talked about it here: [url]http://www.daniweb.com/software-development/vbnet/threads/379541[/url]) and now (i hope) its working. I want to make a code that when i press on a button its will send the correct hour & date and then its will update …

Member Avatar for Man1919
0
198
Member Avatar for Man1919

hi, i bought a Programmable Message Board kit, this kit connects to the computer and i can send from the computer massages to the kit LCD screen. I got an sample file, that comes with that kit. My problem is that this sample file are an old Visual Basic 6 …

Member Avatar for Man1919
0
2K
Member Avatar for dnomde44

I am not really sure where my syntax error is. I have gone over it several times and it appears everything is right and I dont think I am using any reserved words. Any help would be greatly appreciated. Every box is TEXT in access for now even fields that …

Member Avatar for dnomde44
0
165
Member Avatar for dwlamb

This isn't really a PHP question but I couldn't find the right place for it. I'm getting these strange characters -  - in my source code before the Doctype tag. I've encountered this before when working in Notepad++ using ANSI as UTF-8 or similar formats with BOM for encoding. …

Member Avatar for dwlamb
0
223
Member Avatar for D33wakar

I'm Using [ICODE]fwrite[/ICODE] to print the contents of a sturcture in a file. [CODE] #include <stdio.h> #include <stdlib.h> struct com{ int code; char* name; }; int main() { struct com py[2]={{21,"Monty Python"}, {22,"Python lang"} }; FILE * fp; if((fp=fopen("data.txt","w+"))==NULL) exit(1); fwrite(&py,sizeof(struct com),1,fp); /*int i; for(i=0;i<2;i++) fprintf(fp,"code:%d,name:%s\n",py[i].code,py[i].name); */ fclose(fp); return 0; …

Member Avatar for Narue
0
113
Member Avatar for lloydsbackyard

I have this code for mysql, and in my table i have date entries in my date field from my date table ....i want to make use with between clause ...below is my sql statement..but it displays nothing even there are dates in between... SELECT * FROM date WHERE date …

Member Avatar for lloydsbackyard
0
75
Member Avatar for Cally_Law

Can anyone help on how to show a message box showing that existing record has been entered in database if i tried to enter the new record. However, if the input is new record (record added), the record is saved into the database. I'm using visual basic 2008 and Microsoft …

Member Avatar for ShahanDev
0
236
Member Avatar for abiwax

Pls how do I write d code for find and replace in c# for a notepad program

Member Avatar for ddanbe
0
77
Member Avatar for donotsleep
Member Avatar for ron_e

Error directive : Must use STDCOMP.H This error come out when I try to link various .cpp files and a .h file with borland 5.5 any help ???

Member Avatar for Ancient Dragon
0
637
Member Avatar for hirenpatel53

Hi all i am creating a project in to which i will tell user to upload pdf all functionality is complited the problem is i have one image box where i have to show a first page of the pdf so anybuddy who knows how to convert foirst page of …

Member Avatar for hirenpatel53
0
116
Member Avatar for Emma Johns

Hello every one, i am an seo person but i want to learn php too as a beginner. so please advice me some helpful techniques to learn it from the beginning. thank you

Member Avatar for diafol
0
118
Member Avatar for duder

[CODE] Dim sw As StreamWriter Try sw = File.AppendText(CurDir() & "\deskimages.txt") sw.Write(TextBox1.Text & " " & TextBox2.Text) sw.Flush() Catch exc As Exception MsgBox(exc.Message) Finally If Not sw Is Nothing Then sw.Close() End If End Try Dim tw As IO.TextWriter tw = System.IO.File.CreateText(CurDir() & "\profiles2\" & TextBox1.Text & " " & …

Member Avatar for Pgmer
0
106
Member Avatar for eduard77

I try to install smarty and when I write the require code I cannot find the path [CODE] require_once ('d:/wamp/bin/php/php5.3.5/Smarty-3.0.8/Smarty.class.php'); [/CODE] or if you could tell me which is the correct syntax in the ini.php page. Thanks

Member Avatar for diafol
0
93
Member Avatar for janice91

Dear experts, i need your kind assistance of the following question: Build a simple banking simulation around the BankAcct class. Require to write a program to act as the "Bank", which provides the following services: a. Create new account. A new account will be created, with a unique bank account …

Member Avatar for JamesCherrill
0
201
Member Avatar for aldeene

anyone have a link? I want to display data on the GUI that I made using NETBEANS.. I started learning java today, I got error non-static variable jTextField1 cannot be referenced from a static context. [CODE]Connection con = DriverManager.getConnection("jdbc:mysql://localhost/sample", "", ""); Statement stmt = (Statement) con.createStatement(); String select = "SELECT …

Member Avatar for JamesCherrill
0
128
Member Avatar for jacob21

is it possible for me to send SMS by using PHP code ?? If yes, could anyone guide me how can i do so ?? Thanks

Member Avatar for george.clrksn
0
183
Member Avatar for happygeek

[ATTACH=RIGHT]21994[/ATTACH]The latest in a series of round table industry events held in the UK, and featuring a panel of experts in the field of commercial software development, has warned that ignoring the popularity of casual and mobile gaming is a big mistake for any successful digital development strategy. Interestingly, it …

Member Avatar for iBod
0
428
Member Avatar for jcarbillon

I'm a newbie in PHP, I have a dynamic textbox which looks like these name="name1" name="name2" name="name3" the number of fields depends on how many user wants but the problem is on the SQL script, I need to put the $ctr besides "$_POST[name]" in order for the compiler see all …

Member Avatar for diafol
0
115
Member Avatar for hatebin

Hello My task is to write a procedure which has to get information about price of a product and updates the data base for produc_id=777. if product_pirce < 400 then product_price=500 if product_price > 400 then product_price=300 IN PL/SQL: [CODE] create or replace procedure change_price is begin if (select price …

Member Avatar for hatebin
0
716

The End.