Quantcast
Channel: VBForums - Visual Basic .NET
Browsing all 27554 articles
Browse latest View live
↧

adding a minus sign to a copied figure in excel

Hi i copy figure from one excel files like this Code: oRng = oWSSheet.Cells.Find("OVERDRAFT EXPENSE (43979000)", , _ Excel.XlFindLookIn.xlValues, Excel.XlLookAt.xlPart, _ Excel.XlSearchOrder.xlByRows,...

View Article


VS 2008 add numbers in textboxes

Hi how do I add numbers from two different textboxes, and then show the result into one of them? I tried this, but it won't work Quote: Dim add_box As String add_box = txt_box.Text Dim derv_total As...

View Article


VS 2010 Public Property help

I need some help figuring out how to use properties: I have this property in a class: Code: Public Class ErvID     Private BidID As String     Public Property ErvID() As String         Get...

View Article

VS 2010 Datagridview: How to delete row if a cell in a column contains x

After almost 2 days of searching the world wide web, I still didn't found the solution. I have a database (.mdb) of a list of sheet metal (from an automatic store) at work. Now I have imported this...

View Article

VS 2008 Printer Name

I'm trying to open a dialog box, select a printer and use that printer to print multiple addresses. The code below will open a dialog box every time when it is ready to print. I want to open the dialog...

View Article


VS 2012 Remove decimal place (not saving variable as int)

So I have an input box and a user would enter an amount. Lets say a user enters 999.99, I want the variable to save as 99999. Basically I want to save exactly what the user enters without the decimal...

View Article

How to resize all controls when MDI Child Form is maximized in vb 2010 Express

Using VB 2010 Express. And after much unsucessful research. I have set the anchor property to "none" on all the controls on my MDI child form so that the controls are centered in the MDI form when the...

View Article

how to control form size at design time and at run time

1)i am developing a multiple choice quiz application. i need a single form to display around 30 questions ..but i can insert only around seven groupboxes( each groupbox contains a question and three...

View Article


VS 2010 [RESOLVED] Treeview fullpath questions

Ok I am very new with .net and just coding in general. I have a treeview item, with child nodes and what not. When I select a node at the end of the treeview then click a button it will do this....

View Article


Link to Excel File Causes it to Become Locked R/O

I recently built a VB.NET project which reads some data from text files and then populates an Excel spreadsheet. In this sheet there are some formulas which I use to build some bar charts. The boss...

View Article

VS 2012 Displaying null date in DataGrid

Okay, I've got a DataGrid that is displaying data from our database, except when it runs across a NULL datetime value in the database it displays it as "1/1/0001 12:00:00 AM". I'd MUCH rather have it...

View Article

Try With Excel

Apparently I don't understand the Try/Catch As Exception as much as I thought I did. I work with Excel files a lot and making sure that Excel gets shutdown when the code is through is important. What...

View Article

Customizing a Radio Button

Hi if I change the appearance property of a radio button(option button) to Button it allows me to change the standard icon to a square. does anyone have a layout/guide to help configuring this control....

View Article


list (of ) how to change a item

hi on the form load I make a list of t By the start of the program I don't give value for the ontlenerid Is it possible that I change the value of the ontlenerid of lijstboeken(0) for example when I...

View Article

Open Outlook folder in new window

I found the code to locate and open the containing folder of an email in Outlook. (from http://www.vboffice.net/sample.html?...5&cmd=showitem) Public Sub GetItemsFolderPath() Dim obj As Object Dim...

View Article


VS 2012 [RESOLVED] Need help with WCF error: maximum message size quota......

Okay, I'm writing my first WCF server application, and it's working except for this. When the service tries to return more than a hundred or so rows, I get the following error. The maximum message size...

View Article

Change Wallpaper on FORM via DropDown

Good Day, I would like to ask some Help regarding on Changing of Wallpaper on a Form using DrowDown Box. Is it possible that even its have no button it will change instantly is the user choose on that...

View Article


VS 2010 how can add a column's value to use in an expression of another...

hi i use 3 datatable in my form named DT1 , DT2 and DT3 than each datatable has one column named "Value1" , "Value2" and "Value3" i want to use values of columns from DT2 and DT3 to use in expression...

View Article

VS 2010 how to ensure only duplicate values in an array

Hi guys, I have to select some values and I need to ensure that they are all the same. If one number that has been entered is different from others, it should throw out an error. Any idea how can i...

View Article

VS 2012 Removing "For Each" Statements Help

Hey people, I have no real knowledge in programming however I am trying to learn... I am trying to integrate the following code from a project I found online. The code is used to detect multiple cd...

View Article
Browsing all 27554 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>