20,284 Topics

Member Avatar for
Member Avatar for johmolan

I have 2 subs in my class. I need to use the values in the variables in the first sub in my second sub. like this. [CODE] Public sub test1() Dim one as double = 12 Dim two as double = 10 end sub Public sub test2() Dim three as …

Member Avatar for samir_ibrahim
0
94
Member Avatar for djjavo

Hi I am wondering how to point to a relative file that would be the same on all computers. How would I go about this. Many Thanks

Member Avatar for djjavo
0
310
Member Avatar for darkworker

How do I download transactions info from Paypal using VB.NET I want to create an app which when i press a button. It downloads each new Paypal transaction to a textfile. I would like information like purchase item name, item description. And price to be added to textfile. Does anyone …

Member Avatar for darkworker
0
175
Member Avatar for bklynman01

This one has me stumped. I feel like it is something really simple, but I can't figure it out. I have a combobox that is triggering the population of some checkboxes depending on the user mode. For some reason, when I put a MsgBox() at the beginning of the function, …

Member Avatar for bklynman01
0
343
Member Avatar for Alexkid

Hi There, I have a datagrid table with 5 columns and as many rows as the user enters. Is there a simple way to export the contents of the table to a CSV file? The columns are named; a,b,c,d and e Im using VB 2005. Mant Thanks Alex

Member Avatar for Surendrasinh
0
987
Member Avatar for cypril

I am using adodb and i want to view the selected field in two tables but only one table appears in datagrid and below are my codes. Private Sub Form_Load() Set cn = New adodb.Connection cn.ConnectionString = "Provider=microsoft.jet.oledb.4.0;data source = " _ & App.Path & "\customers_infos.mdb; Persist security info= false" …

Member Avatar for Pgmer
0
91
Member Avatar for GeekByChoiCe

Heya guys, I have a very small snippet that drives me crazy right now. [CODE=csharp] int arg1; int expr1 = arg1 = 16; [/CODE] That silly online translators giving me the following output [CODE=vb] Dim arg1 As Integer Dim expr1 As Integer = InlineAssignHelper(arg1, 16) [/CODE] Great but what should …

Member Avatar for GeekByChoiCe
0
267
Member Avatar for Ehtesham Siddiq

Hi, My application is in VS2008 coded in VB.Net I have a DatagridView.I have a Save Button on my Form.Now my requirement is i want to the Data that is populated in Datagridview when i click on Save button. I want to do it using Update Query. below is my …

Member Avatar for Ehtesham Siddiq
0
183
Member Avatar for Polongo

[B]CrystalReport asking for Username and Password but i didnt set a user and password in my database. I am using an Access database and VS8. How can I solved this. this my problem in more than 1 year which i cant solve. Please help me. THAnkz[/B]

0
118
Member Avatar for bluejacketpin

How do I best speed up running of my prog? Once I have simplified code as much as possible, made it smaller. By using loops were appropriate etc. All ideas are welcome :D

Member Avatar for Reverend Jim
0
88
Member Avatar for kosay

Hi All I start program for a library and I have to use Treeview and Access DataBase I find methode to load database to treeview but the problem is save changes after I run program Access Database load to treeview and I edit tree but how I can save changes …

Member Avatar for lolafuertes
0
88
Member Avatar for kingsonprisonic

Hi, all I am trying to create a software where video files play continuously using a timeline like Windows Movie maker or Pinacle Studio. So i have no idea how to maintain the time line. Will i use Timer Control for that or any other methods are available. I dont …

Member Avatar for lolafuertes
0
308
Member Avatar for ChronoSyntax

Hi hi all, I am new in here and I want asking, I have program that read the image from file with extension .ojn, I can show that image file into picturebox, Here my code to read the image: VB.NET Syntax (Toggle Plain Text) [CODE] Dim path As String path …

Member Avatar for lolafuertes
0
430
Member Avatar for Naveen2961

Hi There, I am trying to retrieve the data from MS Access Table to LIST-VIEW, its difficult for me to write the code as I am beginner, Need help on this .. Any suggestions, example or template ? Thanks in Advance..

Member Avatar for Naveen2961
0
1K
Member Avatar for naazsayed

hello all i am making a project and in that getting storing and loop problems there are two fields serial no and quantity when quantity is entered serial number must be asked then only and the number of times quantity is entered that many times serial number must be asked …

Member Avatar for naazsayed
0
75
Member Avatar for mkalinic

Hello all, I am having some trouble with my tic-tac-toe game. My main problem is that I do not know how to properly make it so that when i click a button on the form acting as spots for the x's and o's the proper letter will come up and …

Member Avatar for Reverend Jim
0
451
Member Avatar for Lek Plepi

Hello I have this code for avoiding empty textboxes but what about empty flexgrids???? Private Sub cmdSave_Click() If txtID.Text = "" Or IsNull(txtID.Text) = True Then Call MsgBox("There is no ID.", vbExclamation, "Warning") txtID.SetFocus Exit Sub End If

0
55
Member Avatar for johmolan

I am trying to export a datagridview ti excel, but i get an error I do not quite understand. I have made two click-events using two buttons looking like this: [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cnn As SqlConnection Dim sql As …

Member Avatar for bklynman01
0
248
Member Avatar for TIP.Synergy

Hi, all i want is to generate a random number/letter in listview per row but i don't know how to play for each.... coz' i have a list of record has already been exported to my gridview>listview so that's why there no ID for each row all i want to …

0
101
Member Avatar for Lek Plepi
0
63
Member Avatar for jumba_4u

hi all, here my problem is i'm preety new to vb.net programming. but have a little knowledge in vb6 programming. Say, when i press the 'edit' button a listview is shown, filled with records('empcode' field from empdetail) from a access table, say 'empdetail'. now if i doubleclick on a particuler …

Member Avatar for Lek Plepi
0
1K
Member Avatar for Ehtesham Siddiq

Hi, I have two forms.Both having DatagridView.There are two comboboxes to filter the record from Database and fill in Datagridview.My requirement is when all the data is populated in DataGrid after selecting the comboboxes and when the user clicks on Delete. The comboboxes and Datagrid on second form should have …

Member Avatar for Ehtesham Siddiq
0
175
Member Avatar for ammarcool

hii all! When i tried to access a value from the configuration file ([COLOR=#000080]ConfigurationManager.AppSettings("ADMIN"))[/COLOR] i am getting an error: [COLOR=#000080]'ConfigurationManager.AppSettings' is not declared or the module containing it is not loaded in the debugging session. [/COLOR] [COLOR=#000080][COLOR=#000000][/COLOR][/COLOR] [COLOR=#000080][COLOR=#000000]can you please anyone help me who have experienced the [/COLOR][/COLOR] [COLOR=#000080][COLOR=#000000]above said …

Member Avatar for afroz375
0
194
Member Avatar for jwelsh

I am trying to save a Collection of form controls (Labels and TextBoxes) in my project's settings (My.Settings). During runtime everything appears to be working as expected. I can save and retrieve the Collection of controls, but when I close and restart the application, the settings are gone. I am …

Member Avatar for jwelsh
0
518
Member Avatar for rciprogrammer

Hi I am trying to set a larger calendar font (Calendarfont) for a Datetimepicker control, but vb.net (2010) doesn't seem to use/honor it. It remains the same (very small) regardless of the font/size I choose. Have also tried changing it in program on the onload of my form but that …

Member Avatar for Pgmer
0
515
Member Avatar for socheata

Hi all of you; Can you guys me how to insert data from form1 to other form2? Thanks before hand!

Member Avatar for jwelsh
0
80
Member Avatar for darkworker

How do I download transactions info from Paypal using VB.NET I want to create an app which when i press a button. It downloads each new Paypal transaction to a textfile. I would like information like purchase item name, item description. And price to be added to textfile. Does anyone …

0
35
Member Avatar for game4tress

I'm creating a new functionality for an already existing software, made with VB .Net. This new functionality consists of rendering 3D objects on a specific form, and be able to move/rotate/resize/change,... those objects. For this task i've used XNA. I've created a new XNA Windows project and, in the specific …

0
98
Member Avatar for Ehtesham Siddiq

Hi, I want to fill data in my combo box using Add range method. [CODE] cboFirst.Items.Add("Sunday") cboFirst.Items.Add("Monday") cboFirst.Items.Add("Tuesday") cboFirst.Items.Add("Wednesday") cboFirst.Items.Add("Thursday") cboFirst.Items.Add("Friday") cboFirst.Items.Add("Saturday") [/CODE] This is how im filling my combo with days. i want to do the Same but by using Add Range Method. Please guide how,its urgent.

Member Avatar for Ehtesham Siddiq
0
2K
Member Avatar for amitpaliwal

when i am running my application on my machine at that there is no problem but when i am running on diffrant machine at tha time login faild is occuring

Member Avatar for Pgmer
0
14

The End.