4,457 Topics

Member Avatar for
Member Avatar for omar isaid

I am developing C#-based mobile application and the exception always thrown and catched by my try catch block Exceptin thrown : The database file cannot be found.Check the path to the database [File name = .\MyMobileDB.sdf] the snippet code is [CODE] namespace DeviceApplication4 { public partial class Form1 : Form …

Member Avatar for omar isaid
0
560
Member Avatar for Bodul

Hi. I am new to this forum, but i have been playing with Visual Basic since 4.0. Anyway here is my problem. I am getting error and can't figure out why. [CODE] Dim connectionString As String Dim cnn As OleDbConnection connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\Database\tmprcStavka.mdb;" cnn = New OleDbConnection(connectionString) Try cnn.Open() …

Member Avatar for Bodul
0
95
Member Avatar for cwarn23

Hi, I have made a chatroom but now want to make a bot for that chatroom. Does anybody know where I can find documentation as to the theory behind making the AI for a chatroom bot. Or even better, a simple open source PHP chat bot. The main goal is …

Member Avatar for chrishea
0
634
Member Avatar for firebugg

Hi, I am getting an [COLOR="Red"]Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - cannot find symbol[/COLOR] error message when I try to run this merge/sort program. I can't figure out how to fix the program to get rid of the error. Please help. [CODE] import java.util.Random; public class ArrayUtil …

Member Avatar for firebugg
0
2K
Member Avatar for mercury113

data type mismatch criteria error .. please help im getting this error .. and i don't know where's the error .. [CODE] Private Sub frmUpdateChapter_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = D:\dbCAI.mdb" con.Open() Try da = New OleDb.OleDbDataAdapter("SELECT * from tblChapter WHERE …

Member Avatar for apegram
0
77
Member Avatar for mj89

Hi, I have created a simple login page in c#, the code compiles and runs however it does not execute correctly as when i give the correct input for username and password. it just skips and does the action for the code within the 'else' statement. What am i doing …

Member Avatar for mj89
0
91
Member Avatar for ~wylde~

Hello, Id like to start by saying that I am a beginning programmer. Ive almost finished my code optimizer as my first serious project. What Ive designed this program to do it go through a source (.vbp) file and clean up the coding (removing large unnecessary spaces), from there, there …

Member Avatar for vb5prgrmr
0
109
Member Avatar for BradenMurphy

Hi, I was hoping someone knew a good 2d graphical library for .NET that can: -draw objects (lines, bmps, shapes etc) -these objects can be moved around and resized -this component allows for zooming in on objects -the library must be open source -I am willing to pay for it …

Member Avatar for ddanbe
0
109
Member Avatar for jemz

hello please help me on my problem how to trap in my grd if the user forgot to input the quantity then it will display the messagebox "sorry you forgot to input the quantity"...i already try to trap but only in the first rows,...but i don't know how to trap …

0
56
Member Avatar for nirvana74v

Hi I am getting weird error with oracle connectivity. Immediately after the open() call, the connection shows as closed. I am not able to figure out whats going wrong. The same code works if executed differently. Line: This piece of code throws error [CODE=syntax] bool objState = false; if (Program.orConn …

Member Avatar for nirvana74v
0
428
Member Avatar for ogimy

i have make the simple code log in program with connect database.The below code have something problem.Can someone pro solve the problem.:( [code] Private Sub btnSignIn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSignIn.Click Dim conn As New OleDb.OleDbConnection Dim ds As New DataSet Dim da As New OleDb.OleDbDataAdapter …

Member Avatar for GeekByChoiCe
0
86
Member Avatar for sjn21682

id been working on this for days now, maybe someone could help me figure this one, i have this items in listbox2, my database has a field for project, data directory, etc... if my first item in listbox2 equals to the field PROJECT in my database, i want to get …

Member Avatar for sjn21682
0
377
Member Avatar for wezhogan

I am trying to insert data from a form into a SQL Server 2005 database. The only code examples I can find are for Access databases. I am having a problem at the execute command. I have tried three different ways to execute but the page goes to an error …

Member Avatar for WebspoonUK
0
100
Member Avatar for dondajr

Hi guys o/ ! I'm trying to make a program that write in text file some datas. Then, i wrote a header that have all functions I need to write in this file. thas is my header: [CODE] #ifndef _SNAPSHOT_H #define _SNAPSHOT_H #define LAST_PRICE 0; #define BEST_ASK 1; #define BEST_BID …

Member Avatar for jephthah
0
152
Member Avatar for _V_

Hello, I am working on a seemingly unique file uploading project where files that are dropped onto a server are programmatically uploaded to an ms access db (don’t ask, I’m already pushin for sql) I believe the problem lies in converting the ftp stream to binary and then to the …

0
53
Member Avatar for holyskylark

[COLOR="Red"]i have written this code to inser data in my database table "member "through the form but it is not working if i start debugging the code it gives no error but when i open my database table to see the inserted data it is not working. please help me …

Member Avatar for kvprajapati
0
149
Member Avatar for shanef1981

Hi Everyone, I am having an issue with a small app I am writing. It takes a huge report from one of our clients, extracts a few columns, makes date calculations and spits out a csv file for our systems to update the databases. The problem is I am in …

Member Avatar for kvprajapati
0
934
Member Avatar for automata

Please excuse me for posting this question here as I did not find any other place. I am looking for project management tool in .NET which is open source (comes with source code for extension/customization). I googled found few open source project mangement tools like: 1. Redmine but it has …

Member Avatar for kvprajapati
0
130
Member Avatar for cwarn23

I have been googling around but can't seem to answer this question. Where do I find the windows drivers (c++) for the macbook built-in webcam. Does anybody know where I can find c++ drivers for the macbook built-in webcam? Basically I need to be able to write software that can …

Member Avatar for cwarn23
0
67
Member Avatar for manofspider

Hi all, How to install these services to our web site ? - SVN , Git, and Mercurial Repositories - Mantis, Redmine Projects I think it should be easy to install Open Source application on Web Hosting. Thanks.

Member Avatar for masijade
0
125
Member Avatar for vivekvxz

AAROHAN 2010 OVERNITE MAINS PROBLEM :1 There are 3 kinds of money in a planet far away from the earth: Mone, Luck, and Rpin. There's a money exchange company in this planet. You must go to this company if you want to do some money exchange, and, more autocratically, this …

Member Avatar for Nick Evan
0
574
Member Avatar for j_808

Hi all, just having problems with my next, previous, last and first buttons on my form. there not working but i am not sure where i am going wrong because i am a beginner. When i press any of the buttons it says 'there is no row at position 1' …

Member Avatar for j_808
0
103
Member Avatar for atticusr5

Hey everyone, I am trying to get my school program on pointer variable linked lists to work, but I have incountered a runtime error. When I try to print my data to the screen or a file, it does not work. I am not sure if my program is not …

Member Avatar for tetron
0
89
Member Avatar for ckjie

Hello all, I get the server source code below: [CODE]#include <winsock2.h> #include <ws2tcpip.h> #include <stdlib.h> #include <stdio.h> // Need to link with Ws2_32.lib, Mswsock.lib, and Advapi32.lib #define DEFAULT_BUFLEN 512 #define DEFAULT_PORT "27015" int __cdecl main(void) { WSADATA wsaData; SOCKET ListenSocket = INVALID_SOCKET, ClientSocket = INVALID_SOCKET; struct addrinfo *result = NULL, …

Member Avatar for Salem
0
166
Member Avatar for Excizted

Hello. :D I've been working on a project for couple months now, on Linux. When I invited a new team member, of course he came with his Windows. I want to hear [B]your opinion[/B] on how to make the development easy cross platform. Usually I would just tell him to …

Member Avatar for Excizted
0
123
Member Avatar for som3aman

Hey guys, I'm kinda new at C++ and need help writing a program that finds email addresses in text files and stores them in an array. The email addresses are then filtered to make sure there are no duplicates. They are then copied to an output file. The program should …

Member Avatar for VernonDozier
0
168
Member Avatar for team_ferrari22

Hi All, Does anybody know how to [B]defragment windows registry[/B]. We googled and found several free tools doing the same.But no tool is having open source. One tool is there - '[U]UltraDefrag[/U]' which is open source tool written in 'C' for file defragmentation. Please provide help in searching open source/ …

Member Avatar for team_ferrari22
0
103
Member Avatar for student21

Hi i have written my code to to insert data that has been entered into my textboxes n my form into my access database. i am gettin an error message saying: OLEDBEXEPTION OCCURED...Syntax error in INSERT INTO statement. i was wondering if someone could look over my code and tell …

Member Avatar for kvprajapati
0
163
Member Avatar for edgias

I want to enter details of a client into a database.If the details already exists the application must inform the user and they don't then save the details here is my code [code=c#] private void btnCreate_Click(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(); conn.ConnectionString="Data Source=MyComputer\\SQLEXPRESS;Initial Catalog=TIP;Integrated Security=True;Pooling=False"; conn.Open(); …

Member Avatar for Geekitygeek
0
302
Member Avatar for atticusr5

Hey everyone, I am using Visual Studio 2008 to debug some code where the goal is create a linked list using pointer variables. Here is the main error I am getting when trying to compile: [CODE] error C2227: left of '->Account' must point to class/struct/union/generic type type is 'Link_t' [/CODE] …

Member Avatar for atticusr5
0
142
Member Avatar for nsxdude

Today is my first day on this site. I am vey new to VB.NET, i have a good amount of experience in VB6. I have a application I wrote for my Aikido club to track hours and I am converting it to .NET. The code below is very basic and …

Member Avatar for nsxdude
0
153
Member Avatar for dawsonz

Hi i've got a simple username and password entry on my webpage. My login class works perfectly in Windows Form but not in my Web Application Login class: [code] using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.SqlClient; namespace assignmentForm { public class UserLogin { private SqlConnection connection = …

Member Avatar for dawsonz
0
100
Member Avatar for panksd

I have an following code in this I returned the dataset,but dont no how to use this dataset.Code is running,but not save the record in datase. I had use same code vb.net,it works. Plz help me... ==================================================== [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; …

Member Avatar for kvprajapati
0
93
Member Avatar for ravikiran32

I am just a beginner in .net and i have written the following code to execute command "AT" on the mobile and receive response "ok" from the mobile. I have completed the task learning from some example code. but what i would like to know is, how "[B]AutoResetEvent[/B]" is working …

0
84
Member Avatar for 'AnKo

Hello all! This is my first post to community! I've been writing a program in C++ (not MFC) to get a NTFS ADS file and copy it to desktop. If you don't know what ADS file is, you don't really have to matter, let's say that this program must just …

Member Avatar for 'AnKo
0
325
Member Avatar for Tech B

I have had python2.6 for a while and have un0installed and re-installed it several times. Now when I right click on some source code the option to open with the IDLE is gone. I have tried "open with" but that doesn't work either. I'm on Windows 7 Home.

Member Avatar for Tech B
0
190
Member Avatar for roswell1329

Will the instructions you provided earlier work on the XP version of the "XP Antispyware 2010" malware, [B]crunchie[/B]? I'm helping a family member who got hit with basically the same malware. I followed your instructions and after the two scans and got the following MBAM and and OTL logs: [B]MBAM[/B] …

Member Avatar for crunchie
0
214
Member Avatar for unknowndevil41

Hi friends i am trying to bring a data from the field in an checkboxlist. I have successfully done this. Now i am not able to get the values of selected items...........plz help me i am using following code to bind checkboxlist with my database [code] Public Sub getchkbox() Dim …

Member Avatar for jbisono
0
77
Member Avatar for mugun

i am writing a code where the user will update the staff,but my update command has some problems. i think its the comma's in my command,can somebody help me....... this is my code [code=vbnet] Imports System.Data.OleDb Public Class EditDeleteStaff Dim PwdCon As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Application.StartupPath & "/Blindz.mdb; …

Member Avatar for JdTSC
0
151
Member Avatar for eURe

Hi; I would like to set the authorisation for the user that access to the application, when the check is done that the user doesn't hv the permission to use the particular function (add/delete/edit record), then the button will be disable from user view. I have following code, it's seem …

Member Avatar for kvprajapati
0
115
Member Avatar for Tango2010

Hi, I have been experiment with Recursion / Trasversal through directories recently but seem to have run into a few unexplainable errors. Attached is my source code which is a function (which has the path (input user directory) passed into it). What im hoping this function will do is detect …

Member Avatar for Salem
0
667
Member Avatar for Tech B

If you don't know what a quine is, it is a program or script that's only purpose or function is to print out its own source code. I was wondering would this be considered a quine? [CODE] f = open("quine.py","r"); print f.read() [/CODE] quine.py is the script that this code …

Member Avatar for Tech B
0
175
Member Avatar for webprgmquery

I am using User authentication system, which uses 2 pages index.asp where user logs in and then the username and password is sent to the validate.asp page where it is checked against database userlist. if username and password are matched with username and password of database record then it should …

Member Avatar for webprgmquery
0
267
Member Avatar for sanzilla

Write Your First Application On Win32 ===================================== What is Win32 :-) win32 is an plactform that like J2ME and J2SE means that it have it's memory model and have a architure and have those Applications programming interfaces to call to the operating system . Like the APIS in the java …

Member Avatar for Salem
0
1K
Member Avatar for sassenach

Hi, I am new with jQuery. I copied an open source code for sending a contact us form using jQuery. You can see the form at Website at the bottom right side yellow box. The input fields are as follows: Name, Email, Tel, Comments. This is my JS file the …

Member Avatar for Airshow
0
150
Member Avatar for MichiganMan

Hi there, I am looking for the best way to make an existing website capable of online sales. It already has products listed and i need software that i can integrate easily. I am new at this so i have two questions. 1. Can i use shopping cart software like …

Member Avatar for joelchrist
0
178
Member Avatar for kevindougans

For anyone still using the old "mysql_fetch_assoc" here is something I've just discovered today after about 9 years of PHP'ing and thought I should sahre because I've not seen many open source projects use it (maybe for another reason I'm not yet aware of)... (note: both provide the exact same …

Member Avatar for pbcomput
3
207
Member Avatar for atticusr5

Hey Everyone, I am trying to compile and run a program for my C++ class, and I am getting a Segmentation Fault as a runtime error. I looked at my code and my datafile to make sure that there was not an issue but I can not seem to find …

Member Avatar for atticusr5
0
180
Member Avatar for sanz

hi i am trying to retrieve picture in picture box from db but my code is not working. [B]INSERTING PICTURE IN DATABASE[/B] [CODE] private void saveToolStripMenuItem_Click(object sender, EventArgs e) { button1.Hide(); button2.Hide(); comboBox1.Hide(); textBox1.Show(); foreach (object ab in barcodes) { string sto = ab.ToString(); string str = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:/Documents and …

Member Avatar for pauldani
1
1K
Member Avatar for iceghost

hi i have a basic website connected to MS Access Database and i want to display the search results, 100 records returned from a query split over 10 pages. can anyone give me the script to do this, i am using ASP JAVASCRIPT NOT VB. Source Code is listed below. …

Member Avatar for mrdani
0
233

The End.