4,457 Topics
![]() | |
Hello everyone, I'm working on a little project that use c#, Oracle ODT and asp.net, so, my problem is that i dont know how to convert or store the data retrieved from a sql that is a sequential and then use in other query in the same project. This is … | |
Hi, I am very new to c# and I toying with the idea of using stored procedures to insert values from two textboxes in to two related tables. Table 1 Model (ModelID PK, ModelName, ManufacturerID FK) - Table 2 Manufacturer (ManufacturerID PK, ManufacturerName) both tables are related by the ManufacturerID. … | |
Hi guys i'm trying to just do a simple email/password validation on two text boxes. This code runs but when i type in a correct email address it throws an error "Object reference not set to an instance of an object." on [CODE]AdAcc.InsertCommand.Connection = OleAcc;[/CODE] I'm thinking i may need … | |
Hello! I'm making an IRC Client with DCC Capabilities. The DCC Specifications say this about receiving files: [b] The recipient should acknowledge each packet by transmitting the total number of bytes received as an unsigned, 4 byte integer in network byte order.[/b] In do this with the following code: [code]typedef … | |
Hi Guys! I am using the following Connection Strings for ms sql. I am new in programing so help me. Eror: [B]Description: [/B]An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in … | |
Dear Experts, Thanks in advance for helping me I have installed an application (APWebGrabber) on my VPS, that application is being used in my website. APWebGrbNET.DLL is already in BIN Folder of my site. I am getting this error. Plz Help Me. ERROR CODE: Compilation Error Description: An error occurred … | |
The 'who' command lists the "console" associated with the user. Im trying to find all open "tty's or whatever that users' device console is called". The only open source for the tty command i found, which was written by apple, was not followable. Question is is their a function call … | |
My joomla site is showing this error on line 205 and 219. [CODE]<?php /** * @version $Id: debug.php 14401 2010-01-26 14:10:00Z louis $ * @package Joomla * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. * @license GNU/GPL, see LICENSE.php * Joomla! is free software. This … | |
Dear, I have a code of c# who simply insert data into database i have code that contains abyte data but runtime it insert query display the system.byte[] instead of byte data [CODE] private void showData_Click(object sender, EventArgs e) { String FileType; String PictureName; for (int i = 0; i … | |
We are very excited to announce the launch of [URL="http://www.pygamezine.com/"]PyGameZine[/URL]! PyGameZine issue 0 is chock full of articles about pygame, and interviews with people using pygame. It was inspired by the magazines that people used to type code out of into their comodore 64s, or z80 spectrums plugged into their … | |
hi, i looking for a imap server or something like that. i have many emails: hotmail, shared linux server with email and gmail. i use the outlook 2007 for receive emails from that accounts. my problem is that i receive a lot of spam and with the rules in outlook … | |
Hello, a few years ago (about 7 or so) I developed a concept for a website but I had (& still do not have) little to no knowledge on web design... specifically source code. Well I attempted to have the site built by an individual who claimed to have extensive … | |
I hope you guys can help me out... i have a little applet which caused me lot of problems. i'm new to java and i hardly managed to put all the code together, what does the script? here: users visit my website, and from their account they can upgrade a … | |
Hello, I am writing a Tic Tac Toe java program, and it's almost all working; however, I noticed a bug in it recently and I cannot find the source of the problem. Basically the game has a New Game option in the file menu, and the first time it works … | |
Hi guys ok guys this is my problem my DataGridView1 does not show the data on my testdb.mdb i need to fix this first before i continue on adding records on my db i very much appreciate any one who can help me with this. [CODE]Imports System.Data.OleDb Public Class Customer … | |
I want to work with pdf files (open, search some string of chars, close). I found just [URL="http://wxcode.sourceforge.net/docs/wxpdfdoc/index.html"]this[/URL] and I want to ask you who "know how" to implement it to wxDev cpp (something as a downloand is not available, just pieces of source code). Thanks for answers! | |
[quote]Yes you can. But going from a useful, good coding practice that makes further development easy to hardcoded, poor coding practice that makes further development hard does not sound like a good idea. Any reason why you would recommend such a move?[/quote] It's because sometimes you do exactly what the … | |
Hello all! I am getting errors when I try to use this adodb.connection and command in my code. The error I am getting is saying that the connection and command are not defined. I read online that depending on your version of vb that you might use the "OLE" connection … | |
I`m trying to find source for insert data to textfield. First, I mean this with clicking "List" to open list of values in javascript popup window. Here list of data appears.User can select value from list and send it back to form textarea with closing small javascript popup window automatically, … | |
hi... Im new to this pdf editing using open source like itextsharp/pdfsharp. I need to open a pdf and crop it by giving the coordinates and store the cropped image as a image. Can you please please help me with this asap by giving the snippet. Thanks in advance Mugdha | |
Hi All I am writing an import program to import data from an access database to a SQL database. The table structure in the SQL and Access are the exact same with the same field names. I was wondering if there was a quick way to get the data into … | |
I need a functioning login code for a windows form. my code that I made has some problems. I posted my code to prove I made Effort. thanks. [QUOTE] -------- Username = 123-incorrect Password = 123-incorrect Login Failed. when Username = onat12-correct Password = sambuca888-correct Login Accepted. now when, Username … | |
I have this example: [CODE]use warnings; use strict; open LYNX, "lynx –source http://www.perl.com/ |" or die "Can't open lynx: $!"; # Define $_ and skip through LYNX until a line containing "standard.def" $_ = ""; $_ = <LYNX> until /standard\.def/; # The headline is in the following line: my $head … | |
Hello ! I'm trying to edit and update and cancel in datagrid. Edit and cancel commands are working properly but at UPDATE i m getting this error.(Incorrect syntax near '12'). Please help me. my code is here.. [code] protected void DataGrid1_UpdateCommand(object source, DataGridCommandEventArgs e) { num = Convert.ToInt16(e.Item.Cells[1].Text.ToString()); TextBox t1, … | |
i am having issues with an update query. i normally use SQL 2005 but for this project i am using an access 2007 database please can anyone point me in the right direction, [CODE] Dim con As New OleDb.OleDbConnection Dim cmd As New OleDb.OleDbCommand Try con.ConnectionString = "Provider=Microsoft.Ace.OLEDB.12.0;Data Source=" & … | |
I'm creating a small program to read from an SQL server, loading result into an array, pivoting the array to my liking and mailing it out to selected members of a group. It's going to be run once a day with Windows schedule. I have the connection, query and mail … | |
Hi, I'm currently learning C# and I'm currently learning how to do C# and Database's. Does anyone know why it isn't adding the data in the text boxes to the db. Cheers Sam [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using … | |
I have a Login validation problem, when Username = 123-incorrect Password = 123-incorrect Login Failed. when Username = onat12-correct Password = sambuca888-correct Login Accepted. now when, Username = onat12-correct Password = 123-incorrect Login Failed. now when, Username = 123-incorrect Password = 123-incorrect Will not validate Verification failed [CODE]using System; using … | |
The void and Output file will not work for my code and I don't know why. [CODE]#include <iostream> #include <string> #include <istream> #include <fstream> #include <cstdlib> #include<iomanip> using namespace std; #define MAX_ENTRIES 50 struct internet { string internetDomain; string ipNumber; int counter; }; // declare the array of structs - … | |
I wanted to implement an ERP using joomla, and the open source CK-ERP module. i followed the instructions properly but when it reaches to the point of trying to access it from address bar(URL) as per installation instruction, it says and i quote "You Must Login To Access CK-ERP".It is … ![]() | |
I have an webbrowser control on my form. I am able display html files in that control. But my page contains some images if i give [B]absolute path[/B] to it then images are displayed. But if i give relative path then images are not shown in the pages. I have … | |
I am developing a point of sale program for a project subject. The trouble im having is when i press on the button to add the item from a textbox to a listview i receive an error: See attached Screenshot. my code is: [CODE]Private Sub SalesScreen_Load(ByVal sender As Object, ByVal … | |
Hello !! I have a windows form having combobox and textbox controls.. I have to generate a part number, consisting of combobox and textbox values included.. I can explain in detail.. This is the code i have used to define a variable "type".. [CODE] If ComboBox1.SelectedIndex = 0 Then type … | |
Can anyone suggest a open source llibrary for plotting 3D graphs . More precisely dynamic graphs. I was using jfreechart but that is only for 2D plots. I need a library so that I can plot 3D graphs............. | |
Hi Everyone. I am totally new here and this is my first post.. I have tried many place, since i could get any solution. I have no choice then posting here. basically, i have one delete form, where i will load the firstname from a table in access(hardcode) to listbox. … | |
hi guys , 1)i wrote this bunch of codes but i can't get any result from part update . this part should update those cells that user want to change it. for example you want to change some music ranking so you must duble click on data gide viwe to … | |
i have a problem why this code did not function?? [CODE]Protected Sub GVPaparTugasan_RowDataBound(ByVal sender As Object, ByVal e As GridViewRowEventArgs) If e.Row.RowType = DataControlRowType.DataRow Then Dim litPurata1 As Literal = DirectCast(e.Row.FindControl("litPurata1"), Literal) Dim litJumlah1 As Literal = DirectCast(e.Row.FindControl("litJumlah1"), Literal) Dim Tugasan1 As Double = Convert.ToDouble(DataBinder.Eval(e.Row.DataItem, "Tugasan1")) Dim Tugasan2 As Double … | |
INPUT.txt [CODE] 6 p q r s k m 6 ~p|q ~q|r ~p|~r|s ~r|k ~k|m r m [/CODE] right OUTPUT.txt [CODE] ~p|q,~q|r,~p|~r|s,~r|k,~k|m,r,~m p: Resolve unsuccessfully q: ~p|~r|s,~r|k,~k|m,r,~m,~p|r r: ~k|m,~m,~p|s,k,~p|k s: Resolve unsuccessfully k: ~m,~p|s,m,~p|m m: ~p|s,0,~p TRUE [/CODE] My Program [CODE] #include "stdafx.h" #include <string> #include <fstream> #include <vector> #include … ![]() | |
Hello.. I want to populate my combobox with the list of banknames available in my database.. I tried doing so but i am getting a blank list.. ie.. shows no value in combobox !! Here is what i tried.. Please help !! [CODE]Private Sub ComboBox4_SelectedIndexChanged(ByVal sender As System.Object, ByVal e … | |
Hi, I am creating a web application and i am using sqlserver 2005 as back end. I have a page with a radiobuttonlist, a textbox and a submit button. The user needs to select one option and enters values in the textbox. Once he submits the appliation need to insert … | |
**Despite how long this looks, I know it is very simple, I just added lots of details, but I know the issues was super easy the last time I dealt with it a year ago, I just forgot how I fixed it. I think Ezzreal (moderator on here) showed me … | |
[ATTACH=left]12481[/ATTACH]The New York Times [URL="http://www.nytimes.com/reuters/2009/11/06/technology/tech-us-france-apple-louvre.html"]reported today[/URL] that Apple has opened its first Apple Store in Paris, underneath the Louvre no less, and just two weeks after Microsoft opened up a [URL="http://www.engadget.com/2009/10/22/microsofts-windows-cafe-opens-its-doors-in-paris/"]Windows 7 cafe[/URL] in Paris in another location. The idea of these two companies competing in a retail environment, and … | |
I have a simple question. [COLOR="Green"]Do while loop[/COLOR] to check each record in a MySQL Table, see code [COLOR="Red"] But i want certainly not just want not use recordset or MySqlDataReader.[/COLOR] I Is that possible? Information: I use Visual Basic 8.0 and Mysql 5.0 I have one table: Articles Article … | |
The source is available at [URL="http://code.google.com/p/java-cli-api/"]http://code.google.com/p/java-cli-api/[/URL]. It is not yet in the Maven Central Repository, but I did post the initial 0.0.1 release on the Downloads page if you do not want to check out the source. If anyone has comments/critiques on it, I would love to hear them. The … | |
Hi There experts... i am hoping that someone will be able to help me with a problem... I have the following vba code.. some of you that are clued up with vba will know... it is a code i got from the net that allows me to choose dates before … | |
I wanna to make a code that protect a file with password I ask how and if there open source codes for it | |
Hello !! I have a form and some controls as dropdown and textboxes.. The situation is that when the form loads, i want the value in textbox to be incremented, everytime it loads.. This is something i tried.. I get the value '1' everytime !! It shows no sign of … | |
I am able to succesful creating dynmically dropdownlist but i cannot use it seleted change event Mainly problem [CODE] for (int i = 0; i < DDLCount; i++) { // Create the dropdownlists ddl = new DropDownList(); la = new Label(); //DropDownList dd2 = new DropDownList(); ddl.ID = "Text" + … | |
I have a bunch of database methods that I normally copy and paste into my aspx code behind files on every web app I build. That said, I was trying to build my next app by putting all of my connection info and data calls into a class library. Then … | |
Private Sub ComboBox6_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox6.SelectedIndexChanged con = New SqlConnection("Data Source=DEW-D63D9D2D032\SQLEXPRESS;Initial Catalog=system1;Integrated Security=True") con.Open() sql = "Select Faculty_Id From Faculty where Faculty_Name='" + ComboBox6.SelectedItem.ToString() + "'" cmd = New SqlCommand(sql, con) rdr = cmd.ExecuteReader() While (rdr.Read()) fid = rdr.GetInt32(0) End While con.Close() MsgBox(fid) con1 … |
The End.