11,868 Topics

Member Avatar for
Member Avatar for bananacat

I'm a little bit stuck at this moment. As of now, this is the code that I have: private void btnChangeImage_Click(object sender, EventArgs e) { using (OpenFileDialog openFileDialogForImgUser = new OpenFileDialog()) { string location = null; string fileName = null; openFileDialogForImgUser.Filter = "Image Files (*.jpg, *.png, *.gif, *.bmp)|*.jpg; *.png; *.gif; …

Member Avatar for cgeier
0
4K
Member Avatar for mcdczzz

hi is there someone that can give me some hints on how to create excel file using data from my ms access database..because i haven't seen one in the net maybe someone might help me here..i would appreciate some hints or tutorials..:D thanks a lot...

Member Avatar for Stuugie
0
435
Member Avatar for Needhelp2

Hi all, I have a large txt file (3 Million lines). Ouside excel capacity. Thanks for your support... input file format: =================================================== .. ... ... 2014 Jul 23 08:15:16.675 ... .. Name = x Lastname = y . . Age = 5 height = 1 .. .. ... ... 2014 …

Member Avatar for e.pol
0
245
Member Avatar for mcdczzz

If cboSearchType.Text = "Accredited Month" Then If rs.State = 1 Then rs.Close SQL = "SELECT * FROM BusinessInfo WHERE " & " AccreditationDate " & " like '" & cboMonths.Text & "%'" rs.Open SQL, con While rs.EOF = False With grdSearchResults .Redraw = False .Rows = .Rows +1 .Row = …

Member Avatar for e.pol
0
146
Member Avatar for nayzin.phyo

'====================================================================================================== '====================================================================================================== Option Explicit 'For Log ID Public RUNNINGID As String Private Sub butBrand_Click() On Error GoTo ErrorHandler Dim colData As New Collection frmSearch.SQL_Statement = "SELECT ROW_NUMBER () OVER (ORDER BY brand_type_code) AS [NO.] , " & _ "[brand_type_code] AS [Brand Type] , " & _ "[brand_type_name] AS [Brand Name] …

Member Avatar for e.pol
0
182
Member Avatar for jmay1327

I have a EXGrid in a form and want to add button to a cell that either say "Edit" and "Remove", or Have icons for the two. Here is the code I have so far. With grdGrade .BeginUpdate '.DataSource = objCo.DAL.Connection.Execute(sql) .DefaultItemHeight = 21 .TreeColumnIndex = -1 .MarkSearchColumn = False …

Member Avatar for jmay1327
0
593
Member Avatar for mcdczzz

can anyone help me?..i trying to make a very flexible report according to a search Results...i use vb6 and ms access as database...

Member Avatar for Hiroshe
1
224
Member Avatar for No Way

Guys. I Want To open file,Find the LAST line,Start APPENDING then finishing When User Presses Return.Any Ideas? I am a Beginner with VB6. Sorry for bad Engilish.

Member Avatar for tinstaafl
0
45
Member Avatar for mcdczzz

can anyone help me arrange my code?..i would like to format a text to be displayed in a flexgrid.. Format(len(rs!UserPassword),"•") the len = 11 so i would like to display 11 dots..•••••••••••

Member Avatar for Stuugie
0
59
Member Avatar for Spm_1

Please tell me how to get report for a given from and to dates using crystal reports......i am using access database.....thanks in advance....

0
48
Member Avatar for Bhagwanshay_1

i am developing a project in vb6.0 and i want to open a child form in mdi form with function keys and want to close child form with escape key.Plz reply me with source code

Member Avatar for milan.oparnica.90
0
1K
Member Avatar for gibookrishnan

Hi, I have a set of word macros which I need to share it with my friends. I want to make the job easy for them such that I share them an installable which they will install and all my macros will be automatically added in their PC's MS word …

Member Avatar for gibookrishnan
0
446
Member Avatar for Jollyyy100

I want to connect my access database to my project in vb 6. What are the steps i should follow? Once i'm done with that, i want to know how to drag them and place them on a form (like the way we do it in VB.NET). Thank you

Member Avatar for millyn
2
3K
Member Avatar for rela

I am a beginner, and want to know how can run the code in notepad with visual studio. I tried with a simple code by --<<All Program -->microsoft Visual --> visual Studio tools --> visual Studio command prompmt. The error is: ''fatal error C1083: cannot open source file: filename.cpp: No …

Member Avatar for NathanOliver
0
702
Member Avatar for Sarkurd

Hi i tried to test some new features of C++ 11 but how come Visual Studio doesn't support `constexpr`? i tried this simple function but it won't compile constexpr int multiply(int x, int y) { return x * y; }

Member Avatar for Sarkurd
0
1K
Member Avatar for fourty
Member Avatar for Kev756

Type rounds_key 'Storage Container raundnyh keys key (255) As Byte End Type Global data_ () As Byte 'Declare global byte array Global key_ () As Byte 'Declare global byte array Global data_size_block As Long 'Declare global variable 4 bytes Global su_box () As Byte 'Declare global byte array Global …

Member Avatar for Stuugie
0
245
Member Avatar for Saboor880

Hello to all! I have two questions 1- please give me a internet link from where i download Vb 6 enterpize edition setup 2- Please also give me a link from where i download vb 6 enterprize edition origina/reference book

Member Avatar for deceptikon
0
226
Member Avatar for spyros.lois

Hello How can i maka a ppt viewer within a form application in c sharp? what is the control that will contain the presentation? i tried webrowser control but i gave up.

Member Avatar for du_1
0
174
Member Avatar for mcdczzz

how can i write this in case select syntax? please help If cboSearchType.Text = "Accredited Month" Then With grdSearchResults .Rows = .Rows - .Rows + 1 End With If rs.State = 1 Then rs.Close SQL = "SELECT * FROM BusinessInfo WHERE " & " AccreditationDate " & " like '" …

Member Avatar for mcdczzz
0
186
Member Avatar for Brandy_1

Have a program I am writing for class using the pseudocode given. I have written it in a flowchart program successfully, but cannot get it to work properly in VB. It is supposed to show the C for Celsius and F for Fahrenheit, and list the matching equivalents below up …

Member Avatar for Brandy_1
0
285
Member Avatar for Papa_Don

I need to dynamically group rows together in an EXCEL worksheet. The obvious choice to do this will be VBA. I hope you can help. My spreadsheet has 18 columns and (up to) 5,000 rows of data. I've written the following code which works "OK" however it fails to group …

Member Avatar for Papa_Don
0
5K
Member Avatar for Erllarhrie

IAm Creating a pRoject that uses visualbasic and m having difficulty storing data into the database m I created ......thqnks

Member Avatar for Reverend Jim
0
706
Member Avatar for Tensigh

Hello, The code below works almost perfectly except for two flaws: 1. It provides the full name of the file (workbook.xls) instead of just "workbook" 2. If there is more than 1 worksheet then the loop appends the previous worksheet to the filename. For example, Workbook1 has 1 worksheet Workbook2 …

Member Avatar for Tensigh
0
396
Member Avatar for Madiya122

I am trying to insert records in a SQL table from Excel sheet with VBA code. Data contains of a range with all the rows to be inserted. I am using below code for the same. Insert INTO [odbc;Driver={SQL Server};Server=myserver;Database=mydb;Uid=abc;PWD=abc].DPR Select * FROM [TempRange] I am getting error as above. …

Member Avatar for Ancient Dragon
0
396
Member Avatar for ponnu

I have vb form that accepts input from user,search in database(database acess) and displays matching records if any in the listview .The problem is that the search query will display only one matching record even if there are many matching records .anyone please help

Member Avatar for hannah_2
0
2K
Member Avatar for jangojan

hie all i am in a phase of creating a hta application for our internal functionality of our company. basically the reqt is to embed a self devloped binary file in the hta file, but i am facing a problem. like where i should paste the base64 strings in the …

0
172
Member Avatar for Brandy_1

Program runs without errors, unfortunately it will not calculate the days overdue. Any Suggestions? I have attached the code as a pdf, i have also done this as an IF, THEN, ELSE statement with the exact same results, but it will not let me upload it. Help! Private Sub calculateFees …

Member Avatar for Reverend Jim
0
397
Member Avatar for tin1296

Private Sub Command1_Click() Dim Searchvar As String Searchvar = InputBox("Enter the Name to find") Searchvar = Trim$(Searchvar) 'remove surplus spaces If Searchvar <> " " Then 'cancel if nothing entered With Adodc1.Recordset .Find "[Title of Books] = '" & Text1.Text & "'", , adSearchForward If (.EOF) Then 'record not found …

Member Avatar for Pranav b
0
199
Member Avatar for aarthi anand

Dim total As Integer For Each row As DataGridViewRow In DataGridView1.Rows total += row.Cells("Total").Value Next TextBox2.Text = total // the above was the code i used and it worked good,bt if i do it for another column it is showing an error (which is given below)// Private Sub Button1_Click(ByVal sender …

Member Avatar for pritaeas
0
2K

The End.