199,114 Archived Topics

Remove Filter
Member Avatar for
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 sha11e

I remember someone telling me that there is the heap, the stack and something else. methods are stored in ..something.. and variables somewhere - and even if they're not currently storing anything in the memory location - it's still "reserved"? 1. Does that mean it doesn't matter if I do …

Member Avatar for ~s.o.s~
0
146
Member Avatar for umsungun

[CODE] import javax.swing.*; import java.util.*; import java.text.*; class myjavalo{ public static void main (String []args) { String orderStr1, orderStr2, orderStr3; int order1, order2, order3, choice; int i = 0; int menuCat,Entree, SideDish, Drink; System.out.println("\tItem" + "\t\t\tSales Count" + "\t\t\tTotal"); do{ Entree = Integer.parseInt (JOptionPane.showInputDialog (null, "Your Options Are:1 - Tofu …

Member Avatar for umsungun
0
217
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 pradeepreddy

HI this is pradeep, i m vb.net learner,my English not good dont mind what i need is i what to get all information within the parenthesis of Sin(). for example , i have created one one textbox in my user interface. i wanted users to enter some trigonometric expresiions like …

Member Avatar for codeorder
0
103
Member Avatar for erik216

I have just download the class "MC_TABLE" I put mc_table.php and ex.php into folder there have fpdf.php I can run script to generate pdf file in this folder But I cannot use MC_TABLE class it says Call to undefined method PDF_MC_Table::MultiCell() I don't know what problem?

Member Avatar for erik216
0
309
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 firebird102085

HI everyone, like my last post stated I am new to programming so be patient with me. I am having a hell of a time writing this program and I was hoping some of you might be able to give me some quick pointers on the structure I should use. …

Member Avatar for KasmIR
0
135
Member Avatar for arold10

I am writing a program about giving change. But I am having issues with getting remainders for decimal numbers. For instance I am giving $46.63 change I want to know how many $20.00 bills it has, I would have to divide it by 20. 46.63 / 20 = 2.3315 My …

Member Avatar for Ancient Dragon
0
122
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 mingis

Hey, I've been scratching my head over this all day, would be most grateful for any help. Basically I have two links (in an unordered list). I would like each link to load a form onto the same page. I have no problem loading the HTML content and displaying the …

Member Avatar for mingis
0
314
Member Avatar for 03hasnam

Please can anyone help me install the rxtx library for serial communication. Ive save the relevant files rxtxSeriel.dll and RXTXcomm in to the appropriate bin and lib/ext files, but what are the next steps?

Member Avatar for m1n1m3
0
195
Member Avatar for sodha125

Write a program which asks the user to write some text before analysing it to see how many occurrences of each vowel appears in that text, you should store the number of occurrences of each vowel in an array of size 5. (Hint: use qin for this, with the ‘Return’ …

Member Avatar for KasmIR
0
202
Member Avatar for markee

im newbie to vb 6..can anyone give the codes in viewng the database in listview and when you double-click one of the data in listview the second form will appear or the information of click will appear.. thx..... i need your helppss....for my project.. plssssssssssss help me....... tnx...................

Member Avatar for ChrisPadgham
0
326
Member Avatar for rishster

Hello,I'm doing a sample quiz for students.I have 25 questions displaying 1 question per page with a next button.I also manage to count its correct answers.And if all the questions have already shown from database,it prints that there are no more questions left.But I want to keep track of the …

Member Avatar for diafol
0
141
Member Avatar for freakvista

Hello again. So lately i've been learning java, and now i want to make a program but in this program i need to do something like in pascal record(i want to make an array, and in every element of this array i have a string and an int). I heared …

Member Avatar for dmanw100
0
123
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 hyphymike

Ok So Im having a problem. Im trying to get a script to do this: Take info from Database: Players [LIST] [*]playerName [*]onlinetime [/LIST] Match playerName with playerName And put that info into Database: times With the Colums: [LIST] [*]playerName [*]1-24 [*]time1-24 [*]1-23 [*]time1-23 [*]etc etc for all dates. [/LIST] …

Member Avatar for diafol
0
311
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 akulkarni

A silly question I have by mistake deleted the label control in the toolbox..how do i get it back

Member Avatar for sufyan2011
0
96
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 Thevenin

Hi all I'm trying to have some jQuery movement on my HTML page. I have a div that I want to move from right to left, and another one from left to right. This is what I did: [CODE] #rectone { background: #0000FF; height: 10px; width: 100px; float:right; position: absolute; …

Member Avatar for Thevenin
0
188
Member Avatar for Chub97

I seem to be having a major problem with FFMPEG on my local test server everything seems to work fine the videos encode and everything. I moved all of this onto my new Windows 2008 Web Server, which uses IIS 7 and everything works I get no errors or anything …

Member Avatar for Chub97
0
609
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 ykyk

i have my images stored in database in image data type. i wish to retrieve it out and perform image merging. is there any solution that can make it binary file editable ? thank you

Member Avatar for skatamatic
0
262
Member Avatar for tux4life

I've written a program to add two hexadecimal numbers ... Njoy ! tux4life

Member Avatar for alebuddy
0
1K
Member Avatar for sasho648

I want to make a mouse controlled camera the problem is that i want to rotate over the space not the current object but I don't know how to calculate the changes on view transformation. Here is the code example: [CODE] D3DXMatrixLookAtLH(&matView, &D3DXVECTOR3 (0.0f, 0.0f, CurCamRot.z), // the camera position …

0
318
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 vedro-compota

Hi there) Guys - if anybody know about a good articles (or something like that - what will be usefull to read) on the topic "[B]file system driver[/B] creation -[B] C language[/B]" - please give link or advice). I need something not too sophisticate for begining. big thanks in advance)

Member Avatar for vedro-compota
0
189
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 xzero1

Hi all, I am a beginner in Java, making GUI in blueJ. I want to use CheckBoxList for multiple selection from a list for users.. I just want to learn how to make one of that. I saw some codes here .They use some sort of CheckListRenderer. I am also …

Member Avatar for xzero1
0
543
Member Avatar for bobanderson93

something is wrong with my dequeue function. When i try to output the value that's about to get deleted i get garbage on the console window. the enqueue function works fine. [CODE]class Queue { private: int value; Queue *next; public: void dequeue(); void enqueue (int num); }; Queue *head=NULL; void …

Member Avatar for Karkalash
0
179
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 babydeluxe

I'm a beginner to C and programming in general, so I have a question concerning an issue with my code. I want to be able to add binary numbers (represented as strings) taken from the command line. Currently, if I add the strings '1010' to '1101', my program returns '0111' …

Member Avatar for WaltP
0
1K
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 Zrakot

All - Sure could use a fresh set of eyes on the following code .... as, I can not find the following error: Parse error: syntax error, unexpected $end in /homepages/xx/xxxxxx/htdocs/mysite/folder/index.php on line 6566 Have read that a possible cause for the error message is a missing curly bracket '{' …

Member Avatar for blocblue
0
208
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 Irina77

I am trying to build a console project using Microsoft Visual C++ 2008 Express. I included a static third-party library (no source code available) by adding the name to the Additional Dependencies (in Project Properties\Linker\Input). Additionally, I added the path of the folder where the ThirdPartyLib.lib is to the Tools\ProjectsAndSolutions\Directories …

Member Avatar for Irina77
0
616
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 mr. y

I have a table where there is about 1 milliard record. when my website is on high traffic, there is more than 100 requests/second on this table. so request respond time is between 2-4 seconds, which leave a bad impression. is there any suggestion how to minimize the request respond …

Member Avatar for smantscheff
0
161
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

The End.