20,899 Topics

Member Avatar for
Member Avatar for SyncMaster170

I am having a problem with my C# datagridview. When I add data into it, it doesnt auto update. And nothing I found online works to update the view for the user during runtime. I've used refresh(), update(), invalidate(). Nothing seems to work. Can anyone help me out with this …

Member Avatar for SyncMaster170
0
521
Member Avatar for Quazy

Hello, I hope someone can give me some help. I have a datagridview (Unbound), wich calculate several numbers, and I use this following code to save 5 of the columns to a XML file. My problem is that I would like to load this file back to my datagridview, and …

Member Avatar for josker
0
213
Member Avatar for haydo

I cannot keep trying to solve this...It will eventually do me in. So I found you on google. I hope someone can help. I need a vba code for the attached excel 2010 file Once i have a vba code, i can then adjust it for further vba challenges. Thanks …

Member Avatar for adam_k
0
100
Member Avatar for mitchiexlolz

[CODE]I am planning to make an application that can graph all functions.(polynomials, rational, trigonometric,etc) but I can't make a decision on which programming language I am going to use. I am choosing between Java and VB.net. what are the ups and downs of these languages? Which one would be better …

Member Avatar for Taywin
0
118
Member Avatar for nalasimbha

Hello all, I have a question regarding calling a C++ dll from vb.net My C++ dll has a function that takes char **data as a parameter like this for example. [CODE]extern "C" int fn(char **y_data)[/CODE] How exactly can I pass a string array to the dll from vb.net. Thanks

0
69
Member Avatar for kylelendo

Hii friends Well i have written a code that produces an certain exe file.Now I want to pass that output to an another external application on windows....how can i do that???

Member Avatar for codeorder
0
59
Member Avatar for khentz

I would like to know how to use module, why we need to use module and when to use module. I've tried to use module but some of my textboxes, labels and other controls didn't recognize by the module i've created.

Member Avatar for codeorder
0
2K
Member Avatar for bettybarnes

Hi i'm having problem with rebuilding my program. Everything went fine when I run my application but when I stopped and made some changes to it and re-run it again this error message kept on displaying [CODE]"unable to copy file "obj\release" to "bin\release". the process cannot access the file because …

Member Avatar for QuickBooksDev
0
409
Member Avatar for swathys

Hi, below is my code, but when i send the message thru client socket i receive [COLOR="Red"]Specified argument was out of the range of valid values. Parameter name: size[/COLOR] Can anyone help me ! [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim serverStream As …

Member Avatar for [Prototype]
0
676
Member Avatar for Eruditio

Hi all, In a program I've been working on I would like to start a process and save it in a variable of type Process. This is so I can kill it later, if needed, and change the window type. The process is an Excel document. Here is some relevant …

Member Avatar for anas alrawi
0
157
Member Avatar for Eruditio

Hi all, I've been working on a piece of software for a few weeks now and I've got to the point where I'm publishing it and testing it on other computers, namely my colleague's. We're both working on the same network and have similar permissions for our accounts, but for …

Member Avatar for Eruditio
0
1K
Member Avatar for kylelendo

Hii friends Well I want to check if an exe file is corrupt without double clicking it....there mist be some way to do this.. can I write a code in vb ..??

Member Avatar for Reverend Jim
0
141
Member Avatar for ninjatalon

Is there a way to change the ftp password for a certain user programmatically?

Member Avatar for lolafuertes
0
104
Member Avatar for lbgladson

I have an assignment to make a program for Time Entry. I am trying to get it where the Get payment button is disabled when the program first executes and then enables once I have submitted hours for five days. Below is the code I have so far and any …

Member Avatar for NetJunkie
0
119
Member Avatar for dakaboguy

Hello all, I have a form with 24 textboxes incremented by a letter. example: txtDimVala1.text, txtDimValb1.text, txtDimValc1.text, etc. I created a code to check each textbox, but there must me a more efficient way to loop it. I have tried a few loops but I cant get them to work …

Member Avatar for dakaboguy
0
752
Member Avatar for singhSP

Front End : VB 2008 Back End : Access 2003 Example of Database Record: [B]cCode | Name | Company | Contact [/B] 20091 | ABC | XYZ | 123 20101 | AB1 | XYZ1 | 456 20102 | AB1 | XY123 | 987 I am using year for making a …

Member Avatar for singhSP
0
237
Member Avatar for ts23944

im tried to make a vb creator to create account but how to show the captcha in my form? please teach me how to do it. Thank you.

Member Avatar for Pgmer
0
55
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
75
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
204
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
861
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
162
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
197
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
386
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
988
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
250
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
184
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
148
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
152
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
135
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
672
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
123
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
366
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
397
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
172
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
850
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
888
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
628
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
184

The End.