16,916 Topics

Member Avatar for
Member Avatar for sachintha

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click myconnection = New OleDbConnection("provider=microsoft.ACE.OLEDB.12.0;data source=C:\Users\DELL\Documents\Visual Studio 2012\Projects\WindowsApplication9\WindowsApplication9\NIBM.accdb") myAdapter = New OleDbDataAdapter("select*from Driverdetails", myconnection) myAdapter.Fill(Ds, "Driverdetails") myconnection.Close() DataGridView1.DataSource = Ds DataGridView1.DataMember = "Driverdetails" End Sub

Member Avatar for kRod
0
229
Member Avatar for kirennian

Hi there, I'm currently looking into the possibility of essentially using a graphical tool to create a box-and-lines expression table, flowchart or the like and being able to convert it to C# if/if-else etc statements. Whilst able to code it manually, it would make large trees a lot more sustainable... …

Member Avatar for Ketsuekiame
0
191
Member Avatar for eshajoshi

Hi can andbody help me? Below is my code. I get this message: Run-time error '-2147217900(80040e14)': Table 'PreampAutoDetect' already exists. The error points to the line below with the stars around it. stringSQL4 = ... Please help me ... Private Sub Command4_Click() ' Copy Tables from List1 to Database(s) in …

Member Avatar for ss125
0
2K
Member Avatar for dlmagers

I playing around with this new software Visual Studio Express 2010 using C# and I have the source code files but what I am wanting to do is on this Greeting Card Maker. I would like to have some check boxes so the user can Select a Prefined Message to …

Member Avatar for dlmagers
0
131
Member Avatar for anJelo.towT

can someone help me ? whenever i start this program its always says that " compile error type-declaration characters does not match declared data type. then the rs.Fields! will go hightlight. can someone help me ? Dim rs As Recordset Private Sub Form_Load() Dim list As ListItem ListView1.ListItems.Clear Set rs …

Member Avatar for tinstaafl
0
139
Member Avatar for eshajoshi

Hi, I am having some with my program. I want to copy table content and data from one database to identical tables in different databases. (overriding the old tables) So far, in the different databases, I am able to delete the original table, create a new table with the same …

Member Avatar for eshajoshi
0
143
Member Avatar for totalwar235

I am attempting to recompile a C program i programmed on linux. These are the errors i recieve: c:\users\dsu\dropbox\codes\c\gamereedtucker\main.c(28): error C2275: 'FILE' : illegal use of this type as an expression c:\program files\microsoft visual studio 10.0\vc\include\stdio.h(66) : see declaration of 'FILE' c:\users\dsu\dropbox\codes\c\gamereedtucker\main.c(28): error C2065: 'sy' : undeclared identifier c:\users\dsu\dropbox\codes\c\gamereedtucker\main.c(29): error …

Member Avatar for totalwar235
0
485
Member Avatar for venomv1

I have encountered a block in my programming escapade. The project that I am working on is from a visual basic 6.0 programming book and is a program that opens a data file filled with roman numerals, read to end of file, and outputs the numerals digit form, performs a …

Member Avatar for Klahr_R
0
192
Member Avatar for sshinde

Hi can anybody please let me know how to print barcode in visual basic 6.0 with code 93 font,i am using printer object to print on to the printer.also code through which i can minimize the width of the barcode so that it can print completly on the label.

Member Avatar for asaa
0
3K
Member Avatar for anto_nee

hi frnds here i found many solutions for vb thanx for all your help and now i came with a new problem i have a file (doc,xls,txt, jpg or whtever it is) here i have to open that file from vb i have the filename i cant imagine i have …

Member Avatar for Md Saiful
0
224
Member Avatar for jason.craft.5439

So I have this assignment for school and I've got the program working, but some minor issues (maybe major issues with cleanilness of code, but working on it). I'm having to make a Guess My Number program and it seems to work, but when I start a new game it …

Member Avatar for kRod
0
459
Member Avatar for gudboi.ian

Can anyone help me making this Gasoline Meter Simulator? Here's the problem, Using .NET construct an application that will simulate Gasoline Meter. The users allows assigning the amount of gasoline per liter. The user can select whether by liters or by amount. If the user select liter, then he will …

Member Avatar for gudboi.ian
-1
413
Member Avatar for ADPYvette

I am building an application that needs to access a database. I installed SQLite.net, made references to SQLite for Windows Runtime and Microsoft Visual C++ Runtime Packages. Now, how do I connect to the database? In other words, what are the Visual Basic codes? Note that I do not see …

Member Avatar for ADPYvette
0
209
Member Avatar for Mayra71

I try to get the response from a request to a web service in Sonic, I can send the request and the webservice receive that request, but I cant receive the response, I receive Response = nothing I'm using vb.net 9, visual studio 2008. Please help me. I think something …

Member Avatar for Begginnerdev
0
320
Member Avatar for SaRa Ahmad

this is my code , it should save a pdf file from sql server to a folder but nothing happened can anyone help please ?? Set rs = New ADODB.Recordset rs.Open "select * from PDFStore where filename='" & co_name.Text & "'", db, adOpenKeyset, adLockBatchOptimistic If Not rs.EOF Then Set pdffile …

Member Avatar for SaRa Ahmad
0
269
Member Avatar for Michael Leung

When I copy the VB program to a directory, how can the program find the directory. So, it can read some data on this directory.

Member Avatar for Klahr_R
0
117
Member Avatar for eshajoshi

Hi, I have two databases. In my code, I open the first database and list all of its databases. With my code, I open the second database. Essentially I want to override the tables in database2 with the tables in database1 so I am trying to delete the tables in …

Member Avatar for eshajoshi
0
361
Member Avatar for Elixir42

Hi I'm trying to create an array of function pointers contained within a class, the C++11 way. Can I have some help with this as I'm getting a bit mixed up. Here's what I have done so far. They are made up classes to define the problem. #include <iostream> #include …

Member Avatar for Elixir42
0
279
Member Avatar for jaspuscharly

how to create a database for a website in visual studio webdeveloper so that users can leave comments etc

Member Avatar for JorgeM
0
69
Member Avatar for suad.ibrahimhussain

The following VB code to reference many excel sheets using index variable in a loop; but I got error Sum = 0 For i = 1 To 10 Step 1 Sum = Sum + Sheets(i).Cells(6, 9).Value Next i

Member Avatar for Klahr_R
0
64
Member Avatar for Riteman

Am developing a software for submission as project. As a part of it, am planning to create a Phonebook package. I created a database in access and i integrated it in VB.Net. Information: Database name : Contacts.accdb DataTable : Contacts Contents in table : First Name,Last Name, Phone, Address... Platform …

Member Avatar for Takuramatthew
2
12K
Member Avatar for jhonm

i am connecting online to MYSQL server(dsn less connection) through vb6 and displaying result on form.. as you know to connect we need to input "database name" , "password" , "username" , "server_name" so anyone can decompile and view the login detail (i have tried...it works). I cant accept it …

Member Avatar for Klahr_R
0
114
Member Avatar for jhonm

I am using windows media player in my vb6 form using wmp.url = "link" But it doesnt play online url eg."www.music.com/song.mp3" i found a solution : open local windows media player software --> type same url ---> MESSAGE APPEAR ASKING TO CONNECT OR "WORK OFFLINE" --> click connect and it …

Member Avatar for jhonm
0
559
Member Avatar for TechSupportGeek

I don't know if the title is clear enough, but what I'm basically asking is help with the organization of Resources in an application. Like, how do you go about doing that in YOUR applications? So, when a project is created in Visual Studio, we got like a bunch of …

Member Avatar for Ketsuekiame
0
182
Member Avatar for JD69
Member Avatar for anand.mahato1
0
4K
Member Avatar for jennyPush

I use Visual Basic 2008 and the SQL server Compact Edition I got an error in fetching the numbers of the two tables i create please help...

Member Avatar for pritaeas
0
56
Member Avatar for Maideen

Hi I have an issue in asp.net using vb code I am using Visual Studio 2012 with MSSQL 2005. I have problem in adding Report viewer, Version=11.0.0.0. I have an error "'ReportViewer' is ambiguous in the namespace ". Please anybody help me to solve this issue maideen

Member Avatar for Maideen
0
250
Member Avatar for babankamal

Dear friends, I need to create vb6 program that can search entire system(computer) documents for a string passed and report back number of occurences, list and sources(file name and address) on listbox. Thanks friends.

Member Avatar for Reverend Jim
0
56
Member Avatar for SaRa Ahmad

hi everybody , i would like to know how to view data in my crystal report depend on InputMessage that ask from the user how to sort the data to view on the report , as date or status , any one can help how to do that ??

0
69
Member Avatar for jemartalaban_1

hi, can vb6 detect if the unit is connected to a router or have a connection to the net or LAN ? example: if the user is disconnected to the LAN, a msgbox will appear that the unit is not connected, if connected nothing to worry about :) same as …

Member Avatar for Klahr_R
0
2K
Member Avatar for Divinedar

I have several worksheets that list the following data on each sheet but different project number: A B C D E F G Date Hours Project Description Task/Account Comments Employee Hours Total Aug-19 4.00 P09998 BID&PROPOSAL PRE-PREPOS P09998 Mexico iDirect; James 34.00 Aug-20 4.00 P09998 BID&PROPOSAL PRE-PREPOS P09998 Staff Meeting, …

Member Avatar for Divinedar
0
174
Member Avatar for Neyney1975

Hello Everyone, I'm extremely new to programming in Visual Basic and I have a programming exercise which I need help with. I have a textbox and a label on a form. The objective of the program is for the label to update with any text typed into the textbox as …

Member Avatar for Neyney1975
0
2K
Member Avatar for Pheyishayor

urgent please i have a form with 3 sub procedures,i need to call on each of the sub seperately when i click a button in another form

Member Avatar for DM Galaxy
0
109
Member Avatar for vividiah

I created a Save button and I also have made the code for the Save button But why the error message like this: Run-time error '-2147217913(80040e07) convension failed when converting the varchar value '28/08/2013 10:11:01 to data type bit mohon bantuannya, thanks, V

Member Avatar for vividiah
0
789
Member Avatar for TTF

I have a spreadsheet that has many columns. I want to search the titles of the columns and copy all the content in the column that satifies the search criterion and paste it in different worksheet. Copying these columns manually is very time consuming and I wanted to create Macro …

Member Avatar for naresh73
0
270
Member Avatar for tinstaafl

I've noticed that comments in VB code snippets are ended in the middle of a line if an apostrophe is present(i.e. using a contraction), then continue from the next one over several lines until it reaches another. I'm wondering if that can't be changed to keep it as a comment …

Member Avatar for tinstaafl
0
244
Member Avatar for dospy

the basic idea is that i have a config file where i need to take entries in different formats(the key is always a string and the value could be any type: int, float, string etc) from and the file has the following style: firstentry 1.5 secondentry 35 thirdentry somestring and …

Member Avatar for sepp2k
0
393
Member Avatar for mridul.ahuja

I made a small web browser using the webbrowser control in vb6 but the Navigate2 method doesn't change the web page displayed. The URLAddress changes but the content on the web page doesn't .Can anybody help me plzzzz ?????

0
164
Member Avatar for kal_crazy
Member Avatar for BraithVince

hi i'm working on a project that requires a search code in visual basic to find data from a different table in ms acess..any help?

Member Avatar for happygeek
0
68
Member Avatar for Shayne_1

I am trying to write a code that directs the user to a specific sheet in the workbook depending on a yes or no answer. So basically there is information that will need to be completed and the information is specific to whether it is a YES or NO. So …

Member Avatar for Klahr_R
0
116
Member Avatar for wisyhambolu

please how do i code a search button in visual basic. my database is microsoft access and i am using a binding source to connect to the database.

Member Avatar for Klahr_R
0
273
Member Avatar for kunwar094
Member Avatar for mehul popat

Hi all In my window form project I want to display only 2 columns among 3 columns Of my BRAND datatable in LISTVIEW column 1 BRANID display in listview 2 BRANDNAME display in listview 3 ID don't want to display in listview all brand & it's id display in listview …

Member Avatar for Jx_Man
0
163
Member Avatar for vinodvinu

Hi there, I like programing very much. Fortunately or unfortunately my sujects in collage was arts, because i hate maths. Visual basic is my favourite language. I have learned it partially. But it didn't support my native language. I need some menu button text in my native language, but it …

Member Avatar for vinodvinu
0
197
Member Avatar for manel1989

Hi everyone! I would like to know how to show my Form21 from a click on a button in Form1 I used this code here: #include "Form21.h" /// Form21 ^maForm2 = gcnew Form21(); maForm21->Show(); I do not know why it does not work yet I found it in FAQC + …

Member Avatar for ddanbe
0
294
Member Avatar for sal21

Sub DUE() Dim strBuffer As String Dim strContents() As String Dim I As Long ReDim strContents(0) Erase strContents() Close #1 Open "C:\TEST\28-06-2013.TXT" For Input As #1 strBuffer = Input(LOF(1), 1) Close #1 strContents = Split(strBuffer, vbCrLf) For I = LBound(strContents) To UBound(strContents) 'Debug.Print strContents(I) Next I End Sub Problem out …

Member Avatar for RonalBertogi
0
164
Member Avatar for vividiah

hi good morning, I would like to ask why when I run my program, but it appears a message like this "Runtime error '381 'Invalid property array index". I am confused about this because I am still a beginner :) what is the solution for this? This is my code: …

Member Avatar for vividiah
0
2K
Member Avatar for Mukhopadhyay
Member Avatar for Stuugie
0
48
Member Avatar for ddanbe

After reading the intresting articles of vegaseat, I finally decided to get my toes wet. So I installed Pyton 3.3.2 amd the plugin for Visual Studio 2010. The best learning is of course practice, so I started coding right away. Here is my first try: import sys print('Hello World') print('I …

Member Avatar for vegaseat
0
278

The End.