4,457 Topics

Member Avatar for
Member Avatar for phohammer

I am attempting to create a GUI for a console C++ program in Visual C++. Apparently, it is like learning the language all over. Here is my problem: I am attempting to write the contents of a textbox to a file, but I get the error "error C2228: left of …

Member Avatar for phohammer
0
414
Member Avatar for dawsonz

I'm trying to create a login system that checks the username and passsword from an sql database. I've created a local server named coffee that has a table named 'users' - I have created fields for username & password. I'm using ASP.NET web application and I want to connect to …

Member Avatar for dawsonz
0
128
Member Avatar for Clawsy

Hello, I build an applet that plays midi files from a server. The problem is when I start playing the file (MidiSystem.getSequencer()).. it gives me this error in the java console and nothing plays: [CODE]SEVERE: null javax.sound.midi.MidiUnavailableException: MIDI OUT transmitter not available at com.sun.media.sound.AbstractMidiDevice.createTransmitter(Unknown Source) at com.sun.media.sound.AbstractMidiDevice.getTransmitter(Unknown Source) at javax.sound.midi.MidiSystem.getSequencer(Unknown …

Member Avatar for Clawsy
0
375
Member Avatar for RobotFX

Hi! I have a PHP script I've downloaded from somewhere (don't remember where, but the developers link is dead) and I want to modify it. Actually I want an extra page. The script has 2 files, tw.php and parse.php. In tw.php you should enter your twitter account (user+pass) and the …

Member Avatar for RobotFX
0
348
Member Avatar for alex-VX

hello I created a simple program that login then the program gets some data from a file. I logged in but then a error message pops out error cant read file cause it is used by another process. The weird thing is that it can be open in the notepad. …

Member Avatar for alex-VX
0
154
Member Avatar for kundalini

I am using the robot class to move the cursor across the screen. Is it possible for my java program to detect a change in cursor shape or color as the cursor moves across an open window where the non-java program controlling that window is the source of the change …

0
65
Member Avatar for antihero0021

I have a C# desktop application project for school that uses an Access 2003 database (not designed by me) and I am running into issues using OleDBDataReader. It has been awhile since I have programmed anything and I have never had to connect to an Access database before, so this …

Member Avatar for antihero0021
0
93
Member Avatar for isuruj

I need to automatically generate ER diagrams by giving the database schema. If somebody knows a free and open source tool for that, please tell me.

Member Avatar for jazz_vill
0
87
Member Avatar for vishalonne

Is there a way to do Audio and video conferencing using php? Is there ant open source tool through which I can do Audio and video conferencing using php from my Web site?

0
61
Member Avatar for abc2004

I have an AVI movie file and I want to burn it to a DVD so that I can play on a normal DVD player. Does anyone know any programs (prefebly open source) available to download? Thanks in advance guys!

Member Avatar for Laser
0
89
Member Avatar for ashab27

[code] public partial class QuestionPage : System.Web.UI.Page { string scon = "Data Source=RBWORKSTATION2\\SQLEXPRESS;Initial Catalog=onlineexamdb;Integrated Security=True;MultipleActiveResultSets=true"; SqlDataAdapter da; SqlCommand cmd; DataSet ds; SqlConnection con; ArrayList myArrayList = new ArrayList(); public String ques, option1,option2,option3,option4; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { SqlConnection con = new SqlConnection(scon); con.Open(); da = …

Member Avatar for mith_cool
0
137
Member Avatar for sfrider0

I have recently made a program that gets the links from a webpage, then checks to see if they are valid or not. I used the HtmlElement to get the "HREF" attribute and stored all the links into a list. I also tried using the HttpWebRequest and stored the stream …

Member Avatar for apegram
0
140
Member Avatar for StaffanB

I have an Access database (Databas1.mdb) with one table (Tabell1) containing one column only (SomeData). The column is Text and has the primary key assigned to it. Executing the code, i.e. clicking btnAdd gives a synrax error on the INSERT INTO-command when reaching the cmd.ExecuteNonQuery()-statement. [CODE] using System; using System.Collections.Generic; …

0
82
Member Avatar for Deep1234

Hi, 1. How to print a report automatically through vb.net.For example if the print button is clicked the report has to automatically print, How can we do that?? 2. How to retieve the rows one by one when the parameter value is entered in the text box and the columns …

Member Avatar for pauldani
0
165
Member Avatar for Brian.oco

Uh-oh. When Barack Obama promised change, this wasn't what Wall Street was hoping for. The market was down, big time, today as investor came to grips with an Obama administration and its taxing impact on the investor class. Today's Yahoo.com headline said it all: "Stocks fall as investors ponder Obama …

Member Avatar for foxlion
0
280
Member Avatar for cutie0407

im trying to add a new records to database access but when i click the button submit it say's Syntax error in INSERT INTO statement, OledbException was unhandled da.Update(ds, "MSHS") = syntax error INSERT INTO here's my code [CODE]Public Class StudentRegistrationForm Dim inc As Integer Dim con As New OleDb.OleDbConnection …

Member Avatar for apegram
0
687
Member Avatar for compusolver

A lot of you are struggling to build a website. Every business needs an effective website that is strong on aesthetics, marketing and seo. Isn't that enough to concentrate on? Why struggle with HTML, CSS, Javascript and PHP? I've made a good living building custom websites, but any more I …

0
68
Member Avatar for dr.e

Hello. Somehow i managed that my program works with access databse located on my computer: con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = C:\Documents and Settings\company.mdb" Now i would like that program will open the database company.mdb from my web page exp. [url]www.page.com/company.mdb[/url] Can you suggest how? THX

Member Avatar for vb5prgrmr
0
91
Member Avatar for clisen

Hey everyone, I'm currently writing a simple text based MUD in Java for learning purposes. Currently I'm in the process of coding a Login class that prompts the user to enter a user name and password in order to access the account. Right now the problem lies in opening a …

Member Avatar for clisen
0
146
Member Avatar for lewashby

[URL="http://www.mono-project.com/Main_Page"]http://www.mono-project.com/Main_Page[/URL] On that site, what is the difference between to two blocks to the left? They read. Mono [INDENT]An open source, cross-platform, implementation of C# and the CLR that is binary compatible with Microsoft.NET[/INDENT] MonoDevelop [INDENT]An open Source C# and .NET development environment for Linux, Windows, and Mac OS X[/INDENT] …

Member Avatar for vivek4020
0
131
Member Avatar for bharanidharanit

Hello, I used the below coding to store an image into the database. [CODE]lblImagePath.Text = ImageUpload.PostedFile.FileName ImageUpload.PostedFile.SaveAs(lblImagePath.Text) Dim mbytes() As Byte = System.IO.File.ReadAllBytes(lblImagePath.Text) Dim cn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\database\db.mdb;Persist Security Info=False") Dim cmd As New OleDbCommand("insert into ImageTable values (@Image)", cn) cmd.Parameters.Add("@Image", OleDbType.Binary, mbytes.Length).Value = mbytes cn.Open() cmd.ExecuteNonQuery() Response.Write("Image load …

Member Avatar for sakhi kul
0
104
Member Avatar for templic

hi guys i have created a crystal report using crystal XI which accesses its data from Oracle Database through OLEDB.Now i am trying to call the report using VB6 and i get this error at the point of viewing the report. here is my code 'my connection string in a …

0
44
Member Avatar for RTK

Hi everyone, I've created an application that runs queries against a SQL server (via Data Adaptors) in VB.NET 08 and returns the results to a DataGridView. It works great and returns my data, but when I switch to a different query that returns different columns, the DataGridView keeps the old …

Member Avatar for RTK
-1
7K
Member Avatar for ashab27

Hi, I am getting so much of problem on DataList This is my code in asp.net <asp:Button ID="NextQusButton" runat="server" onclick="NextQusButton_Click" Text=" Next " onclientclick="javascript: return validate()" Height="26px" /> </p> <p> <asp:DataList ID="ItemsList" runat="server" DataSourceID="SqlDataSource1" onitemcommand="ItemsList_ItemCommand" Visible="False"> <ItemTemplate> Question: <%#Container.ItemIndex %> <%# DataBinder.Eval(Container.DataItem, "Question")%> <br /> <asp:CheckBox ID="CheckBox1" runat="server" /> <%# …

0
94
Member Avatar for atticusr5

Hello all I am trying to link a program using Vi for my class assignment and I am getting the following error in Vi when I try to link: Assign4.o: In function `__static_initialization_and_destruction_0(int, int)': Assign4.cpp:(.text+0x17b): undefined reference to `cCourselist::cCourselist()' collect2: ld returned 1 exit status Here is my source code: …

Member Avatar for Ancient Dragon
0
155
Member Avatar for -ordi-

Hey, I have a problem, if checkboxes is activated, it could be download packages ( Ubuntu ), would be necessary to verify to checkboxes and if it's true, then these packages, which should installed my system ( Ubuntu ). [CODE]#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (C) 2010 from …

0
47
Member Avatar for SeoQuake

We have a lot of requests to make SeoQuake plugin available for Google Chrome. And now we are happy to inform you that it has been done and SeoQuake 0.4.2 for Google Chrome has been released. [B]What tools are available in SeoQuake Chrome at the moment?[/B] 1. Parameters: Google PageRank …

Member Avatar for mokmok69
0
291
Member Avatar for mwaqas1990

I am trying to get data from database into ComboBox i don't know where is the mistake in my code. When i run my code which is given below ComboBox show Empty :( [CODE] public partial class InstallInfo : Form { private SqlConnection xSqlConnection; private SqlCommand xSqlCommand; private SqlDataReader xSqlDataReader; …

Member Avatar for sknake
0
93
Member Avatar for kanuri1

hi iam using to insert data into database by using gridview,,,,, i have coding in c#.net please convert this code into vb.net here my coding is given below [CODE] using System; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Collections.Generic; using System.Data; using …

Member Avatar for vimalrasa
0
103
Member Avatar for ramesh017

Hi i tried the same.. but its not displaying any data from database [CODE] Public Class Editdetails Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim cn As New System.Data.OleDb.OleDbConnection Dim cm As New System.Data.OleDb.OleDbCommand Dim form As New Fielddetails Dim rd As System.Data.OleDb.OleDbDataReader Dim tbl_name …

Member Avatar for ramesh017
0
116
Member Avatar for Ap0ca1ypse

Hello, I can pull 3 tables data into my program and read from all of them, i can update all 3 datasets but when it comes to updating the actual database i can only send the updates from the last dataset. [CODE] Imports System.Data Dim con As New OleDb.OleDbConnection Dim …

Member Avatar for Ap0ca1ypse
0
110
Member Avatar for cascade3891

Hi all, My first post here, but long time troller. I was looking for a GUI platform to develop on and couldn't decide between wxPython, PyQT and/or IronPython or Jython. I decided to go with wxPython after getting a couple of headaches elsewhere. I'd really like a quick IDE to …

Member Avatar for vegaseat
1
526
Member Avatar for Abdel_eid

hey guys just want to install open suse with windows 7 but i have a problem which i have only one hard disk with one primary partition running windows so i want to know how to make another primary partition to boot open suse from .. so how to make …

Member Avatar for abhi.navale
0
192
Member Avatar for Ap0ca1ypse

Hello all, I am creating a project for myself to practice Database connectivity, updating, deleting and adding items. I am having an issue updating one of the tables i have added, within a table there is a column called Today's Date which will contain the date the last time the …

Member Avatar for Ap0ca1ypse
0
127
Member Avatar for Nubie2001

Hello all together first of all sry for my bad english Well i got a problem with some of my application. First of all i had to write an application which can drag rooms from a source window to 4 destination windows. That works fine . But if i drag …

Member Avatar for Nubie2001
0
110
Member Avatar for kirennian

I'm currently looking for the original location of the files associated with this basic framework. The problem is, as part of an older project I have them already but without any reference to their initial location; thus, I'd risk plagarism without properly referencing them in future works. These are the …

0
56
Member Avatar for lewashby

I'M trying to switch from Windows to Ubuntu Linux. I'M trying to learn how to program and since I am also trying to move to Linux, thought that mono would be a good place for me to start. But I noticed when I installed mono ([url]http://www.mono-project.org[/url]), it said I needed …

Member Avatar for lewashby
0
69
Member Avatar for cascade3891

Hi all, My first post here, but long time troller. I was looking for a GUI platform to develop on and couldn't decide between wxPython, PyQT and/or IronPython or Jython. I decided to go with wxPython after getting a couple of headaches elsewhere. I'd really like a quick IDE to …

Member Avatar for Stefano Mtangoo
0
167
Member Avatar for makymakaru

can anybody explain what the difference between the 2 codes below? i'm using visual basic 6 and i'm connecting access dbase. and one other thing, i'm trying to connect access 2007 with my vb6 but i can't remember the code, i know the code below works with access 2003 and …

Member Avatar for codefixer
0
157
Member Avatar for chathuD

[CODE]private void button1_Click(object sender, EventArgs e) { SqlConnection con = new SqlConnection ("Data Source=.\\SQLEXPRESS;Initial Catalog=test1;Integrated Security=True"); SqlCommand cmd = new SqlCommand("dbo.get", con); cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.AddWithValue("@userName", textBox1.Text); try { con.Open(); SqlDataReader read = cmd.ExecuteReader(); read.Read(); if (read.HasRows) { textBox2.Text = read["password"].ToString(); Form2 fr2 = new Form2(); fr2.Show(); con.Close(); } else …

Member Avatar for Geekitygeek
-2
95
Member Avatar for farheen86

Hi! When my login form is loaded, I wish to retrieve the list of usernames from the database login to a combo box on the login form. unfortunately I am stuck with this error messsage " syntax error in FROM clause". Below is my codes.. help me out please Thank …

Member Avatar for Geekitygeek
0
164
Member Avatar for rahmet

how to convert from 'string' to 'System.Data.DataTable' I Have this code and my computer appear kode error I have put all the web site on the attach The best overloaded method match for 'System.Data.OleDb.OleDbDataAdapter.Fill(System.Data.DataTable, object)' has some invalid arguments cannot convert from 'string' to 'System.Data.DataTable' [code] using System; using System.Data; …

Member Avatar for rahmet
0
2K
Member Avatar for Israelsimba

im facing a challenge here peple. i will give as much detail as i can. i am trying to come up with code such that when a button is clicked it runs through a field "copiesremainng" in my subscription table and subtracts 1 from every record in that field. this …

Member Avatar for codefixer
0
152
Member Avatar for bords

Hello everyone...can anyone modify my code below....i have a database named "Database1.accdb" with a table "Applicants"...The columns are ID(auto incremented),Name,and Age.... on this code, i can display the data from my database... My problem is that how can i add a new record to my database...or delete a record... I …

Member Avatar for bords
0
136
Member Avatar for jmgmail

I have been trying to resolve this an to no avail. I tried creating an instance of the objects and it is still not debugging correctly ...I would greatly appreciate any assistance possible... The code I have entered is supposed to create a word table in word with a heading …

0
62
Member Avatar for leeba

I want to read he source file of the .exe I am writing. For example if I am running test.exe I want to read test.c Also if the name of the file changes it still had to open it. what i have tried is: [code] FILE *fp=fopen(*.c,"r") [/code] Can someone …

Member Avatar for leeba
0
675
Member Avatar for spongie

Hi. I would like to create those checked rows in gridview with a button click. For example, an user checks 2 rows in the gridview, and clicks on the create button. I would want the selected row/s to be created to the database. How would I go about doing this? …

0
59
Member Avatar for bunnyboy

So I am making a windows explorer like program and I want to implement file copying with streams ... so here i what I end up with: [CODE=c#] try { using (Stream input = new FileStream(@"F:\dmd-sepdawn.avi", FileMode.Open)) using (Stream output = new FileStream(@"c:\test\dmd-sepdawn.avi", FileMode.OpenOrCreate)) { int bufLength = 1024 * …

Member Avatar for sknake
0
135
Member Avatar for barristerpee

Please this is my code to display records from my ms-access database whenever i click the [B]button next[/B]. But the code is only displaying the[B] last record[/B] in the database. Please HELP is needed. I have tried using for loop but it is giving me error. [code] Imports System.Data.OleDb Public …

Member Avatar for kvprajapati
0
550
Member Avatar for Satya Priya

Dear Sir My question is in wed application how can we mention connection string without writing the drive in which database is present.I don't know how i I use web config file to write connection string.Please help.[code]Partial Class supports Inherits System.Web.UI.Page Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\progr2\App_Data\Database\health.mdb;Persist Security Info=False") Public …

Member Avatar for kvprajapati
0
58

The End.