64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for opspl_programme

Hi All, There are many articles available that describe how textbox watermark can be done with the .Net framework(C# and VB.Net) I'm working on a VB6 project. How to implement this with a VB6 textbox?

Member Avatar for AndreRet
0
2K
Member Avatar for PinoyDev

Good day! How to move to a specific record base on the current recordset of adodc control? I have this employee_(empID, empName, EmpSalRate). I have load all employees data by using this code: dim Sql as string Sql="select * from tml_employee order by empName Asc" AdoDc.ConnectionString=Conn AdoDc.RecordSource=Sql AdoDc.Refresh Thus, I …

Member Avatar for AndreRet
0
957
Member Avatar for Mike_H

I am trying to pass the values of an array from one PHP page to another but I am not having any luck. I need someone to tell me what I am doing wrong or if there is a bettter way. Here is my code snippet for page one: <?php …

Member Avatar for Mike_H
0
222
Member Avatar for vinnitro

This is my program for Biodata in applet using JFrame import javax.swing.*; import java.awt.*; public class Biodata extends JFrame { JLabel jlname,jladd,jlmobno,jldob,jlgender,jltab,jlhob,jllang; JTextField jtname,jtmobno; JTextArea jtadd; JComboBox jcd,jcm,jcy; JRadioButton jrm,jrf; ButtonGroup bg; JTable jtedu; JScrollPane jsp,jshob; JList jlhobby; JCheckBox jc1,jc2,jc3; JButton jb1,jb2; JPanel jpr,jpcombo,jpcheck; JFrame jf; Biodata() { jf=new JFrame("Biodata"); …

Member Avatar for vinnitro
0
1K
Member Avatar for lhhippie1

Hello All, First time poster, long time reader and thank you for all the previous help I have recieved from everyone. I am having trouble conneting to my access db. I think I have the bulk if this right, but I am getting an error on the newconnection.open() line. I …

Member Avatar for lhhippie1
0
159
Member Avatar for rakibtg

hello everyone, what is the way to replace Spaces With + icon using PHP. Suppose some text like "I Love PHP" will automatically converted like this way "I+Love+PHP" .. assuming a field has this text in a variable like> `$text = I Love PHP` so this variables text spaces will …

Member Avatar for rakibtg
0
118
Member Avatar for Mike_H

I have the following code in my **PHP** program: $query = "SELECT * FROM board_members"; $result = mysql_query($query) or die(mysql_error()); $data = array(); // create a variable to hold the information while (($row = mysql_fetch_array($result, MYSQL_ASSOC)) !== false){ $data[] = $row; // add the row in to the results (data) …

Member Avatar for Mike_H
0
261
Member Avatar for bLuEmEzzy

How to make Month and Celebrants change its color to yellow? Thank You echo date('M'). " ". ('Celebrants');

Member Avatar for simplypixie
0
161
Member Avatar for HacruLeian

hello, i'm confused here. i have an assignment that required me to create a project registration program that have student, project and supervisor. i haven't start to do it yet. but i've gone through the question. there's a part of the program that need to list out the student's, supervisor's …

Member Avatar for Bob
0
105
Member Avatar for MasterHacker110

Like you would compile a C++ program. But with C# you always need the .NET framework (such a draw back sometimes). Is there anyway that you can compile the program and run it without .NET?

Member Avatar for VatooVatoo
-1
153
Member Avatar for zeusprog
Member Avatar for zeusprog
0
3K
Member Avatar for Suzie999

Hi, I'm hoping someone might be able to help me with what I think might be a simple problem. I have came across the need to add to an unsigned char array a literal single quote "'" My question is how can I achieve that? unsigned char uArray[4]; uArray[0] = …

Member Avatar for Bob
0
133
Member Avatar for HibaPro

i used this code to delete row from datagridview but it dosnt delete the selected row it delete the first row , where is the problem?? Dim sCommand As SqlCommand Dim sAdapter As SqlDataAdapter Dim sBuilder As SqlCommandBuilder Dim sDs As DataSet Dim sTable As DataTable ***** Dim connectionString As …

Member Avatar for G_Waddell
0
219
Member Avatar for chira9na9pal

function productview(view) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("product_view").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","product_ajax.php?result="+view,true); xmlhttp.send(); }

Member Avatar for chira9na9pal
0
262
Member Avatar for dean.ong.14

<html> <head> </head> <body> <table border='1'> <tr> <th>Agent_ID</th> <th>Address</th> <th>Bedrooms</th> <th>Price</th> <?php $connect=mysql_connect("localhost","root",""); mysql_select_db("ong_assesment',$connect); $query = mysql_query (SELECT Agent_ID,Address/Suburb,Bedrooms/Bathrooms,Price FROM suburbs); { echo '<tr>'; echo '<td>'. $row[Agent_ID].'</td>'; echo '<td>'. $row[Address].'</td>'; echo '<td>'. $row[Bedrooms].'</td>'; echo '<td>'. $row[Price].'</td>'; echo '</table>' mysql_close(); } ?php> </body> </html>

Member Avatar for phorce
0
293
Member Avatar for reco21

Hello. I have this below SimpleXMLElement Object ( [item] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [id] => plid_2 [name] => Playlist [ro] => ro ) [content] => SimpleXMLElement Object ( [name] => Playlist ) [item] => Array ( [0] => SimpleXMLElement Object ( [@attributes] …

Member Avatar for reco21
0
410
Member Avatar for dean.ong.14

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name = "description" content = "Wellington Real Estate"/> <meta name = "keywords" content = "home, housing, Karori, Mirimar, Te Aro, Thorndon, Farcourts, Jonnys, Relax"/> <title> Agents </title> <link rel = "stylesheet" type = "text/css" href = "assessment.css"/> </head> …

Member Avatar for phorce
0
148
Member Avatar for sanjeewa.abeywardana

What is the best and fun way to learn MVC 3 technology that can apply to real production environment? Any web site or sample projects are always welcome. I would always like to learn quick too so any videos are also welcome

Member Avatar for sanjeewa.abeywardana
0
127
Member Avatar for grh1107

Hey, I'm trying to change the color of a textbox border say if a value returned false. private void UserBox_TextChanged(object sender, EventArgs e) { ControlPaint.DrawBorder(e.Graphics, this.ClientRectangle, Color.Red, ButtonBorderStyle.Solid); } } the problem is EventArgs e doesnt have a graphics member, EventArgs should be a PaintEventArgs, but when i change its …

Member Avatar for grh1107
0
186
Member Avatar for Skate Bart

Hi there. I developed a program that creates Data Reports using this way : [Click Here](http://www.vbtutor.net/vb6/lesson40.html) But instead of using "Microsoft Jet 3.51 OLE DB Provider", I used "Microsoft Jet 4.0 OLE DB Provider" because when I used "Microsoft Jet 3.51 OLE DB Provider" it couldn't connect to the database …

Member Avatar for Skate Bart
0
617
Member Avatar for akasekaihime

We are atsked to create a net salary calculator or something that computes the net salary. I used three radio button in which if it is selected, it has corresponding solution for each selection. The three radio button are probationary, regular and permanent.......here is the code Private Sub Command1_Click() Dim …

Member Avatar for akasekaihime
0
228
Member Avatar for markjames2012

Ok i manage to autoselect items on listbox till reach the end of list, but i need it to automatically loop back to the fist selection of indexes when it reach the end list and so on .. i need help on this part newbie here :) if Me.Listboxs1.SelectedIndex + …

Member Avatar for markjames2012
0
2K
Member Avatar for Tko_1

hello, im tyring to change script from another page. i would like to change (a > true) to false and back if need be. As a dropdown or radio selection, maybe using variables but everything i have tried i have no luck. <?php if (a > true ) print "a …

Member Avatar for Tko_1
0
289
Member Avatar for fishsticks1907

hello, im having troblue getting my linked list to show everything on the list. it only shows the first node, and nothing afterwards. #include <iostream> #include <string> class list { private: struct node { std::string name; std::string phone; node *next; }*head, *tail; public: list() : head(0), tail(0) {} ~list(); void …

Member Avatar for fishsticks1907
0
151
Member Avatar for HunainHafeez
Member Avatar for chris99

Just wondering how the game would be put together, maybe even a step by step tutorial. I could use this to practice with the commands used without Tkinter or Pygame. This could be a good learning experience.

Member Avatar for Jacklittle01
0
1K
Member Avatar for AngelOfRock

Hi guys, i'm trying to program a simple Tic-Tac-Toe game with extern Buttons. When i'm compiling the Code there's no mistake, when i press Button1 every thing ok, but on the most other Buttons a mistake is shown up : Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at grafik.Zeichenfenster.farbeAufloesen(Zeichenfenster.java:330) at grafik.Zeichenfenster.zeichnen(Zeichenfenster.java:276) at …

Member Avatar for JamesCherrill
0
816
Member Avatar for showman13

I have located a potential issue in the correlation between 2 tables and would like to correct it before it actually becomes one. (actually I need to fix it so the new scripting I'm doing will work correctly) I have a member information table called 'members' (38,881 records) I have …

Member Avatar for showman13
0
180
Member Avatar for simplypixie

Rather than write a huge list of properties used by a class I want to know if I can dynamically generate them when needed. I have looked and __set and __get but I am not sure how (or if) I use them with what I am trying to do. The …

Member Avatar for simplypixie
0
5K
Member Avatar for Duki

I'm trying to find an event that handles which tab is clicked? I know it has to be simple, I'm just missing it. I want to say "when tab1 is clicked, do this, when tab2 is clicked, do that"

Member Avatar for xydn
0
106
Member Avatar for nova4005

Hello, I am new to the forums and I am just starting to learn python. I have been writing the following program and have ran into a problem with getting it to work right. If anyone can offer some advice on what I am doing wrong I would be thankful. …

Member Avatar for nova4005
0
148
Member Avatar for LD Company

Hello programmers! My Library Software with DataBase is 99% finished and I have an error. When I click Save or Delete I got error message: **Cannot insert explicit value for identity column in table 'Table1' when IDENTITY_INSERT is set to OFF.** I want to know **HOW** to set IDENTITY_INSERT to …

Member Avatar for Reverend Jim
0
226
Member Avatar for diafol

Hi all. AM having a little issue with regex. Not one of my strongest skills! I'm trying to produce a simple translation system that doesn't require arrays, gettext etc. It basically has this structure: $content=<<<CONTENT <p>{{Dyma destun||Here's some text}}</p> ... CONTENT; So the page content is held in a var …

Member Avatar for diafol
0
323
Member Avatar for Oneryavuz

i'm tring to make a diary. i need nice background. user could edit text anytime if he/she wants. but i cant do that, because i cant make transparent background on textbox or i cant make editable label. is there any way to do transparent background on textbox? how can i …

Member Avatar for Reverend Jim
0
1K
Member Avatar for napninjanx

So all a person needs Is a home server in his office or house? and programming language to build a website and make a blog website for example or a game website. So i just get a server and start building my blog website for example... Like for example Facebook …

Member Avatar for almostbob
0
244
Member Avatar for delta_frost

Which of the following code is likely to take less time to get executed? /*Format 0*/ main(){ int a=3,b=5; printf("%d",a*b); } /*Format 1*/ int mult(int a,int b){ return a*b; } main(){ printf("%d",mult(3,5)); } /*Format 2*/ inline int mult(int a,int b){ return a*b; } main(){ printf("%d",mult(3,5)); } As of now,I understand …

Member Avatar for deceptikon
0
189
Member Avatar for sanghai45

I want to make level editor in which I want it to have three buttons CreateNode , Reset Node Create Node - It will add node in screen Reset Node - It will reset all the links from the Node And when the node is created on window if I …

Member Avatar for sanghai45
0
228
Member Avatar for Khav

Hi I have a vb.net form connected to an access database using vb.net .All my other button except for the add new button If Valid = True Then CustomerBindingSource.AddNew() Me.TableAdapterManager.UpdateAll(Me.DB_ShopDataSet) End If I want this code to add a new row to the customer table.However the current code modify the …

Member Avatar for Khav
0
404
Member Avatar for jonkeeler

Hi, The code below selects all items in a listview control,fine,but I was wondering how I could code to select all but the very last line in the array. [CODE]Private Sub SelectAllToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SelectAllToolStripMenuItem1.Click Dim i As Integer Dim lvItm As ListViewItem Dim …

Member Avatar for Reverend Jim
0
1K
Member Avatar for kkcaddy

import java.util.*; public class EmployeeTest { public static void main (String[] args) { Employee[] staff = new Employee[3]; staff[0] = new Employee("Carl Cracker", 75000, 1987, 12, 15); staff[1] = new Employee("Harry Hacker", 50000, 1989, 10, 1); staff[2] = new Employee("Tony Tester", 40000, 1990, 3, 15); for(Employee e : staff) e.raiseSalary(5); …

Member Avatar for NormR1
0
195
Member Avatar for hakeemtunde

guys i wil be glad if someone can explain how i can go about handling binary data, like parsing an image to be dispaly on a browser.

Member Avatar for DarkMonarch
0
110
Member Avatar for zeusprog

Please how do I convert a string of hexidecimals “10B71356C845FB08E04951AAA2FF9F49” to integer? I tried using getBytes then Integer.valueOf but I got 32 integers instead of 16. Any help would be greatly appreciated. Thank you.

Member Avatar for zeusprog
0
232
Member Avatar for zeusprog
Member Avatar for zeusprog
0
142
Member Avatar for rfrapp

Hello, I am trying to fill an array with 20 unique random values between 1 and 60. I know what I need to do to get this to work, but I'm not sure how to do it. Here's what I've got: void fillArray( int arr[], int size) { int arr2[20]; …

Member Avatar for RainbowMatrix
0
2K
Member Avatar for kkcaddy

> Quoted Text Here i got this code from a book i am practicing with and when i try to compile it returns the following error EmployeeTest.java:30: incompactible types found : java.util.Date required: Date hireDay = calendar.getTime(); please how do i debug it import java.util.*; public class EmployeeTest { public …

Member Avatar for vinnitro
0
208
Member Avatar for caven.chunyen

Hi, I've got a set of folders with each contain many files. I need to extract a specific file extention(.sof) from each of these folders to a new directory(or the same directory in a new folder). Any help is appreciated. Thanks.

Member Avatar for extension wpd
0
317
Member Avatar for PinoyDev

Good day! I knew this is easy to all of you guys. But I need the most precise way to parse this string "**45:50"** and store the result in **two dimensional array with int as datatype**. The delimeter is "**:**". Thank you!

Member Avatar for WaltP
0
322
Member Avatar for Vish0203

What would be the error code for this?? Am I using perror() at right place?? The output shows "No error" #include <stdio.h> #include <conio.h> #define MAX_VAL 32000 int main() { start: int x; printf("Enter a value for x= "); scanf("%d", &x); if (x > MAX_VAL) { perror(""); getch(); system("cls"); goto …

Member Avatar for Vish0203
0
155
Member Avatar for Jsplinter

I wrote the following code to test which is faster: performing a multiplication and division many times, or accessing the results in a vector via iterators(perform the calculations ahead of time), or hard coding the results of those calculations into the program. I actually expected storing the results in the …

Member Avatar for Jsplinter
0
269
Member Avatar for Despairy

I was thinking about somehow using a static member that all the matrix cells will be defined by their value + the static value. but than i thought how can i do it? what is the easiest way of doing so without the need to run over the 10^6 cells? …

Member Avatar for Despairy
0
299

The End.