4,457 Topics
![]() | |
Hi there, I'm a beginner in ASP.NET with VB and I'm stuck on problem with a SQL query. I'd like to ask you for advice what does my page or config file miss. thats how my form looks like [CODE] <form id="form1" runat="server"> <div style="margin: 0 auto; width: 180px;"> <asp:Label … | |
I can insert into my table by the bindingnavigator and dragging textboxes straight from the DataSet entering them and saving. But I want to insert into the DataBase via code and in order to do this I have used the below code to connect. I use this code to test … | |
Hi, Not sure if this is right place to post this, please move if needed. I set up a web form so that the text from a set of text boxes was inserted into a database when you 'submitted' the form Since then I have added some validation to the … | |
Does anyone have any ideas on what is available? I don't feel like writing my own MVC forum software at the moment. | |
I am new to Daniweb. I come from a background of database programming in Health Care systems using proprietary Intersystems MUMPS and Cache. I am exploring the open source development community primarily Java, Linux and MySQL. I fortunately came upon Daniweb searching for some information on algorithms. I'm very impressed … | |
Hi, I'm exporting from a datatable to excel document (not CSV because I need some cell formatting) using this method found here: [URL="http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/08d69589-4052-410f-a85c-c38493c0a664/"]http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/08d69589-4052-410f-a85c-c38493c0a664/[/URL] Locally, it works fine, but when I upload to the server, I have been getting errors. The latest one is this: [CODE]Microsoft Office Excel cannot open or … | |
I'm developing a mobile website using vb.net but having set my tools right as I read somewhere, I've having an object reference...null error from the sqladapter line. I'm trying to authenticate by checking the db for username and password and granting or denying access asthe case maybe, here's my code, … | |
While i am installing joomla on my domain, showing the error Warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\sites\frontpage1\parsuae\webroot\cominfo\installation\installer\models\model.php on line 453 What is this[code]Warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\sites\frontpage1\parsuae\webroot\cominfo\installation\installer\models\model.php on line 453 Code Below, Please help me <?php /** * @version $Id: model.php … | |
Hi, I wonder how it will be possible to open a .DLL file for editing, to reach the Source code files. ? Thank you! | |
Write a C++ program that reads a series of 12 temperatures (floating-point numbers) from an input file. It should prompt the user for the name of the input file. The input file should be place in the same directory where your source program resides. It should write out on the … | |
"After years of pretending to be a friend of Free and Open Source Software (FOSS), IBM now shows its true colors. IBM breaks the number one taboo of the FOSS community and shamelessly uses its patents against a well-respected FOSS project, the Hercules mainframe emulator." Those are [URL="http://fosspatents.blogspot.com/2010/04/ibm-breaks-taboo-and-betrays-its.html"]the words of … | |
Is there a c++ library, preferably an STL, that can parse for regular expressions? Or is there an open source standard expression that I could preferably just include in a header instead of having to link against? I've never been good with regular expressions though. What I'm trying to do … | |
The error I get Notice: Undefined index: recaptcha_challenge_field in C:\wamp\www\verify.php on line x Notice: Undefined index: recaptcha_response_field in C:\wamp\www\verify.php on line x The reCAPTCHA wasn't entered correctly. Go back and try it again.(reCAPTCHA said: incorrect-captcha-sol) how does my source code looks like. a.php [CODE] <form method="post" action="verify.php"> <?php require_once('recaptchalib.php'); $publickey … | |
Hello Friends I am newbie To Vb.net. i am building an vb.net 2005 application with ms-access 2000 as back end for practice. i just want to know that suppose user entering new data to the database if this record already exist then user should know that how can i do … | |
[code] OleDbConnection conn = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source = C:\Documents and Settings\Developers\My Documents\Visual Studio 2005\Projects\ITDivision\ITDivision\ITDivision.mdb"); { string referenceNo = referenceNoTextBox.Text.ToString(); string institutionName = institutionNameTextBox.Text.ToString(); string fullName = fullNameTextBox.Text.ToString(); string contacts = contactsTextBox.Text.ToString(); string itemName = itemNameTextBox.Text.ToString(); string serialNumber = serialNumberTextBox.Text.ToString(); string problemInfo = problemInfoTextBox.Text.ToString(); string technicianName = technicianNameTextBox.Text.ToString(); string serviceStatus = … | |
Hello Friends I am using Microsoft Visual Studio 2005 and ms-acess 2000 to build very simple database application Here is my Code of Conncetion: [CODE]con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\db1.mdb") sql = "INSERT INTO emp values(@op1,@op2)" cmd = New OleDbCommand(sql, con) cmd.Parameters.AddWithValue("@op1", TextBox1.Text) cmd.Parameters.AddWithValue("@op2", TextBox2.Text) con.Open() cmd.ExecuteNonQuery() con.Close()[/CODE] This is simple … | |
Hi I am using ASP.NET to upload files that is to be stored in MSSQL Server 2008 as varbinary(MAX). I have issues with opening scanned pdf files once users upload them. The issue is happening very randomly (say 20% of the files cannot be opened .). It seems something is … | |
hi Guy's i got error Object reference not set to an instance of an object and it show me the Highlighted area private void time_in_Click(object sender, EventArgs e) { employee_InformationDataGridView.SelectedCells[0].Style.ForeColor = Color.Green; time_in.Enabled = false; time_out.Enabled = true; DateTime today = DateTime.Today; int i; i = employee_InformationDataGridView.SelectedCells[0].RowIndex; SqlConnection conn = … | |
[CODE] #include<iostream> #include<fstream> #include<string> using namespace std; void main() { //decleration ifstream source; ofstream target; char * box; int width, height, numlevel; string s; int amount= 100; //-------------------- source.open("1.ppm",ios::binary); while(source.fail()) { cout<<"can not open the file"<<endl; // to make sure the file is opened } source>> s; if ( s … | |
[CODE] #include<iostream> #include<fstream> #include<string> using namespace std; void main() { //decleration ifstream source; ofstream target; char * box; int width, height, numlevel; string s; int amount= 100; //-------------------- source.open("1.ppm",ios::binary); while(source.fail()) { cout<<"can not open the file"<<endl; // to make sure the file is opened } source>> s; if ( s … | |
Hello, I am developing a mobile application (school project) using a Windows Mobile 6 Professional emulator. This application has a login function that prompts for a password and uses a Data Access Object(DAO) to connect to a SQLServerCE database. This database has a table called User which stores the password. … | |
Hi All Can anyone help me with this problem please. I am writing a program in C# and have an access db07. The user should be able to enter a date into a text box then that date is addedd to my sql query and then return all record with … | |
[I]So, did anybody hear tonight's mysterious southeast Portland explosion? [/I] Apparently a lot of people, like my Portland friend, did. ("Tonight" was Sunday.) What's interesting is how they used Internet tools to track down the location. As described in an article in the [I]New York Times[/I], people immediately started using … | |
I have this code [code] Public Class Form1 Private connectionstring As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data source=c:/testn.mdb" Dim conn As New System.Data.OleDb.OleDbConnection(connectionstring) Dim cmd As New System.Data.OleDb.OleDbCommand Private ssql As String Dim dr As System.Data.OleDb.OleDbDataAdapter Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click conn = New System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;data source=c:\nikhil\testn.mdb") … | |
hey everyone, newbie programmer here, and i am working on a project to use linked lists, by creating a linked list class. basically i am using old code and modifying it to work with a linked list class. i am using visual studio to debugg, and it seems that my … | |
Simply put, in Firefox, the ajax links work fine. They're targeting a div and in Firefox everything is fine, but in IE, it mucks up. I do not see any links at all. Here's my javascript code. [CODE]<script type="text/javascript"> /*********************************************** * Dynamic Ajax Content- © Dynamic Drive DHTML code library … | |
Sir, I am using front end as a VB.net 2005 and I am a beginner in this language. I am creating Desktop application and using controls TAB controls 1st tab control is Contact in contact I am using one text box, two button and one datagrid while I am using … | |
Hi, I'm writing my first application in VB and need some help with my Access database. I have 2 problems; the first one is the most important, the second I would just be very grateful for any help/advice. Firstly, I need help updating a record from my database. I have … | |
I've been trying to create a specialised CMS, as none of the current open-source ones fit my needs for this project. I'm trying to create a CMS for a TV/episode guide which is similar to this: [url]http://library.digiguide.com/lib/programmenextshowing/Police%2C+Camera%2C+Action!-12578[/url] (one such example) - where records expire and delete from the database after … | |
[CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; using System.Data.OleDb; using System.Web; //using System.Web.UI; //using System.Web.UI.WebControls; using System.Configuration; namespace QuanLiDSSV { public partial class Frm2 : Form { public Frm2() { InitializeComponent(); } private void btnBrowse_Click(object sender, EventArgs e) { } private … | |
Hi there, I did not see an Android thread, but its pretty much an extension of J2SE so this is probably the best place for it.. I'm currently developing on minimum sdk version 3 (Android 1.5 - cupcake) and I'm having a strange unexplained issue that I have not been … | |
So my group and i have been working on a ASP.net website for a tech prep showcase. We currently have connected the MS Sql Database that comes with Visual Web Developer. We are currently having a problem gathering data from the SQL Database and seeing if it is equivalent to … | |
I have to create a basic php forum. I know there are free open source forums but i need to create it myself. I have a entered a number of fixed topic names into mysql and echo them (select *) into a website table. next to the printed names i … ![]() | |
Hi everyone, I'm at my witts end and need some advice. I need to create a new table in MS Access from a datatable and I just can't get it to work. I have tried SQL with no luck, but I've been spinning my wheels in the mud. Any advice … | |
First time posting; thanks for the welcome! Have been having all kinds of problelms lately (am in safe mode now) ran several programs (some things found; root kit?) ran Malwarebytes, SpyS&D, OIL, DDs, please checkk my logs; I tried deleting some things in HJT and they did not delete. I … Information Security api audio client-server dns flash google-api http-protocol microsoft-access microsoft-office microsoft-windows multimedia open-source pdf peer-to-peer posting-games social-media storage streaming-service tablet user-interface web-browser web-server window-manager windows-api windows-virus windows-vista | |
Hi Can anyone have a look at my code and tell me where im going wrong??? What im trying to do is display my details in a listbox then the one that is selected frm the listbox is displayed in the textboxes and when delete button is clicked it is … | |
Hey guys, Im trying to make a program that guesses the name of an animal in the users head by asking him or her a bunch of questions. The questions, answers, and line number for yes/no are inlcuded in the file animals.txt as follows: Q Does it have feathers? 2 … | |
Hallo! I am a running a program, using the OmniORB and I have included the include path in VC++ directory, but I get the following error: 1>c1xx : fatal error C1083: Cannot open source file: 'C:\Program Files\omniORB\4.1.4\\include': Permission denied I am the administrator on my PC and I have all … | |
Hii !! I try to update excel file by using Odbc and Oledb objects with out success. my problem when i try to update string in cell that the Odbc "think" this cell is have different datatype. how can i force the Object to put string at cell that have … | |
Hi i have my INSERT and DELETE command working fine my data gets saved to my database to deleted, my problem is my UPDATE command. i have a form which displays 'employee' information the form includes text boxes i.e forname surnam etc and this is where the data is displayed … | |
For my project, we're supposed to read data from a text file (circlemath.txt) and the program should output data for the circle to a text file (circoutput.txt). The input file contains data specific for class Circle (x-coordinate, y-coordinate, radius, ascii character), and each line has the form (Circle1 data, operator … | |
You often hear the terms 'free software' and open source used interchangeably but they're not the same. In fact, true free software zealots launch into a fiery diatribe on the issue should you even utter the words "open source" when speaking of free software. Free software is not related to … | |
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Data.OleDb; using System.Web; using System.Configuration; using System.Data; using System.Collections; using System.Windows.Forms; //using System.Data.ConnectionState; namespace QuanLiDSSV { public partial class Frm2 : Form { public Frm2() { InitializeComponent(); } private void btnBrowse_Click(object sender, EventArgs e) { OpenFileDialog sh = new OpenFileDialog(); sh.FileName … | |
Hi, I am trying to compile an open source code on linux Ubuntu and getting the following error: conflicting types for ‘strlen’ I am pasting the program in which it is giving me the error : [CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> #include "port.h" /* * strstr - find first … | |
Hey, I currently have a dataGridView which displays information from my SQL database. I have a button that I use to update/add into the SQL database - for example a user ammends a field in the dataGridView this automatically updates the database. I now want to implement a button that … | |
ok so i'm trying to set up my program to insert a new record to my database i keep getting a insert syntax error [CODE] Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click '************************************************ '* ** '* will first verify that all necessary information needed ** … | |
Hi Guys i am developing some code but I am using part of it from a open source program. The problem is that I need to use the EditableBitmap class and I don't know how to import it. I looked around in Google but nothing showed up. Can ayone let … | |
I am currently doing project where i need to let user mark portions of any inputed image. The markings could be in different shapes like square, rect, circle, irregular etc. I should be able to remember the markings and later on reproduce them on the same image when asked to. … | |
Hi, first time poster here, but i'm having some troubles with a project i'm working on. I'm not in need of a solution, just some pointers to get me going? I have a GUI which is a text editor for a programming language. Basically, i have all the functionalities of … | |
windows logo key shortcurts are very tricky if you find the use of it. [COLOR="#ff0000"][URL="http://digitdiary.blogspot.com/2010/03/windows-logo-key-shortcuts-in-xp-vista.html"]Click here for the original source page[/URL][/COLOR] [COLOR="#ff0000"]and complete list [/COLOR] Windows: Display the Start menu Windows + D: Minimize or restore all windows Windows + E: Display Windows Explorer Windows + F: Display Search for … |
The End.