4,457 Topics

Member Avatar for
Member Avatar for pt_solar

This is the question asked, your help is very much appreciated : One of your professors has asked you to write a program to grade her final exams which consist only of 20 multiple-choice questions. Each question has one of four possible answers:A,B,C or D. The file CorrectAnswers.txt , which …

Member Avatar for SeeTheLite
0
196
Member Avatar for jascase901

Hello python is my first language, and i have read 1 book on it and gone through a tutorial, but i still don't feel like i have a firm grasp on python. I hear the best way to master a programing language is to actually program. So i want to …

Member Avatar for lllllIllIlllI
0
161
Member Avatar for fif3l

i have been looking for a good forum about it related subject. i found this site through some google'ng and some other fine handywork haha. im very interested in open source such as linux, it fascinates me that more people dont use it! im even building a "tux" themed car. …

Member Avatar for xkey
0
140
Member Avatar for mjump54

I have a perl script that works fine on my windows XP and a vmware W2003 server... but when I install it on the customer hardware, i get the following errors. Use of uninitialized value $setpub in substitution iterator at C:\scsinput\SaxoOTF.pl line 133. Use of uninitialized value $setpub in substitution …

Member Avatar for KevinADC
0
255
Member Avatar for Robtyketto

Greetings, I study C++ at college using one of the earliest versions of Code::Blocks (version 1.??). If I write any programs (all build and run succesfully and use the same GNU C compiler) from home with the latest version (8.02) and open the project and compile/run with earlier version used …

Member Avatar for kenji
0
172
Member Avatar for m_sam6

hi i ask about open source projects where i can learn & develop my programming experience to go forward in java programming really i need ur advice about this topic thanks in advance

Member Avatar for Ezzaral
0
59
Member Avatar for kohuke

Hi. I'm trying to learn how to make my own web app and following those tutorials: [url]http://www.netbeans.org/kb/docs/java/gui-db.html[/url] [url]http://www.netbeans.org/kb/61/web/applets.html[/url] I created a desktop application like showed in the first guide. Then tried to integrate it into the Web Applet. But for some reason after right clicking my desktopapp's java file and …

0
102
Member Avatar for VIPER5646

I been searching for days for a sulotion but can't seem to find one. The coed that I have does not give me an error but it does not save anything on the table either ' Can someone help me find what I'm missing? this is my coed [CODE] Dim …

Member Avatar for jonc
0
170
Member Avatar for jallan2009

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 …

0
51
Member Avatar for yas9

hi, im making a page where users click on the "REGISTER" button to register into the program. the program gives the user a username by taking the first 3 characters of the first name and first 3 characters of the last name. if the username already exists i just add …

Member Avatar for yas9
0
144
Member Avatar for nixnox

Well i'm not good in coding php language, but i understand some things... I got a game engine [open source, [B]Vallheru[/B]]. It's made in Poland, so it doesn't have english language. Good thing that it uses language packs... In one language pack, there was 120 files. Each file(*.php), about 20kb... …

0
54
Member Avatar for mariajames

i have found a tutorial for flash animations and Photohop designing, it helps me a lot, so i am sharing with you might be it will help you peoples also, [URL="http://www.trainingshell.com"](www.trainingshell.com)[/URL] if you like then must reply me. Regards Maria

0
41
Member Avatar for mariajames

i have found a tutorial site during searching for trainings, and find it very good would like to share with you all as that site help me a lot in designing with adobe photoshop for web designing ([URL="http://www.trainingshell.com"]www.trainingshell.com[/URL]) Regards Maria

0
45
Member Avatar for raiko098

hey guys, im having a little problem here. here's my code so far: [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click con = New SqlConnection("Data Source=.\SQLExpress;Integrated Security=true; AttachDbFilename=C:\Users\Carlo\Documents\Visual Studio 2008\Projects\OTTO Payroll System\OTTO Payroll System\OTTOdBase.mdf;User Instance=true") con.Open() Try If CType(Me.ACCESSTableAdapter.ScalarQuery1(Me.UserBox.Text, _ Me.PassBox.Text, Me.PosBox.SelectedItem), Integer) > 0 Then …

Member Avatar for abhishekcs
0
279
Member Avatar for heldhostage

I'm not a developer so I won't even pretend to know what I'm talking about. I just loaded CF 8.0 & DWCS3 and i'm trying to load an existing website that uses CF. I'm trying to set a data source and was sucessful with one of the sites that uses …

Member Avatar for zwr
0
247
Member Avatar for Hangfire

Please help, I have copied some code to connect to a MSAccess database. However when I try to run it I get a Security Exception message. Weird thing is, in the IDE I can use database explorer to find, open and test the connection to the database. The database is …

Member Avatar for Hangfire
0
165
Member Avatar for mem81

Hello, I have a form where I have to say two dropdown lists. Firts dropdown list is populated based on query from a table in access database. I have another dropdown list .I woud like in that second dropdown to show only values that are relevant to the selection in …

Member Avatar for mem81
0
113
Member Avatar for MJV

I have a stored procedure which returns a parameter @quotenum when run in sql but I'm having trouble getting a return value in my C# form. I'm trying to get the message box to show the @quoteno parameter but im failing misserably. The connection is working an the parameter @estnum …

Member Avatar for Seemant
0
194
Member Avatar for andreas chang

[code] Imports System.Data Imports System.Data.OleDb Public Class frmprintallstudent Inherits System.Windows.Forms.Form Dim SQLstat As String Dim cn As New OleDbConnection Dim da As New OleDb.OleDbDataAdapter Dim i As Integer Dim flaqa As Boolean Dim q As Integer Dim dt As New DataTable Dim currentTime As System.DateTime = System.DateTime.Now Private Sub Button1_Click(ByVal …

0
64
Member Avatar for MJV

I have a solutin with forms that use table adapters to input data into sql tables and that all works fine. My trouble comes when I have another form that uses a sql stored procedure. When I try to connect to the server I get an error that the login …

Member Avatar for JerryShaw
0
146
Member Avatar for sid.coco

I want to simply insert a few string values which i have successfully retrieved from an Excel Sheet. I have tried the "stored procedure" method but am not able to get what what i want. Just a simple C# code to insert value in SQL server 2005 using the SQLquery …

Member Avatar for ChaseVoid
0
166
Member Avatar for scru
Member Avatar for leegeorg07
0
156
Member Avatar for Mazor

In Linux the output is printed correctly, with 'lines2' having the same value as 'lines' minus 1, but in windows the value of 'lines2' and is always printed as -2. The source code is solely for testing purposes, hence the messy code with no for loops, bad variable names etc. …

Member Avatar for Mazor
0
99
Member Avatar for TheBeast32

Hi, I want to encrypt my pen drive. Are there any open source or freeware programs that I can use to do this? Being able to decrypt it on any computer running XP without installing any software would be nice. Thanks in advance.

Member Avatar for starfireone
0
144
Member Avatar for hawisme000

[QUOTE]this code is from another form before i get to the formload below xNum = 2 adminlec.show unload me [/QUOTE] [CODE]Private Sub Form_Load() lblLECNUM.Caption = xNUM '<----this is a public dim that i wrote on a module as integer Set cnn = New ADODB.connection Set rs = New ADODB.Recordset cnn.ConnectionString …

Member Avatar for hkdani
0
388
Member Avatar for aashishn86

[code] <html> <head> <title> database connectivity </title> </head> <body> <H1> DATABASE CONNECTIVITY </H1> <% dim constr constr= "provider=sqloledb;data source=1.234.5.678,1234;initial catalog = abcd; User Id=abcd; password=abcd" set conobj = server.createobject("ADODB.Connection") conobj.connectionstring = constr conobj.open set comobj = Server.CreateObject("ADODB.Command") comobj.CommandText = "test2" [COLOR="Red"]comobj.CommandType = adCmdTable[/COLOR] set rs1 = comobj.Execute %> </body> </html> …

Member Avatar for agrothe
0
104
Member Avatar for aashishn86

[code] <html> <head> <title> database ado </title> </head> <body> <%constr = "provider= sqloledb; data source = 6.123.3.183,1234; initial catalog=dbase;User id=scot; password=pwd1"%> <%set conpubs= server.createobject("ADODB.Connection") conpubs.connectionstring= constr conpubs.open%> <%Dim rstest Set rstest = Server.CreateObject("ADODB.Recordset") rstest.Open "test", constr, adOpenDynamic, adLockOptimistic, adCommandTableDirect rstest.addnew.fields("name")="three" rstest.update%> <%while not rstest.EOF Response.Write rstest("name") & "<br>" rstest.movenext Wend%> …

Member Avatar for agrothe
0
116
Member Avatar for chris5126

Hi guys, Im trying to create a console app that will read from a text file and import the file into a sql database. I have completed the following already: Read from a text file and put out to console Read from sql database and put out to console Now …

Member Avatar for LizR
0
205
Member Avatar for britto

help needed..... i trying to write a c compiler in java but im a newbie in compiler design....... i know the phases of compiler is there any classes in java for implementing these phases?????? is there a source code for c compiler written in java?????----open source thanks in advance

Member Avatar for Salem
0
91
Member Avatar for netveano

Hello Everyone :) I bet you have heard this about 1,000,001 times, but I am another individual who is interested in learning programming. I am currently a business major with a concentration in MIS. I have web site and graphic design experience, I have been developing static HTML web sites …

Member Avatar for Rashakil Fol
0
261
Member Avatar for rapid_gezer

I need help with python programing, i finished the first part of my project ans some of the second part, but im really confused about the part where i have to group an entire file into its constituent months and then calaculate the averages. I know how to calculate the …

Member Avatar for woooee
0
384
Member Avatar for ryy705

Hello, I call the imagettfbbox function like so `imagettfbbox($font_size, 0, 'monofont.ttf', $code)` but its generating the following error: 'imagettfbbox() [function.imagettfbbox]: Could not find/open font' monofont.ttf is in the same folder. And the code executes fine on the server. It just won't work on my computer. This leads me to believe …

Member Avatar for mcscreech
0
1K
Member Avatar for urbandad70

I am working on another thread, but I encountered a problem just testing importing into an array. I use this code and it just hangs. I am stuck, please help. FYI, the scores.txt is in the same location as the source code. [code] #include <fstream> #include <iostream> #include <cstdlib> #include …

Member Avatar for jencas
0
144
Member Avatar for sonia sardana

[code] public partial class FrmNewUser : System.Web.UI.Page { SqlConnection conn = new SqlConnection("Data Source=SONIA-B408A4159\\SQLEXPRESS;Initial catalog=sonia;Integrated Security=true"); string query; SqlCommand cmd; public string name="Code"; protected void Page_Load(object sender, EventArgs e) { btnRegister.Attributes.Add("onclick", "javascript:return LenofPassword()"); } protected void btnRegister_Click(object sender, EventArgs e) { try { query = "Insert into Newuser values(@UserName,@Password,@FullName)"; cmd …

Member Avatar for sknake
0
527
Member Avatar for mem81

Hi Guys , Have been reading the forum`s posts for a while.Found it really cool . So I joined. I have a really silly problem. I am trying to insert a record to a table in an access database on a click of a button . I use web developer …

Member Avatar for Ramy Mahrous
0
130
Member Avatar for firoz.raj

Can anybody tell me why i am getting error in the bold line. Application uses a value of the wrong type for the current Operation .? [Code] Private Sub Command2_Click() If (CheckInput) Then End If Y = MsgBox("do you add this record", vbYesNo + vbQuestion, "message") If Y = vbYes …

Member Avatar for debasisdas
0
245
Member Avatar for jreeson

Hi, I am developing an Inventory Management System using VB 6.0, and MS Access Database. I am getting an error: "data type mismatch in criteria expression" which sounds like a variable type mismatch. But i have checked and double checked my datatypes and they seem to match up. Here is …

Member Avatar for debasisdas
0
129
Member Avatar for mashimaro

Hey, I'd like to write an application (in java, ofc) that would be able to connect to an LDAP server, with authentication, using sessions. Are there any libraries I could use to do so out there? Open source ones would be best, and the rule KISS is a priority ^.-

Member Avatar for mashimaro
0
138
Member Avatar for reland

I have this malicous virus. I found it using avg, didn't do anything, then SUPERAntiSpyware, no go, then combofix, then avenger. Still nothing works. my logs are below (hijack this then combofix then avenger). Please help! ----------------------------------- Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 9:34:41 PM, on 13/02/2009 …

Member Avatar for crunchie
0
223
Member Avatar for SGiorgos

Hi, I am currently developing an application using vb.net 2005 and windows mobile 6 sdk,and sql server ce for my database. I try to connect to the database i created using the following code: I get an identifier expected error pointing the dot[.] .The code is this [INLINECODE] ("Data Source …

Member Avatar for clj1973
0
626
Member Avatar for ryan311

hi i have a problem puting a column header to my listview did not affair to my listview here's my code [code] Private mobjConn As ADODB.Connection Private mobjCmd As ADODB.Command Private mobjRst As ADODB.Recordset Private Sub Form_Load() Call SetupCustLVCols Set mobjConn = New ADODB.Connection If mobjConn.State = 1 Then con.Close …

Member Avatar for VIeditorlover
0
191
Member Avatar for muhammad.atif

I am working in VB 2005. I want user input in textboxes. On user last textbox lost focus all data entered inthe textboxes shold shift to datagridview. User input as many data as he want. when he finish all his enteries. Click on save butto all data of datagridview insert …

Member Avatar for muhammad.atif
0
104
Member Avatar for unabomberto

Hi guys, I'm trying to import an Excel Spreadsheet to Microsoft Access Database but this Error Message always show up [COLOR="red"]"NOT A VALID FILE NAME"[/COLOR] Can you please guys help me out. ^_^ Thanks a lot! :) [code] Try Dim acc As String = "C:\ffsclines.accdb" Dim exx As String = …

0
61
Member Avatar for veasnamuch

My server configuration are . SQL Server in Marchine1 - is setting in Mix Mode(SQL Server and Windows Authentication) . IIS Server in Marchine2 - is setting as following Directory Security - > Authentication and access control .Unchecked "Enable anonymous access" .Checked "Intergrated Windows authentication" .Checked "Disest authentication for Windos …

Member Avatar for Doron_
0
317
Member Avatar for jared717

I am new to C. I won't to understand how this program works. I found it and don't understand how to run it. When I do it says: Missing name for redirect. Here is the code. [CODE] #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { FILE *from, *to; …

Member Avatar for abhishaki
0
195
Member Avatar for WesFox13

Hello there, I made this code for an ISBN verifier but there's a problem with it [CODE=C++] #include <iostream> #include <fstream> // REQUIRED FOR FILE STREAMS #include <cstdlib> // FOR DEFINITION OF EXIT_FAILURE #include <cctype> #include <string> using namespace std; // ASSOCIATE STREAMS WITH EXTERNAL FILE NAMES #define inFile "isbntest.txt" …

Member Avatar for daviddoria
0
86
Member Avatar for bonbonbon

Hello, I'm trying to extract a certain string from a URL. The URL is as follows: [url]http://site.com/profiles/12345678[/url] The Number is the value that I'm trying to retrieve, and write it to a text file. The way the data is displayed on the page, rather than the source is this: <a …

Member Avatar for Teme64
0
161
Member Avatar for Digvijaysinh

Hiii i am creating login form, and all the logic is correct by me but when i run the form it executes and inspite of i am providing the correct username and password i get the same message "Wrong login info is provided". please help me on this topic, thanx …

Member Avatar for sknake
0
92
Member Avatar for kavithabhaskar

Hi: I have a problem.. I have 3 text boxes and 12 comboboxes. the idea of the form is that the data entry on form has to be stored in Access.. which happens.. but i to limit the user in choosing only the values available from the combo boxes and …

Member Avatar for Lawr
0
119
Member Avatar for firoz.raj

Can anybody tell me why these statement is not working ?. I want to see supplier detail using listview.here is the code what i have written. [code] Private Sub Form_Load() Set con = New ADODB.Connection con.Open ("Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=\\asfserver\itp$\Product_tabletest.mdb") con.CursorLocation = adUseClient Dim listitem As listitem ListView1.View = lvwReport …

Member Avatar for firoz.raj
0
141

The End.