4,457 Topics
![]() | |
Hello! I've come across a little problem with Regex, I was hoping someone might see the problem off hand. Here is some sample content I am searching through, It's the gameshark codes for PEC: [code] #Ace Combat 3 Electrosphere#SLPS-02021#SLPS-02020 §N Joker Command D00BF32E ???? "Infinite Time for battle D0054332 2442 … | |
Hello there! Is there any CMS to create a customized gift portal. Which have image editing functions and text writing over image. I am looking for any open source CMS to start personalized gift portal but I did not find anyone. Can someone help me over this.? Any reply appreciated. … | |
Hi! im getting this error. I dont know why. PLZ can anyone help me. this is my code [CODE] public void getLastMemID() { String concString = "Data Source=BJ-PC\\SQLEXPRESS;Initial Catalog=new;Integrated Security=SSPI"; // int ID=0; try { CN = new SqlConnection(concString); CN.Open(); SqlCommand com = new SqlCommand("SELECT MAX(ImageId) FROM ImagesStore", CN); SqlDataReader … | |
Hi guys, I've recently developed a gridview with edit,delete and update panel..... All is working fine except the Update button.....the error shown is...... [CODE] [B]Object reference not set to an instance of an object.[/B] Source Error: Line 48: GridView1.EditIndex = -1; Line 49: conn.Open(); Line 50: SqlCommand cmd = new … | |
I have develop an application in which i am taking the data from one table which contain only 1 column which contain the table name. Motive of the application is if this table contain 2 records(fetch 2 table name) then i have to fetch the records from these table then … | |
After I am done installing this script I get this error: [QUOTE]????????????????????????? ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????x???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????‡??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Ç?????????????????????????????????????????? Warning: require_once(ROOT_PATH/modules/system/models/system.class.php) [function.require-once]: failed to open stream: No such file or directory in /home/name/public_html/index.php on line 17 Fatal error: require_once() [function.require]: Failed opening required 'ROOT_PATH/modules/system/models/system.class.php' (include_path='.:/usr/lib/php') in /home/mane/public_html/index.php on line 17[/QUOTE] Here is the files requested above: … | |
So we were offered a job yesterday, which involved developing a mobile app targeting multiple platforms. They need the code to be as cross-platform as possible, so I think that C++ is the way to go as far as the infrastructure is concerned, and then we write wrappers in other … | |
Hi all, this my first post. I'm newbie in C# and ASP.NET so be patient with me, I have a problem when declare object in the try clause working in VS2010 Express: ex. [CODE] protected void Names() { string strQuery; OleDbDataReader myReader; strQuery = "SELECT TOP 1 Name FROM Names"; … | |
see this is the code that is written in c# in visual studio 2005........In visual studio w can connect sql(not mysql) with c# and can even see the sql table visually......... can we do that similarly in java in netbeans7.0..... how can i connect sql with java.......do i need to … | |
hi Dears, i am very very new in programming and i have a problem with inserting something into table, this is when i connect it with database iam able to read everything in database, private OleDbConnection myCon; public Form1() { InitializeComponent(); myCon = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Aidi\Desktop\AccessDBase\WindowsFormsApplication1\WindowsFormsApplication1\Students.mdb"); } i have create … | |
Hi i am trying to write dataset into excel using oledb connection. I get an error "The microsoft access database engine could not find the object 'testTable' Make sure that name and path is correct". I understand that dataset is not in the excel thats y i get an error … | |
I'm very new to programming and was wondering why I am receiving a warning. "Function Checkbox doesnt return a value on all code paths. A null reference exception could occur at runtime when the result is used" I then want to execute this function through button.click event: CheckBox.ExecuteNonQuery() [CODE]Function CheckBox() … | |
static void Main(string[] args) { string[,] fp = readFilePaths(); OleDbConnection con = new OleDbConnection(); OleDbDataAdapter da; DataSet ds = new DataSet(); con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:/Documents and Settings/kyalanur/Desktop/Nav tool/PCGDataManager.mdb;User ID=;Password=;"; string sq = "SELECT * FROM History"; con.Open(); da = new OleDbDataAdapter(sq, con); da.Fill(ds, "History"); for (int i = 0; i … | |
Friends I need to search for some strings like 'info stat, waiting, connecting, connection pending' in the source txt file those lines which has the strings need to be extracted and saved to a new file. [CODE]import re import os import sys file = open("C:\Users\Administrator\Desktop\logs test\source.txt", 'rU') script = file.readlines() … | |
Hi, I have the following code: [CODE] try { var conn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Database.accdb"); var cmd = new OleDbCommand("UPDATE Resources SET Image=? WHERE ResourceName=?", conn); cmd.Parameters.Add("Image", OleDbType.VarChar).Value = listView.SelectedItems[0].Tag; cmd.Parameters.Add("ResourceName", OleDbType.VarChar).Value = _username; conn.Open(); cmd.ExecuteNonQuery(); conn.Close(); } catch(Exception ex) { Console.WriteLine(ex.Message); } [/CODE] I keep getting the following error … | |
I have this sub which performs updates in successive function call. The reader object is closed only when the operation has been completed (after the while loop has ended), yet I get this error. Any suggestions? [CODE] sub reset_slno() dim objCmd2 as new OleDBCommand() dim objReader2 as OleDBDataReader objCmd2.Connection = … | |
Can someone please tell me why the results of my query are not appearing in my console application? I have a feeling it is something wrong with the console.writeline or readline [CODE]Imports System.Data Imports System.Data.SqlClient Module Module1 Private Property Sql As String Sub Main() Dim ConnString As String = "Data … ![]() | |
[CODE]Private Sub frmCust_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load dbSource = "Data Source=xx-B4C521B850\SQLEXPRESS;Initial Catalog=TT;Integrated Security=True" con.ConnectionString = dbSource con.Open() da.Dispose() sql = "Select * from Cust" da = New SqlClient.SqlDataAdapter(sql, con) da.Fill(ds, "Cust") da.Update(ds, "Cust") con.Close() MaxRows = ds.Tables("Cust").Rows.Count inc = -1 End Sub [/CODE] if after … | |
Please review the code as i am geting the error where i have placed arrow mark on the code section. Afer editing when i click on the update the below error is fired. what i am doing wrong Error: Unable to cast object of type 'System.Web.UI.WebControls.DataGridLinkButton' to type 'System.Web.UI.WebControls.TextBox'. using … | |
Code Giving Error is Given Below, and Error is 1) Make Sure your method arguments are in right format 2) When converting a string to DateTime, prase the string to take the date before putting each variable into the DateTime Object [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; … | |
hi guys this is just a simple question i want to know how to store images in database here is my code that i used so far: [CODE]Private Sub btnOpen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOpen.Click OpenFileDialog1.ShowDialog() txtimg.Text = OpenFileDialog1.FileName PictureBox1.Image = Bitmap End Sub Private Sub … | |
Please help me, i dont know what is wrong with this code it return with error: No overload for 'GridView1_SelectedIndexChange' matches delegate 'System.EventHandler' downlaod.aspx: [CODE] <%@ Page Language="C#" MasterPageFile="~/msportal.master" AutoEventWireup="true" CodeFile="Download.aspx.cs" Inherits="Download" Title="Download Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:Label ID="Label1" runat="server"></asp:Label> <asp:SqlDataSource ID="SqlDataSource1" runat="server" … | |
Back around 2004 and 2005, I had embarked on a web project that included the ability for my users to draw on a web page—or at least, that was one of the requirements. At the time, most of my web development had been server-side, with very little JavaScript. Long story … | |
I am gettig "could not find installable isam" while connecting to access 2007 databse the code that i wrote is: Public Sub MyConnection() constr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Contact_management\Contact_DB.accdb;Jet oledb:database password=abcd" con = New OleDbConnection(constr) If con.State = ConnectionState.Open Then con.Close() End If con.Open() End Sub i installed office 2007 via network. … | |
Hello! This is my first post. I've put this up on several other forums, but this one seems slightly more active (python-forum.org is a snooze-fest). I have been learning python for a few months and decided to make a chat server that you connect to through telnet. It's working fine … | |
hello i made databse that contain images description like price details etc i place pics on asp page <img src = "" ...........> i want to do that when i click on image image descripton from databse comes on page my c# code is [code] protected void TextBox1_TextChanged(object sender, EventArgs … | |
Dear all, I have tested my code in order to pass single value to single parameter field in crystal report from VB.NET Form, it is ok but the problem is that I want to pass multiple values to only one parameter field called "Product Name" and it displays only one … | |
Hi. I'm trying to print from datagridview but I don't understand how to do it. I've found some coding and this is the best for me. [URL="http://www.vbnettutorial.net/?Id=132&Desc=VB.Net-Print-Datagridview-in-WinForms"]http://www.vbnettutorial.net/?Id=132&Desc=VB.Net-Print-Datagridview-in-WinForms[/URL] But the tutorial is using server and I'm using this to call my table from Acces to datagridview. I don't know where to … | |
hello everyone still now i m working in c# window application and now im working in asp.net i made a same form and same coding in window application but this code is not working in asp.net... i want to do here is: [B]member_id textbox[/B] when i put some data in … | |
Hi... I want to enter more than one date onto textfield array with same name. The javascript I have used is shown below.It works with text field without array. [U]calender.html[/U] [CODE] <script src="CalendarPopup.js"> </script> <SCRIPT LANGUAGE="JavaScript" ID="js1"> var cal1 = new CalendarPopup(); cal1.showNavigationDropdowns(); </script> <form name="newenquiry" method="post" > <input maxLength="10" … | |
Hello. I am 2 days old in asp.NET. I had the option to do one of my home assignments in asp.NET and I thought it would be fun. It's not been as scary as I thought. Still, I have troubles debugging my queries. I can catch errors with try-catch block, … | |
I was hoping someone could offer me some help please I am new to using asp.net .I want to create a web form with two comboboxes ,one text box and a button .I have multiple tables in ms access database with same structure , col1 and col2 . I want … | |
Hi I was hoping someone could offer me some help please I have a form with two comboboxes ,one text box and a button .I have multiple tables in ms access database with same structure , col1 and col2 . I want to insert text box value into column1 in … | |
Hi Guys How r u all? i have a code that must start a verification form when load a finger print to recognize it but it is not working [CODE] Imports System.Data.OleDb 'Delegate Sub FunctionCall(ByVal param) Public Class IdentifyByFeatures Private Template As DPFP.Template Private Sub VerifyButton_Click(ByVal sender As System.Object, ByVal … | |
Can't get rid of this sucker! Microsoft Security Essentials is the only antivirus that has detected it and "deletes" it every time if pops back in but for some odd reason it can't completely get rid of it. Malwarebytes has just detected after I reinstalled and I am posting log … | |
I am trying to read a long integer value from an Access database, do some math to the number, and save the result back to the database. I've never had a problem doing this with VB6, but with C# it is throwing an error when it tries to Update the … | |
Hi there, I'm kind of new to python and I'm trying to extract a protein sequence from this webpage... [url]http://www.ncbi.nlm.nih.gov/protein/BAH23558.1[/url] When I use urllib.urlopen the html it gets does not contain the sequence data. When I open this page in firefox and use firebug to look at the page I … | |
HI can some one Help in my graduation project im making database access connection this is my class ___________________________ Imports System.Data.OleDb Public Class DataBaseConn Dim conn As New OleDbConnection Dim comm As New OleDbCommand Dim s As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data [COLOR="Red"]Source=D:\G-project Crab\GP\GP\Database1-2.mdb"[/COLOR] Sub adconn() conn.ConnectionString = s conn.Open() End Sub … | |
Getting the FileNotFound exception: java.io.FileNotFoundException: C:\Documents and Settings\User\My Documents\NetBeansProjects\MyApp\src\java\source\downloadfile.txt (The system cannot find the file specified) java.io.FileInputStream.open(Native Method) java.io.FileInputStream.<init>(FileInputStream.java:106) java.io.FileInputStream.<init>(FileInputStream.java:66) source.download.execute(download.java:25) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441) com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243) com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252) org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) … | |
Hello DaniWeb, this is my first view at this forum as a member! I have an issue with my code. The application interacts with a MySQL database on a remote server, I have access to this server. When my app is running the insert into code I m getting this … | |
Time to enter the Wayback ([URL="http://en.wikipedia.org/wiki/WABAC_machine"]WABAC[/URL]) Machine to an experience I had with a new Linux user and compare it to today's more tech savvy audience. The year was 1997 and I had settled in for the evening with my [URL="http://www.guinness.com/"]favorite beverage[/URL] and a bit of channel flipping, when I … | |
Hi all the treeview i am creating here works very well but i tried so many ways to add tag to the child nodes but i could not... can any one tell me how to add tag to the nodes... that are created from the database... I could add tag … | |
[QUOTE]Hi all I am using Vb2008 Express and an Access DB. I would like to Display a note from a column in the Notes_tbl to a text box this from an Access database. Here is the code that I used but it does not do the job. [/QUOTE] [ICODE] Dim … | |
Hi, Changes made in TextBox is not saved and, consequently, no changes occur in the data base These characteristics are set in the TextBoxes: OnTextChanged="NamеTextChanget" AutoPostBack="true". What do I need to change in the code? This is the code: [CODE] private string resultBase = "Произошло изменение"; string str; string save_str; … | |
Hi All, I have a query now i need to integrate my outlook calendar with external web portal to add events so that the outlook calendar can remind me , Could anyone suggest open source libraries to do this . Thnx in advance Thnx & Regards, mithesh. | |
hi the code which i use to export a data table to excel works fine..... but when i open the excel file it gives me the following warning THE FILE YOU ARE TRYING TO OPEN IS IN A DIFFERENT FORMAT THAN SPECIFIED BY THE EXTENSION. VERIFY THAT THE FILE IS … | |
* i had created a dataset which is "dataset1.xsd"-> data table in dataset1.xsd is "trns" trns filds are mentioned below-:which is same as my database table trns trns-> "tdate" "ttime" "tGoldQty" "tSilverQty" "tGoldRate" "tSilverRate" "tPaid" * my rdlc file is report1.rdlc- from report menu - i had select report data … | |
I can't get rid this error IntelliSense: cannot open source file "stdafx.h" error C1083: Cannot open include file: 'stdafx.h': No such file or directory [CODE]#include "stdafx.h" #include <iostream> #include <cstdlib> using namespace std; //class BinarySearch Tree class BinarySearchTree { private: struct BST { BST* left; BST* right; int data; }; … | |
Hi, I'm looking for a c++ open source graphics engine that works like cube 2 ([url]http://sauerbraten.org/[/url]). Essentially it is a basic shape only environment using only cube shaped objects and I was wondering if there was already a graphics engine suited to this. Thanks, James | |
Hi , i am getting syntax error in INSERT INTO statement. getting this error on cmdobj.ExecuteNonQuery(); [CODE]string connectionstring = @"Provider=Microsoft.ACE.OLEDB.12.0; Data Source=D:\website\AddContact.xlsx; Extended Properties=""Excel 8.0;HDR=Yes"";"; OleDbConnection conobj = new OleDbConnection(connectionstring); string Query = "INSERT INTO [Sheet1$](Fname, LName,PhoneNo,Email-ID) values (" + TextBox4.Text + ",'" + TextBox1.Text + "','" + TextBox2.Text + … |
The End.