132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kylelendo

Dear friends I have a query regarding VB.NET....Whenever we type any code on the code page not on the design page all the controls that appear on the screen for eg:- if I type "Textbox." different options is available on screen in a drop down list like "Equals,Fromchild handle.formequals...etc.etc" or …

Software Development vb.net
Member Avatar for Hani1991
0
190
Member Avatar for Muhasaresa

:D Hello everyone, I am making a program where the user types in a string and then the string is saved to the clipboard, but I am not quite sure how. I have had a look at [url]http://www.cplusplus.com/forum/beginner/33250/[/url] but I am not quite sure how to implement this. I would …

Software Development c c# c++
Member Avatar for nmaillet
0
391
Member Avatar for bangor_boy

[CODE]private void getPreviousButtonActionPerformed(java.awt.event.ActionEvent evt) { List<Tweet> listOfTweets = remoteBean.getMoreTweets(5); StringBuilder displayStringBuilder = new StringBuilder(); if(listOfTweets != null) { for (Tweet tweet : listOfTweet) { displayStringBuilder.append(tweet.toString() + "\n"); } textArea.setText(displayStringBuilder.toString()); } } [/CODE] As it stands when i run the code that this method is in and enter a number of …

Software Development gui java
Member Avatar for mKorbel
0
146
Member Avatar for ashu12v

Hi, Borland C++ 5.5 isn't working.:@ Test file [B]Hello.c [/B][CODE]#include <stdio.h> int main(void) { printf("Hello world!\n"); return 0; }[/CODE] [B]Output :[/B] C:\Users\Administrator\Documents>bcc32 Hello.c Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland Hello.c: Error E2209 Hello.c 1: Unable to open include file 'stdio.h' Warning W8065 Hello.c 5: Call to …

Software Development c c++
Member Avatar for N1GHTS
0
478
Member Avatar for maknae10

whats wrong with this code??? the vb always tell that items is not a member? [CODE]Imports MySql.Data.MySqlClient Public Class search Public conn As New MySqlConnection Private Sub search_load(ByVal server As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If conn.State = ConnectionState.Closed Then conn.ConnectionString = "SERVER = localhost; USERID = root; …

Software Development listview vb.net
Member Avatar for ShahanDev
0
196
Member Avatar for shers

Hi, I have done some code to write to Excel from a String Array of 3 items. These 3 items are written to columns 1, 2, 17 or 3, 4, 17, depending on the value of the 3rd item in the array. For certain Excel files, this is taking too …

Software Development vb.net
Member Avatar for ShahanDev
0
150
Member Avatar for ninjatalon

I'm in desperate need of pointers :( I have this problem. [CODE]private class frmMenu private intX as integer Private Sub btnEstimate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEstimate.Click frmEstimateMenu.Show(intX) end sub end class private class frmEstimate private y as integer Public Overloads Sub Show(ByRef x As integer) y=x …

Software Development vb.net
Member Avatar for codeorder
0
92
Member Avatar for ecclesiastes3:1

I'm newbie in java, can you help me to this code. the image needs to move diagonally [CODE]public void actionPerformed(ActionEvent e) { x += 3; if (x > 600) { y = random.nextInt(600); x = random.nextInt(-45); star.setX(x); star.setY(y); }[/CODE]

Software Development java
Member Avatar for NormR1
0
120
Member Avatar for keerti_somu

Hi, I am trying to call a simple fortran subroutine from a C++ interface and in turn call this C++ function from a C# application. Here is the fortran subroutine : [CODE]program hello_world2 implicit none c call hello call hello end subroutine hello !DEC$ ATTRIBUTES DLLEXPORT :: hello implicit none …

Software Development c# c++
Member Avatar for thines01
0
345
Member Avatar for justin96b

So, i am trying to have an explosion when the asteroid and house collides. And i think i have the code written down, but something might me be missing. Please help me figure this out. Thanks a lot. [CODE]# Fresh Start # Classes: House; Asteroid; Explosion from livewires import games …

Software Development python
Member Avatar for TrustyTony
0
273
Member Avatar for Prankmore

[CODE=c]# include<stdio.h> # include<string.h> # include<stdlib.h> int main(int argc, char **argv){ // Declare Variables char barcode[50]; int count; long long intBarcode; long countryCode; int dig0, dig1, dig2, dig3, dig4, dig5; int dig6, dig7, dig8, dig9, dig10, dig11; long long num; long rem, sum; int checksum; long long manufac, product, language, …

Software Development c
Member Avatar for gusano79
0
238
Member Avatar for vinaysrk919

i found error in the following code.... [CODE]import java.sql.*; import java.util.*; class search { public static void main(String args[]) throws Exception { Connection con=null; ResultSet rs=null; Statement st=null; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection("jdbc:odbc:oracle","user","vinay"); String s="select *from student where roll=?"; st=con.prepareStatement(s); rs=st.executeQuery(); Scanner inp=new Scanner(System.in); System.out.println("Enter roll to search"); int r=inp.nextInt(); st.setInt(1,r); while (rs.next()) …

Software Development java oracle
Member Avatar for NormR1
0
115
Member Avatar for acidking001

good day all.. While I am compiling a vb6 project, the error highlighted this: format(date,"YYYYMM") Can anyone help me? Thank u very much..

Software Development visual-basic
Member Avatar for BitBlt
0
243
Member Avatar for banoth suman

hi, my file say ll.out having data like 12.0 , -25.30, 0,0,....etc i want to store data in a variable one by one say var=12.0 now i want to compare this value with zero.if var !=0 then want to store those values into a array. here i want to assign …

Software Development c++
Member Avatar for Ancient Dragon
0
252
Member Avatar for bunteezone

Please help me!! I am new to C++ Here is a program helped me little bit. -------------------------------------------------------------------------- [code=cplusplus] #include <iostream> #include <fstream> using namespace std; main () { int filename; cout << "Enter file name"; cin >> filename; ofstream myfile; myfile.open ("filename.txt"); myfile << "Writing this to a file.\n"; myfile …

Software Development c++ file-system
Member Avatar for santanu@code
0
30K
Member Avatar for nuevoenjava

I want to create a patient appointment schedule desktop app with an oracle database. Basically its going to be 2 computers with the app and one of them is going to have the database service running. Ok so my question is... should i do it in eclipse or netbeans? am …

Software Development java oracle
Member Avatar for nuevoenjava
0
106
Member Avatar for stephen lowry

hi guys havent been here for a while , im a fairly competent vb.net programer but have a problem think im just missing something ,im working on a fairly big project but im gonna keep this question small and simple . if i have 2 forms amd one module the …

Software Development vb.net
Member Avatar for stephen lowry
0
230
Member Avatar for iisniperz

How to replace text from (abc) to (cba) in vb.net Example: [CODE]here is text (abc)random text here(cba)[/CODE]

Software Development vb.net
Member Avatar for codeorder
0
136
Member Avatar for kylelendo

Hii friends the object browser in visual studio contains many controls and properties ....so is it possible to remember in mind all these controls. Whenever i am programming in vb 2008 and for reference i look at the examples on internet i always find some new controls,properties etc which makes …

Software Development vb.net visual-studio
Member Avatar for kylelendo
0
86
Member Avatar for Kadence

Is it possible to use #ifdef with Boolean AND and OR? For instance something like [CODE]#ifdef WIN32 || WIN64 cout << "This is Windows." << endl; #endif[/CODE] The above doesn't give a compiler error for me, although it doesn't evaluate the or condition.

Software Development c++
Member Avatar for Susel1
0
3K
Member Avatar for ztdep

Dear friends: I want to draw the sparse matrix sturucture to a file. The attachment shows an example. Could you please suggest me some methods to achieve this goal. Regards. Your Sincerely

Software Development c++
Member Avatar for bkenwright
0
319
Member Avatar for llemes4011

Hi all, I'm working on a C++ app that needs to communicate with a server. I was wondering if it would be possible to use Java for the Server, and C++ for the Client. I'm assuming it should work (without the use of JNI) because TCP packets are TCP packets, …

Software Development c++ client-server java tcp-udp
Member Avatar for llemes4011
0
267
Member Avatar for arj'89

In need some help with this little programming .. I just got 3 errors .. :'( [code=c]#include <stdio.h> int main (void) { char A , B , C , D , E , F; int id1[ ]; float grade[ ]; float marks[ ]; float average; float num1, kk=0; /********* Jami, …

Software Development objective-c
Member Avatar for arj'89
0
1K
Member Avatar for uva1102

Good Day Everyone.. since i have two tables..how to read from one table1 to table2.. example..Table1 with thousand over records various types of recurrance and due pattern [CODE]table1 ID Reccurance Duepattern 1 Monthly 10 2 Yearly 25 3 Monthly 15 4 Weekly [/CODE] output must b like this in table2 …

Software Development open-source
Member Avatar for nick.crane
0
134
Member Avatar for dennysimon

hello all I hope there someone to help ,to point what mistake i have done ,thank you the error message is ex.Message = "Incorrect decimal value: '4000000,00' for column 'Jumlah' at row 1" denny My code always automatically add ",00" at the end of decimal jmldec (only if ccstr=="id-ID") here …

Software Development
Member Avatar for Momerath
0
180
Member Avatar for sachinpkale

hi, I want to run the command using java code echo $PATH I used Runtime.getRuntime().exec() for this, but it returns outputp as : $PATH. I know I can get the value of PATH variable using System.getProperty() but I want to use particularly "echo" command. How can I do it?

Software Development java
Member Avatar for JeffGrigg
0
175
Member Avatar for Lebowski

Edit: The title could have been more descriptive, I am sorry for that! Hello! First time poster, frequent reader. I am very green to both programming and python, trying my best and this board has been helpful just by reading. Now, I have a problem of my own that I …

Software Development file-system python
Member Avatar for TrustyTony
0
411
Member Avatar for johnXQ

Please i need help for my new project: I want to create a crystal report that pass parameters from my code. Like what i have done in vb6. IN VB6 i made a report design without by data sources: i just fill the report with rptTextBox and rptLabel then in …

Software Development
Member Avatar for johnXQ
0
176
Member Avatar for baby_c

Hello Friends.. need a help with Merge Sort I tried to implement Merge Sort using Java language..I followed Introduction to Algorithm book for the algorithm.. but the code generates errors.. please can anyone explain this to me.. why these errors pop-up ?? [CODE] package test; import java.util.Random; public class mergeSort …

Software Development algorithm java
Member Avatar for JamesCherrill
0
382
Member Avatar for TIP.Synergy

Hello, how to insert a pdf file in database(ms access) using vb.net anybody can help me please? thanks ^_^

Software Development pdf vb.net
Member Avatar for TIP.Synergy
0
1K
Member Avatar for Panathinaikos22

Hello, well as all we know programms are not just 1 exe file.. when you download and install example MSOFFICE there is a .exe file (start file) and lot of other folders/files like *.wtf *.whatever ;ppp well How this can be done? making lot of projects in 1 solution? it …

Software Development
Member Avatar for Ketsuekiame
0
148
Member Avatar for triumphost

I've been programming in C++ for quite some time now and I know all functions must return a value.. but can someone tell me WHY we return 0? I mean it compiles even when I don't put return 0.. and the program executes fine.. I can see in some functions …

Software Development c++ operating-system
Member Avatar for SnowFall
0
273
Member Avatar for pritom_jrt

Hi, I'mvery new to VB2008 and have basically no idea regarding much of coding. I have attached a copy of my form. Basically, I have a db named "employee.mdb" with table "Employee". It has 3 fields Name, Dept and Designation. I want to connect my db with the form and …

Software Development vb.net
Member Avatar for Anne_Bonch30
0
228
Member Avatar for SuperJunkeh

Can any one tell me how to make a program to Generate Palindromic numbers?

Software Development visual-basic
Member Avatar for WaltP
0
133
Member Avatar for StevenSchaffner

Keep getting this error. Using ASP datagrid [CODE] Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim connectionString As String = WebConfigurationManager.ConnectionStrings("connectionstring").ConnectionString Dim selectSQL As String = "SELECT * FROM checkInOut" Dim con As New SqlConnection(connectionString) Dim cmd As New SqlCommand(selectSQL, con) Dim adapter As New …

Software Development dataset vb.net
Member Avatar for StevenSchaffner
0
138
Member Avatar for VB_Magic

I have a problem when trying to detect the computers network connection status. Here is the code I have used: Dim IsAvalible As String = My.Computer.Network.IsAvailable If IsAvalible = True Then Label1.Text = "Connected" Else If IsAvalible = False Then I Label1.Text = "Disconnected" End If End If But for …

Software Development vb.net
Member Avatar for GeekByChoiCe
0
211
Member Avatar for Whilliam

Hello guys.. Im very new to java. Im using netbeans 7.0 and JDK 1.7. Im an IT student. My teacher said that we must use only Java DB (don't know why) for our database. I've already made a program. It will display all the contents of a table. My problem …

Software Development apache java java-netbeans
Member Avatar for Anuradha Mandal
0
192
Member Avatar for miyumi

now i know how to run the program of while loop.But i have a problem in getting while loop using three counter

Software Development c++
Member Avatar for Anuradha Mandal
0
130
Member Avatar for seamus400

I put a few solid days into finding a working method of capturing the screen and they either didn't compile or weren't quite what I was looking for. I am wondering if anybody has any example code to capture the screen every 10 seconds and save it to bmp. I …

Software Development c++ display windows-vista-7-8
Member Avatar for seamus400
0
593
Member Avatar for ismpk

I have created setup file of my program & it shows error when I install it there in another pc which doesnt have visual studio. Even I have tried to install it there in another pc which has visual studio & it worked well. I am confused. I am use …

Software Development operating-system vb.net visual-studio
Member Avatar for ismpk
0
208
Member Avatar for jjyuyujj

Hi Does anyone know how to playing a set of short WAV files without delay? I was using the following, but there is a delay in-between. PlaySound("a.wav",NULL,NULL);//PLAY WAV SOUND ONCE PlaySound("b.wav",NULL,NULL);//PLAY WAV SOUND ONCE or I need to concatnate a few sets of short WAV files into one descriptor so …

Software Development c++
Member Avatar for pseudorandom21
0
284
Member Avatar for Satyrn

Hello Daniweb Community, I am migrating a VS2005 solution to VS2008 which often includes its own ras.h file. Unfortunately there are several projects including <windows.h> which includes "ras.h" from the Microsoft SDK. What I would like to do is get a refactoring tool to rename this header file and update …

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
116
Member Avatar for grazinggoat

Hello - This is my first perl scripting try. I am trying to read a file into a hash so i can track it by id the file looks like this: ID FILNAME SIZE 1 logfilename 346202741018308 2 logfilename 0261512802421464 3 logfilename 612262297692848 4 logfilename 3268022049187 5 logfilename 888755246426701 6 …

Software Development file-system perl
Member Avatar for d5e5
0
1K
Member Avatar for StevenSchaffner

Well i am using asp and VB.Net to make it to where people can check in and check out. I have gridview which has where it shows the data from my sql server that i put dummy data in. When i load my website the data shows up. I do …

Software Development asp asp.net sql vb.net visual-basic
Member Avatar for StevenSchaffner
0
140
Member Avatar for nishant969

Guys I need help wid dis..... I hve 2 make a project on Human Facial Emotion Detection System.... Can anyone suggest me any algorithms for that ??? If anybody got sample code in any Programming language, pls post it here.

Software Development
Member Avatar for Momerath
0
95
Member Avatar for detailer

Hello, Beginner in C++ how to make this program if i pressed ctrl-c the program will quit. and there's a tiny problem. whenever i run my program it says that return 0 is unreachable code. thanks guys :) [CODE]#include <iostream.h> #include <stdio.h> #include <stdlib.h> int main() { while (1) { …

Software Development c++
Member Avatar for Ancient Dragon
0
255
Member Avatar for samuel16

how can we use the same condition by using the iteration for the numbers automatically? Like 1 after 2. 2 after 3. till 50?

Software Development python
Member Avatar for Enalicho
0
122
Member Avatar for gogs85

I need help for Windows Workflow Foundation assignment: Make a Windows application that will perform the calculation of service. The form will enter the start and end dates for the calculation of service. As the length of service can be calculated in three different ways to form there will be …

Software Development
Member Avatar for singh_soorma94
0
106
Member Avatar for Panathinaikos22

well i create a application and i put all MenuStrip icons in a folder And i call them like this [code] MenuSItem.Image = Image.FromFile(@"Icons/Login/About.png"); [/code] but this one have a big problem, everyone have acces to icons, everyone can delete-put other icons... Yea ok i know, i can let icons …

Software Development
Member Avatar for singh_soorma94
0
169
Member Avatar for Bax

How can I connect two tables from MS SQL Server 2005 using vb.net 2008? what's the code?

Software Development sql vb.net
Member Avatar for adam_k
0
300

The End.