4,457 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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. | |
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? | |
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! | |
[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 = … | |
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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
[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] … | |
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 … | |
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 … | |
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 … | |
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" /> <%# … | |
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: … | |
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 … | |
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 … | |
![]() | 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; … |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? … | |
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 * … | |
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 … | |
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 … |
The End.