-
- mapping datagridview to a datarow?
by in2minds
- 9 Replies
- Last post
by Larry Charlton
- hello
i need to map my datagridview row to a datarow, please help!!
here is my code:
Private Sub btnSeqUp_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSeqUp.Click
If Not dgvEditList.SelectedRows.Count = 0 Then
Dim index As Integer = dgvEditList.SelectedRows(0).Index
If Not index = 0 Then
Dim row1 As Dat
-
- What does this error mean , please
by Mikepy
- 14 Replies
- Last post
by Ivan Scattergood
- "Windows Installer is not included in any selected prerequisite " this comes up on my errors tab when i compile. it's referring to a setup project which is part of my solution. Cant find any help on it. Can someone enlighten me please Thanks Mike
-
- ClickOnce publish - The application does not automatically update
by Martin Koster
- 1 Replies
- Last post
by Bruno Yu - MSFT
- I have published a VB app (ClickOnce) using the My Project Form - Publish Wizard. The Install mode is that the app is available off-line, and that it must check for updates before the app starts. I have also specified a minimum required version.
However, when the app starts, it checks the publish-web-site, but it does NOT update on my development machine. It does sometimes update on a few u
-
- Uploading using vb
by Narayanan_N_852dc7
- 1 Replies
- Last post
by MS Johan Stenberg
- Can some one help me in uploading using visual basic .Is there any active-x for that .
-
- Listbox control
by Snow Teo
- 5 Replies
- Last post
by Yam Sapkota
- I have two listbox. I want to do something like when item in listbox1 is selected the corresponding item in listbox2 will also be selected at the same time. But I not sure how to do it. Can anyone help me
Example:
Listbox1 item contains: 1,2
Listbox2 item contains: hello, bye
I want something like that. when 1 is selected hello will also be selected and when 2 is selected bye is also s
-
- how to show the playlist in windows media player
by yuwery
- 1 Replies
- Last post
by Bruno Yu - MSFT
- i used Windows Media control to play sound files as .mp3, .wma...and create a playlist. i want to show the playlist in windows media player! how can i do that thanks for every answer!
-
- How to catch unhandled exception raised from singleton object?
by cwlaualex
- 2 Replies
- Last post
by cwlaualex
- I have created a singleton object in my library using shared sub. The problem is how can my executable (not the library) catch those unhandled exception raised from the library The sub in the library is an event handler of some POS devices. So, the stack trace will start from that shared sub and I cannot catch that unhandled exception in my application event.
-
- Listbox question
by nhaas
- 5 Replies
- Last post
by nhaas
- I have a list box that works great...but when i select a value it is not returning corectly
listbox
Dim connectionString = "Data Source=ISISQL;Initial Catalog=Tesisdev;Integrated Security=True"
Dim theDataSet As New DataSet()
Dim theSqlCommand As New SqlCommand( "Select [BILLINGNUM],[INVOICEDATE] from [OVERAGESINVOICE]" , New SqlConnection(conn
-
- Multiple projects in one solution
by Solitaire
- 7 Replies
- Last post
by Solitaire
- I haven't been able to figure out how to place several separate projects into one solution. I create a lot of small demo projects that are related to a topic and have been opening them one by one in separate solution files. Someone suggested I combine them into one solution but I don't know how to do it. There is no option in the menu bar for adding a new project.
How ca
-
- DataGridView -> DataGrid
by Han Qiao
- 5 Replies
- Last post
by Han Qiao
- Hi,
Anyone know how to convert datagridview into datagrid
Or put datagridview data into datagrid
thanks in advance
-
- Visual Basic Referencing Problem
by cabilo
- 2 Replies
- Last post
by cabilo
- Ok so this is my first time on these forums and I'm not sure if this is really the right place to be but i'm going to try it out anyways ok =)
Short story is, i work part time fixing small computer-based problems within a office, at the moment i am working on a Access 2000 database.
Now, the office here only just recently upgraded to Windows XP, their previous OS was Windows 2000 Professiona
-
- why is this stored procedure not working?
by Cammyr
- 9 Replies
- Last post
by Cammyr
- I'm sure it'e something simple that i'm missing:)
stored procedure
ALTER PROCEDURE UpdateItemQty1
@ItemNo INT ,
@invoiceid int ,
@qty int
AS
BEGIN
declare @itemnumber int ;
DECLARE @InStock INT ;
set @instock=( select instock from inventory where itemno=@itemno and invoiceid=@invoiceid );
I F (@Qty IS NOT NULL )
SET @InStock=( SELECT In
-
- Please help me program this application
by satyr36
- 4 Replies
- Last post
by Jay Vora
- Hello, I really need some help. Heres the story.
I have a barcode scanner, I have barcodes, I need to read the barcode with the scanner (obviously) and have the information from the scan go into a VB (Visual Studio 2005) application. I have 3 fields i need filled (3 different scans/barcodes). Once done i need the information to go into an excel file, or wordpad.
It sounds easy, but I cant fi
-
- form.show focus
by Chris128
- 6 Replies
- Last post
by Tall Dude
- Hi All,
I have a treeview on one form and when a specific node is selected it uses the code form2.show() to make another form pop up. The problem is this new form never gets focus and always appears behind the other form. I have tried using various things (guessing) such as form2.focus after the form2.show code but still no joy. The same problem happens on many of the other forms, some form
-
- Adding Code to New Menuitem at Runtime
by jcsam
- 2 Replies
- Last post
by jcsam
- Hi All,
I'm using code to add menuitems at runtime. The menu items are actually different forms, just like Word where you can have many documents open and then select the document to work with. My issue is, how do I access the click event of the newly created menuitem
Any Ideas
Thanks All.
jb
-
- netstream progress
by cleverclover.net
- 0 Replies
- Last post
by cleverclover.net
- I'm uploading a file via FTP using a netstream
I have this line of code: intBytesRec = mNetStream.Read(mBytes, 0, CInt(mTCPClient.ReceiveBufferSize)) The problem i'm having is my application runs to this line of code then sticks on this line of code until the file is uploaded.
I want to report the progress of the file upload to the user, but i can't because this line of code is all that's ex
-
- MaskedtextBox Question.
by NetPochi
- 3 Replies
- Last post
by spotty
- Hello. A question please. I use a maskedtextbox to entry a decimal data in my table. For ex: 12345.67. When I save the data in my table I use the convert function to convert from maskedtextbox.text to a decimal data, that works fine, but when I want to recover the decimal data and put it in my maskedtextbox, I have problems. how can I convert from decimal data to a maskedtextbox to see it fine&nbs
-
- Download File with progressbar
by Penicillin
- 11 Replies
- Last post
by onh1986
- Hello
I want to download 1 file, but I need with progressbar.
How can I do it
Thanks
-
- Coding for a reminder
by AngelinaPerez
- 14 Replies
- Last post
by 002 007
- Hello, I am still a newbie guys,and I have tried a few line of codes to help me track contacts follow-ups and the code I have so far is no way near to what I wanted such as: System.Diagnostics.Stopwatch I'm just wondering if anyone has a VB code that could help alert: i) a user before and on with a date and time stored in a SQL Server database table, column - DATE_COLM. ii) The code should be abl
-
- TabPage is slow showing controls
by dimir
- 10 Replies
- Last post
by dimir
- I have a TabContro with about 5 tabPages and 20 textboxes on each page, then I change from one tabPage to other I dont change inmediatly, instead there is some kind of delay like when I click tab it starts creating itself control by control, ist not too fast, why is this happening any ideas
Thanks
-
- Questions about label
by Penicillin
- 14 Replies
- Last post
by onh1986
- Hello
In VB6, I can make label transparent and I can put label in picture box so label can't get out of it.
How can I make that in VB 2005
Thanks
-
- How to use xp compiled exe in win 98
by manishgamare
- 1 Replies
- Last post
by Webbsta
- I have developed a small Application in vb. I have compiled the program in windows xp. I have created setup of the application but when I install the package in win 98, it doesn't work. The problem is "oleaut32.dll" file which has changed after installing. The version of this file is 2 in win 98 and same file in win xp, the version is 5. Can Anyone have the solution.
Thanx
-
- Control Array
by KChris
- 6 Replies
- Last post
by KChris
- Help Needed:
After creating Contol array in a frame. I cannt call the objects in that frame. it gives me an error on Red Line : If TypeOf (f.Controls("TextBox_" & i.ToString)) Is TextBox Then
Error Message is as described here:
An unhandled exception of type 'System.InvalidCastException' occurred in microsoft.visualbasic.dll
Additional information: Cast from
-
- Events on a dynamically created object
by yatingg
- 4 Replies
- Last post
by Frank Carr
- I have a custom control, call it SimpleControl. It has a public event that I expose, TextChanged, which gets fired on a textbox_TextChanged event. I have another control that uses SimpleControl, call it MyControl. MyControl creates SimpleControl dynamically. How can I bubble up the TextChanged to the user of MyControl if SimpleControl is created dynamically Is this possible (SimpleControl isn't
-
- Find all PCs in a network. Try PING.
by PeterK123
- 4 Replies
- Last post
by G30FF
- I am using VB 2005
How can I search all active PCs in a network in vb.net
Regards