20,285 Topics

Member Avatar for
Member Avatar for Pgmer

Hi All, I have webservice im having webmethod in that which returns Boolean value. Its retruning the correct output value only when the connection is pointing to localhost. Can any one please guide me? Thanks

-1
74
Member Avatar for shankarc2

I am looking for sample code for vb.net Dynamic Dashboard applications , so please kindly help me , i want the code in vb.net which will be my front end and sql will be my back end for database , it will be great if dashboard reflect sell/purchase mechanism

Member Avatar for shankarc2
0
203
Member Avatar for QuickBooksDev

We have just converted a large VB6 desktop app to VB.NET 2008. First via the VB 2005 (open project), then days of fixing errors, etc. Then opened the VB 2005 in VB 2008 so now it is a 2008 solution. The more we try to test the worse it gets. …

Member Avatar for lolafuertes
0
834
Member Avatar for srinidelite

[CODE] [TEX][B][U]form1[/U][/B][/TEX] Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim cmd As New ADODB.Command Dim adrs As New ADODB.Recordset Private Sub Command1_Click() cmd.CommandText = "insert into table1 values('" & Text1.Text & "','" & Text2.Text & "','" & Text3.Text & "','" & Text4.Text & "','" & Combo1.Text & …

Member Avatar for adam_k
0
449
Member Avatar for apeksha0701

Hi I have an editable datagrid in which there is an update button on whose click the row updating event gets fired. I wanted to save the old values in some variable before the update happens. However e.oldvalues(itemindex) doesn't seem to work in this case. I also tried to retrieve …

0
42
Member Avatar for djjavo

Ok so I am creating this scoring game using motorsport drivers. The scores are in variables for example score.vettel is vettels score for the current gameweek. A player has 6 drivers d1,d2,d3,d4,d5,d6 which are in the variable player(x).d1 where x is the player number. Maxsize is the number of players …

Member Avatar for djjavo
0
158
Member Avatar for vasim jada

Login form contain two nos.of textbox anb one no.button How to connect VB.net2008 with MS-Access-2007.

Member Avatar for ericko10kip
0
103
Member Avatar for kylelendo

I am trying to kill a process by using the following code [ICODE] Dim aprocess As System.Diagnostics.Process aprocess = System.Diagnostics.Process.GetProcessesByName("E:\\preview.mp3") aprocess.Kill() [/ICODE] however i am getting an error Value of type '1-dimensional array of System.Diagnostics.Process' cannot be converted to 'System.Diagnostics.Process'.

Member Avatar for kylelendo
0
1K
Member Avatar for bestofb

Hi, I have searched alot but can only find info on moving entire rows bound between 2 datagrids, but noting on moving single cells. I have some code below that works ok from DGV to textboxes but not from DGV1 to DGV2. [CODE] Dim i As Integer i = DataGridView1.CurrentRow.Index …

Member Avatar for bestofb
0
195
Member Avatar for vb.net_beginner

Ok I realise my last submission was waffle so in short here is what I need to do: Populate a List Box lstManufacturers with the distinct values from a specified Column in a database table. The Column is called 'Car Manufacturers' and there are 4 distinct values in this column: …

Member Avatar for vb.net_beginner
0
130
Member Avatar for khentz

how can i populate listview from database? If the user search for a particular column (ex.Employee) then the output will be on the listview.

Member Avatar for khentz
0
384
Member Avatar for PhxBased

I'm suppose to end up with a label box with my name spelled out in it using string manipulation. This is suppose to happen using the concatenated string to output the name into the label box. I don't have any error codes but I also don't have my name in …

Member Avatar for PhxBased
0
199
Member Avatar for priyamtheone

Hi, I'm trying to render a checkbox in a datagridview column header so that when the checkbox is checked/unchecked all the cells in that column should be checked/unchecked accordingly. The datagridview is bound to a database table but the column containing the checkbox header cell is unbound. The problem is, …

Member Avatar for priyamtheone
0
987
Member Avatar for priyamtheone

Hi, we all know how to dock or anchor controls so that they resize themselves accordingly when a form is resized. It works fine till we have rows of controls on left and right size of the form. But what if have three columns (Columns as in visual sense. I'm …

Member Avatar for priyamtheone
0
249
Member Avatar for priyamtheone

Hi, I have an editable datagridview that's been databound with dataadapter and datatable, and a normal button on a form. When i edit the dgv's cells and click the save button it fires the datagridview_cellvalidating event and if the cell validation is correct it updates and saves the current record …

Member Avatar for priyamtheone
0
182
Member Avatar for priyamtheone

When a button is focused by pressing Tab key, a rectangle appears on it. Even if the button's TabStop property is set to false, when the button is clicked with mouse the rectangle appears. Is it possible to stop the rectangle from appearing? Please help. Regards.

Member Avatar for priyamtheone
0
147
Member Avatar for vb.net_beginner

I have a project where I want to be able to multiply 2 values from a database. So I have a combo box where the user is able to select from a set of data. This displays the data relating to the selected row in text boxes on the windows …

Member Avatar for vb.net_beginner
0
151
Member Avatar for JRCharlie

Hi I have an application that has an Ms Access 2007 DataBase which runns great if access is installed. Is there any code that I can use in vb that I would be able to run access with out installing it. Tanks in advance

Member Avatar for debasisdas
0
134
Member Avatar for vb.net_beginner

I have linked a database to a windows form. I have dragged the field objects onto the windows form. Prior to doing this I changed the first field object to a combo box and the last field object to a list item. I have proceeded with the following settings for …

0
95
Member Avatar for mikejs

Hi I have a number of forms which have a common menu strip rather than copy the control onto each additional form is it possible to just call the menu from another form ?

Member Avatar for mike2098
0
669
Member Avatar for BleepyE

Hi, i was just wondering how I get user details from a user table from a mysql database. Ive already worked out how to connect to the server, im just wondering how to import the data into a datagrid. Thanks Heres my current code [CODE]Imports MySql.Data.MySqlClient Module sql Dim Connection …

Member Avatar for farooqpathan
0
211
Member Avatar for Brissac

I have drawn a grid in vb2008 so that each rectangle represents a 15 min period of a day. Time slots are shown by filling in the grid in different colours using the draw rectangle method. No problem so far. Now I want to discover the colour of any given …

Member Avatar for Brissac
0
121
Member Avatar for tfj

I have two projects: [B]SQLtesting[/B] and [B]Controls[/B]. Their physical locations are: C:\My Documents\Visual Studio 2010\Projects\SQLtesting\SQLtesting\ [forms reside here] C:\My Documents\Visual Studio 2010\Projects\Controls\Controls\ [forms reside here] The code shown below works fine. I run it from the project SQLtesting. It loads a listbox and a checkedlistbox with the controls found on …

Member Avatar for Unhnd_Exception
0
209
Member Avatar for jefroxnergal

So I have this two forms.. I have a command button on the second form that when I clicked, a message box pops out and ask you if you want to go in the first form. The 'Yes' worked but the 'No' doesn't work, the first form still shows.. can …

Member Avatar for Unhnd_Exception
0
361
Member Avatar for countycowpoke

I am trying to send registration/ activation information via email, but don't want to store my authentication within the vb.net app and therefore not wanting to use .NET SMTP. I have the below php script that works from a website, but I can't seem to get the variables sent to …

Member Avatar for countycowpoke
0
395
Member Avatar for ktab

Hello all I was wondering how i could pass the following SLQ function to my datatable: Select sum(Quantity) from Purchases where transaction_mode=1 Thank you

Member Avatar for ktab
0
252
Member Avatar for Oneryavuz

i have a form and i need to use mouse scroll for moving my panel. so i need to create event ( :) ok ok im not sure ) and No matter where the selected i need to use this event when i use mousescroll :) I hope i was …

Member Avatar for Oneryavuz
0
162
Member Avatar for tungnk1993

Please refer to the attached image [ATTACH]22297[/ATTACH] I want to create an application which provides toolbar 'button' like BatteryBar. Thanks for your help :)

Member Avatar for samson_zed
0
171
Member Avatar for Ehtesham Siddiq

hi, My application is in VS2008 coded in vb.net.I have a form with a datagridview which loads data from databaase.there is one column where data is stored separated by comma's.Like Name,Surname,LastName name this column as [B]Testing[/B].I have a checklistbox on another of my form.When the user selects a particular row …

Member Avatar for Ehtesham Siddiq
0
849
Member Avatar for moone009

I am building an excel address parser. Column B = streetnumber Column C = UnitNumber Column B is my streetNumber and What I need it to do is anytime it finds a letter attached to the number it needs to move it from column b to column C. So if …

Member Avatar for Reverend Jim
0
130
Member Avatar for bbowsh54

Greetings, I made a simple "restarter" app... However, I need to close multiple instances of an application. For example, if I have three windows of paint, or three windows of Word open, how do I check if it is still open before I open a new instance? Here is my …

Member Avatar for bbowsh54
0
886
Member Avatar for coolsasuke

Well, I recently got a program from csharp . But im not familiar with c# . I only got codes from vb.net . Is it possible if you guys help me to translate these following codes to C# ? First set of codes, it will download the file from the …

Member Avatar for skatamatic
0
626
Member Avatar for jonoman

Hi, Reverentjim kindly gave me this code the other day that worked well. There are two more things i am trying to do but cant get my head around it. 1) I want to be able to extract the text after the second \ and before the period e.g. profile …

Member Avatar for Reverend Jim
0
182
Member Avatar for coolsasuke

Well, my friend is opening a internet cafe soon . But i need to know how it works to save database, customer's time left and accounts. Im sure they never used MYSQL as database support as it sucks alot. It gets 'too many connections' very often . So how it …

Member Avatar for Techyon
0
142
Member Avatar for bettybarnes

hi guys anyone here willing to educate me about stored procedures, populating the datagridview, and using some bindingsource with 4 butttons, <<,<,>,>> i'm a newbie vb.net programmer willing to learn the use of stored procedures.. tnx GOD bless u guys!

Member Avatar for bettybarnes
0
280
Member Avatar for TIP.Synergy
Member Avatar for TIP.Synergy

Hello, it's possible to move listview1 subitem(1) to another listview2 subitem(5) please help

Member Avatar for Teme64
0
258
Member Avatar for bhavna_816
Member Avatar for Ehtesham Siddiq

Hi, My application is in VS2008 coded in Vb.net I have a datagridView on one of my form.This is filled from the database at the load event of the form.The datagridView also has a column of type DatagridViewComboboxcolumn. This DatagridViewComboboxcolumn already has 4 values added to it in its collection …

Member Avatar for Ehtesham Siddiq
0
252
Member Avatar for khentz

I have a textbox for searching in my access database. For example, my database is dbEmpLis; my table name is tblEmployee; columns in my tblEmployee are fName, lName and mName. What I want to do is,when a user type to the search box, and click the search button, it will …

Member Avatar for Techyon
0
124
Member Avatar for khentz

Here's the setting, I have many link labels in my form(I guess around 150 link labels). All of them will handle a click event, with the same condition when clicked. What are the possible solutions regarding to this problem. Because it's not good if I'll do it one by one. …

Member Avatar for GeekByChoiCe
0
195
Member Avatar for hueikar

Hi guys, I have the following coding and i would like to save it using save file dialog. Any idea? Thnx. [CODE] Dim numCols As Integer = dgvExp.ColumnCount Dim numRows As Integer = dgvExp.RowCount - 1 Dim strDestinationFile As String = "c:\username.txt" Dim tw As TextWriter = New StreamWriter(strDestinationFile) 'writing …

Member Avatar for samson_zed
0
600
Member Avatar for tfj

I have two projects: [B]SQLtesting [/B]and [B]Controls[/B]. Their physical locations are: C:\My Documents\Visual Studio 2010\Projects\SQLtesting\SQLtesting\ [forms reside here] C:\My Documents\Visual Studio 2010\Projects\Controls\Controls\ [forms reside here] The code shown below works fine. I run it from the project SQLtesting. It loads a listbox and a checkedlistbox with the controls found on …

Member Avatar for tfj
0
1K
Member Avatar for zoraster01

hello everyone i need help.. i am new in crystal report and i wanted to make a report using vb.net.here is my problem i want to display in my report are the item which is displayed by the datagridviewer.. thanks in advanced

Member Avatar for MartinPlatt
0
107
Member Avatar for coolsasuke

Hi, i would like to enquire if there is a tool out there which will convert c# project to a vb.net source? I think it is possible , but i do not know which tool to use.. Thanks in advance . :)

Member Avatar for MartinPlatt
0
272
Member Avatar for Andy90

I want to make an application in vb.net which will allow user to use mouse in a different way. i.e Dwell Clicking. Suppose user moves mouse pointer at particular location and if the user doesnt move the mouse pointer from that location for 2 seconds then single click will be …

Member Avatar for Unhnd_Exception
0
223
Member Avatar for caseyl89

I have the code to parse data to a Datagridview and then export that into an excel spreadsheet. How can I export the headers of the datagridview? [CODE] var bs3 = new BindingSource { DataSource = query }; dataGridView1.AutoGenerateColumns = true; dataGridView1.AutoSize = true; dataGridView1.DataSource = bs3; } } private …

Member Avatar for caseyl89
0
700
Member Avatar for taruna patil

Plz help me in converting vb code to vb.net [CODE]Function Main() Dim sMsg as string sMsg = MoveFile(DTSGlobalVariables("LoadFileName").Value) if (sMsg) = "" then Main = DTSTaskExecResult_Success else Main = DTSTaskExecResult_Failure end if End Function Function MoveFile(ByVal fileName) on error resume next Dim objFSO as string Dim objFolderDestination as string Dim …

Member Avatar for hkdani
0
392
Member Avatar for 8mir

i have variable in web page and i want to do: copy two things X and Y x:Name y:code i have make to file ini one for x and one for y in the page , the information like this [CODE] x y x y ..... [/CODE] first line x …

Member Avatar for AnkitGuru
0
154
Member Avatar for khentz

I would like to know what is the correct format of virtual path on vb.net or vs 2010. In my project folder, is it advisable to save it in bin folder? If yes, what will be the virtual path of it?

Member Avatar for AnkitGuru
0
189

The End.