4,457 Topics
![]() | |
i have created a page where one can edit previous message or add new. for that i created a cookie and store the primary key value and process over one want to edit [CODE]protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { object ob = Session["red"]; if (ob != … | |
Hey! I created my first project on Google Code. Let me introduce myself. I'm Kevin, 18 years old. Next year I'll study computer science in Holland. I'm interested in computers ofcourse, and also in artificial intelligence and natural language processing and internet. So I created a new project. But I … | |
Hello friends! I'm writing a program that is connected to a mdf database and i need to query the database, but I have tried several ways to do it but without success :( ! This is my code: [CODE] string Query = null; SqlConnection con = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database1.mdf;Integrated Security=True;User … | |
I performed the following code to retrieve the path from database and show image [CODE]protected void Button2_Click(object sender, EventArgs e) { string t = TextBox2.Text.Trim(); SqlConnection con = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=D:\\Anshul\\College site\\App_Data\\afset.mdf;Integrated Security=True;User Instance=True"); SqlCommand cmd = new SqlCommand("Select dmc from Semr Where Rollno='" + t + "'", con); con.Open(); … | |
So I have being asked to create something in JavaScript and was told what they want it to be like, since I am beginning JS amongst other web development languages. Anyway have a look at the image and let me know if it is possible to do with JS or … | |
Hi this is the code i have [CODE]NewCustomerTable.Clear() NewCustomerconnection.ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0;Data Source=G:\Shop.mdb" NewCustomerconnection.Open() NewCustomerAdapter = New OleDb.OleDbDataAdapter("INSERT INTO Customers VALUES ('" & txtNewID.Text & "','" & txtNewFirstName.Text & "','" & txtNewLastName.Text & "','" & txtNewAddress1.Text & "','" & txtNewAddress2.Text & "','" & txtNewPostcode.Text & "','" & txtNewPhoneNumber.Text & … | |
I have an open source program that I want to use & associate with my New program. Started the new program with FileNewApplication. I then added the unit SerialNGBasic. When compiling I get an error (halts) in procedure TForm1.Button1Click(Sender: TObject); of Unit1/Main form. Any hints? Tks Vern Attached is the … | |
Hi, as a bit of background, My Uni have lately implemented a CGI script so you have to log in to be able to use the wireless. This would be OK but they are terrible programmers and instead of timing out after a period of inactivity it will time out … | |
[code] #!/usr/bin/perl $run_env = "test"; $parm_file = "wf_PBM_DHT_CS90_CH_Hist_Extract.parm"; $sys_id = "PWLP"; #div name based on the session's call $div = "WLD"; $CH_TYPE = "CS90CH"; #process name will be the process name in the trigger file $PROCESS_NAME = "CH_CS90"; #sys_name would map to the applicable Tier e.g. FAC=Facets, WGS=WGS, STR=STAR…. $sys_name … | |
Canonical's Ubuntu 10.04 LTS Server Edition features the ideal deployment platform for Linux server workloads and cloud computing Long-term support (LTS) version of popular server operating system generally available on 29 April. [B]LONDON, April 27, 2010:[/B] Canonical today announced the upcoming release of Ubuntu 10.04 LTS Server Edition which includes … | |
[CODE] Private Sub cmdToday_Click() Dim oConn as new ADODB.connection Dim oRs as new ADODB.recordset Dim sql as string sql = "SELECT WORD,MEANING FROM TODAY_LIST" oConn.Open "Provider=SQLOLEDB.1;Password=config;User ID=sa;Initial Catalog=master;Data Source=GAATLMDV01PSGE;Persist Security Info=True" Set oRs = oConn.Execute(sql) mfgViewData.Cols = 2 mfgViewData.TextMatrix(0, 0) = "WORD" mfgViewData.TextMatrix(0, 1) = "MEANING" mfgViewData.ColWidth(0) = 1500 mfgViewData.ColWidth(1) … | |
Hello friends, I am looking for an open source project to get into this summer.I have been programming for quite long but i am not into open source software development yet.I have programming experience in c, c++,c#,php ,javascript, xml .So please suggest some good open source project to start with. … | |
Hello all, I am trying to automate my builds so that when I commit a branch with a particular url to my svn repository, my python script (which runs twice daily) will pick up on it, do a build, and upload it to a new trac downloads page. Right now … | |
Hello, i am currently writing an assembler for the theoretical SIC/xe machine and i decided to do it in python. Very new to python but i thought it would be fund to do it in and willing to learn. So far i know what to do and have the diea … | |
I need help to create a search button vb.net to search a access database that is binded in vb.net. I want to search for 2 items in the database and display then in the datagrid. the code i done is here. [CODE] Dim da = New OleDb.OleDbDataAdapter() Dim con As … | |
I was wondering if you could help me out, I'm trying to do a DB Add, Update, Delete program and I was using your program khanhtrung for assistance and got the ADD working perfectly but UPDATE/DELETE will not work whatsoever, this is my code for my delete button, and for … | |
I have a program that will use the following code to draw the nodes i need (ellipses), but it won't draw the paths(lines). The only thing i could think of is that it might not be calling properly through two classes. [CODE]protected override void OnRender(DrawingContext drawingContext) { base.OnRender(drawingContext); DrawingGroup dGroup … | |
Dear All, I have search a lot of forum or blog for this problem and have yet come up with a solution.. Hope anyone can help me here... Thanks a lot!! I am using Ms Visual Basic 2008 Express Edition (vb.net) Here is my code: [CODE] Private Sub btnUpdate_Click(ByVal sender … | |
hi, i work on a csharp application with sql server ce database and i have this code: [CODE] private void recherchebtn_Click(object sender, EventArgs e) { SqlCeConnection con = new SqlCeConnection(); con.ConnectionString = @" Data source= `|DataDirectory|\Database1.sdf"; try { con.Open(); } catch (Exception ex) { MessageBox.Show("connection failed"); } finally { SqlCeDataReader … | |
Hi I am working on a project for my course. I am creating a library system. However I am getting a lot of errors right now. Whenever it adds the record it does not add it to the database. Whenever it updates the record I got this message [B]Syntax error … | |
Hello, I have a WebService that gets a LessonID and returns a list<string> that has all the links of the lesson from access database: [CODE] [WebMethod] public List<string> Lessons(int lessonID) { string lessonsource = ""; string cs = "Provider = Microsoft.Jet.OLEDB.4.0; Data Source= " + GetDBLocation(); OleDbConnection cl = new … | |
Hi all This is the file i wanna write a program for [url]http://www.mediafire.com/?vzrz1ymnmlq[/url] . It contains a database with a game's "spells", the damage they do, they're icon and other useful info i wanna see. I wanna get this file in an sql executable format and into my sql database. … | |
hello all, i have the following VB code which is expected to activate a storred procedure from SQL DB. for some reason i recieve a msg that the procedure does not recieve the inpute parameters. the code: [code] Sub Validate_Data() 'check if data is there: If Cells(5, 6) = "" … | |
Hi! I'm currently using Dreamweaver as my code editor for web development but I'm considering using open source applications instead. I've always supported open source development and let's face it, Adobe's programs costs a whole lot. So I read about using Eclipse for web development and did some searching and … | |
I'm lost. I've been trying to do this for a while now and I can get halfway what I need. But I can't tell if it's working or not, or where my problem is. I don't want to use the wizard in VS to add a data source, I'd like … | |
Hi guys, I'm doing a program that reads from two files and write to 16 files. The idea of the program is to rout packets across a network that contains 16 nodes. I still working in the routing mechanism but I just wrote the codes for the source node and … | |
I am looking for a platform to build a manual and function reference for my open source software-in-development. Something that is easily organized. I spotted a very nice and simple solution here: [url]http://mpdf1.com/manual/index.php[/url] But contacting the author has not resulted in information what that software is and by the look … | |
Ok so I am a total newbie, and for our last programing assignment in my class we are going over Binary Search Trees. Out assignment is to take an older program and make it into a binary search tree. I am using Visual Studio and I have gotten past all … | |
I am doing a project in college and I am not binding the database. I am connecting to it manually. i got the database to load and display, but can't create a new row or edit the database or delete a row. the code is here and could someone tell … | |
The [URL="http://openid.net/"]OpenID[/URL] authentication method allows visitors to participating Web sites to log in with a single digital identity and avoid having to remember [I]yet another[/I] login / password combination. Many businesses are implementing this method on consumer-facing Web sites in order to lower the barrier to user registration and participation … | |
hi there i am building a one page website that i need query data from an access database (visual studio 2008 c# xml). I need to do a sql query displaying customers with possible bookings if any. I have been able to display all customers details but i am finding … | |
I've been trying for hours to do this and can't figure it out.. I'm trying to add a new record to a table in my local database.. Heres the SQL code im using at the minute.. I keep getting this error "The data was truncated while converting from one data … | |
Despite having recently been [URL="http://www.daniweb.com/news/story273853.html"]cast as the villain of the piece[/URL] by some high profile members of the Free and Open Source Software community, IBM has just revealed itself as actually being something of a crime-fighting superhero. The Florida State Department of Juvenile Justice is following in the footsteps of … | |
![]() | Hi I have an assignment to do where I have to make a race between two cars (this assignment is a continuation of a previos 'mini' assignment where I had to do the 'race' with one car). The commands that I implemented for the cars is foward (increases distance travelled), … ![]() |
hi, i'm working on windows application and sql serverCE database i write this code: [CODE] private void enregistrerBtn_Click(object sender, EventArgs e) { if (!exist) { SqlCeConnection conn = new SqlCeConnection(); conn.ConnectionString = @" Data source= |DataDirectory|\Database1.sdf"; try { conn.Open(); } catch (Exception ex) { MessageBox.Show(" connexion failure"); } finally { … | |
hello all, i am new to VB. i am trying to execute SQL Stored procedures from a macro in excel. but i fail to do so. i managed to write a code that imports a table, but not to execute a SP or a function. heres my code: [code] Sub … | |
I'm not sure exactly what I'm looking for or whether it exists, but I was hoping to get any ideas from the assembly experts here. I do know basic x86 and ARM assembly from classes but have not used them much in "real life." Ideally, what I would like is … | |
i need an open source group policy editor. p.s. give me some links where i can download it. | |
Hi Everyone, Can you tell me how do I set up create Insert, Update and Delete commands for your a DataAdapter? I'm using a DataGridView to allow the user to view, change and delete data rows and would like to be able to save any changes made in the grid … | |
I'm getting errors at every occurrence of my void definitions. "expected primary-expression before "void"" and "expected ';' before "void"" at my "void displayMenu ()" "a function-definition is not allowed here before '{" token" "expected ',' or ';' before '{' token' " At every future occurrence of void. Any ideas? I've … | |
hey guys im currently working on a project for college. (USING VB) wat the form im working on does, allows the user to enter an ID of a customer and this then displays the customers details the user can then change the details however they want and update them which … | |
I have an Access database with a contacts table and a location table that is linked to contacts. When i click the add button I want to add a new contact and add that contacts ID to a the location table. The ID is an Autonumber, so when i add … | |
Well I have reflected on why my first proposal for a open source project failed. We had no base to build on, and there was to much administrivia that made us loose interest in the project. Since then I have come up with a new project idea. I started simple … | |
Morning People I seem to be having a pretty big issue with a buffer I have that is reading a text file and acting upon the results of the file, As of now, the buffer reads each token in the file, and stores each token into a variable, this is … | |
Hello All; I would like to start off by saying hello, and that this is actually my first post to the group, even though I have been a member for many years. I am a ASP Classic Programmer, professionally for a little over a year, I have developed some rather … | |
There is a good tool for pcap base protocol testing. You can modify the pcap by using this tool. [URL="http://www.packetsquare.com"]http://www.packetsquare.com[/URL] packetsquare is a open-source packet modification tool. It is used for protocol testing and hacking. This tool is capable to parse and modify Ethernet II, VLAN(802.1Q), MPLS, ARP, IPv4, ICMP, … | |
I was looking for a community of like-minded spirits and ended up registering in quite a few forums, but so far I am impressed with what I have seen here and hope to stick around for a while :) I am a professional web developer and propagator of free software. … | |
Pls help me , i can not run it correctly with "AddNew, Update, Update, Delete, Cxl" , i have tried many ways but no effect ? My database has 5 tables , i choose one which has 7 columns , the 7th col (name = "ID") is identity number (1/1). … | |
[QUOTE=khanhtrung;460562]Hi omoz4real. In your code,i found that you hadn't opened your connection before executed a command,so you probably couldn't connect to the database. If you didn't intend to execute a command which return a table as a result,you should use another way.There is [B]xxCommand.ExecuteNonQuery().[/B] I have a small attached program … | |
Florian Mueller, Open Source Patent Activist, just released the following information. He believes that patents already used by IBM against [URL="http://www.turbohercules.com"]TurboHercules[/URL] are also a threat to other major FOSS projects. He now calls on the community for action. [URL="http://openbsd.org"]OpenBSD[/URL], [URL="http://xen.org"]Xen[/URL], [URL="http://virtualbox.org"]VirtualBox[/URL], [URL="http://redhat.com"]Red Hat Enterprise Virtualization[/URL], [URL="http://mysql.com"]MySQL[/URL], [URL="http://postgresql.com"]PostgreSQL[/URL], [URL="http://sqlite.org"]SQLite[/URL] and [URL="http://kaffe.org"]Kaffe[/URL] … |
The End.