64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for hmartinez

Hello, I have a strange problem. I am trying to use the tesseract library in my own project. First, I have used it in a new project, just to test it, and everything has gone fine. After that, I have integrated in a bigger project in the same way as …

Member Avatar for hmartinez
0
502
Member Avatar for HB25

Hi I am using the fallowing code to give some information back to the user after running some queries. The information will be displayed in row only. [Code] $result1 = mysql_query("SELECT * FROM bookings WHERE bookingID='$last_insert_booking_id'"); echo "<table border='1'> <tr> <th>ID</th> <th>Firstname</th> <th>Lastname</th> <th>address1</th> <th>address2</th> <th>town</th> <th>postcode</th> <th>telephone</th> <th>email</th> <th>Arrival</th> …

Member Avatar for minilik
0
3K
Member Avatar for mk.hashmie

if(strcmp(s.name, stdname)==0) is this statment is correct? i am having an error while executing this statment.. i have givn its headerfile

Member Avatar for jumbowat
0
78
Member Avatar for jackbauer24

What is the difference between [ICODE]inheritance[/ICODE] and [ICODE]object orientation[/ICODE] ?

Member Avatar for jackbauer24
0
100
Member Avatar for danielbala

Hi.. this is code to display the datas from db to web page .. im not getting the outputphp,mysql <?php $host="localhost"; $username=""; $db_name="dbname"; . mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $query="SELECT * FROM database"; $result=mysql_query($query); $num=mysql_num_rows($result); mysql_close(); echo "<b><center>List Of Employees</center></b><br><br>"; $i=0; while ($i < $num) { …

Member Avatar for pritaeas
0
134
Member Avatar for justin6345704

Hi everyone. First time poster, brand new to java but I like it. I'm comfortable with the very basics but as we move forward I'm starting to struggle. My prof is not very good about explaining things so I've been teaching it to myself mostly. My most recent assignment involves …

Member Avatar for DavidKroukamp
0
134
Member Avatar for Mr.BunyRabit

Hey there. At the moment to close a form (like to go back to a previous form) i use this.hide(); But ive read things that some statements "Dont realy close the form, and it still runs or whatever" Is this the rigt way to close one of my forms? And …

Member Avatar for DavidKroukamp
0
195
Member Avatar for TheWayEnd

Hi,everyone My project is scanner for example. Then This is my code... [CODE]Dim htmlele As HtmlElementCollection htmlele = WebBrowser1.document.GetElementsByTagName("h3") For Each htm As HtmlElement In htmlele Dim chld As HtmlElementCollection = htm.GetElementsByTagName("a") For Each ch As HtmlElement In chld ListBox1.Items.Add(ch.GetAttribute("href")) Label1.Text = ListBox1.Items.Count & " Bulundu." Next Next[/CODE] but here …

Member Avatar for TheWayEnd
0
301
Member Avatar for Alexis913

I am trying to launch a process using CreateProcess() I have to modify the Path environment variable as well as add some environment variables of my own. What I am doing is I get the parent's environment block using GetEnvironmentStrings(). I basically copy the parent env block and only modify …

Member Avatar for Alexis913
0
5K
Member Avatar for NetJunkie

Hello DaniWeb, it has been a while since I have asked a question here so I thought now would be a great time to do so. I am creating an application that loops through the file names of a specific directory, in this case, the System32 folder. I want the …

Member Avatar for Reverend Jim
0
199
Member Avatar for geniusvishal

Guys plz have a look: I tried to update a particular column by using a dropdownlist while editing inside a gridview... I am getting the following Error on updating... Unable to cast object of type 'System.Web.UI.LiteralControl' to type 'System.Web.UI.WebControls.TextBox' [URL="http://s19.postimage.org/ftytfxkyb/Error2.jpg"]http://s19.postimage.org/ftytfxkyb/Error2.jpg[/URL] I am using the following code: [CODE] <asp:GridView ID="GridView1" runat="server" …

Member Avatar for geniusvishal
0
825
Member Avatar for Shreya J

Hi All, I am currently working in a project that needs Telerik Controls in it. But this concept is entirely new to me. Please guide me with its use and implementation in a Project. I need to know even the A B C's of the concept . Thank you in …

Member Avatar for Shreya J
0
185
Member Avatar for biojet

I am trying do it the script to put out data after compare two file. I make the script to do that but the result was not enough. in put 1: [CODE]Num posi base 1 14183 ATC 2 26657 GGG 3 49403 GCA 4 57244 GCA 5 58068 GCT 6 …

Member Avatar for biojet
0
138
Member Avatar for uva1102

Hi, I have three roles engineer,supuvisor and manager for my website and I have three master pages engineer.master , supervisor.master and mgr.master and i have some specific aspx pages for engineer,supervisor and manager. I want to use engineer.master page for an aspx page if engineer user is logged in and …

Member Avatar for uva1102
0
163
Member Avatar for abhijeet P

Hello I have written a code for midlet where one form calls other and data from one form is displayed on another. But on back button the data isnt cleared and also on click back button and click ok tow sets of fields are generated on second form plz help... …

0
229
Member Avatar for EulavValue

Hello, I am pretty new to programming and needed some help with one of my programs. I am trying to have the user input how many numbers they want to plug in then they plug in x amount of numbers until they reach whatever they input. After that I am …

Member Avatar for EulavValue
0
232
Member Avatar for Contagious98

I am having a difficulty in this login form that I have made. The same as the premade template login in VB 2008 which I am using right now. Here's what happens when I run the program Log in form open > Log in successful > Main window appears *The …

Member Avatar for Contagious98
0
281
Member Avatar for mrbungle

I have a hard coded connection string that DOES work just fine- [CODE]Public urlMySQLDatabase1 As String = "Server=170.200.80.90;port=3300;Database=DatabaseName;Uid=UserID;Pwd=Password;"[/CODE] However, I want the server and port to be dependent on the values in a textbox. I thought something like this would work but it won't connect- [CODE]Public urlMySQLDatabase1 As String = …

Member Avatar for M.Waqas Aslam
0
201
Member Avatar for geniusvishal

Guys I am having problem restoring the database from a created backup file.. Actually the situation is like this: 1> I created a backup for my database from my office 2> I mailed that database to myself so that i could use it in my home.. 3> I tried to …

Member Avatar for geniusvishal
0
121
Member Avatar for lxXTaCoXxl

Okay, so I've used this without even knowing 100% about what it is. I know what it does so I've always just called it the "type of object" but I want to know what this is really called. For example, I create a class and I want it to be …

Member Avatar for lxXTaCoXxl
0
249
Member Avatar for dksmall

What would be the best approach to create the following: A groupbox that contains several labels a groupbox with an array of 8 labels in it Then the main form would have 4 of these groupboxs (object?) and I would need the ability to change the color and text of …

Member Avatar for dksmall
0
242
Member Avatar for shann1718

i have an mdi form. always display this error on closing. i have this code on its closing button [CODE] Private Sub mdiprfct_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing If MessageBox.Show("Are you sure want to quit? ", "Confirmation", MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.No Then e.Cancel = True End …

Member Avatar for ryanjayson
0
83
Member Avatar for smilinrascal

I need to count the number of records in an SQL database and compare it to a text file that contains a records number. Although I know how to access a SQL database in C#, I do not know how to count the number of records, or how to access …

Member Avatar for hericles
0
160
Member Avatar for Contagious98

Guys, just a newbie programmer here. With 1 week experience in VB2008. I'd like to ask for assistance on making one of these inventory systems concepts. I hear its one of the basic programs a newbie can make. This will be made for students financial monitoring. Like how much they …

Member Avatar for Contagious98
0
193
Member Avatar for mikeybware

I have an Invoice.accdb database (in MS Access) that I am pulling into a MicrosoftReportViewer. I am having trouble subcategorizing the data, and was wondering if anyone could offer a little insight please. I would like to display the data as follows: Invoice Date [INDENT]ID Patient Name Pt ID Status …

Member Avatar for mikeybware
0
111
Member Avatar for Benjip

I'm stumped as to why this might be happening. A website I had completed for a client over a year ago, was working fine until a couple of days ago when the web host went and moved the site onto a new server without warning any of their customers (myself …

Member Avatar for Benjip
0
242
Member Avatar for riahc3

Hello Using MySQL, I have DB 1 with table T1 on Server 1 and DB 2 with table T1 on Server 2. Not on the same network and T1 contain the same columns with the same datatypes. I want to create a trigger on DB 1 so when there is …

Member Avatar for riahc3
0
3K
Member Avatar for urbanthistleuk

Hi all, My apologies if this has been asked before, but I am unable to find any help with this problem I am experiencing. I have currently developed a mysql database with a php form that allow me to fill out all fields and check boxes which works fine and …

Member Avatar for urbanthistleuk
0
155
Member Avatar for Begginnerdev

Hello my fellow Daniwebaholics! I know it is kindof off the wall, but I need help converting a piece of C# code to VB.net. I know a little C#, but not enough to be able to convert complex syntax from one to the other. Here is the code in C#: …

Member Avatar for Begginnerdev
0
363
Member Avatar for cppgangster

Hi all, I learning Java as a second language. And I found some syntax in my book of android development to be very hard to explain. Would you help me with this example : [CODE] Button btn(Button)findViewById(R.id.btn_dialog); [COLOR="Red"]btn.setOnClickListener(new View.OnClickListener(){[/COLOR] public void OnClick(View v) { showDialog(0); } }); [/CODE] Its quite …

Member Avatar for cppgangster
0
117
Member Avatar for ram619

The output of this code is "lice ice ce e". Seems to be string array is acting like a circular array. But how is it possible ???? [CODE=c]#include<stdio.h> #include<conio.h> void main() { int i,n; char *x="Alice"; clrscr(); n=strlen(x); *x=x[n]; for(i=0;i<n;i++) { printf("%s ",x); x++; } getch(); }[/CODE]

Member Avatar for ram619
0
101
Member Avatar for klemme

I am having a problem defining these constants on my localhost: [CODE] define ('BASE_URI','C:\wamp\www\shop\'); define ('BASE_URL','http://localhost/shop/htdocs/'); define ('MYSQL','BASE_URI/.mysql.inc.php'); [/CODE] How exactly do I define BASE_URL, and BASE_URL using wamp which is located i the C directory. This gives me an 500 Internal Server Error. Regards, Klemme

Member Avatar for klemme
0
2K
Member Avatar for danielbala

hi...... i created my login page...everything is working fine. i want to know whether we can get the login date for each users when they login.. and when they login the date shud be posted in the database?? how to implement this...

Member Avatar for danielbala
0
148
Member Avatar for ram619

Why Does this code Leads to Infinite Loop????? [CODE=c]#include<stdio.h> #include<conio.h> int reverse(int); void main() { int no=5; reverse(no); getch(); } int reverse(int no) { if(no==0) { return 0; } else { printf("%d",no); } reverse(no--); }[/CODE]

Member Avatar for ram619
0
99
Member Avatar for ram619

Could anyone please tell me whats happenning in line number 10 and 12. The output of this code is 2 and 0. [CODE=c]#include<stdio.h> #include<conio.h> void main() { int arr[3]={2,3,4}; char *p; clrscr(); p=arr; p=(char*)((int*)(p)); printf("%d\n",*p); p=(int*)(p+1); printf("%d",*p); getch(); }[/CODE]

Member Avatar for ram619
0
113
Member Avatar for galhajaj

Hello :) my solutions files are a mess. i am trying to find a way of get things in order. i tried to put all close files together in the same folder i creating for that purpose. for example i put interface, abstruct class & all their inherited classes at …

Member Avatar for gusano79
0
141
Member Avatar for nilay84

Anyone knows how to only allow characters in a JtextField not strings or digits? any example source code will be appreciated.

Member Avatar for DavidKroukamp
0
3K
Member Avatar for FridgeFreezer

Hey guys, I'm new to writing SQL and I need a bit of help. What I'm trying to achieve is getting my Java application to successfully send the high score of a specific user to a database. I'm not sure how I would write the SQL code so it will …

Member Avatar for FridgeFreezer
0
125
Member Avatar for biojet

Hi all, I am try to make the script to tranlate DNA to protein. I found the script in internet, and I tried to mix that script to make the result in the colums but I was not seccessful. Would you please show me solve this problems. For Ex: [CODE]I …

Member Avatar for d5e5
0
408
Member Avatar for AquaNut

Hi all, I am trying to error check a piece of code and hope someone can help. This is from my previous thread which 'Codeoder' help me on.. [URL="http://www.daniweb.com/software-development/vbnet/threads/403994/1725770#post1725770"]http://www.daniweb.com/software-development/vbnet/threads/403994/1725770#post1725770[/URL] I have a RTB which I import with a set of 7 or 9 didit numbers, 7 for Staff and 9 …

Member Avatar for AquaNut
0
212
Member Avatar for pwolf

the objective is as follows: Write a function splitWord(word, numOfChar) that takes in a word and a number as arguments. The function will split the word into smaller segments with each segment containing the number of letter specified in the numOfChar argument. These segments are stored and returned in a …

Member Avatar for pwolf
0
894
Member Avatar for ofir0803

I began to develop a simple coupon site. my db design Contains 4 tables: users deals category city when user purchasers a coupon i connect to getway payment service. in my accont at the getway service i can see all the transaction from my site. does it's meen that i …

Member Avatar for ofir0803
0
115
Member Avatar for enterpise

Every time when i try to catch exception on the rage of my port Also the Message input box ( can't enter the negative number ) The program seems like doesn't response for my action but when i disable all the code below it will work fine Here is code[CODE]private …

Member Avatar for enterpise
0
215
Member Avatar for galhajaj

Hello :) about the get set shortcut - [CODE]public int MyVar { get; set; }[/CODE] for example how it different from just: [CODE]public int MyVar; [/CODE]??? i heard that in the shortcut it add private myVar... huh?? if i can't see it how can i use it? when i use …

Member Avatar for ddanbe
0
217
Member Avatar for PoovenM

Good day :) I'm trying to display some Unicode text (Выход) on a Button. C# uses UTF-16 encoding but I'm reading my data from a UTF-8 encoded file so I take the necessary steps to ensure that I've read the data correctly. In debug mode I see that the string …

Member Avatar for PoovenM
0
186
Member Avatar for PF2G

Someone can tell me what's wrong with this codes? It doesn't appear the box with errors: envia.php [CODE]<!--BEGIN box correcao--> <style type="text/css"> /* Box Style */ .success, .warning, .errormsgbox, .validation { border: 1px solid; margin: 0 auto; padding:10px 5px 10px 50px; background-repeat: no-repeat; background-position: 10px center; font-weight:bold; width:450px; } .success …

Member Avatar for pzuurveen
0
156
Member Avatar for jdgieschen

It's the age-old question of checkboxes. I've got this code: [CODE] <?php require "connect_to_mysql.php"; // Start the SQL string $sql = "SELECT * FROM post_sec_all_stats WHERE 1=1"; if (isset($_POST ['dura_sch'])) { $sql .= " AND "; $sql .= "DURA_SCH = '" .$_POST ['dura_sch']. "'"; } if (isset($_POST['ctrl_sch'])) { $sql .= …

Member Avatar for pzuurveen
0
1K
Member Avatar for bleedi

Hiya, I wasn't really sure if this goes under Java or Game Development forums, so I decided to post it here. I'm making a simple "Scrabble" game, which checks letters placed on the table and tries to find if they form proper nouns. I have a list of words, and …

Member Avatar for bleedi
0
207
Member Avatar for zachattack05

I'm lost on this one. I've got 3 tables involved here. An Accounts table, AccountsContacts table and a Contacts table. The AccountsContacts is a junction table between the two. The key columns for the tables are: Accounts: ID AccountsContacts: AccountID, ContactID Contacts: ID I need a way to select from …

Member Avatar for zachattack05
0
2K
Member Avatar for fatalaccidents

Hey guys, I know this is a simple question but one that I can't quite figure out. I find myself copying to a directory a lot and then wanting to go there. I don't know if bash has anything build in or I would have to create a script, but …

Member Avatar for fatalaccidents
0
243

The End.