20,897 Topics
![]() | |
Hi, I am generating table with Microsoft.Office.Interop.Word In my table cell values i get is: 7, 11, 13, 14, 15, 18, 28, 29, *25,26,28 Now my prob is i want to replace ,* with new line in word. i have written this code [CODE] tbl.Cell(i, 4).Range.Text = tbl.Cell(i, 4).Range.Text.Replace(", *", … | |
Hi guys,, im having problem with my stored procedure. i dont know how to make it show..when i click on a particular record on my datagridview it should display another form with its corresponding laboratory records, radiology records and so on.. here is my code [CODE]ALTER PROCEDURE dbo.ViewAllLabRecords ( @lab_Record_ID … | |
Hello. I'm doing project using richtextbox and want to save the contents in Access. But my contents is a list and when I saved it, the list become one line, with a square to space it. Can it actually be done? I set the column with memo type. Here's my … | |
Hi all I want to be able to calculate the difference between two dates, written in SQL db. The difference must be in days/hours format. This is my code: [CODE] Dim SQLConn As New SqlConnection() Dim SQLCmd As New SqlCommand() Dim dr As SqlDataReader Dim arrival As Date Dim departure … | |
Hi, What I want to know is how can I get Internet Explorer address bar information (URL)? When i`m type into address bar e.g. [url]http://www.google.com[/url], i want to get message with the same URL e.g. Welcome to [url]http://www.google.com[/url] How to get this? Note: I will add a button for my … | |
This is a homework assignment. I have the hardest time with arrays and I believe that is what is being a pain in my butt currently. I'm getting an argument null exception, which I believe is translating to "Tony you messed up another array." A jumping off point would be … | |
Hey Im just wondering if anyone could help me with this timer project Im working on... The purpose of this project is to keep tract of the time a classroom of students is working, not working and then total time of the class. So far I have only the seconds … | |
hello guys, I have a problem wiht my vb studio 2008 .When I reformat my laptop to window 7 64bit the problem is that my program "internet cafe" on first run there is so could vshost.exe not working problem then when i cancel it show another warning about the program … | |
Hi all I would like to do a Calender with tasks in VB but I can't seam to find a calender that I would be able to choose the size of the Cells. I was able to use Month Calender but I can not resize it. If there is such … | |
Im working on a project for college. The form im working on allows the user to edit the details of a customer. I have the following code attached to the EDIT button [CODE] EditCustomerTable.Clear() EditCustomerConnection.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=QuickQuotes.mdb" EditCustomerConnection.Open() EditCustomerAdapter = New OleDb.OleDbDataAdapter Dim SQL As String = "UPDATE Customers … | |
hi guys, uhm this question of mine is just a simple one hmm how do i concatinate this? i have a textbox with 2 radiobuttons namely: AM and PM when i put time (e.g. 4:15) and check am the text AM should be concatinated in the textbox my code is … | |
Hello, im trying to convert an old vb project from 2008 to 2010. Ive tried using vb 2010's convert wizard aswell as changing the .sln file manually. When i try to convert the project automatically using the wizard it gives me an error saying that the project type is not … | |
am developing an application using vb.net 2005.i want the application top read what has been recorded by an electronic balance and display it on a textbox. communication between the balance and the computer/PDA is through a bluetooth. can somebody help please? | |
I need to figure out a piece of code to use to complete my project. I have attached a screenshot of the form and I labeled the important components to what I'm trying to accomplish. The form allows to user to add/remove books to a shopping cart which is the … | |
first.. i hve create combobox & text box and add database source to my project... i know how to binding data or load data to combobox using SELECT query.. but can i change SELECT to INSERT query cz i wont when i type data into textbox,data will be in database... … | |
Hi guys. Is me MUYAH, for the first time to this forum. I am underway to develop a VB.Net compiler using visual studio 2005, but so far I am not aware on how to go about, regarding to what are the key requirements or skills required for developing a compiler. … | |
Guys, is it possible to change the default text of the button of msgboxes? How? | |
I want to select items in listbox based on data reader contents from db. this is my code mycmd = New OleDbCommand("SELECT PROD_MASTER.P_NAME FROM (PRO_APPROACH INNER JOIN PROD_MASTER ON PRO_APPROACH.P_ID = PROD_MASTER.P_ID) where PRO_APPROACH.VISIT_ID =" & sessionvar, cn) dr = mycmd.ExecuteReader Dim li As New ListItem While dr.Read() For i … | |
Hi, I want to know how to generate pdf file with help of ms report viewer. I will pass needed parameter to that reportviewer that should generate pdf, it should be done at back side user should not know this(invisible mode). Thanks in advance | |
im having problem og this code... [CODE]txtTimeOut.Text = Format(Now, "h:mm:ss tt") constr = "UPDATE tblDTR SET EmpName='" & txtName.Text _ & "', Date_in='" & Format(Now, "MMMM d, yyyy") _ & "', Time_in='" & txtTimeIn.Text _ & "', Date_out='" & Format(Now, "MMMM d, yyyy") _ & "', Time_out='" & txtTimeOut.Text _ … | |
I'm doing a project that requires me to create a book ordering form. I have the books displayed in a listbox named bookselectionlistbox, and when a book is selected, it displays the price of that book in a label named bookpricelabel1. I have a button named addbutton that allows the … | |
I will get an Excel 2003 file everyday via email. This file has 5 columns. The first for columns have static headers and text in them. The 5th column is the date of the report and below that is a list of values in the same column, followed by an … | |
Hello, I have a little question about Screen Video Capture. Does anyone know What the best SDK for video capture is, WME Sdk? or do I even need an SDK. | |
Hello all! I want to make label beside label/etc. For example, after i clicked button then label appear beside its button , and after 5 second / less, i want to make the new label dissapear / erased . Visual Studio, vb.net Thanks Before :) | |
Hello everyone, Many years ago I wrote a large database system using VB. The database was something called vbisam and it worked brilliantly. I had to code every line so user priviledges and logins were controlled by me. Now many years later, I have been approached to write a database … | |
I have been seeing a number of applications where the shortcuts for their buttons are just a single Alphanumeric key. I was just wondering if I could also do that in my applications. My button labeled Open for example, will be triggered if the alphanumeric key "O" is pressed. Is … | |
The DataGridView class is huge and complex. It is a beast I'm still struggling with, but once you learn to comprehend it, I find it most rewarding! Some try to circumvent it by using listboxes and the lot. Why don't get your feet wet with this as basic as it … | |
Hey Every1.. Plz Tell me how can i access The Value In form1 in form2... Well i meant In Form1 theres an object named NUM in which i have Stored Few values Now i want to use this Object NUM in form2 so that i can display its value in … | |
When I input the number in stock it always returns the number ordered as being both back ordered and ready to ship. Please Help!!!! Public Class Form1 ' Class-level declarations Const decDELIVERY_CHARGE As Decimal = 10D Const decRUSH_DELIVERY As Decimal = 15D Const decSPOOL_OF_COOPER As Decimal = 100D Private Sub … | |
Guys I was just wondering if I could create a simple downloader created using VB 2008. The user will enter the complete address of a file from the internet, click the Download button then the downloading process will start. There should also be a button labeled "Paste" which will paste … | |
Dear All , The question is simple , but may be It is very simple for me that I can not see it . I have two dataset , each with with table . each datasets is connected to a separate dataadapter to get data from sql server database file … | |
I have a project and I've been required to start it through the use of a separate coding module. I must decide what actions are appropriate for this project for the coding module (i.e Log-in form). What does it mean? The project uses ADO.NET | |
Hello there, I'm struggling with my computing coursework in college and I though I'd ask here for help. My issue is simple but I can't get it right. I need to validate the text into a textbox and check that it contains ONLY alphanumeric characters, but it MUST contain both, … | |
Hello, I am trying to create an application that cleans the current directory i.e Cleanup/text folder >> test.txt and 2test.txt ect... I have two problems: 1st I cannot cleanup all of the Shortcut files i.e. Adobe.lnk ect... ########################################################################### Here is what I have so far for the .lnk files: [code] … ![]() | |
Hi, Im using a datagridview with a object as its datasource.. Im willing to provide sorting functionality for the same but as the datasource is object it is not allowing me to sort the columns in the gridview. is ther any way to achieve the same? i have visited the … | |
I have been trying to figure this out as the instructor is of no help in his teaching. Need to declare variables for the average score and the letter grade. Calculate the average, use IF/ElseIF statements to determine the letter grade, and return the letter grade. The Private Function CalculateGrade … | |
I keep getting this error when I try to Debug my Internet radio player. I don't know why. I used absolutely no advanced settings. Just had the buttons programmed to make a Webbrowser control go to a URL that would play some music. I even tried to just compile and … | |
Hello Guyz Need some more help now. This is my GUI [img]http://screensnapr.com/e/AuJ8Ka.png[/img] Suppose i have this written in textbox1 [CODE] vb.net gettext leaning daniweb.com 2 learn vb2learn[/CODE] [img]http://screensnapr.com/e/sC969O.png[/img] It should show "leaning daniweb.com 2 learn" in the other textbox Like [img]http://screensnapr.com/e/3MW0jl.png[/img] So the line which should contain daniweb.com, it should … | |
Hi, I need help with Resource files.... That i need to do is running file that i have put in the resource files (exe file) So the idea of this when i click the button the file that i have put run so it cant be happen with shell. is … | |
hi does anyone know how to display selected row from a datagridview to another form that records will be in textboxes.. | |
I have a data base using access which has one column as jobno and which is empty. I want that when my form load (vb.net 2005) it generate a number which then appears in a textbox. Below are my codes please i cant complete it help me. Private Sub Form1_Load(ByVal … | |
Hello! I am just wondering if someone can help me to generate a bar graph where in the x and y values are coming from a sql database. Thank you very much and God Bless. :) | |
Im trying to make a fast food program on which the user will input the amount that he has, then he will click on what he wants, by using check boxes. There are 7 different check boxes with 7 different amounts of money. I got an idea on what to … | |
Hello every one i have a text file containing following data(it is a config file for another program): [pos] 100 [lastsave] 10 How do i replace the value of [pos] i.e 100 with 200?? Thanks BattleX | |
Hello, I am a begginer in VB.NET programming and would like to know some most likely simple things to help me out on my next project. What I would like to know how to do is; Make my application remember an activation serial Make a user login with a 'New … | |
Hi. I have a form contain 10 checkbox. how to count total checkboxes that has been checked? i search over the internet but not found any solution. please help me. i found a code, but when i apply it on my project it says "Unable to cast object of type … | |
Hi, I am developing an application with VB.net and SQL Express. In my application I have many forms as : some of my forms are: Mainform selectmonth_form Form_report Mainform is mdiparent. slectmonth_form as child form In Mainform button click event code I have following code [CODE]If blnActive = IsOpen("selectmonth_form") Then … | |
i get this error when add database source...anyone help me...[ATTACH]19437[/ATTACH] | |
I have 3 tables, one fr[B] SALES, ITEM and SL_IT[/B]. SL_IT connects this two table with many to one relation with two [B]FK for SALES and ITEM[/B] respectively and with [B]QUANTITY [/B]as the third field. Now i want to INSERT records, i do for SALES, and QUANTITY part in SL_IT … | |
I've this very stupid litle problem. I want to populate a combobox with numbers ranging from 00 to 99. But when I ad them with a loop as an integer the first ten numbers apear only with one digit. I wonder, how can I ad a second digit to them … |
The End.