199,114 Archived Topics
Remove Filter ![]() | |
Heres my issue my fellow coders: My works VB program uses some .asp files to create reports. This is the error I am getting: Microsoft VBScript runtime error '800a000d' Type mismatch: 'ubound' /reports/wpoa_trans_summary.asp, line 238 I navigated to line 238 in the asp file and here is the code: [CODE]if … | |
Hi All, I am trying to retrieve the telephone number from Active Directory for my script, I found alot of examples online, and I tried to implement what I think should make sense (but since I really don't know vb that well, this is problematic). Below is the piece of … | |
[CODE] Public Function removespace(ByVal strtext1 As String) As String If Not Len(strtext1) = 0 Then For K = 1 To Len(strtext1) If Mid(strtext1, K, 1) = Chr(13) Then strtext1 = Replace(strtext1, Chr(13) & Chr(10), ",") End If Next Else strtext1 = "" End If removespace = strtext1 End Function[/CODE] | |
How can i make the words in alphabetical order if there are not the same ??? [CODE]import java.util.Scanner; public class Alphabetize{ public static void main (String [] args) { Scanner input = new Scanner (System.in); System.out.println("Enter three words"); String Word1, Word2, Word3; Word1 = input.next(); Word2 = input.next(); Word3 = … | |
this should be the output: A b C d E f G h I j K l M n O p Q r S t U v W x Y z heres what i ve done so far: class za { public static void main(String[]args) { String x="abcdefghijklmnopqrstuvwxyz"; int ctr; … | |
Hi, if I run something like this to popup an alert 2 seconds after page-load, the alert pops up instantly: [code] <html> <head> <script type="text/javascript"> setTimeout(alert('Was it worth the wait?'), 5000); </script> </head> <body> <p>Hi!</p> </body> </html> [/code] whereas if I double-quote the alert function, it is functioning as usual. … ![]() | |
I know this might be a very simple one, but yet I can't figure that one out! How do I get data from one table that are not in another? Let's say Table ServerA has: IP, User, Password, Table ServerB has: IP, CanConnect. If ServerA has 20 rows and ServerB … | |
Hello pythonistas, am still some months new to python and i've decided to go with the web2py framework. I love its simplicity but unfortunately, it lacks study resources. The only available book i could get was the official book written by MASSIMO DI PIERRO. id be greatly appreciated if i … | |
I use dreamweaver, PHP and MYSQL. I need some help and any is appreciated, I have alot of knowledge in html learnt from some college, little in php and none in mysql, I am self teaching php and mysql, so forgive me if the question is too easy. :) Ok … | |
I got a warning from vs2010 at compile time (C4172 returning local variable or temp) [CODE] int foo(){ int* bar = Bar() } int* Bar(){ int array[2]; array[0] = 1; array[1] = 2; return array; } [/CODE] if I understand the reason for this correctly, that the array 'array' in … | |
gents please help on the following. I'm creating an small application where I search from the databse table tems and add the result line to a datarow of my datatable "dt", I the set the datagridviewe datatsource to this same dt. My question is: How can I save this dt … | |
Hello all, I've just started to learn C++ since I have a bit of time on my hands. I was doing an exercise, learning functions and built a multiplier (very basic, enter 2 numbers and here is the result) strange thing, if the numbers you enter are very high, I … | |
Hi, I'm using asp.net together with vb.net. I am trying to develop: 1. a login page in asp.net, once user enter the correct username and password, this will be directed to the User page. 2. In User page, there will be some text fields of the user (eg. name and … | |
Hi All. I am working on a program where I need help to convert a managed strinf type to unamanaged string to send as argument to function. Any help would be highly appreciated. | |
is it possible to have a script that when i run that script it will log into a database and delete all the entries from specific database tables? if it is how would that look for database name "test" and "table 1, table 2, table 3, table 4 and table … | |
only the first item in the combobox will be returened even if i selected another item. HELP! [CODE] try{ //combobox of the products rs = stmt.executeQuery(query2); rs.last(); int i = rs.getRow(); String [] v = new String [i]; rs.beforeFirst(); i = 0; while(rs.next()) { v[i] = rs.getString(2); i++; //break; } … | |
I wanna to know the difference between mysql_fetch_Assoc and mysql_fetch_Array..I am a little bit confused at its usage..Kindly provide with a sample example also...Any help would be appreciated | |
Hey guys, I am looking to encrypt some data into a database, however it will need to be decypt to be read... I know there is the base64 commands but im looking for something a little more secure? Does anyone know of any good solutions? Dan | |
i m having trouble with updating the fie. every time the code is executed, the variables are not retrieved from the file and start from the scratch. moreover, the file is not updated. plz reply | |
I need help creating bootstapper for crystal reports runtime.. I want crystal reports runtime to be installed automatically with the application if its not installed on the target machine. I am using vs2010 anyone have any idea here ? | |
I'm developing a website and I want to change the image of a page when NEXT button is clicked. I retrieve the images from my database and of course I do not want to retrieve repetitive images. This is my NEXT button: [CODE]<input type="submit" value="Next" onclick="synchronousAJAX()" style="position: absolute; left: 1085px; … ![]() | |
Hi I need the code to use Calendar Date Picker in PHP. Can anyone help please? Thank You ![]() | |
This is my xml file [CODE]<CATALOG> <category> <name>Engineering</name> <subject>Civil Works</subject> <subject>Water Supply</subject> <subject>Street Lighting</subject> </category> <category> <name>Public Health</name> <subject>Sanitation</subject> <subject>Dispensaries</subject> <subject>Maternity Services</subject> </category> <category> <name>Town Planing</name> <subject>T.P.S</subject> <subject>T.P.B.O</subject> <subject>Tracer</subject> <subject>Chairmen</subject> </category> <category> <name>Administration</name> <subject>Ministerial Manager</subject> <subject>Revenue R.O.</subject> <subject>Accounts Accountant</subject> </category> </CATALOG>[/CODE] I have to get the all subject names in … | |
How to connect mysql with difference server If my all file is in 192.168.0.100 and mysql server is 192.168.0.200 I got Error "sorry, could not load your data, please try again later" when try it. If bote all file and database is in same server , It run correct. [CODE]<?php … | |
someone tell me where am going wrong <?php class myclass { var $config; function getname() { $q=mysql_query("select * from users"); while($row=mysql_fetch_array($q)) { $row[]=$minutes; } return $minutes; } .......................................... hers how i call <?php $name=new myclass; $new->getname(); foreach($new as $news) {echo $news; } | |
Hello, I have a site built with Wordpress and I want to create a form but I'm facing some troubles now. I want to have a form which can get the title of the post where I put the form, and more than one form fields on the same line … | |
hi frends i m in fifth semester of engg in info.tech and i need info abt projects of database particularly hospital and railway reservation management pls send me informatuion from where i can get these projects and front end of projecs shuld be in visual basics VB | |
hi friends i use a htaccess file on my linux hoting server to change the "upload_max_filesize" and some other settings. but it shows the internal server error 500. how to change this setting on my server, Plz help me:( htaccess file code. php_value upload_max_filesize 50Mb php_value post_max_size 50Mb php_value max_execution_time … | |
Hello, is there anything wrong with the below code? i want to blink any of the for labels if the back color is LimeGreen. Timer5 is enabled already and starts at form closing event of another for. so on the timer tick i have below code. thanks for your help … | |
[URL="http://www.daniweb.com/software-development/vbnet/threads/360388"]http://www.daniweb.com/software-development/vbnet/threads/360388[/URL] how to make a filter that only show the items that checked and unchecked don't show in checklistbox | |
I have been searching high and low to find something remotely close to what I am trying to accomplish and have failed, miserably. I have read Oracle and tutorials, but have a hard time comprehending everything related to java. It is all so confusing. I would just be grateful for … | |
Hi, so I have this assignment to create a scheduling algorithm, I tried looking everywhere for help on how to create one and the closest one was here, where I found a great source code, yet I tried to modify it with my assignment variables and I created some nasty … | |
Hey, My program is to add images to database using class GUI in java. Ang i can not get into a code that can insert into database I'am using this codes: import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import java.sql.*; import java.util.*; import javax.swing.event.TableModelEvent; import javax.swing.table.DefaultTableModel; import javax.swing.event.TableModelListener; public … | |
Just a quick snippet for beginners | |
Hi everyone, My name is Edward and I have question about AJAX, JSON, and google geocode. I have an assignment to create a webpage that has following text fields: name, street address, zip code, city, and state. The goal of this assignment is that when I fill the zip code-text … | |
Hi, I want to process a text file. Here are the contents of the text file labels 1 -1 -1 0.2988 0.7012 -1 0.188161 0.811839 -1 0.0824541 0.917546 1 0.579515 0.420485 -1 0.0965063 0.903494 -1 0.174624 0.825376 -1 0.0404312 0.959569 -1 0.0770909 0.922909 -1 0.12001 0.87999 1 0.778388 0.221612 In … | |
I have two tables in one form and a button in another form. So the two tables must be displayed first and then the button. But for me the button is displayed between the two tables. Can anyone help me?? This is my code [CODE]<form action="choirEvedit.php5" method="post"> <?php $con = … | |
[CODE]void alternate(char wordWord[][MAX],char wordVar[],int word[],int i,int j, int k, int l) { char ang[4],si[3],ni[3],ay[3],sa[3],kay[4]; int X,Y,Z1,Z2; strcpy(ang,"ang"); strcpy(si,"si"); strcpy(ni,"ni"); strcpy(ay,"ay"); strcpy(sa,"sa"); strcpy(kay,"kay"); tokenize(wordWord,wordVar,word,i,j,k,l); if(wordWord[j][k] == ang[4] || wordWord[j][k] == si[3]) X = wordWord[j][k]; else if(wordWord[j][k] == ni[3]) Z1 = wordWord[j][k]; else if(wordWord[j][k] == ay[3]) Y= wordWord[j][k]; else if(wordWord[j][k] == sa[3] … | |
I want to retain selected value of city drop down list after refresh(any error occour). Need help Javascript code [CODE]<script type="text/javascript"> function showUser(str) { if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new … | |
I am trying to extract all the images in a PDF and then convert them into DIB format using an Acrobat plugin. First part is easy. I extract all the contents in the PDF, then iterate through them and whenever I find a PDEImage, I put them in an array. … | |
need a complete code for a car class with the following attributes; make model colour registration no of seats wheel type (alloy or hubbed) engine size (in cc) ![]() | |
How are you, I need some help with the following code (Attached Form1 & AccountClass). I am trying to figure out the following: - Figure out the code in ButtonWithdrawal when the amount is bigger than 0. - Show the (Balance) in ButtonBalanceInq. - Show the List of transactions in … | |
Hello Friends, I have compeleted my project but I just need one help.... I want that when the application exe file is running at that time the database associated with the application shud be closed.... Means...I am using the .mdb file... is there any way that when the application starts, … | |
there are three methods called in a backgroundworker_dowork() event in c# .net 4. I want to execute three methods synchronously. that is, 2nd method will execute after 1st method is fully executed and 3rd method will execute when 2nd method is fully executed. because 2nd method can exetue properly only … | |
I am adding a csv file upload script for my webid auction site. I tested it outside the webid script in a simple test database and it worked fine. I need to make some changes to it. It should catch the user's id and create an auto increment item id. … | |
Hello Every One ! i started to learn CakePHP, i have installed it and working fine, now i need to learn how to run my applications and where i want to save my php files and how to run it?? Normally we run PHP files localhost/folder/index.php or something else, But … | |
hi, I am currently making a website and was wondering how to make it so that when a button is clicked it will update a field in the database by +1. This is sort of a 'like' system for photos so someone can view a photo and then press this … | |
Okay this is my code, i can't get the else statement part to work...can anyone kindly assist me...i find nothing wrong with the syntax...thank u... ps: no error... [CODE]<?php session_start(); $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="testing"; // Table name … | |
below is a link for my screenshot [IMG]http://www.fileden.com/files/2008/3/26/1838035/Pictures/vbkoh2.jpg [/IMG] in my sreenshot it must print all what it is in in column1 which is: aaa bbb ccc [CODE]DataReport6.Show DataReport6.Sections("Section2").Controls("label1").Caption = DataGrid1.Columns(1) [/CODE] plz help.. tnx.. :) | |
I need to generate a random binary number (or decimal and convert it), and store that number in an array, needless to say im lost and would appreciate any help. Thx |
The End.