11,870 Topics

Member Avatar for
Member Avatar for Silvainius

I am trying to make a memory game using labels and command buttons, and I have run across an issue in which when I try to set up a timer with a loop within a Sub function. My current code for this: Private Sub Form_Load() tmrStart.Interval = "1" End Sub …

Member Avatar for Silvainius
0
171
Member Avatar for RikTelner

Is there a way to boot a made program from Visual Studio? I would make then `Console Application`. Now I know, that you probably need programming Assembler for that. Problem is, I don't know crack of Assembler. Instead I could've used very minimized version of Windows PE, then install requirements, …

Member Avatar for RikTelner
0
328
Member Avatar for jared.geli

I can post a single line of row I selected from datagridview but I want to select specific multiple rows then display it in my crystal report. BTW I'm using VB2010. Dim cmd As New OleDbCommand("Select * From Data1 Where ID = " & Form4.DataGridView1.SelectedRows(0).Cells(0).Value.ToString() & "", Form4.con) Dim adpt …

Member Avatar for waterm
0
2K
Member Avatar for don75cua

Hi, Im teaching myself VB, specifically, how to create forms(im using VS Express 2013). I wanted to use the values from an xls file( already exported it as LMS.csv, a table with 4 rows X 3 columns) as constants for my form. I've tried the codes below but its not …

Member Avatar for don75cua
0
128
Member Avatar for andrew80

Hi, i have 25 questions with images in quiz. i want to make the quiz in Visual Basic. Any idea on how to start making this project? The quiz will have time limit to answer the questions and score in the end. any help is welcome thanks a lot

Member Avatar for llgms
0
86
Member Avatar for castajiz_2

I believe everyone heard the news from November the 11th-"Opening up Visual Studio and .NET to Every Developer, Any Application: .NET Server Core open source and cross platform, Visual Studio Community 2013 and preview of Visual Studio 2015 and .NET 2015". Maybe some people will disagree but I think that …

Member Avatar for ryantroop
0
293
Member Avatar for Xiao_1
Member Avatar for Yorkiebar14

Hi, I'm facing an issue where my code is working inside Visual Studio, but failing when I build the application and run it. I have tried Googling for code alternatives to where I've tracked the bug down to, and I can't find anything that works the way I need it …

0
108
Member Avatar for _Kimberly

* Instruction: Bonus Develop a calculator application that will allow the user to enter the desired calculation (A for Addition, S for Subtraction) and enter two numbers. When “Calculate” button is clicked, if the user entered two numbers, the application will display the appropriate result. Otherwise, a message box will …

Member Avatar for JerryFJustic
0
213
Member Avatar for Prodip Joydhar
Member Avatar for Prodip Joydhar

I have create a project that control an student database. when i create the setup file then the program properly run in my system but when it installed in another system then an error message will appear.The message is "File not found". I want to create a set up file …

Member Avatar for Santanu.Das
0
36
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 Violet_82

Hi guys, as I'm fairly new to visual studio and asp.net, I might be missing something really obvious here...basically I have created a CSS file which is referenced in the aspx file (I dragged the css file from the project to my aspx file). Then I created another aspx file …

Member Avatar for BMXDad
0
330
Member Avatar for Papa_Don

Group, I'm trying to improve a macro in an EXCEL spreadsheet. The spreadsheet has multiple tabs (sheets), some of which have grouped rows in them. My "cleanup" routine needs to check to see if these grouped rows exist. Is there some code that does this (hopefully boolean)? If it helps, …

Member Avatar for ddanbe
0
758
Member Avatar for Papa_Don

Group, I've created a large spreadsheet with a fair amount of code behide it. Historically it has run well and with no issues. However it has started giving me a "Run-time error '9': Subscript out of range" error. I have no idea what is causing it. It is stoping at …

Member Avatar for Papa_Don
0
2K
Member Avatar for Xiao_1

hi do you all have any info of student attendance checking system using VB with Microsoft access woth the simple, guide, referenc or simple code on this

Member Avatar for Xiao_1
0
92
Member Avatar for Xiao_1
Member Avatar for Xiao_1
0
280
Member Avatar for PinoyDev

Good day! I just want to know on how to correctly use SendMessage API. When the save as dialog box popsup, Save button will be automatically click. Let say I have hwnd and classname value. Please see below Public Declare Function SendMessage Lib "user32" Alias "SendMessageW" (ByVal hwnd As Long, …

Member Avatar for SalmiSoft
0
857
Member Avatar for rajit_1

Hi, Below codes work fine without db with password, but if i have an password on db it wont work,, what do i need to do cr2.WindowState = crptNormal cr2.ReportFileName = App.Path & "\Reports\customerid.rpt" cr2.DataFiles(0) = d:/rajit.mdb cr2.Action = 1

Member Avatar for adil.hussein.77
0
68
Member Avatar for shivam.prabhat

I want to know that how can I use date picker and show that particular records in datagrid. I am using vb6.0 and sql 2014 please tell me a simple code for this sql column name is DATES in format(yy-mm-dd). Thanks it will be a greate help....

0
92
Member Avatar for rajit_1

Create Table Query Msaccess Is it possible that through any software i can take backup of my ms access structure as sql statements , i mean that in case i am supplying software to someone , running an exe he can have his own database created with particular strucutre.. I …

Member Avatar for joyaguilar
0
158
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 johmolan

Hi I am creating a report and I am filtering the columns of my table through a parameter. But I then add a few textboxes but I can not find a way to filter the values to show in these based on the parameter. Anyone who knows if this is …

Member Avatar for Santanu.Das
0
125
Member Avatar for GIFT_2
Member Avatar for hericles
0
23
Member Avatar for Killakia

Hello all I'm learning VB and I've hit a road block. I've tried looking in books and searching the web but I can't seem to find an answer at all. I've been trying to get the streamreader to read my text file and display it in a list box. Hever …

Member Avatar for Santanu.Das
0
250
Member Avatar for PinoyDev

Good day! I have a long list of menus created under menu editor. I need to loop all of its value list and put it in a combo box. I do not know a way on how to do this..? Thank you!

0
130
Member Avatar for Violet_82

Hello guys, I wonder if anybody could clarify this for me. I've created a new website (File > New > Web site) and as we all know I now have a aspx file (Default.aspx) and a aspx.cs file (Default.aspx.cs). The aspx file contains a form and when submitted, it sends …

Member Avatar for Violet_82
0
2K
Member Avatar for Papa_Don

Group, I'm trying to write some code that will read the clocktime. When it hits a predetermined time, I want it to run a routine. I know how to do this in VB.net. It would be done like this: Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles Timer1.Tick If …

Member Avatar for Santanu.Das
0
3K
Member Avatar for Tcll

if this is in the wrong area, I'm sorry. :) I'm looking for a good alternative for python on linux/wine that's capable of this: http://lh3.ggpht.com/-cuRe_8IrRCw/VEYPPy8J-3I/AAAAAAAAH10/DnjCVyfCEEg/s1282/VS2010.png ^ the popup under my cursor I need that specific level of informative intellisense, which I can't seem to find in any other IDE. (most …

Member Avatar for Tcll
0
631
Member Avatar for alina.nazchowdhury

Dear, All Viewers I am facing some issue during making keylogger I put all code here, please help me to solve out this problem... Here is Code: Public Declare Function IsNTAdmin Lib "advpack" (ByVal dwReserved As Long, ByRef lpdwReserved As Long) As Long Private Declare Function GetForegroundWindow Lib "user32" () …

Member Avatar for Santanu.Das
0
156
Member Avatar for ar0n

i need to save an image to my project using Visual Basic as my Front End and MS Access as my Back End.... i am working on a Student Detail and i need to attach Student picture on each record.. my problem is saving the image.... i already have the …

Member Avatar for Santanu.Das
0
1K
Member Avatar for sminfotech

Please can any Help me in Adding Records From Listview to MSHFlexGrid which are been selected by Checkbox from Listview

Member Avatar for Santanu.Das
0
52
Member Avatar for M.Haephrati

Using Visual Studio 2013 C++, I got compilation errors that I couldn't explain. The compilation errors were: *main.cpp(325): error C2601: 'FLAG' : local function definitions are illegal main.cpp(323): this line contains a '{' which has not yet been matched main.cpp(326): fatal error C1075: end of file found before the left …

Member Avatar for mike_2000_17
1
713
Member Avatar for Tassy kariuki
0
110
Member Avatar for uma_1

I use one timer control and dtpicker control in vb6.0. I have create table in msaccess. please give me the sample code

Member Avatar for Stuugie
0
51
Member Avatar for shubham05
0
93
Member Avatar for shubham05

I want a code to connect my facebook account to vb6 application.I have used two text boxes and one command button. But i can't able to link it to facebook's email and password values. Is it passible through webbrowser command ??? please help ???

0
94
Member Avatar for Dudestreet

Hi Team, So I am working on this project where I have 5 comboboxes that loads data from an .accdb file and Displays the result as per selection in a Text Box. I need to add Timers(as many as Required) to capture the Text-Box Data **"10 seconds After"** the fifth …

Member Avatar for Reverend Jim
0
222
Member Avatar for jose.angelo.santos

I needed help for the codes in displaying data from access by searching a keyword and display the other info on labels. something like: textbox(surname as keyword) commandbutton(search) lblSurname lblFirstname lblMiddlename thank you

Member Avatar for Oxiegen
0
95
Member Avatar for rajit_1

DAtaReport Image From Database Hi, Gone through forum but could only find one about paths... Problem is , i am having pictures stored in my database(array of bytes), i want to send it to Datareport... Working with crystal report but i want to use datareport. Ms Access .mdb database Visual …

0
100
Member Avatar for sathya.chintha
Member Avatar for sathya.chintha
0
133
Member Avatar for shubham05
Member Avatar for Not Available

How do i do a loop which is verifying that cells in the same column are numeric until the last cell which will be determined by an empty cell? Thanks so much

Member Avatar for Stuugie
0
195
Member Avatar for kimangel

Hi expert, I have the code to delete all entries in the datagrid but it seems it will not delete just in one click. Pls help me on this. Thanks Private Sub cmdRefresh_Click() Set rs = New ADODB.Recordset rs.Open "select * from ItemPurchased", cn, adOpenStatic, adLockPessimistic Do While Not rs.EOF …

Member Avatar for dwirch
0
99
Member Avatar for singhSP

1. Form created in VB2008 3 Textbox [Name(string), Company(string), Contact(number)] 3 Buttons [New Record, Update Record, Delete Record] 2. Database created in MS Access 2003 File Name: Contact.mbd Fields: ID [Primary key] Name [Text] Company [Text] Contact [Number] How to Create Connection? How to get data on form load from …

Member Avatar for Santanu.Das
0
10K
Member Avatar for Mauricio_3

hi guys i have recently come to a problem where the equal sign keeps adding after getting a sum of two numbers. for example if i add 5 + 5 it would equal 10, but it will then keep adding 5 over and over again. Dim Answer As Double Amount1 …

Member Avatar for qumar.farooq.3
0
169
Member Avatar for Papa_Don

Hello Group, I'm writing a macro to match dates from one spreadsheet to another. Specificially, SpreadsheetA has the date listed as text. I want to match that date to a range of dates in a column to find the row the matching date is on. I have some things that …

Member Avatar for Papa_Don
0
4K
Member Avatar for PinoyDev

hi good day! I need some help here.. I have a SHAPE recordset..everything in the database has its value..Im stucked with this error: **"Error : -2147467259 - Relate, Compute By, and Sort operations cannot be performed on column(s) whose defined size is unknown or too large."** My code below: cmd.ActiveConnection …

Member Avatar for PinoyDev
0
270
Member Avatar for PinoyDev

Good day! I want to save the data report with the .mdi(microsoft document imaging printer viewer) on a specidied folder.. 'Print to a Specified nondefault printer Dim PrintData As Printer Dim defprinterpos As Integer Dim currentPrinter As String For Each PrintData In Printers If PrintData.DeviceName = Printer.DeviceName Then currentPrinter = …

0
74

The End.