4,457 Topics

Member Avatar for
Member Avatar for jaycastr

Hey fellas, I have a problem with my current code. I have a checklist that i want certain items to be selected bases of a sql query. here is the code: [CODE] public void PopulateCheckList(int Program_Id) { SqlDataReader myReader = null; String appConnectionString = "Data Source=csdb-wc-1p;DataBase=oparch_metrics_v2;User ID=ops_metrics_admin;Pwd=M3tr!c$@dm!n"; SqlConnection myConnection = …

Member Avatar for jaycastr
0
88
Member Avatar for BlueNoteMan

I am using getschema and simply trying to get names of tables within database data1.dbc. I have looked at the returned schmema info with the debugger and with the following code and can't see table names (which I know are in database). Have I used GetSchema correctly or am I …

Member Avatar for lolafuertes
0
128
Member Avatar for sirlink99

I am trying to save an image with this line [CODE]ImageIO.write(image, "JPG", new File(fileDestination.getText()));[/CODE] but it is giving me an error. [CODE] java.io.FileNotFoundException: C:\Users\Adam (Access is denied) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(Unknown Source) at javax.imageio.stream.FileImageOutputStream.<init>(Unknown Source) at com.sun.imageio.spi.FileImageOutputStreamSpi.createOutputStreamInstance(Unknown Source) at javax.imageio.ImageIO.createImageOutputStream(Unknown Source) at javax.imageio.ImageIO.write(Unknown Source) at screenCapture.CaptureScreen.actionPerformed(CaptureScreen.java:111) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) …

Member Avatar for NormR1
0
319
Member Avatar for parameswaran
Member Avatar for khess

My "[URL="http://www.daniweb.com/news/story229382.html"]10 Best Linux Distributions of 2009[/URL]" list drew a bit of disdain from some of my readers, so I thought I'd make it up to them by posting a list of Linux distributions that [I]they[/I] like to use. Since I have no way of knowing which of these distributions …

Member Avatar for shafin raza
0
2K
Member Avatar for KarthikOnIT

Hi Friends, I have been searching for JavaScript data visualization tools. The charts like "Icicles", "TreeMaps" are the ones I was looking for. I have found few open source libraries like the [url]http://thejit.org/[/url] However, libraries which has gradient effect with better UI would server the purpose. Please suggest some better …

0
112
Member Avatar for zoraster01

i wonder why my code have an error.. this my code and i will highlight the error[CODE].. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim connection As New SqlClient.SqlConnection Dim command As New SqlClient.SqlCommand Dim adapter As New SqlClient.SqlDataAdapter Dim dataset As New DataSet connection.ConnectionString …

Member Avatar for Mitja Bonca
0
142
Member Avatar for six_sic6

Hi, I am having problem on getting value from dropDown list. [CODE] using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.OleDb; public partial class _Default : System.Web.UI.Page { OleDbCommand comm; OleDbConnection conn; //conn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=G:\\Demo11(1).accdb;Persist Security Info=False"); protected void Page_Load(object sender, EventArgs e) { if …

Member Avatar for six_sic6
0
194
Member Avatar for Gazzmonkey

Hi all, I got a problem with part of my application, it's an exception I've never seen before. Overload resolution failed because no accessible 'New' can be called without a narrowing conversion: 'Public Sub New(original As System.Drawing.Image)': Argument matching parameter 'original' narrows from 'Object' to 'System.Drawing.Image'. 'Public Sub New(stream As …

Member Avatar for Gazzmonkey
0
2K
Member Avatar for ClimaxBeetle

[CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim ds As New DataSet Dim da As New OleDbDataAdapter Dim cb As New OleDb.OleDbCommandBuilder(da) Dim cn As New OleDbConnection Dim cmd As OleDbCommand Dim sql As String 'sql = "INSERT INTO Employees(GivenName, LastName, Gender, JobPosition, Month, …

Member Avatar for adam_k
0
326
Member Avatar for siaswar

Hi I'm software engineering student. I know python, c, c++ and c#. It's been two years I'm trying to learn programming but somehow I still a beginner. I just know the syntax of these languages. I love Linux and open-source. I tried to learn programming in Visual Studio but my …

Member Avatar for katmai539
0
223
Member Avatar for Kerlix

I'm using VS 2010 and I always get multiple error messages: '<<': no operator found which takes a left-hand operand of type 'std::string' (or there is no acceptable conversion). I get that for lines 36 and 52. Then I get "Intellisense: no operator "<<" matches these operands for lines 36 …

Member Avatar for Caligulaminus
0
312
Member Avatar for and12

It is catching my exception error when I try to do a select student_id student_name from Student and put it in my dropdownlist. I already created the databases called college and tables Student, Course, and StudentCourse and put in fake data. I store my Connection String in the web.config file. …

Member Avatar for mlesniak
0
280
Member Avatar for bradploz

How do you insert label values to database? here is my code.. [CODE]Imports System.Data.OleDb Public Class frmemp Dim con As New OleDbConnection Dim dbAddNew As New OleDbCommand() Private Sub frmemp_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim ds As New DataSet Dim dt As New DataTable Dim …

Member Avatar for hericles
0
409
Member Avatar for Welsh_Wizard

Hey, So I am very new to using VB, Visual Studio etc. I am trying to do something really simple. Basically I have an Excel 2003 workbook with some data pre stored. All I need to do is add a chart to the spreadsheet and plot some data. However I …

Member Avatar for nmaillet
0
195
Member Avatar for bradploz

[CODE]Imports System.Data.OleDb Public Class frmlog Dim con As New OleDbConnection Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click If ask() = True Then MessageBox.Show("Success") Me.Hide() Form1.Show() Else MessageBox.Show("Invalid") End If End Sub Public Function ask() Dim dt As New DataTable Dim ds As New DataSet ds.Tables.Add(dt) …

Member Avatar for debasisdas
0
129
Member Avatar for johny20

Hello guys, I try to implement a chat application using PHP + MySql. The problem so far is that when I am chatting, I "lose" inputs when a small part of the page goes to be updated. On the other web browsers (Chrome, IE, Opera) I have some delay but …

Member Avatar for johny20
0
86
Member Avatar for bklynman01

I'm trying to find a way to check for changes in a DataGridView. The gridview does not have a binding source because I am populating it based on some other information. Right now I get a NullReferenceException. It happens as the gridview is populated. I have marked the line where …

Member Avatar for bklynman01
0
189
Member Avatar for Techyon

Hi guys, I'm finding myself in a little trouble. I've tried to google this problem, but without much success. Hopefully its something simple I'm missing and someone will be able to help me. I'm writing a little program that will synchronize two access database schema's. It works, to a point. …

Member Avatar for Techyon
0
2K
Member Avatar for mike_2000_17

[B]Beginner's Guide to C++0x: The Big Five - Implementing a Resource-holding RAII Class[/B] This tutorial will show how to implement a [I]resource-holding class[/I] showing practical use of [I]C++0x features[/I]. A resource-holding class is any class which holds, with its data members, a resource which could include: [LIST] [*]dynamically allocated memory …

17
3K
Member Avatar for swatisharma7891

I am creating a runtime table which is taking values from the database, but the problem is that the all the rows of database table is showing in one column when running on browser, how to divide the data in two columns . the code is shown below which is …

Member Avatar for bravo659
0
115
Member Avatar for rEhSi_123

I am having problem deleting my data on click event [QUOTE]Private Sub btnDel_Click[/QUOTE]. Here is my code: [CODE]Dim inc As Integer Dim cs As New SqlConnection("Data Source=Connect\SQLEXPRESS;Initial Catalog=ForumCrawl;Integrated Security=True") Dim dbSource As String Dim da As SqlDataAdapter '("SELECT * FROM search_result", cs) Dim ds As New DataSet Dim sql As …

Member Avatar for rEhSi_123
0
169
Member Avatar for firoz.raj

hi friends,when i tried to open my Ms Access 2003 file in Ms Access 2007 .i am getting the following error .Kindly let me know the idea .any help would be highly appreciated. [code] This error can appear if you try to convert an Access 97 database to a more …

Member Avatar for Lightninghawk
0
426
Member Avatar for davemac001

Hi guys, Im still relatively new to c# and asp.net. I have decided to create a web forum using asp.net and c# just to help myself get a better understanding of the languages. Some mates of mine informed me that there are some open source forum projects already out there. …

Member Avatar for shrnmlss6
0
291
Member Avatar for MagnetoM

How do you participate in open source projects? I have went to a few sites that have open source projects but don't know how to participate in them.

Member Avatar for Momerath
0
149
Member Avatar for bklynman01

I have a piece of code that takes two strings, puts them together, then attempts to save that result into a table in a database. For some reason, the database is only showing the second half of the string ([ICODE]Me.txtRev.text[/ICODE] in this case). When in debug, I can see that …

Member Avatar for Mitja Bonca
0
274
Member Avatar for rEhSi_123

Hi Guys need your help on this :( Basically I am developing a web crawler so once the html source is converted to plaintext in a textbox, i intent to save it in dB. But the dB seems to be having trouble excepting some characters into the table and throwing …

Member Avatar for rEhSi_123
0
220
Member Avatar for pardeep3dec

Dear Experts, I am Completely new to ASP.NET i want to design a page in which when i will click on LINKBUTTON ([url]www.in.com[/url]) then website should be open but there is an error Server Error in '/WebSite2' Application. -------------------------------------------------------------------------------- The HTTP verb POST used to access path '/WebSite2/www.in.com' is not …

Member Avatar for stbuchok
0
146
Member Avatar for Netcode

I have written the following code in a class as my connection string. I want to retrive data from a field in a table in my database using this connecyion string. Please how do i go about it? [CODE]Public Class ConnectionString Public Shared Function ConnSQL() As SqlConnection Dim connectionString As …

Member Avatar for Netcode
0
658
Member Avatar for ztdep

Dear friends: I get different resutls when copy my code from windows to linux system. the string comparion " if( keyword==Key[0] ) " is true in window system, but it is false in linux system. I am really confused about this.I copy the same source code and the same input …

Member Avatar for mrnutty
0
241
Member Avatar for ShadyTyrant

I need a little help connecting to an oracle database. I keep getting this error: Data provider internal error(-3000) [System.String]. [CODE=C#] using System; using System.Collections.Generic; using System.Linq; using System.Text; using Oracle.DataAccess.Client; using Oracle.DataAccess.Types; namespace OrcaleTest { class Program { static void Main(string[] args) { string connectionString = "user id=travus;password=password;data source=127.0.0.1"; …

Member Avatar for stbuchok
0
611
Member Avatar for coroll

Hi! my code gives me this error. "An object reference is required for the non-static field, method, or property 'HD.RegisterMember.CN'" Plz can anyone help me. This is my code(Class); [CODE] private SqlConnection CN; public static String getLastMemID() { String ID = null; try { CN = new SqlConnection("Data Source=BJ-PC\\SQLEXPRESS;Initial Catalog=DB;Integrated …

Member Avatar for kapojian
0
158
Member Avatar for yasirfarid

I want to show record list in Datacombo through coding , using SQL Server 2000,VB6. Following are the coding. ******************************** Private Sub Form_Load() Dim CNN As New ADODB.Connection Dim RST As New ADODB.Recordset Set CNN = New ADODB.Connection CNN.Provider = "SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Maintenance;Data Source=YASIR" CNN.Open Set RST = …

Member Avatar for Rajeev3010
0
367
Member Avatar for Roy Gourgi

Hi, I have a table with 10,000 records but I only want to read 250 at a time. I know the row number of the 250 records that I have to read and so I want to avoid reading all 100,000 records each time. For example, if I want to …

Member Avatar for sknake
0
216
Member Avatar for azzaid

please anyone help me i take example from sphinx4-1.0beta6 but when i run it in netbeans this error appear run: Exception in thread "main" Property exception component:'dictionary' property:'fillerPath' - Can't locate resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/fillerdict edu.cmu.sphinx.util.props.InternalConfigurationException: Can't locate resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/fillerdict at edu.cmu.sphinx.util.props.ConfigurationManagerUtils.getResource(ConfigurationManagerUtils.java:483) at edu.cmu.sphinx.linguist.dictionary.FastDictionary.newProperties(FastDictionary.java:149) at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505) at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:287) at edu.cmu.sphinx.linguist.language.ngram.SimpleNGramModel.newProperties(SimpleNGramModel.java:97) at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505) at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:287) …

0
104
Member Avatar for bigwhiteegg

I'm new to web develop, just started coding my own page I have the need for hiding the user's ip so I found the following code just trying to figure out how to use it on my website what will be showing on the screen is a hyperlink like this …

0
85
Member Avatar for msaqib

[HTML][/HTML] [CODE][color=#0000ff]using[/color][color=#000000] System;[/color] [color=#0000ff]using[/color][color=#000000] System.Collections;[/color] [color=#0000ff]using[/color][color=#000000] System.ComponentModel;[/color] [color=#0000ff]using[/color][color=#000000] System.Data;[/color] [color=#0000ff]using[/color][color=#000000] System.Data.OleDb;[/color] [color=#0000ff]using[/color][color=#000000] System.Drawing;[/color] [color=#0000ff]using[/color][color=#000000] System.Web;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.SessionState;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.UI;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.UI.WebControls;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.UI.HtmlControls;[/color] [color=#0000ff]namespace[/color][color=#000000] lms[/color] { [color=#808080]///[/color][color=#808080]<summary> [/color][color=#808080]///[/color][color=#008000] Summary description for inc_search_books. [/color][color=#808080]///[/color][color=#808080]</summary> [/color][color=#0000ff]public[/color] [color=#0000ff]class[/color] inc_search_books : System.Web.UI.Page { [color=#0000ff]protected[/color] System.Web.UI.WebControls.TextBox Q; [color=#0000ff]protected[/color] System.Web.UI.WebControls.Button Button1; [color=#0000ff]protected[/color] System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1; [color=#0000ff]protected[/color] System.Web.UI.WebControls.Label …

Member Avatar for deepakjoy
0
2K
Member Avatar for divakar.it

Hi, My requirement is to delete a selected row in the datagrid from SQL server. If no row is selected then nothing should happen. Below is my code [CODE] Private Sub BT_Remove_Click() On Error GoTo ErDsc: Dim MyConn As ADODB.Connection Dim MyRecSet1 As New ADODB.Recordset Set MyConn = New ADODB.Connection …

Member Avatar for divakar.it
0
1K
Member Avatar for bigzos

I retrieved data from access in vb10 between two dates and here is the code for dat: [CODE]Imports System.Data.OleDb Public Class Form4 Dim con As OleDbConnection Dim cmd As OleDbCommand Dim dr As OleDbDataReader Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Try con = New …

Member Avatar for adam_k
0
156
Member Avatar for ViRiPuFF

Hi I've written this code (that works) to inserts registration details into an Access 2010 DB from an aspx registration page. How do I check for duplicates Email before inserting a new record into the DB Dim strConn As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\InetPub\WWWRoot\BushHouseGibraltar\Bush.accdb;Persist Security Info=False;" Dim MySQL As String = …

Member Avatar for ViRiPuFF
0
124
Member Avatar for utthu

I am having a problem with the execution of this particular php page. I'm using a wamp 2 server on windows7. The output is always "Unable to Open Database", no matter what changes I make to the code. Please help! I am a newbie in php! The php code is …

Member Avatar for utthu
0
155
Member Avatar for bigzos

I have a login form coded as : [CODE] Imports System.Data.OleDb Public Class Form2 Dim ctr As Integer Private Sub Ok_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim con As New OleDbConnection("Provider=Microsoft.jet.oledb.4.0;data source=C:/Users/Space Era/Documents/User.mdb") Dim cmd As OleDbCommand = New OleDbCommand("SELECT * FROM Users WHERE userid = …

Member Avatar for bigzos
0
3K
Member Avatar for rajabca

Syntax Error in Insert Into statement. pls give correct code for me.[code]Imports System.Data Imports System.Data.OleDb Partial Class login Inherits System.Web.UI.Page Dim cn As OleDbConnection Dim cmd As OleDbCommand Dim dr As OleDbDataReader Dim icount As Integer Dim str As String Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) …

Member Avatar for RameshKumar.M
0
176
Member Avatar for murpeg

When I get an e-mail with an attach picture, I double click on the attachment and get the following error message "This application has failed to start because UXCore.dll was not found. Re-installing the application may fix the problem." Then I click OK and get "Error loading C:\Program Files\Windows Live\Photo …

Member Avatar for patriciabigelow
0
322
Member Avatar for vincezed

Hi All, i am creating a Desktop application using Microsoft Visual Studio .NET 2008.. i am using .sdf file as my database... my problem is that when i am making changes to my records (add new, deleted, updated) then the changes reflects only till my application is running when i …

Member Avatar for Momerath
0
121
Member Avatar for yousamook

hi all, I am working with vb.net 2010 SQL express 2008 and ReportViewer. I have created a form that a user can add, edit and delete data which is all stored in an SQL db. I am printing out reports for the user with ReportViewer. The issue I am encountering …

Member Avatar for pixma
0
3K
Member Avatar for bigzos

Hey,i am working on a module in vb 10..i have to retrive data from the database between two dates...i have used the following code but not able to get ny output,,nt even an error [code] Imports System.Data.OleDb Public Class Form4 Dim con As OleDbConnection Dim cmd As OleDbCommand Dim dr …

Member Avatar for pixma
0
202
Member Avatar for rowly

Hello Guys, we just created a website using sharepoint 2010 and we implemented a booking system inside this website. we used a bamboo calender plus webpart as a booking system. now getting to the problem. there is a link inside this webpart where we click to enter new item(equipment booking). …

Member Avatar for Airshow
0
219
Member Avatar for peter20

Hi, I would like to make a text dialog application. is there open source software helping me do it ? I found searching the web only OpenEphyra Thanks in advance

Member Avatar for TrustyTony
0
69
Member Avatar for erum

i have following code [CODE]<div id=date_check visible=true runat=server> <strong>Check-In Date</strong> <%-- <asp:TextBox ID="txt_checkin" runat="server" onchange="checkdate(this);"></asp:TextBox> <a href="javascript:calendar_window=window.open('calendar.aspx?form1=form1.txt_checkin','calendar_window','width=554,height=488');calendar_window.focus()"> <img alt="" src="images/calendar.png" /> </a> --%> <asp:TextBox ID="txt_checkin" runat="server"></asp:TextBox> <ajaxtoolkit:CalendarExtender ID="Calendarextender1" runat="server" OnClientDateSelectionChanged="checkDate" TargetControlID="txt_checkin" Format="dddd, MMMM dd, yyyy"> <%--<input runat=server type="text" id="txt_checkin">--%> <strong>Check-Out Date</strong> <asp:TextBox ID="txt_checkout" runat="server"></asp:TextBox> <ajaxtoolkit:CalendarExtender ID="Calendarextender2" runat="server" OnClientDateSelectionChanged="checkDate" TargetControlID="txt_checkout" Format="dddd, …

Member Avatar for DeadSoul
0
635

The End.