4,457 Topics

Member Avatar for
Member Avatar for stevelk

[code=vbnet]Imports MySql.Data.MySqlClient Imports System.Data Imports System.Configuration Public Class frmMasterCode Dim conn As New MySqlConnection Dim myDataAdapter As New MySqlDataAdapter Dim sqlquery As String Dim cmd As New MySqlCommand() Dim myDataReader As MySqlDataReader Private aeps1DataSet As epsDataSet Private amasterCodeTableAdapter As epsDataSetTableAdapters.master_codeTableAdapter Private WithEvents amaster_codeBindingSource As BindingSource Private Sub frmMasterCode_Load(ByVal sender As …

Member Avatar for kvprajapati
0
129
Member Avatar for nanoh2001

Hi all Sorry- The title was wrong, My problem is when I type a the ID number in the text box for updating the record, it gives me an error "Data type mismatch in criteria expression." Could anyone help me please in solving this problem? This is my update code. …

Member Avatar for Vandamn
0
124
Member Avatar for jay.barnes

Hello! I'm having some problems with using data in an PHP form I'm working on that utilizes AJAX. Could be a beginner's mistake, but, then again, it might not be... :) SCENARIO: I have a form with two sets of fields, origin country, city, state, and zip, and destination country, …

Member Avatar for jay.barnes
0
317
Member Avatar for tiello

Hi All, Can't insert data into SQL database... Keep getting error i dont know how to solve... Plz help Grtz Tiello [B]CODE:[/B] -------------------------------------------------------------------------------------- [code] Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim connetionString As String Dim connection As SqlConnection Dim adapter As New SqlDataAdapter Dim …

Member Avatar for tiello
0
156
Member Avatar for clefranc

Hi, I've wrote a class that inherits from IO.Ports.SerialPort namespace. The goal of my custom class is to manage delegates (if needed) so I can get rid of them in my main form. The class works great, but it sometimes deadlock when closing the form, often at line 30 of …

0
69
Member Avatar for antwan1986

Hi all, hopefully my question is simple as I'm fairly new to OOP coding. I've found an RSS Parser on the internet (which is open source and I can adapt it to however I please yada yada). I want to hide certain variables. [CODE] <?php # RSSParser ## Using the …

Member Avatar for antwan1986
0
92
Member Avatar for phillipdaw

I am writing a utility to allow engineers to insert and remove code I have written for one time use. This code will be used to automate one specific (and lengthy) debugging phase, then it will be removed using my utility. Currently, my utility simply finds the exact function declaration …

Member Avatar for phillipdaw
0
154
Member Avatar for buknot

hi everyone i am new when it comes to web development, but i do have website that i involve with as a frontend. i like designing the pages, and create new ideas. but lately am getting into a much challenging role, the backend . hmmm .... and the big problem …

0
4
Member Avatar for nash99

Hi How can I access the DOM (inner html). I need to capture the innerhtml (the complete html , body structure)of the source page and then be able to open another html page using this inner html of the page selected. I tried different methods like using the ajax calls …

Member Avatar for kvprajapati
0
79
Member Avatar for reptar

Hi, i have an asp.net page running vb.net, connecting to an access database. I am using an inner join to connect to two tables Table1 CityID CityName Table2 DateID CityID DateText Status I am running a dataGrid which displays the CityName, DateText and Status. I would like the Status to …

0
53
Member Avatar for Chumpcash

Hey, I really need some help fixing the errors in this source file! I honestly don't know how to fix some of the errors. This assignment has to be submitted it 2 days. I've looked for the missing sytax errors and the other ones but i just cant seem to …

Member Avatar for Yiuca
0
176
Member Avatar for tehbrozor

Hello, The situation here is I have a file and each line has a 8 digit number in it (aorkey) the file is called target.lst In another file (file.lst) there are tons of paths in each path there is an aorkey (somewhere its not always in the same place and …

Member Avatar for tehbrozor
0
116
Member Avatar for behrk2

Hey everyone, I am going to be developing a reporting component based on a relational database. Reporting is a big thing, naturally. So I want to make sure I do it right. I have been doing a lot of research, and I want to see what you all think of …

Member Avatar for xml_looser
0
99
Member Avatar for tonief

I have created Table in SQL server with visual studio 2005 Table name Student and table data ID,name, surname, indeks, years, I have this code in C# [CODE]protected void Button1_Click(object sender, EventArgs e) { // try //{ SqlConnection conn = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=\"|DataDirectory|\\db_lab8.mdf\";Integrated Security=True;Connect Timeout=30;User Instance=True"); // ("Data Source=.\\SQLEXPRESS;AttachDbFilename=\"|DataDirectory|\\db_lab8.mdf\";Integrated Security=True;Connect …

Member Avatar for tonief
0
71
Member Avatar for jdm

I working on part of a code for a much larger project. I understand how to write a program for a password in the simplest form, but I want to have it let the user guess the password up to 5 times and then not let them run a command. …

Member Avatar for jdm
0
226
Member Avatar for Richy321

Hi, Im trying to connect to my sql database and generally play around but I get the following error: [ICODE]error C3867: '_com_error::Description': function call missing argument list; use '&_com_error::Description' to create a pointer to member[/ICODE] I think it has something to do the import of the msado15.dll. Obviously if I …

Member Avatar for Richy321
0
216
Member Avatar for firoz.raj

can anyone tell me .why i got error object variable or with block variable not set .any help would be greately appreciated.here is the code what i have written.Kindly find the attachment also. [code=vb] Private Sub Command3_Click() Set CON = New ADODB.Connection [COLOR="Red"]If CON.state = adStateOpen Then[/COLOR] ' con.Open ("Provider=Microsoft.Jet.OLEDB.4.0;Persist …

Member Avatar for Jupiter 2
0
166
Member Avatar for Riv3n

Hello, I'm currently working on a project which requires me to provide an [B]upload and download file manager with pause and resuming[/B] functionality. Much like GetRight with its GUI but with upload and download function. This project is PHP based and I believe that PHP can't do what is required …

Member Avatar for Riv3n
0
108
Member Avatar for Spycat

I am hoping that this is a proper forum to post to. I got an Ajax script from Dynamic Drive called "Dynamic Ajax Content" that loads external pages into a DIV in the Parent page. The effect is much like that of an iFrame. I am loading videos into the …

Member Avatar for Spycat
0
230
Member Avatar for poeticinsanity

When the .request method is called, an error is happening. The page does exist, but for some reason the request is failing. Any idea as to why? [CODE]''' Created on May 29, 2009 @author: snorris4 This program will spider the repo.or.cz site for information on their open source projects, gathering …

0
54
Member Avatar for chri5ty

:-/ Hardware performance becomes increasingly high. Software performance seems to decrease, because developers (who are not necesarily programmers) believe that the hardware is so powerful that it will carry out any task. :| On some of the "geeks forums" every child can advise you to update your computer, buy some …

Member Avatar for Jupiter 2
0
247
Member Avatar for MJ Pieterse

Hi, i need to find tutorials or open source projects to build stuff (think it will only be security, which i think that [url]www.asp.net[/url] might be able to assist me in a tutorial, but i also need something that will teach me/let me include on my site to have text …

0
102
Member Avatar for wnrqkflwnrqkfl

Hi all, I am trying to reading stuffs from the text file, i don't know y but program can't read off the tab space eg. it reads Hi HappyDay 325 but it can't read Hi Happy Day 325 like where we used more than one spacing for one word or …

Member Avatar for jencas
0
73
Member Avatar for firoz.raj

i have written a employee class .there are some properties i want to access database fields data through this property can anbody help me any help would be greately appreciated. Kindly find the attachment also. [code] Private m_sname As String 'local variable(s) to hold property value(s) Private m_iemployeeid As Long …

0
70
Member Avatar for marcosjp

Hi there! As a College assignment I must write a network scanner that will create a report containing all open ports and some network statistics etc. The code is almost done.. however, as I need to test it to see if its ok, I ve been scanning my own machine …

0
88
Member Avatar for sunny9977

How to Check if Dynamic Form field exists in Access Table -------------------------------------------------------------------------------- I am trying to dynamically insert form field values into the database. The code has 3 parts to it 1) Check if field already exists and Alter table to add columns/fields 2) Insert the values in the column/fields …

0
74
Member Avatar for perceptionseo

Open source is the development method which is higher reliable. It promises better quality and more flexibility and with lower cost. Open source in information technology point of view it is the method of design, development and distribution offering practical accessibility to a code generated by others. Open source software …

Member Avatar for HITMANOF44th
0
110
Member Avatar for blur0224

I'm trying to develop a simple program that automatically downloads PDF files from a web server and organizes them into Files. When I download any .pdf file, the size is roughly 30% bigger than when I download it with a browser and it pdf opens, but does not display. So …

Member Avatar for blur0224
0
215
Member Avatar for jhaski

Do any of you know any open source (free or commercial) packages that will allow me to obtain scripts of online videos and screenshots at particular times? I plan to implement this on online video sharing websites like Youtube.

Member Avatar for jhaski
-2
58
Member Avatar for nkprakash

HI, I want page by page data diplaying source code, like google.For example, google search-click 1-displaying some content and click 2-display some. That wise, I want Open source code.Please........

Member Avatar for Tempel
0
113
Member Avatar for zaimah

i have been google it for answers but still cannot find the main problem.. when i debug, this error msg coming from exception section, but before that, when i put my cursor at conn (Button1_Click) to see the value it shows conn = nothing. But conn in other function got …

Member Avatar for Teme64
0
186
Member Avatar for STP72

I am a small company that wants to get into the backup/restore business from my house for small Mom and Pop companies. I want to be able to backup company's data to my fileserver and I want to use only Open Source software for Windows. The criteria's that I need …

Member Avatar for caperjack
0
194
Member Avatar for inoxmum

I want to retrieve a image stored in MS Access database as an OLE object. while using a OledbDatareader and getValue method, its returning me a byte array. how can i use this array to display my picture as it is in a picturebox on a form. private void pictureBox1_Click(object …

Member Avatar for Ramy Mahrous
0
2K
Member Avatar for justted

Hiya, I was wondering if there is a need to change the database table names and script variables of an open source script to enhance security. A script I have has lots of pages and variables that are used throughout the site. I have changed database table names as I …

Member Avatar for justted
0
132
Member Avatar for DAWNIE

Hi, I'm currently having problem with my proj. And really need helps.. I am currently in a proj that need to create an application that is able to hav Client (PC 1)'s data store to Server (PC 2 and it is also where the database is being stored.) PC 1's …

Member Avatar for DAWNIE
0
203
Member Avatar for bharanidharanit

Hello, I am doing Login Screen in VS2008. When i logon with username and password in form it only checking the first field in database. How to do coding for checking all the fields??? This is my coding [CODE] Imports System.Data.OleDb Public Class frmLogin Private connstring As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data …

Member Avatar for bharanidharanit
0
303
Member Avatar for kenji

Hey, I have used the LWP:\:Simple module and saved the source of a website in a file. I am trying to extract all the data between the <head> tags and pass it to a variable to process. So far I can't seem to extract the data properly. Any suggestions? [code=Perl] …

Member Avatar for KevinADC
0
168
Member Avatar for Lewis_UnderGrad

Hi guys, I've been using asp.net 2.0 over the past 2 years making simple web applications but have never used it with MySQL. I've been asked to create a website for a relative. The site will be a vehicle leasing company. After speaking to owner and understanding his requirements i …

Member Avatar for Lewis_UnderGrad
0
195
Member Avatar for TheEvilRoot

I want to download a file from website with authentification system. Ok, maybe ill do some explanation. First of all, i open the site using webbrowser control. Then i logon, using following code: WebBrowser1.Document.DomDocument.All("uid").Value = "User" WebBrowser1.Document.DomDocument.All("pwd").Value = "Password" ButtonClick(("login"), WebBrowser1) //ButtonClick is predefined function Everything is ok, webbrowser loads …

0
59
Member Avatar for Jyncus

I'm attempting to read in various numbers and chars from a text file using ifstream. I've read through a lot of C++ File IO and can't see why my two int variables, numOfVars and numOfCNFs, aren't getting assigned in the Parser::BuildCQF() method. The code below shows my Parser.h, Parser.cpp, the …

Member Avatar for MrSpigot
0
114
Member Avatar for sneekula

I just bought an inexpensive used Dell notebook that has Ubuntu/Linux as an operating system. Compared to Vista this is sweet. It came with Python25 installed, but it was easy to use the Add/Remove application feature to get open source software from the Ubuntu site. I downloaded/installed Stani's Python Editor …

Member Avatar for MaxVK
0
332
Member Avatar for khisrav

Hello everybody! I have such problem: I'm going to make a little application, which will interact with MSSQL databse, located on remote server. Server is my and I can administrate it remotely. There is MSSQL 2005 there. I created a database there, but can not connect using code from my …

Member Avatar for khisrav
0
102
Member Avatar for AngelSanchez

I am trying to edit information contained within an access database using vb6 on a client server book lending program. I am fairly new to vb so please excuse incorrect terminology etc. I have included the server code for adding a book as the edit code will have to follow …

Member Avatar for vb5prgrmr
0
107
Member Avatar for firoz.raj

can anybody tell me why i am getting error object variable or with block variable not set .here is the code what i have written. any help would be greately appreciated. [code] Public Sub Addtolistview() 'Dim success As Boolean DataPath = GetSetting(Application.Name, "BasicSetup", "Database", "") 'StrQuotationStartID = GetSetting(Application.Name, "BasicSetup", "QuotationStartID", …

0
45
Member Avatar for Merovingian

Been trying to run a schema script from within vb.net. No matter how I format it I can't I just get all kinds of syntax errors: Here is my VB script: [CODE]Dim sqlservername As String sqlservername = Tservername.Text Dim SQLStr As String Dim ConnString As String ConnString = "Data Source=" …

Member Avatar for Merovingian
0
185
Member Avatar for ViRiPuFF

I am using the following code to retrieve the last entered value from a table and insert it into a textbox called rf. The code below works but the DB remains open until I restart my computer. [code] Sub Page_Load() If Request.QueryString("VesselName") Is Nothing Then VesselName.Text = "Blank Name" 'some …

Member Avatar for ViRiPuFF
0
88
Member Avatar for kn2790

ok i understand some basics of vb but am still relatively a new... my problem.. code is for saving values into a database and displaying on the same form on a datagrid which is connected to the database... Imports System.Data.OleDb Public Class Addbooking Inherits System.Windows.Forms.Form Public cN As OleDbConnection Public …

Member Avatar for kn2790
0
145
Member Avatar for sonia sardana

I want to insert the image into database & Retrive the data back & display into DataGridView.. Foll is the code the inserts the image data into Databse-- [code] protected void Button1_Click(object sender, EventArgs e) { if (FileUpload1.PostedFile.FileName == null || FileUpload1.PostedFile.FileName == "") { lblErrors.Text = "Please Select the …

Member Avatar for rmostafa
0
332
Member Avatar for Zcool31

Hello everyone! I am looking for a simple free c/c++ IDE which does not need to create projects in order to build applications. If possible, I would like something that has code completion on par with MSVC Intellisense, or NetBeans code completion. However, the most important feature I am looking …

Member Avatar for MosaicFuneral
0
475
Member Avatar for FallenPaladin

Hi there, I am hoping someone will be able to help me, I have a datagridview control bound to a linq data source on a parent page. The dataview has a select button col. When the user clicks the button I want to open a new page that will be …

Member Avatar for ninjaimp
0
71

The End.