199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Tucker0

Hi... I'm trying to add a name of a product to a Textbox...the name of the product is stored in a database. Now there is a Combobox with number in them....1 2 3 ect. Now if you select one of the numbers it must display that product name? I know …

Member Avatar for Tucker0
0
88
Member Avatar for vbdotnetlover

Dear Developers SQL, Table1 has data as following Code------product 1-----------Mango 2-----------Potato 3-----------Orange Datagridview has THREE columns as Code----product-------qty I have following codes [CODE]str3 = "SELECT product FROM table where code =" & Val(DataGridView1.Rows(DataGridView1.CurrentRow.Index).Cells(0).Value) dt3 = GetTable3(str3) If dt3.Rows.Count > 0 Then DataGridView1.Rows(DataGridView1.CurrentRow.Index).Cells(1).Value = (IIf(IsDBNull(dt3.Rows(0).Item("product")), "", dt3.Rows(0).Item("product"))) Else MsgBox("Code Not Found", …

Member Avatar for vbdotnetlover
0
128
Member Avatar for davidjcolbran

OK, I have a JS which validates the correct format for postcodes (or zip) on an html form - works fine. But what I want to do is to use a JS to see if a website visitor is eligible for a particular service on their postcode / zip - …

Member Avatar for davidjcolbran
0
1K
Member Avatar for Traicey

Hi Guys Could you please provide me with the code that will upload a file using C# and save it in SQL, I have searched through the internet with no luck at all Thanks in Advance

Member Avatar for Traicey
0
742
Member Avatar for checho

Hi i have the next task to solve. [I] A bank holds different types of accounts for its customers: – Deposit accounts – Loan accounts – Mortgage accounts Customers could be individuals or companies. All accounts have customer, balance and interest rate (monthly based). Deposit accounts are allowed to deposit …

Member Avatar for checho
0
167
Member Avatar for sweetyyyy

how we can send binary sms to any mobile particularly nokia mobile from pc using smpp...

Member Avatar for verruckt24
0
220
Member Avatar for Nakeo

Here is my code [CODE]#include <iostream> using namespace std; int searchList(int [], int, int); int main() { int numItems = 18; int position; int accountnumber; int accounts[numItems] = {5658845, 4520125, 7895122,8777541, 8451277, 1302850,8080152, 4562555, 5552012, 5050552, 7825877, 1250255,1005231, 6545231, 3852085,7576651, 7881200, 4581002 }; cout << "Please enter an account charge …

Member Avatar for Nick Evan
0
166
Member Avatar for bharanidharanit

Hello, I used the below coding to store an image into the database. [CODE]lblImagePath.Text = ImageUpload.PostedFile.FileName ImageUpload.PostedFile.SaveAs(lblImagePath.Text) Dim mbytes() As Byte = System.IO.File.ReadAllBytes(lblImagePath.Text) Dim cn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\database\db.mdb;Persist Security Info=False") Dim cmd As New OleDbCommand("insert into ImageTable values (@Image)", cn) cmd.Parameters.Add("@Image", OleDbType.Binary, mbytes.Length).Value = mbytes cn.Open() cmd.ExecuteNonQuery() Response.Write("Image load …

Member Avatar for sakhi kul
0
104
Member Avatar for guravharsha

Hi I am trying to genarate report in java. my basic requirement is like: 1. i have to print sales invoice in .txt format. 2. In application, user will select sales invoice no in drop down list. after clicking print button, user can show his invoice . 3. invoice contain …

Member Avatar for JamesCherrill
0
195
Member Avatar for darcee

im making right now a auto sign up application for example in registering yahoo mail when i click a button in VB all information will be filled out and submit Example: [CODE] Private Sub btnFillUp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnFillUp.Click Dim theElementCollection As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("Input") …

Member Avatar for darcee
0
201
Member Avatar for darcee

im trying to make a auto sign up in youtube but my problem is the " I accept" button doesnt have value in html so i try to use the id but i doesnt work help me please.... heres my code [CODE] Public Class Form1 Public Sub BHMNavigate(ByRef Wb As …

Member Avatar for darcee
0
155
Member Avatar for vbdotnetlover

I have following codes [CODE] str2 = "select sno,name from employees where sno =" & Val(Me.TextBox1.Text) cmd2 = New SqlClient.SqlCommand(str2, con) da2 = New SqlClient.SqlDataAdapter(cmd2) dt2 = New DataTable da2.Fill(dt2)[/CODE] Now dt2 has two columns as sno and name But I want to add a 3rd column city type char(80) …

Member Avatar for vbdotnetlover
0
335
Member Avatar for baabdaam

Hi there, Actually my problem is I want to get the date difference if date return of book more than one month add $10 if not leave the amountoffine to $0 and if the loaner took the book and return it after 3 months I want the code to add …

Member Avatar for vaultdweller123
0
353
Member Avatar for naveenbutola

this is to test [ICODE]<?php class test() ?>[/ICODE] [TEX]test agaian[/TEX] [CODE]class test()[/CODE]

Member Avatar for vaultdweller123
0
93
Member Avatar for garyinspringhil

I have a series of variables like so: $BLACKPASS=7 $BLACKCUTDEPTH=567 $SURFACE=325 NUMBEROFPASSES=$((($BLACKCUTDEPTH-$SURFACE )/$BLACKPASS)) #is 34 Text To Edit: IN; PU; SP6; !PZ-325,200; snip here (inclusive)SP6 is a known/usable starting point VS25; PU9170,-10213; PD9170,-10827; PD7967,-10827; PD7967,-10213; PD9170,-10213; PD9170,-10213; PU9170,-10213; snip stops here inclusive BEFORE the next SPx line SP7; !PZ-325,200; VS8; …

0
81
Member Avatar for xuexue

hi guys, im using linux opensuse as my web server, now i installed php there accdg to the manual, moreover, i also installed php to another computer having windows as its platform, now i compared the phpinfo() of the both pcs, ive noticed that there are some modules available on …

Member Avatar for cwarn23
0
134
Member Avatar for Namrata.Bibodi
Member Avatar for verruckt24
0
121
Member Avatar for vivek4020

Hi I have a database with two tables 1. iSet(which contains data) 2.Table1(which is empty) I have a program that can read from iSet. It uses OleDB Its working properly The problem is that i don't know a thing about writing to a database. The table Table1 has two fields …

Member Avatar for vivek4020
0
89
Member Avatar for anishakaul

This is the python code from a file 'legend.py' that prints the contents of variable 'doc' to console: [CODE=python]print '\n'.join (doc)[/CODE] Now through the above code, whatever is inside doc gets written to the console, if I run python legend.py description.xml Below is a shell script : [QUOTE][B]for z in …

Member Avatar for anishakaul
0
287
Member Avatar for Pari13

Have nice Evening! I have an error message of "[B]Overflow Exception was Unhanded by User code[/B]"when i am trying to exceute below very simple code. [CODE] Partial Class zeesant Inherits System.Web.UI.Page Dim x As Integer Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load x = (Val(TextBox1.Text) …

Member Avatar for Pari13
0
131
Member Avatar for indu_ss4

Hi! i need to insert a new element in an existing xml document. for example, [code=xml] <details> <person> <name>Anu</name> <email>abc@yahoo.com</email> </person> <person> <name>thara</name> <email>xyz@gmail.com</email> </person> </details> [/code] In this document if i want to insert another element using Xpath, say,<publisher> in <book> node, how to insert it. I'm using DOM …

Member Avatar for AbhikGhosh
0
7K
Member Avatar for me_roy

Hi all, I am stuck here after several hours tried. Here the thing. I have txt file that contain float data (1 column and many row) such like this (4 float data): 0.799 0.851 0.926 1.000 Then i want to read it as array. My code is work until this …

Member Avatar for me_roy
0
316
Member Avatar for Neerajavi

hi friend can you tell me how to create servlets and how we can deploy it on the apache web server.

Member Avatar for jwenting
0
132
Member Avatar for termatt56

I've just read chapter 8 of accelerated C++, which covers template functions. From my understanding if you use a template in a function that function must be included in the header file, as opposed to a source file. Am I correct in thinking this or am I missing something obvious?

Member Avatar for termatt56
0
109
Member Avatar for AliAliAli333

Hi im just wondering how i could improve this to make it secure from either the jsp file itself or external java files. [CODE] <html> <head><title>JSP Page</title></head> <body> <jsp:useBean id="user" scope="session" class="shop.UserBean" /> <jsp:useBean id="dataFactory" scope="session" class="data.factory" /> <% String userName = request.getParameter("userName"); String userPassword = request.getParameter("userPassword"); user.setLogin(dataFactory.getUser(userName,userPassword)); user.setUser(userName); if …

Member Avatar for jwenting
0
97
Member Avatar for lonestar23

I have file 123.php which produces dynamic information upon excecution and need 123.php to copy it's output to file "abc.txt" How would I go about this in a unix environment? Thanks in Advance!

Member Avatar for lonestar23
0
169
Member Avatar for ELBUF

I am writing my program for the bullseye dartboard question I posted in another thread. The link is [URL="http://www.daniweb.com/forums/thread255853.html"]here[/URL]. Anyways once I debug, it brings up 2 errors that read: LNK2019 Error: unresolved external symbol _main referenced in function _tmainCRTStartup and the file is MSVCRTD.lib and the other error is: …

Member Avatar for ELBUF
0
237
Member Avatar for dmanw100

Hello all, I have created an RSS object and I would now like to parse out the descriptions of the children. My knowledge of RSS is extremely limited so pardon me if I am incorrect in explaining what I need. For example, I am connecting to [url]http://rss.cnn.com/rss/cnn_topstories.rss[/url] and I would …

Member Avatar for dmanw100
0
202
Member Avatar for kanuri1

hi iam getting date as like '1/01/2010' from a dateofarrival(name of text box id) ....... i want to replace the ' from '1/01'2010'., iam interested to show as like 1/01/2010......... plsa help me,,,,,,,,,, here iam using asp.net with vb.net ........ here my coding is..... [code] Response.Redirect("check availability.aspx?ardate='" & dateofarrival.Text & …

Member Avatar for apegram
0
88
Member Avatar for justapimp

Hello all, I am trying to read value from a XML message fragment using C# and I am unable to load and read the document mainly because I don't enough experience working with xml data. I don't have the raw xml document on hard drive, so it is generated from …

Member Avatar for apegram
0
621
Member Avatar for Skeen

So I'm working on this class, which is basically to wrap a char into 8bools, and it works so far, however I'm running into a problem, in the dedication of values, since I'm to use the overloaded array operator, as well as the overloaded assignment operator, at once, however I …

Member Avatar for dusktreader
0
131
Member Avatar for OldQBasicer

I'm a novice at VB.NET and I'm having a problem with the compiled versions of my applications. If I take the .exe file (it's real small, like 40KB) from the BIN/DEBUG directory, it runs fine on most computers (I've tried it on 5), including Windows 7, Vista and XP. When …

Member Avatar for OldQBasicer
0
205
Member Avatar for OmniX

[link]http://php.net/manual/en/function.isset.php[/link] Clearly states that "isset — Determine if a variable is set and is not NULL"? I have been trying to use isset() to check values for NULL and it still appears yet when I use != NULL then it works. I think the fine line is in various instances …

Member Avatar for diafol
0
115
Member Avatar for iqbalhosan

hi all, i want to upload large video files using php and i can do that by editting php.ini file. but how can i do that without changing php.ini file?? advance thanks iqbal

Member Avatar for cwarn23
0
120
Member Avatar for rwildman23

I am a adult returning student in Java and would really benefit from having someone work with me on exercises to further my understanding of the material. Anyone interested in helping would be greatly appreciated.

Member Avatar for rwildman23
0
148
Member Avatar for richman0829

Restarting C++ class after lengthy break, seems I've forgotten a lot. I can't seem to get a cout to indicate that a file record has been read. I created a text file of just one record to keep it simple: an SS number, first and last names, and five exam …

Member Avatar for richman0829
0
290
Member Avatar for faaz

I am trying to do this C++ homework, my second one, i am very new to this and have no idea what is going on i would appreciate any help. thank you. below is the homework problem and what i have so far. i know that i need to create …

Member Avatar for dusktreader
0
2K
Member Avatar for phouse512

Hello, I was working on a small project to make me think, and I ran across a problem when I was running a page. Instead of any error coming up, the page just produced the following, which was part of my code: [code]0 && $user_health > 0) { $monster_health = …

Member Avatar for phouse512
0
73
Member Avatar for babydol

i m trying to extract multiple rows and print it in a single line in a web page. My code [CODE]while ($line = mysql_fetch_array($app, MYSQL_ASSOC)) { echo "<tr><td>"; echo "<a href=AssignedUpdateForm.php?app=".$line['App']. ">".$line['App']."</a></td>"; echo "<td>" . $line['firstName'] ." ". $line['surname'] . "</td>"; echo "<td>" . $line['ServerName'] . "</td>"; echo "</tr>"; }[/CODE] …

Member Avatar for babydol
0
98
Member Avatar for Rec3000

Hi all. I'm trying to implement a rotating image system written in Javascript into a PHP website. The PHP page and the Javascript both work fine independently, but integrating the JS is proving tough and giving me errors. Here is the top part of the PHP page: [CODE]<? include ("./application.php"); …

Member Avatar for Rec3000
0
146
Member Avatar for Jonhpt

Hello, I have a little problem. My program (LH-ABC 3.2.0) works well in Windows XP and Vista. But in windows seven programa closed, but process keep going :S What can be problem? Maybe one thread not closed? But this problem is exclusive in windows seven. Source of my program in …

Member Avatar for vegaseat
0
183
Member Avatar for Frederick2

Does anyone know if there are any issues in using the basic ODBC Api for database access on 64 bit Windows Vista/7 systems? This has been my preferred database access technology for a long time, and I'd prefer not moving to ADO or something else if I don't have to. …

Member Avatar for Frederick2
0
160
Member Avatar for babydol

Hi can anyone explain what exactly this function does [CODE] tabs(array())[/CODE] for eg. [CODE]<?php tabs(array("grid.php"));?>[/CODE]

Member Avatar for babydol
0
186
Member Avatar for LloydFarrell

Hi, I have a bit of a strange problem where I am unable to "echo" results from a database - I will show you the code then explaine what im trying to do [code] <?php include_once "connect_to_mysql.php"; $sql = mysql_query("SELECT * FROM table ORDER BY RAND(), LIMIT 1"); while($row = …

Member Avatar for vaultdweller123
0
1K
Member Avatar for bluecollagirl

i have an access table that contains the following: ID Number, Store Number, Sales Region, Item Number, Item Description, Unit Price, Units Sold and Week ending. One of the queries requires us to find the best selling products by quantity and another by units sold. I'm confused on the formula …

Member Avatar for bluecollagirl
0
158
Member Avatar for wolfkrug

So I am trying to compile this program, and I know that the only problem with my code has to do with the "while" section of the do while loop, either that or something to do with those variables. I declared the variable "repeat" as a char, and prompted the …

Member Avatar for Fbody
0
131
Member Avatar for jbrock31

I have been reading books trying to learn .net on my own. I am working on an exercise that asks me to create a 1MB file. what i have below does work, but it seems to me there would be a more efficeient way. It seems like what i am …

Member Avatar for jbrock31
0
313
Member Avatar for htrantk

I am learning Python now. It is too complicated. I started the file that i did but it crashed. Can you show me how to do it? Write a Python program to convert a given weight from kg to pound and to gal and to liter. 1kg=0.2642gal=2.205lb 1gal = 3.785liter …

Member Avatar for htrantk
0
3K
Member Avatar for mcdt2424

Hi guys, In my application users can search for events that fall with in a particular date range, which works fine. The problem I am having is getting records when I ask for the current months events using the query below. select * From Events Where FromDate >='1/1/2010' And ToDate …

Member Avatar for mcdt2424
0
77
Member Avatar for dardar4

hi all. i need to work with CvFitLine , but i can't find any examples of what it does. basically i need to take a set of points (lets' say 3) , draw a line between them, and than i need for every point sum the distance of the point …

Member Avatar for dusktreader
0
119

The End.