20,897 Topics

Member Avatar for
Member Avatar for vn412

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(", *", …

0
72
Member Avatar for bettybarnes

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 …

Member Avatar for bettybarnes
0
97
Member Avatar for lielee

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 …

Member Avatar for lielee
0
234
Member Avatar for razree

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 …

Member Avatar for razree
0
290
Member Avatar for mhosny

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 …

Member Avatar for AndreRet
0
928
Member Avatar for prettytonyshort

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 …

Member Avatar for ndeniche
0
142
Member Avatar for FanionGolfer

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 …

Member Avatar for WaltP
0
336
Member Avatar for arjen

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 …

Member Avatar for arjen
0
210
Member Avatar for VIPER5646

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 …

0
60
Member Avatar for tukky

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 …

Member Avatar for tukky
0
261
Member Avatar for bettybarnes

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 …

Member Avatar for bettybarnes
0
204
Member Avatar for brynFlew

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 …

Member Avatar for brynFlew
1
1K
Member Avatar for mogaka

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?

Member Avatar for Luc001
0
70
Member Avatar for tempvbacct

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 …

0
63
Member Avatar for arezz09

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... …

Member Avatar for Jx_Man
0
108
Member Avatar for MUYAH

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. …

0
48
Member Avatar for markdean.expres
Member Avatar for codeorder
0
129
Member Avatar for Dhilip.S

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 …

0
59
Member Avatar for visweswaran28

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

0
64
Member Avatar for IT_Student_604

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 _ …

Member Avatar for Mike Askew
0
198
Member Avatar for tempvbacct

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 …

Member Avatar for codeorder
0
109
Member Avatar for axman1000

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 …

Member Avatar for axman1000
0
216
Member Avatar for Joshua Kidd

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.

Member Avatar for Animal Mother
0
114
Member Avatar for nore

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 :)

Member Avatar for nore
0
128
Member Avatar for adriansen

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 …

Member Avatar for ndeniche
0
134
Member Avatar for markdean.expres

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 …

Member Avatar for Luc001
0
71
Member Avatar for ddanbe

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 …

Member Avatar for ddanbe
2
1K
Member Avatar for afaque01

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 …

Member Avatar for vanzhyme
0
9K
Member Avatar for Kedwards5

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 …

0
55
Member Avatar for markdean.expres

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 …

Member Avatar for markdean.expres
0
178
Member Avatar for waleed.makarem

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 …

Member Avatar for Ranx
0
194
Member Avatar for xxxtian

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

0
69
Member Avatar for Cale93

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, …

Member Avatar for Cale93
0
3K
Member Avatar for m1234ike

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] …

Member Avatar for Huntondoom
0
131
Member Avatar for love_dude1984

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 …

Member Avatar for fairbanj
0
119
Member Avatar for jnolan19

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 …

Member Avatar for codeorder
0
172
Member Avatar for m16piggy

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 …

Member Avatar for Mike Askew
0
168
Member Avatar for vb2learn

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 …

Member Avatar for vb2learn
0
107
Member Avatar for xxxferraxxx

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 …

Member Avatar for xxxferraxxx
0
2K
Member Avatar for bettybarnes

hi does anyone know how to display selected row from a datagridview to another form that records will be in textboxes..

Member Avatar for bettybarnes
0
130
Member Avatar for Yousha

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 …

Member Avatar for Yousha
0
181
Member Avatar for paulablanca

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. :)

Member Avatar for paulablanca
0
88
Member Avatar for rookanga

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 …

Member Avatar for rookanga
0
953
Member Avatar for battlex2010

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

Member Avatar for battlex2010
0
178
Member Avatar for m16piggy

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 …

Member Avatar for RenanLazarotto
0
207
Member Avatar for zarifin99ska

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 …

Member Avatar for codeorder
0
2K
Member Avatar for jazzyb

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 …

0
68
Member Avatar for arezz09

i get this error when add database source...anyone help me...[ATTACH]19437[/ATTACH]

Member Avatar for arezz09
0
87
Member Avatar for chanthung

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 …

0
64
Member Avatar for Eekhoorn

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 …

Member Avatar for Eekhoorn
0
140

The End.