4,457 Topics

Member Avatar for
Member Avatar for CodingSource

Dear fellow programmers, I have tweaked this code for some time, and again failed. I want the user to select a client in the combobox and its text, with date range (two datetimepickers) the results will show in a click of a button. CODE for DataGridView search results: Dim ConnectionString …

Member Avatar for Santanu.Das
0
2K
Member Avatar for Papa_Don

Hello Group, I'm trying to convert some VBA code into VB.net. Here is that VBA code: Open filePath For Input As #1 ' filePath = the text file I need to read Do Until textRowNo = 8 'discard these first 7 rows... Line Input #1, LineFromFile 'this is the row …

Member Avatar for Reverend Jim
0
9K
Member Avatar for mnkyskilz

hi i am required to write a program in mips assembler where i am to create a checkerboard which is too be saved and written to a bmp file, compile this program it has a problem with writing the file because it jumps straight to my error message could someone …

0
283
Member Avatar for itsnauman

Hey, guys can any one suggest me a cool intermidiate level python library idea to work on in these summers?

Member Avatar for vegaseat
0
147
Member Avatar for otengkwaku

To download streaming videos on window is very easy after all there are so many softwares to do that for you but on linux it is not soo easy. There is howevery this command line tool that helps you do this [youtube-dl](https://github.com/rg3/youtube-dl. But this command line tool lacks some features …

1
109
Member Avatar for Android_2

Hi friends, Here is my code for selecting datas from myql database with the help of php.All i want to do is i want to pass and display image through intent from Activity 1 to Activity 2.im new in android so please help me. **Activity1** import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import …

0
119
Member Avatar for tapananand

Whenever we talk about open source we only talk about big coding projects with contributions from aound the world. An openly available source code and all. I was wondering going with the spirit or the philosophy of open source aren't freely available books also part of open source. I also …

Member Avatar for mike_2000_17
0
195
Member Avatar for Blueie

Hello I am aiming to have an aspx file with a TextBox for the user to type in his email. When I leave the field blank, and press 'Submit', I get: "A password reset link has been sent to your email address" Why don't I get the error message: If …

Member Avatar for Blueie
0
226
Member Avatar for Xiao_1

when Register in this also will record the time in to access also is this code corrct this my code Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick lbltime.Text = "Time:" + TimeString If String.IsNullOrWhiteSpace(txtadmno.Text) Or String.IsNullOrWhiteSpace(txtcard.Text) Then 'MessageBox.Show("Please complete the on the box.", "Authentication Error", …

Member Avatar for SteveDotNet
0
341
Member Avatar for col-lino

Good day all, I am a newbiew in C# application. I am designing a Laundry application, and I want to insert data from textbox, datetime picker and the gridview control into a database table.. I am using SQL Server 2008. This is the window form and controls on it:Form with …

Member Avatar for SteveDotNet
0
733
Member Avatar for sana.f.qureshi_1

Hey all, so i am working on database queries. Add and delete are working fine. I am having trouble with Edit Query. This is what i am getting: Incorrect syntax near 'Name'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace …

Member Avatar for sana.f.qureshi_1
0
497
Member Avatar for veselin.lalov.3

I want to get the occurence of the symbol ';' for each line of this C program. I type the name of the file Source.c and try to count the occuring symbol, but i am getting the value for ALL of the ';' for each line. #include <stdio.h> #include <stdlib.h> …

Member Avatar for Labdabeta
0
160
Member Avatar for Xiao_1

if corrct this code it will come of the list in the datagridview in VB from access this my code: Private Sub ComboBoxadm_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBoxadm.SelectedIndexChanged Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If conn.State = ConnectionState.Open Then conn.Close() conn.Open() Dim sql …

Member Avatar for Reverend Jim
0
149
Member Avatar for Xiao_1

when done with the form it will come out antother that is this form in the listbox1 should show out dun need click anthing it will come out auto of the admin No why dose not show out Public Class DataOfProject Private Sub ListBoxassign_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As …

Member Avatar for Xiao_1
0
110
Member Avatar for khess

Yesterday, September 10, 2009, the announcement came that [URL="http://www.microsoft.com"]Microsoft[/URL] launched and is funding a new open source organization named [URL="http://www.codeplex.org"]CodePlex Foundation[/URL]. The [URL="http://www.codeplex.org/board-of-directors.aspx"]major players[/URL] in the new organization are from Microsoft, [URL="http://www.novell.com"]Novell[/URL] and [URL="http://www.dotnetnuke.com"]DotNetNuke[/URL]. Does this mean that a brave new Microsoft is beating its proprietary, closed-source swords into open …

Member Avatar for Tcll
0
745
Member Avatar for Xiao_1

If String.IsNullOrWhiteSpace(txtadmno.Text) Or String.IsNullOrWhiteSpace(txtcard.Text) Then MessageBox.Show("Please complete the on the box.", "Authentication Error", MessageBoxButtons.OK, MessageBoxIcon.Error) Exit Sub End If Using conn As New System.Data.OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb") Dim Result As Integer ** Dim sql As String = "INSERT [Date Select] From tbl_studentadm values (@DateSelect) "*****in here shold i key in the admin …

Member Avatar for Xiao_1
0
124
Member Avatar for Clevertech.biz

Hey guys, For all web developers out there - a new boilerplate tool allowing to rapidly build Node.JS powered API’s, online stores, and many other apps (igloos) has been made available to the public - http://eskimo.io/. It’s open source! Here you’ll find more details, components, examples and the source - …

0
68
Member Avatar for Xiao_1

in the reisgter how i put it togeter time and date of the code when i keyin the admin No and admin card then it record the the access datatbase. Private Sub btnRegister_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRegister.Click If String.IsNullOrWhiteSpace(txtcard.Text) Or String.IsNullOrWhiteSpace(txtadmno.Text) Then MessageBox.Show("Please complete the …

Member Avatar for LesF
0
184
Member Avatar for PinoyDev

Good day! I am now currently ugrading our database to mySQL. My problem is that, how to convert the any msaccess SHAPE command to a mySQL database syntax using 6 and get the same result? Below is the sample code: spath = App.Path & "\employeeaccnt.mdb" cn.Open "Provider=MSDATASHAPE; Data Provider=Microsoft.JET.OLEDB.4.0;Data Source=" …

0
93
Member Avatar for Xiao_1

how i put it like i am a student so i choose student and key in username n password, if choose worng like i click lectuere but i not, so cant is worng cant login Private Sub cbinfo_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbinfo.SelectedIndexChanged Dim conn As …

Member Avatar for Xiao_1
0
100
Member Avatar for Xiao_1

at the projct No i have choses it should the the project name on the textbox but did not come out Private Sub cbbproject_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbbproject.SelectedIndexChanged Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If conn.State = ConnectionState.Open Then conn.Close() conn.Open() Dim …

Member Avatar for Santanu.Das
0
99
Member Avatar for Xiao_1

Why done work is it some thing worng i only wan edit one or delete one of it? Private Sub btnedit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnedit.Click If String.IsNullOrWhiteSpace(txtadmin.Text) Or String.IsNullOrWhiteSpace(txtname.Text) Or String.IsNullOrWhiteSpace(txtcourse.Text) Or String.IsNullOrWhiteSpace(txtic.Text) Or String.IsNullOrWhiteSpace(txtgender.Text) Or String.IsNullOrWhiteSpace(txtaddress.Text) Or String.IsNullOrWhiteSpace(DateTimePicker1.Value) Or String.IsNullOrWhiteSpace(txttel.Text) Or String.IsNullOrWhiteSpace(txtemail.Text) Or String.IsNullOrWhiteSpace(txttype.Text) …

Member Avatar for Santanu.Das
0
172
Member Avatar for glenak

I went to the official JAVA forum, but either those guys there have no clue how to solve this or there's no solution to it, in which case, Java applets are useless and java should stop pimping it. I have to say, this is the most frustrated I've been at …

Member Avatar for lilly13
0
1K
Member Avatar for piovertwo

This is for a senior-year project with an [ANFIS](http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=256541) (adaptive neuro-fuzzy inference system) module to be used as a predictor for financial instruments. The bulk of the system will be written in Python—chosen for its ease of use and the presence of libraries for genetic programming, another component of the …

Member Avatar for Gribouillis
0
3K
Member Avatar for Xiao_1

is this coorrct if write like this: Public Class Lecturer_Form Private Sub Lecturer_Form_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If conn.State = ConnectionState.Open Then conn.Close() conn.Open() Dim sql As String = "Select A.StaffNo,A.TimeIn,A.TimeOut, B.ProjectNo, C.AdminNo, C.UserName From tbl_lecturer …

Member Avatar for Xiao_1
0
180
Member Avatar for G_Waddell

Hi All, I'm writing an app that prints of batches of documents to clients for posting. The printer uses OMR to collate and fold the documents into envelopes automatically. The document inputs will either be Word or Adobe Acrobat. I have routines to print off each document type while adding …

Member Avatar for Bala2507
0
447
Member Avatar for Xiao_1

in stuednt admin i wan it to insert and also select from tbl_stuendadmin how to put it togeter If String.IsNullOrWhiteSpace(txtcard.Text) Or String.IsNullOrWhiteSpace(txtadmno.Text) Then MessageBox.Show("Please complete the on the box.", "Authentication Error", MessageBoxButtons.OK, MessageBoxIcon.Error) Exit Sub End If Dim Conn As System.Data.OleDb.OleDbConnection Dim ConnectionString As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" Conn = …

Member Avatar for Santanu.Das
0
147
Member Avatar for Xiao_1

i trying to put this in the combobox why did not come out Private Sub Lecturer_Form_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If conn.State = ConnectionState.Open Then conn.Close() conn.Open() Dim sql As String = "Select [StaffNo] From tbl_lecturer …

Member Avatar for Xiao_1
0
239
Member Avatar for jasmine.koh.562

Imports System.Data.OleDb Imports System.Data Imports System.Web Imports System.Web.UI Partial Class _TakeSurvey Inherits System.Web.UI.Page Dim sid, query1, query2, query3, query4, query5, query6, qnos, currentQ, q_type, filledby, qid, status1 As String Dim dbcon As String = "Provider=Microsoft.Jet.OleDb.4.0;" & _ "Data Source=|DataDirectory|SurveyDatabase.mdb" Dim con, conn, conn1, conn2 As OleDbConnection Dim da, da1, da2, …

Member Avatar for xrjf
0
154
Member Avatar for Xiao_1

Private Sub cbbproject_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbbproject.SelectedIndexChanged Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If conn.State = ConnectionState.Open Then conn.Close() conn.Open() Dim sql As String = "Select * From tbl_assignment Where ProjectNo ='" & cbbproject.Items(cbbproject.SelectedIndex) & "'" Dim sqlCom As New System.Data.OleDb.OleDbCommand(sql, conn) …

Member Avatar for Santanu.Das
0
120
Member Avatar for kidkardel

![059f66a5bfcd6a29caa513f06d6ee5d1](/attachments/large/4/059f66a5bfcd6a29caa513f06d6ee5d1.png "059f66a5bfcd6a29caa513f06d6ee5d1") Hello again, I am now encountering the above problem. i dunno what to do and tried everything. my Column for Capital is decimal so i dunno why it is saying varchar. my codes are con.ConnectionString = //insert data source; if (con.State != ConnectionState.Closed) { con.Close(); } cmd.Connection = …

Member Avatar for isozworld
0
205
Member Avatar for Xiao_1

in existing project of combobox not just show the the project No. and also show the textbox of the project name this is my code is it corrct: Private Sub DataOfProject_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If …

Member Avatar for Mr.M
0
227
Member Avatar for Xiao_1

Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" If conn.State = ConnectionState.Open Then conn.Close() conn.Open() Dim sql As String = "SHOW * From tbl_info Where AdminNo = '" & ListBoxassign.Items & "'" listboxassign.items.show(AdminNo)

Member Avatar for Santanu.Das
0
153
Member Avatar for Xiao_1

in combobox how do can i select the user as student not other e.g. if the user is student not Manager Private Sub loginform_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" Try Dim sqlcmd As String = "SELECT * …

Member Avatar for Minimalist
0
134
Member Avatar for jrismd

Hi Good Day! I have problem in delphi i cannot load image (jpeg) into QRDBImage on Quick Report, I used memdata and data source, code: procedure TfrmEntityModule.actCOPExecute(Sender: TObject); var frm: Trep_EDR; OrganizedGroup: TRoOrganizedGroup; begin frm := nil; OrganizedGroup := nil; frm := Trep_EDR.Create(Self); OrganizedGroup := sMainApp.MCISService.GetOrganizedGroup(txtEntityNo.Text); try frm.mds2.Close; frm.mds2.Open; frm.mds2.Edit; …

Member Avatar for srikanth@pala
0
943
Member Avatar for Prodip Joydhar

Dim db As New Connection 'Dim tbpro As New ADODB.Recordset 'Dim db As Database Dim tbpro As Recordset Private Sub Command1_Click() rsMyRecordset.Open (App.Path & "\" & "super.mdb") rsmyreco End Sub Private Sub Form_Load() 'db.ConnectionString = (App.Path & "\" & "super.mdb") 'tbpro.ActiveConnection "table1", db, adOpenDynamic, adLockOptimistic db.Open (App.Path & "super.mdb") Set …

Member Avatar for ranod
0
195
Member Avatar for Xiao_1

i cant add in the data? code of add info: Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click If String.IsNullOrWhiteSpace(txtadmin.Text) Or String.IsNullOrWhiteSpace(txtname.Text) Or String.IsNullOrWhiteSpace(txtcourse.Text) Or String.IsNullOrWhiteSpace(txtic.Text) Or String.IsNullOrWhiteSpace(txtgender.Text) Or String.IsNullOrWhiteSpace(txtaddress.Text) Or String.IsNullOrWhiteSpace(txttel.Text) Or String.IsNullOrWhiteSpace(txtemail.Text) Or String.IsNullOrWhiteSpace(txttpye.Text) Then MessageBox.Show("Please complete the on the box.", "Authentication Error", MessageBoxButtons.OK, …

Member Avatar for Santanu.Das
0
367
Member Avatar for kuntesh

Anyone knows good tool or open source tool for image based automation like i want to find any inout image on windows or web application and i need to do some automation on that image if it is able to find that image. I have an java applet form which …

Member Avatar for Suzie999
0
120
Member Avatar for best4earn

**I have open source PTC Script install. It was working f9 since last 3 months but yester day Its members login page shows a blank screen only while my all website is working properly. I can access to my admin panel without any restriction but members can't access . http://ptclicks.org …

Member Avatar for matrixdevuk
0
159
Member Avatar for Xiao_1

this is my code i dose not work: ( help me i am create for new user from VB with access) Public Class newuserForm Private Sub btncreate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btncreate.Click If txtword.Text = "" Or txtid.Text = "" Then MessageBox.Show("Please complete the required fields..", …

Member Avatar for Xiao_1
0
339
Member Avatar for Stuart_3

Hello, I am a new developer and am making my first app which will be open source after I finish it. How do you make a notification apply to all dynamically created objects rather than the last one in a linear layout? I have created 2 methods, one called CreateDialog(); …

0
161
Member Avatar for srikanth_1

<html> <head> <title>Entitled Document</title> <script language="JavaScript"> function getCount(){ var cn = new ActiveXObject("ADODB.Connection"); var strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source = F:\PhoneGap\bloodGroupDataBase.accdb;Persist Security Info=False"; //is there any wrong in this connection string cn.Open(strConn); var rs = new ActiveXObject("ADODB.Recordset"); var SQL = "select count(*) from sheet1"; rs.Open(SQL, cn); alert(rs(0)); rs.Close(); cn.Close(); } </script> …

-1
47
Member Avatar for chalobe.lefa

which softwares can i use to open the source code of other applications, help please

Member Avatar for Tcll
0
282
Member Avatar for srikanth_1

<html> <head> <title>Entitled Document</title> <script language="JavaScript"> function getCount(){ var cn = new ActiveXObject("ADODB.Connection"); var strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source = F:\PhoneGap\bloodGroupDataBase.accdb;Persist Security Info=False"; //is there any wrong in this connection string cn.Open(strConn); var rs = new ActiveXObject("ADODB.Recordset"); var SQL = "select count(*) from sheet1"; rs.Open(SQL, cn); alert(rs(0)); rs.Close(); cn.Close(); } </script> …

0
81
Member Avatar for fugio

How can I filter records from the clock set at right angles In data if I add a column is minute Time from start plus column-minute any help? thanks a lot Imports System.Data.OleDb Public Class Form1 Dim con As OleDbConnection Dim dt As DataTable Dim da As OleDbDataAdapter Dim str …

Member Avatar for Santanu.Das
0
179
Member Avatar for Gobble45

Hi fellow members of Daniweb. I've been working on project for the past few days now, and have come across a bump, that i am unable to pass. The project, when finished, will do the following: 1. Select DBF file from computer location (Default C:) 2. Import the database file …

Member Avatar for Mary Grace_1
0
3K
Member Avatar for Waldis_1

When one is out of practice easy becomes difficult. In this function I want to count the records with icliente status "pendiente" as criteria so we know if customer has a pending loan, but the function returns 0. What's wrong in the function? Public Function prestamospendientes() MsgBox(Me.txtid.Text) Me.Refresh() Dim prestamopendiente …

Member Avatar for Waldis_1
0
137
Member Avatar for kidkardel

Hello again, I am creating a Datagridview with 3 columns, product_id, product_name and quantity. but in my database i have 4 columns namely prod_id, prod_name, quantity and item_status. What i want to do is , if my item_status is texted "PHASE OUT" or "INACTIVE", i will skip that row while …

Member Avatar for Santanu.Das
0
273
Member Avatar for J.C. SolvoTerra

>Take Heed There are lots of things to be aware of with the Windows Registry. In most cases the best thing to be aware of is that ideally you should avoid playing with it at all costs. Alas, we are what we are and we do what we do. My …

0
1K
Member Avatar for Ashveen96

Hey! I'm trying to connect my backend (Ms Access) to the front end (VB.NET 2010). I'm trying to retrieve data and I get these errors. I have two problems: 1. For i = 0 To dt.Rows.Count - 1 when typed the above code in the load form I get the …

Member Avatar for Ashveen96
0
347

The End.