-
- sum of Time values
by Joao Pinto
- 9 Replies
- Last post
by PEng1
- I've a field on my database table that is of "Short Time" format. I've some values like this:
0:10
0:14
0:05
1:43
How can I add, for example, to the record "0:14", the value "0:06", to update the record and have the value of the field to show "0:20"
Can someone help me please
Thanks,
Joao Pinto
http://senhorpires.blogspot.com/
-
- customizing IDE behaviour
by SignOut
- 2 Replies
- Last post
by SignOut
- Is it possible to customise the IDE behaviour for specific methods or classes For example I have a sub that takes a Paramarray but requires an even number of parameters, i can catch this at runtime easily enough, but it would be nice if i could have the IDE report a warning/error if there are an odd number of parameters. is it possible to do this (note: the class containing the sub will be distr
-
- please help..
by Zooz
- 10 Replies
- Last post
by Andrej Tozon
- Please, i have been searching about how to open a folder, but i didnt find a thing. I need the code.
-
- Could I fill diffrent rows into a datatable by dataadapter multiple times?
by ivanchain
- 2 Replies
- Last post
by ivanchain
- Hi, friends, Please look at this:
I have a basic question about the dataadapter and datatable:
1) Have a dataadapter and a datatable
2) I fill data into the datatable by dataadapter like this: DimNodeSelectCommand.CommandText = "select * from TESTTable where SID=1" daAdapter.MissingSchemaAction = MissingSchemaAction.AddWithKey daAdapter.Fill(dsDimNode, "DimNode"
-
- Report
by ssmony
- 1 Replies
- Last post
by Bruno Yu - MSFT
- In VB 2005 in Form1 I want to pass 2 parameters to form2 (Report.rdlc). Can someone show me please.
-
- Compatability between VB 2002 and VB 2003
by FranzH
- 2 Replies
- Last post
by FranzH
- Hi,
I am a student taking Computing at College. The VB version our College uses is the 2003 versions and I have a 2002 version at home (unopened at the moment). I would like to know how compatible are the two programs (without opening the one I have now) if I take projects from 2003 and use them in 2002 and vice versa. Also, what is the main difference between the two, and should I get the
-
- how do i populate a checklistbox from a database in MSSQL server?
by tlavalle71
- 12 Replies
- Last post
by tlavalle71
- I am creating an app and i need to use a checklist box as a filter or selcting which resources to show. But everytime i try to populate it with a table, it nevers seems to populate, using id as the value and the description as the text by the checkbox then when the checkbox is check it will filter out the id for that checkbox. Could someone help figure this out.
-
- Visual Studio Is Busy?
by ReneeC
- 14 Replies
- Last post
by Zep--
-
Pentium IV - Northwood 3.5 Ghz - I Gb of Ram. XP SP2 .. all current patches applied.
VS2005 RTM Team Suite
On occasion while debugging the IDE becomes nonresponsive and I receive a Bubble message informing me that "Visual Studio is busy waiting for an internal operation to complete - If you receive this message often, please inform Micorosoft"
After I receive this message t
-
- Learning UserControls
by Davids Learning
- 10 Replies
- Last post
by Davids Learning
- I have successfully made a user control and can add it to my form.
In the user control I have 3 buttons, 1 is a close.
Is it possible to remove the new instance of the user control from within itself
Thanks
Davids Learning
-
- Form inheritance
by Daniel Simard
- 2 Replies
- Last post
by Afseer
- Hi, i have a couple of problem with inheritance in VS2005. First of all, whenever i try to inherit a control user created or system, i receive the following message: Could not locate the project item templates for inherited components i found a link on microsoft site but it doesn't help at all here. The second problem is this one and i don't know if it is related to the first. Since I'm not abl
-
- Different cell forecolor
by AuliyaIkhsan
- 3 Replies
- Last post
by rkimble
- ex:
I want to make datagridview column(1)
if value > 0 then color is red
else color is black
thanks
-
- Inexplicable error message
by dennist685
- 4 Replies
- Last post
by weirdbeardmt
- It occurs here:
Else
Dim errorMessages As String = ""
errorMessages += "Message: " & ex.Errors(0).Message & s _
& "NativeError: " & ex.Errors(0).NativeError & s _
& "Source: " & ex.Errors(0).Source & s _
& "SQLState: " & ex.Errors(0).SQLState & s _
& "The f
-
- 500 factorial algorithm !
by schahinap
- 11 Replies
- Last post
by Spidermans_DarkSide - MSP, VSI
- can you write an algorithm which can calculate 500 factorial. ** scientific symbol(mode) is unauthorized** Answer should be in String mode.
-
- how to use 'New" keyword.
by meriano
- 11 Replies
- Last post
by meriano
- Hello - I am a little confused on when to use the 'New' keyword. I have 4 acquisition threads that all execute methods in another class ("dataprocessing") simultaneously but with different input data. In order to keep each thread's calculated data separate, I created a new instance of the dataprocessing class for each thread. Does 'new' create an individual class template for each thread
-
- Set Document Name?
by dotnetdude
- 6 Replies
- Last post
by dotnetdude
- Hi, The Printing.Compatibility.VB6 power pack works great and allowed me to upgrade a simple printing application from VB6 to VB2005. The only issue is that I lost to ability to send the document name to the print queue. All the documents have the name of "Document." I looked at the power pack documentation and cannot figure out how to send the name of the print job. I used printer.docum
-
- Free Add-Ins VSIP DVD. See here.>>
by John Oliver (UK&am
- 0 Replies
- Last post
by John Oliver (UK&am
-
[I was hoping to add as a separate annoucement at the top of each forum area.]>>
Hi everybody,
You might like to get the FREE Add-Ins VSIP DVD, i've just got mine.
See http://msdn.microsoft.com/vstudio/extend/partnerdvd/ for details.
Regards,
S_DS
-
- Sending Hex using serial port.
by Pyromancer
- 18 Replies
- Last post
by Pyromancer
- Hi everyone, I'm rather new to programming in Visual Basic and would like to know how do I send out Hexadecimal using a serial port. I'm writing my program in Visual Basic 2005. Currently on my form, the user is allowed to input an integer from 0 to 255, then I use the hex() command to change it to hexadecimal and then send out the hexadecimal number. However, the value that gets sent out always s
-
- Me.Controls issue! Help!
by Paul Bidwell
- 14 Replies
- Last post
by Paul Bidwell
- Hi, I am fairly new to OOP and .net in general and I am having an issue with Me.Controls, probably due to my lack to total understanding. Basically, I have a set of text boxes, and want to enable/disable a row of them depending on the number in my NumericUpDown control. There are no errors or warnings and all compiles. The issue arises when I press an arrow on the nud. All text boxes are on form1
-
- Datagridview binding
by design_omega
- 2 Replies
- Last post
by design_omega
- Can I bind a populated datagridview control to a datatable In other words the datatable will contain the dgv's contents.
-
- How to pass T-SQL Statements from Visual Basic?
by reachrishikh
- 14 Replies
- Last post
by reachrishikh
- I am making a front end form to access an SQL Server 2005 Express database using VBExpress. It will be used just for entering data for the time being. (It is loads faster to enter data using a front end, rather than using Insert statements.)
Now the problem is, I have been facing issues with entering any value in a datetime data type field by any method other than an SQL query insert statem
-
- Picture Box
by xplosiv_1
- 12 Replies
- Last post
by xplosiv_1
- Hi,
I have added two files mode1.JPG and mode2.JPG to the resources folder in my project through the My Project screen, and I have a picture box called ¡®picbox¡¯ plus a combo box with the following items in: -
Mode1
Mode2
My question is how do I get the picture box to display mode1.JPG when the user selects mode1 from the combo box and mod2.JPG when the user selects mode
-
- Trouble preventing duplicate instance of application
by Steve from adzac
- 11 Replies
- Last post
by Richard_Wolf
- Hi,
Regarding preventing or allowing a second instance of my application to run...I need the user to have a choice, so coded up the following.
Friend Class FormSplash ... (the splash form is active for < 2 seconds)
FormSplashLoad() ...
If (closeCuz2ndInstance()) Then Application.Exit() End If
... continue with initializations ... close splash and open subsequent
-
- Keeping controls in a tab control from redrawing
by Pratt
- 1 Replies
- Last post
by Mick Doherty
- Is there a way to prevent controls from redrawing/reloading when switching between tabs I have a good amount of controls on different tabs and when I switch tabs there is an annoying small delay while the controls all redraw.
-
- Count property
by Hardrock302
- 3 Replies
- Last post
by spotty
- I need to code a click button procedure that displays the total number of items in a list box. I can't figure out what to do. Any help is appreciated
-
- creating addins for my custom software
by Jamie LJ
- 1 Replies
- Last post
by Feng Chen - MSFT
- Hi there.
I have recently developed a large soa system whcih uses a vb.net client to call the web services.
Anyhow, all is going well, except that now we have ben approached by a series of companies to integrate their services with our client system.
We want to be able to add add ins for third parties to our software at run time, without affecting the main code base. Where do