64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for kampao00

i have codes for adding data to listview from database but there's a problem .. Public Sub showmyrecords() Dim lvi As ListViewItem Dim dt As New DataTable Dim ds As New DataSet ' Dim intCount As Integer ds.Tables.Add(dt) Dim da As New OleDbDataAdapter("Select * from Schedulings where YearLevels = '" …

Member Avatar for kampao00
0
147
Member Avatar for Majestics

at javax.swing.table.DefaultTableModel.setValueAt(Unknown Source) at javax.swing.JTable.setValueAt(Unknown Source) I am setting a table row manually.... its just for checking purpose , i have 10 rows and 10 columns but still i am getting this error, please help me to resolve it....

Member Avatar for Majestics
0
283
Member Avatar for sinnebril

Hi there again, I'm still a newby in Python, so I'm taking the Google Python Class. They talk about `ls -l` and `rm -rf` (with the last command the class started laughing) But I don't understand it. I googled it and a hint came to me, that is is a …

Member Avatar for sinnebril
0
3K
Member Avatar for dejanc

Hello daniweb, Need someone to show how to get value from gridview column into textbox. For example if I have EmailGridview with 2 columns ID, and EMAIL. And would like under gridview to show Email value also in textbox. I'm still learning vb.net, and I was trying to do many …

Member Avatar for poojavb
0
3K
Member Avatar for jhedonghae

please help me.. i keep searching anywhere but find no answer i want to set the default value of a combobox in my edit account module based on the levelofaccesstextbox in my login module but my codes doesn't work here's my code: Private Sub editaccount_Load(ByVal sender As System.Object, ByVal e …

Member Avatar for jhedonghae
0
157
Member Avatar for ak47carbon

i want to give this type of coding in my website plz tell how can i give 404 error page like in this url http://www.google.com/m.php

Member Avatar for veedeoo
0
122
Member Avatar for ebanbury

Hi Does anyone know how to make this dynamic field 'sticky'. The code as it currently stands does not keep the chosen item showing in the field if there is an error in the form. It just default back to nothing Many thanks <select name="condo_nm" class="maintextnopad" id="condo_nm"> <?php do { …

Member Avatar for ebanbury
0
719
Member Avatar for mehnihma

Can you help me with this code, I do not know what is wrong? Thread is stuck somewhere? import java.io.*; import java.util.*; import java.util.concurrent.locks.ReentrantLock; public class Pokemon { private static ArrayList<String> pokemonList = new ArrayList<String>(); private static ArrayList<Thread> threads = new ArrayList<Thread>(); private static ReentrantLock lock = new ReentrantLock(); public …

Member Avatar for mehnihma
0
168
Member Avatar for frnds2vivek

Hi..actually am stuck up at a place while converting my current projet from DAO to ADO. As there is no equivalent function for Tabledef in ADO..thus i cant figure it out, as to how to replace the following code with. The following code searches for the table with name "BlockTable". …

Member Avatar for frnds2vivek
0
690
Member Avatar for Valiantangel

You can only inherit from one parent class in java. true or false.Why?

Member Avatar for thines01
0
76
Member Avatar for userct

I want to be able to write a program that repeatedly prompts the user to enter an integer. The program determines if that numbers is perfect and then writes out a message saying if it is or not, then prompts once again. I'll end the loop (and the entire program …

Member Avatar for userct
0
2K
Member Avatar for HasNor

Hi all, Have a nice day.. I want to know that way to backup our SQL data from server. Any suggestion for me?

Member Avatar for HasNor
0
112
Member Avatar for Dani

Soooo ... quick question :) I need to do some HTML parsing with regex :) I currently use `$output = preg_replace('/>\s+</', "> <", $output)` to strip whitespace between any two HTML tags. What can I do to strip whitespace only between paragraph tags. For example, only between `</p>` and `<p>` …

Member Avatar for Dani
0
418
Member Avatar for yeeitsneo

hi. would someone minf giving me a snippet of a code where a program searches for a specific character in a string? for example. if i have a label that contains a string "abcd" the program would check if the characters "b" and "d" exist in the string regardless of …

Member Avatar for ChrisPadgham
0
1K
Member Avatar for wildplace

i created some segement of shared memory using <sys/shm.h> <-- im not sure what this thing called.. shared memory? seems shared memory doesnt like dynamic allocation and vectors what are some apporaches i could create a 2D array like structure in shared memory?

Member Avatar for wildplace
0
172
Member Avatar for abulut

Hi, I tried to make a script but I need some help from you guys.. ıt will be like a fixing.. The output which ı had from my script and my script were sent as an attachment. 1)Can i get that output as left aligned? 2)Besides can you guys make …

Member Avatar for d5e5
0
219
Member Avatar for InS@NiTy

Hi, I'm trying to get data from a database and display the results using Eval, but it doesn't seem to work, I've tried `<asp:label id="InfoAvailableDesc" runat="server" Text='<%# Eval("InfoAvailable") %>' /></td>` and <asp:label id="InfoAvailable" runat="server"> <asp:literal id="litInfoAvailable" runat="server" text='<%# Eval("InfoAvailable") %>'/> </asp:label> Neither seem to work, these are both inside a …

0
93
Member Avatar for f4fjks

hey all! i created a keylogger of my own in visual c++ 2010, and included iostream, windows.h winUser.h the problem m facing is that it runs only when visual c++ is open. as soon as i try to close it, it pops a message to stop debugging and if i …

Member Avatar for f4fjks
0
949
Member Avatar for FelineHazard

Hi all, I encountered some weird act from the return(); function. I'm doing some book exercise in recursions: write a recursive function that makes a summation 1 + 1/2 + 1/3 + 1/4 + ... + 1/n. Rather basic. So I wrote this: float summation(int n) { if (n == …

Member Avatar for FelineHazard
0
195
Member Avatar for kampao00

hi! kindly help meeeee :D Populating the combo box with the list of items from the one of the column in table from database. Based on the selection of item in the combo box, the another combobox should be populated with value corresponding to the selected item in the first …

Member Avatar for kampao00
0
1K
Member Avatar for mehnihma

How to take any bumner of arguments form command line and to search in arraylist> I now do it in with defined number of arguments and take every argument and search, but this is unlcear to me? Thanks

Member Avatar for mehnihma
0
68
Member Avatar for deanus

Hi, I've been using C++ for quite a while but recently I discovered this peculiar behaviour. The following code works as expected: #define TWO 2; int nVal = 3 + TWO; cout<<nVal<<endl; // output is 5 ...if on the other hand I place the literal integer after the '+' in …

Member Avatar for deanus
0
107
Member Avatar for saad749

I have this Regular Expression in C#: Regex myRegex = new Regex(@"^[a-zA-Z]{1}\s(! | && | \|\| | -> | <->){1}\s[a-zA-Z]{1}$"); if (myRegex.IsMatch(expression)) { validated = true; } else { validated = false; } and I would like to match the following types of Strings: A && B A -> B …

Member Avatar for saad749
0
198
Member Avatar for mitchfizz05

Hi everyone. I am making an application that you need to sign up and login to. I want to use an online SQL database to store the login information. I know how to use a local SQL database, but I want to use an online database. Please help :) BTW, …

Member Avatar for mitchfizz05
0
187
Member Avatar for ebanbury

Hi I'm having problem getting what should be a simple INSERT using a preparared statement to work? Am I missing something? Many thanks require_once ('myaccess/dbc.php'); // $stmnt1 = $dbc->stmt_init(); if ($stmnt1 = $dbc -> prepare("INSERT INTO DEV_property_trades VALUES (?,?,?,?,?) ")) { $stmnt1->bind_param("sssss",$trade_name,$trade_number,$trade_email,$trade_list,$trade_details); $stmnt1->execute(); $stmnt1->close();Code blocks are created by indenting at …

Member Avatar for ebanbury
0
117
Member Avatar for vinnitro

We have chosen to create an project on e-shopping in ASP.NET we have chosen front end as HTML & back end as Oracle since we know something about both of this We are using ASP for maintaining connectivity between database & project and pages, etc. Is this good idea just …

Member Avatar for vinnitro
0
150
Member Avatar for alapeh

hi all pros, below is my vb6.0 code. the click command is to save my text and picture. there is no problem for my text. but, i have a problem after saving the picture. the picture can be saved but it is not availabe for preview. is there any fix …

Member Avatar for Jx_Man
0
4K
Member Avatar for poojavijay
Member Avatar for cheiL

Hi there I have a few lines of code that I would like to ammend but have been unsuccessful in doing so. I have posted in a few other forums with no luck, hopefully somebody here can help me out. I have a delete statement which I have been asked …

Member Avatar for cheiL
0
137
Member Avatar for murnesty

The local pointer will be remove after i go out from that scope? or will remain? Example: int glb1 = 2; int main () { int var1 = 0; fnCall1(); fnCall2(); //at here } void fnCall1 () { int tmp1; tmp1 = 10000; } void fnCall2 () { int *ptr1; …

Member Avatar for rubberman
0
133
Member Avatar for poojavb

Hello Friends, I need idea for my below process... I have one medical prescription form in my table....which will generate bill...and a receipt number will be generated in crystal reports.... If suppose a bill is generated for a particular transaction and after suppose few days i need a duplicate bill....how …

Member Avatar for poojavb
0
100
Member Avatar for mavis310

So for my code that i have below the reg.onclick is happening before it is even clicked and I'm not really sure how to fix this. Thanks for the help in advance. function displaySearch(){ var div = document.getElementById('table') var table = document.getElementById('tableSearch') var res = xmlhttp.responseXML var e = res.getElementsByTagName('element') …

Member Avatar for Troy III
0
190
Member Avatar for exonwarrior

Hey all! I have to come up with code for taking the contents of an input box on my webpage, use that as the name in my script and then display a message based on the time, say "Good morning Dave!" if it's between 5am and 12pm. I have all …

0
76
Member Avatar for nuclear

Straight to the point, I am using SOIL (http://www.lonesock.net/soil.html) library to upload images into OpenGl. Loading textures works fine but there is this thing i dont fully comprehend. Lets say I load an image into OpenGL via SOIL and I want to reuse the same image over few other textures …

Member Avatar for nuclear
0
2K
Member Avatar for tom12

Hey guys i'm new to visual basic and im trying to figure out where im going wrong. if you have any tip or a point in the right direction. i would be gratful thank you Public Class frmMain Public counter As Integer = 0 Public card1 As Integer Public card2 …

Member Avatar for Begginnerdev
0
80
Member Avatar for abed1986

Hello everyone, I am trying to read in a folder path, delimited by / and ending in COSC, and then output the last field to a file. It is supposed to match all directories that end in a course name, for example, COSC-101 or COSC201. I am using the following …

Member Avatar for abed1986
0
141
Member Avatar for kiail

I have a program, and I'm trying to remove duplicate characters. I have tried using toLower(), but it doesn't work...I'm not sure where to go from here. Any help in the right direction would be great! using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SortingLetters { static class RandomLetter …

Member Avatar for kiail
0
114
Member Avatar for Thermalnuke

Hey guys I need help with in my code... I need to add a method that checks wheather the weather attributes are consistant or not. thanks for the help heres my code... import javax.swing.JOptionPane; public class Week_eight_number_31 { private int DefaultFarenheit = 70; private String DefaultSky = "Sunny"; public Week_eight_number_31 …

Member Avatar for NormR1
0
184
Member Avatar for anita.kcx

Hi, I have a database called my_db1 which contains 3 tables. Out of the 3 tables one table is being populated 24*7. My hosting provider (i.e godaddy) provides 25 Mysql databases 1 GB each. What should I do if the database exceeds the 1 GB size limit? Is there a …

Member Avatar for effectiveMySQL
0
2K
Member Avatar for DavidKroukamp

Hey all, I have been wanting to make a cool game in jave such as a fighting game starting off simple with drwing stick figures :). But i was wondering why there are so many java games created in Japplet why not use swing- i know there are games out …

Member Avatar for DavidKroukamp
0
193
Member Avatar for Nathaniel10

I am teaching myself C++ and amd now trying to simple programs related to data structures. I wrote this code for a simple stack. It is not working. I am frustrated and tired so I cannot think through the issue. There are two main problems with which I need help. …

Member Avatar for Nathaniel10
0
122
Member Avatar for vizz

I am trying to use jScrollPane vertically, but it is not working. http://jscrollpane.kelvinluck.com/ I want simple styleable scrollbar alternative for above link or need help to make code work ( **Vertical only :-** http://jscrollpane.kelvinluck.com/arrows.html )

Member Avatar for pritaeas
0
84
Member Avatar for Joshua Kidd

Hello, I have a listbox in my program and I want the user to be able to remove all Listbox Items with the click of a button. I Figured this would work, [CODE]Listbox1.Text = ""[/CODE] But I Guess that doesn't work. Any Help would be awesome:)

Member Avatar for mhosny
0
256
Member Avatar for baig772

i have following .htaccess RewriteEngine On DirectoryIndex index.php RewriteRule ^([a-zA-Z0-9_-]{3,20})/([^/]+)/([^/]+)?$ index\.php?page=$1&s=$2&o=$3 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})/([^/]+)?$ index\.php?page=$1&s=$2 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})/?$ index\.php?page=$1 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})?$ index\.php?page=$1 [L] ErrorDocument 404 /404 it displays mu url as localhost/mysite/home for first perimeter and its going fine but when my url is localhost/mysite/home/user, whole look of page …

Member Avatar for pritaeas
0
108
Member Avatar for Cameronsmith63

Hi there, 1) So i have a Menu Strip, and a couple of user controls, and in these user controls, i have group boxes. So when I click on the item that I want in my menu strip, it displays as normal. That's working fine. What I am trying to …

Member Avatar for Cameronsmith63
0
143
Member Avatar for Perlie

Hi, I try to use a specific word in my file to put it as a folder name. This word vary in my file so, I think about use regular expressions to define it. my $file=$ARGV[0]; my $word=~/DOT\d+/; my $line=""; open(file, $file); while( $line = <file>){ if ( $line =~ …

Member Avatar for Perlie
0
115
Member Avatar for zingwing

i need help finding the low value in an array after reading file with numbers. With my program I am to assume that the size an array is 100 even if only 10, 31, 50 spaces are taken up. The problem im running in to is when i iniztialize the …

Member Avatar for Adak
0
232
Member Avatar for iThaos

I've been away from web coding for some time but I feel like coding PHP again. I was phpDesigner a lot and I got use to it. Its features are great but the trial ran out. Can anyone recommend a free PHP IDE that has all or most of the …

Member Avatar for cloder
0
242
Member Avatar for dmotah

Dear friends, i am a university student competting for my bsc(hons) in IT! i suggested to have my final year project based on android, n for your info, i have never codded in android. im am supposed to give a suggestion by tomorow! and i would be completing my project …

Member Avatar for dmotah
0
158
Member Avatar for greatman05

Hello. What are some ways that one can work with (x,y) coordinate pairs in Python? I'm doing a homework assignment that requires me to create a program that can check for certain binary relations (reflexive, transitive, symmetric), and I'm having an issue coming up with the best approach for it. …

Member Avatar for greatman05
0
277

The End.