199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
[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] | |
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 % • … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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? … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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] | |
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 | |
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. | |
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 … | |
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 … | |
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 … | |
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? | |
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 … ![]() | |
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> … | |
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, … | |
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 … | |
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 ? | |
[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 = … | |
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" | |
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 … | |
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 : … | |
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 … | |
[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 … | |
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, … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
[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 | |
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.*"%> <% … | |
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 … |
The End.