199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mike Bishop

i have been looking for help with this now for days and still not able to get this working. I want to make a function to get each line of my txt file and place it in its relavent var. IE DIM ServerV = (firstline of txt file) dim DatabaseV …

Member Avatar for codeorder
0
156
Member Avatar for kittystitches

[FONT=Arial]whats goin guys? I wanted to know how you would add in videos or music into your website using VBScript. If anyone can help me out I'tll be great :) thank you[/FONT]

Member Avatar for media90cj
0
1K
Member Avatar for june 200090

hi how are you ? i have project in loop but i dont know how to solve it ? Write a C program to read results of class of 20 students. Each student has 4 results, distributed as follow: • Test 1 25 % • Test 2 25 % • …

Member Avatar for june 200090
0
174
Member Avatar for kindt.nick

hey, I've been reading awhile about events. I can actually work with them and create custom events for booleans, integer, arrays, etc, but only for those I've created. I cant seem to figure out how to add a listener upon a variable that I did not declare. For exaple, via …

Member Avatar for kindt.nick
0
118
Member Avatar for AdriftUniform

Hi, I am having an issue saving images to a MYSQL database as a BLOB, I have been for a few days now, I have used several different tutorials and even though the code works with no errors returned, nothing actually get put in my database. Here is my form …

Member Avatar for AdriftUniform
0
218
Member Avatar for linux

Using the tutorial found here: [url]http://www.daniweb.com/code/snippet216550.html[/url], I have begun the graphic portion of my game. I have many .gif battler sprites loaded into variables in my project. However, all of these battlers are right-facing. I need some of them to be flipped to be left-facing to be on the hero's …

Member Avatar for richieking
0
4K
Member Avatar for jackmaverick1

I have been doing strait-up c++ for a while, now I want to learn VC++. What are some easy commands? like a show form command and some others. Thanx, JT

Member Avatar for jackmaverick1
0
145
Member Avatar for sankalp_999

i have written a program in c++ using the concept of file handling. this program is about managing a basic electronic hardware store stock and showing the sales report. i am not able to understand why the [B]contents of my file are not being displayed, modified, deleted, or even printing …

Member Avatar for sankalp_999
0
2K
Member Avatar for Richajr0

Hi I am pretty new to all this so bear with me. I have created some forms on dreamweaver which I want to populate mysql database when completed. I have created a table using phpmyAdmin through godaddy. I have created a record set which links to each form field. I …

Member Avatar for Richajr0
0
116
Member Avatar for PaliGap

The background to this is that I have two server-side scripts: * upload.cgi: accepts a file upload * monitor.cgi: reports the size of the file upload as the file upload progresses. There is a form handler: onSubmit="doProgress();" for the upload form that points to upload.cgi. This does the asynchronous thing …

Member Avatar for fxm
0
1K
Member Avatar for discovery-power

Hi All, I have had some reall problems with this. I have a form with a datagridview, now I can add new records and the dataset will update fine, but it wont update when I want to delete a record. Please see below my code. [CODE] Imports System.Data.SqlClient Public Class …

Member Avatar for discovery-power
0
94
Member Avatar for ac.morgan

I am a fifteen year old trying to learn c++ to program a scientific calculator that is simpler to use. Would it be okay if I asked for advice on different problems I am having with the calculator and how to program certain things on it without providing a code? …

Member Avatar for Narue
0
120
Member Avatar for Mike Bishop

Hi All, I have a text document that am pulling infomation out of. i only want to collect the information after the = sysmbol which is on each line. here is the code so far [CODE] Dim FileName As String = "C:\test.txt" Dim TextFromTheFile As String ' Whole text Dim …

Member Avatar for Mike Bishop
0
126
Member Avatar for eshko

Hello every one! I'm developing one simple site, and I need to make an "archive" script. My MySQL Table looks like: [CODE] | id | title | content | is_deleted | pub_date | [/CODE] *pub_date is in PHP time() format. Example: 1258150430 So, what I want to make is an …

Member Avatar for chocalate
0
2K
Member Avatar for Moderns

Hi, I have a php page called: radio_page.php, it contains two radio buttons. First radio button is checked as default when loading the page. I need when clicking on second radio button to refresh the page and keep selection on second radio button, I am trying that as below, but …

Member Avatar for Moderns
0
6K
Member Avatar for soomro_moon

can any plzzzzzzzzz help me out !!!!!!!1111 i need to add print button in my page that will print the hole page with imags and txt everything. but the code should be simple plzzzzzzzzzzzz help meeee

Member Avatar for soomro_moon
0
103
Member Avatar for abarnett

Need ideas for this program: Write a program that allows the user to enter the last names of five candidates in a local election and the number of votes received by each candidate. The pgoram should then output each candidate's name, the number of votes received, and the percentage of …

Member Avatar for kvprajapati
0
2K
Member Avatar for selicon.valley

Hi Friends well i m developing an application into asp.net database is access now i want to show a particular record into 1 textbox names txtbox1 here is code plz give me code that i can show record into textbox [code] Imports System.Data.OleDb Partial Class Default123 Inherits System.Web.UI.Page Protected Sub …

Member Avatar for kvprajapati
0
218
Member Avatar for WebKoller

Hello everyone. I am pretty new to oop, so this might be a simple question. I need to get data from my database and I need it in several different places on my site. So I decided to create a class to get the data instead of writing it over …

Member Avatar for pritaeas
0
115
Member Avatar for soomro_moon

whats worng in this code??????? it give this errroe Parse error: syntax error, unexpected T_VARIABLE in D:\xampp\htdocs\soomrof\a_task_2_1.php on line 8 [code] <? include("connection.php"); mysql_query("update doctor_schedule_information set monday='"$_POST['m']"',tuesday='" $_POST['t']"',wednesday='"$_POST['w']"',thursday='" $_POST['th']"',friday='" $_POST['f']"',saturday='" $_POST['st']"',sunday='"$_POST['su']"' where doctor_ID='"$_POST['d_id']"'")or die(mysql_error()); header("location:admin.php"); ?> [/code]

Member Avatar for soomro_moon
0
80
Member Avatar for paulablanca

Hello there. I would like to ask if it is possible for datagridview to have a "drop down calendar" for date inputs and checks when one date is chosen 10 times already. Thanks. If ever this isn't possible, please do tell me some alternatives. Thanks again and God Bless. :D

Member Avatar for paulablanca
0
181
Member Avatar for steven8579

I wanted to know how to alphabetize 2 listboxes together. lstResult contains Names and lstResult2 contains numbers corrisponding to the names in lstResult. When alphabetizing, i want to keep the name in lstResult and number in lstResult2 together.

Member Avatar for ddanbe
0
275
Member Avatar for svatstika

Hi everyone! I'm reading a book and doing some exercises in this book. One of them is: define a class, which implements arithmetic (+, -, /, *) with arbitrary precision. This is a new type with just some arithmetic operations. With type double we also can do some arithmetic but …

Member Avatar for svatstika
0
187
Member Avatar for iwanttolearnc

good day and a happy new year to you folks. im trying to copy the contents of one text file to another text file but i cant seem to get it right. written below is the code im using but it does not seem to work. any help please? [CODE]#include …

Member Avatar for iwanttolearnc
0
217
Member Avatar for Acidburn

Hi guys, I'm dynamically loading a dll that I've written at runtime but for some reason I'm struggling to get the generics working. I keep getting the following error: [COLOR="Red"][B][I]Cannot create an instance of XmlPlugin.XmlPlugin`1[T] because Type.ContainsGenericParameters is true[/I][/B][/COLOR] Heres the code that's in the DLL that I'm trying to …

Member Avatar for Acidburn
0
2K
Member Avatar for professor123

CAN can someoneone assist me...can you send an email using xampp when you dont have an email server install on your PC. ls it possible?

Member Avatar for bakir
0
90
Member Avatar for Web_Sailor

Hi, I have a submit button in my JSP page. I also have drop down menus and text area in my form. Now my condition is like if drop down values or text area are null in this case if a user wants to submit he should get an alert …

Member Avatar for rakhi4110
0
880
Member Avatar for altarek

i want to add (+)to add more than textfield for phone [CODE]<form method="post" action="" enctype="multipart/form-data"> <table width="800" border="0" dir="rtl" style="direction:ltr;"> <tr> <td scope="col" style="direction:rtl;"><label for="textfield">name</label> <div align="right"> <input type="text" name="person_name" id="person_name"/> </div></td> </tr> <tr> <td style="direction:rtl;"><label for="textfield">job</label> <div align="right"> <input type="text" name="person_job" id="person_job" /> </div></td> </tr> <tr> <td style="direction:rtl;"><label for="label">mobile</label> …

Member Avatar for altarek
0
104
Member Avatar for daudiam

I understand that int values, when autoboxed, are interned i.e no 2 objects containing the same int are present, and so we can compare two Integers by == So why does the following happen :[CODE]Integer iRef1=1000; Integer iRef2=1000; System.out.println(iRef1 == iRef2); System.out.println(iRef1.equals(iRef2));[/CODE] This prints [CODE]false true[/CODE] On the other hand, …

Member Avatar for daudiam
0
127
Member Avatar for dark3lf

Hello all, I am building a web application in python that prompts the user for a question that they want to have answered, then gives multiple answers by querying various Q&A sites (yahoo! answers, chacha, answerbag, etc). The problem is, I'm having trouble finding a significant number of APIs from …

Member Avatar for Tech B
0
115
Member Avatar for daudiam

Why do local inner classes not allow static variables ? The static fields of the classes could at least have been allowed access from the local method ?

Member Avatar for ~s.o.s~
0
164
Member Avatar for shankarmca

[code] Sub modify_inventory(ByVal frm As frminventory) Dim writesqltime As String Dim writesqldate As String Dim msg As String writesqldate = Format(CDate(sqldate), "MM/dd/yyyy") Dim cmd = New SqlClient.SqlCommand If active_frm.Name <> "frminventory" Then Exit Sub Else writesqldate = Format(CDate(sqldate), "MM/dd/yyyy") Dim j As Integer con = connect() con.Open() For j = …

Member Avatar for shankarmca
0
110
Member Avatar for DJSAN10

Could anyone please explain what exactly bootstrapping is? As far as i know it is something related to "the compiler for C itself wriiten in C"

Member Avatar for DJSAN10
0
96
Member Avatar for salvador01

hi! iam a newbie how can i get the 10th, 100th, 1000th place for example: the interger is 1235, the ones place is 5, the tenth place is 3, the hundreds place is 2, and the thousands place is 1, please help me and how do you program it at …

Member Avatar for sharathg.satya
0
104
Member Avatar for Rookie09

Sup guys .. So , the thing is that i need to define a preprocessor directive so i can compile correctively an SQL pseudocode into C++ . VALUES (value1, value2, ...);//cant figure out a way to take the value1,...,valueX out value1,value2,...,valueX is string or integer typed expression for example : …

Member Avatar for Rookie09
0
174
Member Avatar for emreozpalamutcu

I making a all in one program using visual studio 2010 C++ language and my all in one program includes free programs like firefox, opera, microsoft security essentials and people who uses my program doesn't need to install them they can just run it through my all in one program …

Member Avatar for Ancient Dragon
0
87
Member Avatar for Mr_PoP

[CODE] #include "includes.h" MYSQL *con; con=mysql_real_connect(con, server,user, password, database, 0, NULL, 0); //mysql check: int act; int reb; reb=mysql_query(con,"SELECT * FROM cq_rebirth"); act=mysql_query(con,"SELECT * FROM cq_action"); if(act !=0 || reb !=0){ cout << mysql_error(con); return 1; } [/CODE] Error: Commands out of sync; you can't run this command now i …

Member Avatar for Ancient Dragon
0
210
Member Avatar for Thisisnotanid

Hi everyone! I've built prime testers and prime listers before, but they only work sufficiently fast for values <= 1e6. I was thinking about all the prime tester projects they have going on, how do they test very large numbers for primality? I'm talking numbers on the order 1e12, 1e13, …

Member Avatar for Thisisnotanid
0
574
Member Avatar for ethanbuckley

OK So I am learning c++ and I have created my design using the windows forms, I now have to do the coding, I have implemented a code which is returning a nice amount of 102 errors, Any help would be appreciated or rewarded. I look forward to learning from …

Member Avatar for jonsca
0
438
Member Avatar for BleepyE

I know that title is kinda miss leading, but i couldnt figure out another way to explain it. I know theres a way, but I dont know how to do it. Ive got a Save code that I have about 5 differnet times in my application. How do I make …

Member Avatar for Unhnd_Exception
0
90
Member Avatar for hughesadam_87

Hey guys, I've been trying to solve this problem many ways now, and am really just not familiar enough with the language to see an elegant solution. I have a dictionary, where each value is itself a list of lists. For example: [CODE]keyA:([x1,y1,z1], [x2,y2,z2] etc...) [/CODE] Within a key, I …

Member Avatar for djidjadji
0
377
Member Avatar for magaiver

Hi everyone. I am an undergraduate student of mechanical engineer and i am trying to make a program that will convert a decimal number to a binary one and a hexadecimal one using c . The problem is that i am not familiar with c at all. I am only …

Member Avatar for WaltP
0
172
Member Avatar for Keith@LPG

I would like someone to help me bind data with a CheckBox. Please furnish sample code if possible. I am using VB 2008 Net 3.5. I want to use several checkboxes to identify records within a name $ address masterfile. Any given name can be identified in one or mre …

Member Avatar for Keith@LPG
0
98
Member Avatar for Baka_Kuma

i trying to make a code to Delete and Update Access 2007 database after remove a selected item from a listbox in VB 2008. [using "Remove" button that i create] pervious i already make a button to View data from database and Remove from listbox. but i don't know how …

Member Avatar for ShahanDev
0
678
Member Avatar for gerk45

Please Help me with my update on vb.net 2008!It's quite a simple code but when it comes to it tells me Syntax error in Update.The problem is where i highlited.Please help [code] Imports System.Data Public Class frmgoods Dim Con As New OleDb.OleDbConnection Dim dbprovider As String Dim dbsource As String …

Member Avatar for ShahanDev
0
113
Member Avatar for simonfoley

Hi there Another noob question from me...one of these days I'll get the hang of this VB! I am importing data from an Access table that has four columns/fields. I have set up the relevant headings etc on the list view control...but I have also set up a 5th column …

Member Avatar for Unhnd_Exception
0
92
Member Avatar for davidwn1

Hi I am running a PHP-based intranet site where the main page has to refresh its view every minute in order to show the most up-to-date information from an MSSQL database. At any one time there are only about 20 entries that need to be shown, but the main database …

Member Avatar for davidwn1
0
84
Member Avatar for knotholaze

[CODE]double i; i=pow(10,10); cout<<i;[/CODE] for this code i get in output 1e+10 but how i can get output 10000000000 using cout<< and double variable

Member Avatar for knotholaze
0
149
Member Avatar for Jemo2008

type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 34 in the jsp file: /job_link_insert.jsp Syntax error, insert "AssignmentOperator Expression" to complete Assignment <%@ page import="java.sql.*"%> <% …

Member Avatar for ~s.o.s~
0
506
Member Avatar for mbouster

Dear all, I would like to ask you how to initialize the following: I want to initialize a class inside another class. How I will be able to do so? An example: [CODE]/*Class Date*/ class Date { public: Date(){} // default constructor int day;//day of the month valid till 31 …

Member Avatar for mbouster
0
289

The End.