20,899 Topics

Member Avatar for
Member Avatar for yuvarajwillbe

I am Creating an application in VB 2008 to Find Bold, Italic text in Rich Text box and replace the Find the result with the following: Bold Text needs to be replaced with <b> Find Result </b>. Italic Text needs to be replaced with <i> Find Result </i>. Underline Text …

Member Avatar for john.knapp
0
93
Member Avatar for ponkhiraj

Hi, Everybody... Can anyone knows what is the maximun character limitation of a Label in Vb.net? Basically i need to scroll a label with timer as Marquee. The label text is coming from a richtextbox. The richtextbox contains more than billions character. I replaced all vbLf(LineFeed) of richtextbox with a …

Member Avatar for tinstaafl
0
188
Member Avatar for ferdzjorge

How to print pdf directly to printer from published site. It works fine in development environment but not in production. Heres my code using pdfSharp. PdfFilePrinter.AdobeReaderPath = "C:\<AdobeReaderPath>\Reader\AcroRd32.exe" Dim printer As New PdfFilePrinter With printer .PdfFileName = <FileName> .PrinterName = <PrinterName> .Print() End With Thanks!

Member Avatar for john.knapp
0
242
Member Avatar for cm670

I have a grid called staff which shows staffNo, name, position. Does anybody have any ideas how i can retrieve the staff number from the grid and use it in an SQL statement? eg select name from staffTable where staff_no =** (value from the grid)**. Thanks

Member Avatar for john.knapp
0
46
Member Avatar for swap002

Hello, I'm a complete noob when it comes to .Net. I'm working on my college project. In my application there's a combobox/drop-down list. My requirement is as soon as user starts typing inside it, i.e. when text_changed is triggered it should retrieve values starting from that letter from a column …

Member Avatar for john.knapp
0
263
Member Avatar for charuwaka

See i want to print my bill separated by lines and should appear like each column spearated by a lineand each row separated by a line. but these should no appear in main form only in print preview it should appear is it possible how can i do it clearly …

Member Avatar for john.knapp
0
114
Member Avatar for swathys

hi, i write a code uisng VB.net. i have design few checkbox and would like to write class function in class file. can anyone guide me how to create and call the function from the class to the page. i have create a class file as below Public Class clsKYC …

Member Avatar for john.knapp
0
492
Member Avatar for LD Company

Hello programmers! I am making File Browser software and I want to display icons of my files in listview. Here is the code: ImageList1.Images.Clear() Dim di As New IO.DirectoryInfo(LocationA.Text) Dim aryFi As IO.FileInfo() = di.GetFiles("*") Dim fi As IO.FileInfo For Each fi In aryFi For Each files In System.IO.Directory.GetFiles(LocationA.Text) Dim …

Member Avatar for john.knapp
0
4K
Member Avatar for shhh

error connecting to databaseAccess denied for use 'root'@'localhost(using password:YES) using System; using System.Data; using System.Collections.Generic; using System.Linq; using System.Text; using MySql.Data.MySqlClient; using System.Windows.Forms; using DPUruNet; using System.Drawing.Imaging; using System.Drawing; namespace UareUBiometrics { class HelperFunctions { private static Fmd[] fmds; private static Fmd[] allDBFmds; public static Fmd[] GetAllFmds { get { …

Member Avatar for kyle.santelices.31
0
286
Member Avatar for DGULLIVER

Hi, I'm printing a VB.NET form using BitBlt API my code as follows: [CODE] ' create a printing component Private WithEvents pd As Printing.PrintDocument ' storage for form image Dim formImage As Bitmap ' create API prototype Private Declare Function BitBlt Lib "gdi32.dll" Alias _ "BitBlt" (ByVal hdcDest As IntPtr, …

Member Avatar for charuwaka
0
542
Member Avatar for Ako.si.tootsx
Member Avatar for Mikey12345

Hi I have a datagridview with a set of 10 rows for data entry. I have a loop that runs through the rows so I need to have a default cell value. can i set a hidden default value. I have the default value pre entered for all rows so …

Member Avatar for G_Waddell
0
51
Member Avatar for rookanga

I have two forms with one listbox on each form. How can I show what I have in the listbox on form1 on form2. I have a button on form1 to go to form2 [CODE]Private Sub btnform2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnform2.Click Form2.Show() Dim sTemp As …

Member Avatar for imatepda2k
0
2K
Member Avatar for kikiey

i have one more question. how to make a connection using lan between two pc? they use a same ip address?

Member Avatar for john.knapp
0
468
Member Avatar for harinisuresh

Download source code of Program : http://www66.zippyshare.com/v/96114261/file.html I got Error 'Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))' of using cross domain in webbroser iframe tag. Error Line : WebBrowser1.Document.Window.Frames(0).Document.GetElementsByTagName("input").Item(0).InnerText = "MyValue1" Please solve the program. Thanks.

Member Avatar for john.knapp
0
238
Member Avatar for andrew_dvw_usr

Hi there, I'm trying to create a math quiz that reads a series of questions from a sequential access flat file. The file should contain a series of numbers, separated by commas. The first field(value) should be the first number for the problem, the second should be the second number …

Member Avatar for Reverend Jim
0
229
Member Avatar for kindofsudden

Being somewhat new to VB.NET, I built a data solution by using wizards and drag-and-drop on forms. My data is in an Access DB and I opened up those tables with Server Explorer and dragged them into my dataset. I connected the tables to datagridviews. Worked like a charm. Then …

Member Avatar for john.knapp
0
416
Member Avatar for Mikey12345

Hi, I was wondering whether there is a way that i can use the bindingsource with a datagridview without a datatable. I have a datagridview that has two columns with a set number of rows and would like to bind it with two textboxes on a second form. Basically the …

Member Avatar for Pgmer
0
113
Member Avatar for jc.lembenguiste

Hello everybody you will excuse my poor englsih I am french, since two month I began to develop an application using Vb.Net . This application must use a database . I chose MS SQL Server for the database, but I dont know how to connect my application to MS SQLSERVER. …

Member Avatar for john.knapp
0
208
Member Avatar for ponkhiraj

Hello, In my program, I have added a SplitContainer with Fill on Form. Where Panel1 keeps all Button and Panel2 keeps other objects, I'm trying to code on SplitContainer_MouseMove event. But it does not work when i'm Panel1, If i move mouse pointer to panel2 and go again in panel1 …

Member Avatar for ponkhiraj
0
597
Member Avatar for pitoloko

How to reproduce this error? Create a new winform Select a backgound image for the form Add a new panel Set color transparent for the panel, set autoscroll = true, and add some controls inside the panel Example: http://i.stack.imgur.com/YxRhx.jpg Now scroll down or up and see the what I say... …

Member Avatar for TnTinMN
0
276
Member Avatar for earlybirdsean

[B]Hello programming experts,[/B] I have a problem. Is it possible to make an OS with VB.Net with C, C++, Objective C, Assembly language, FreeBASIC, C#, BASIC, Java, Object Pascal and with a bit of machine language? And if possible how to mix the languages? And could you give me a …

Member Avatar for almondjoy
0
379
Member Avatar for LD Company

Hello programmers! I made two programms. One is for my marks in school and second is for library for my school. One man who work in the library in my school has error with this my software. Software can't load database anymore. When I start program I got error message: …

Member Avatar for Reverend Jim
0
149
Member Avatar for yous

I have a AXI camera that count the number of people entered the building and show the result on web page with video. The webpages update the count every time it detect a passing person. I believe the page has 2 iframes. I`m trying to insert the value of the …

Member Avatar for tinstaafl
0
1K
Member Avatar for ajitjhajjar

program that contains a Rich Text Box & a scroll bar where scroll bar represents the size of font size of selected text in Rich Text Box as soon as user scrolls the scroll bar.help????

Member Avatar for Reverend Jim
0
480
Member Avatar for Sevyt

Ok my title is probably very vague and unclear. Kind of hard to sumerise in the title. My form has a bunch of textboxes. The content is supposed to be saved with a button. BUT not all the textboxes will have content in them. So lets say i added content …

Member Avatar for Sevyt
0
125
Member Avatar for lulu79

I have two datatables that generate a datagridview like below: 1) datatable name : grpDT ![119](/attachments/large/3/119.JPG "119") 2) datatable name : grpTot ![211](/attachments/small/3/211.JPG "211") I want to merge both datatable so that I the datagridview will be like this: ![34](/attachments/large/3/34.JPG "34") what is the best way to do this? do …

Member Avatar for lulu79
0
4K
Member Avatar for ponkhiraj

Hi, Everyone, i'm here with another problem, I'm working with a windows form where i am adding Panels programmaticaly. With same time when its busy with adding Panels to form I want to work, like- **Loading another form or do another command in another form**. plz help, here is my …

Member Avatar for Reverend Jim
0
1K
Member Avatar for timon.bijl

Hello , i was making the game "Pong" in VB.net 2010 and i had the code to move the 2 bars but can anyone give me the code to let the picturebox with that "cirkel" simbol in move automaticly and also how to bounce further away when touches the bars …

Member Avatar for Reverend Jim
0
91
Member Avatar for Keran

I wanna know how i can make a .net form with textboxes allow me to enter variables and have them trasnfer to a webpage's.. For example i have a form with textboxes for say name, last name, birthdate, password. I wanna enter those variables on the form and have them …

Member Avatar for Keran
0
219
Member Avatar for shhh

Imports MySql.Data.MySqlClient Public Class Form1 Public sConnection As New MySqlConnection Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If sConnection.State = ConnectionState.Closed Then sConnection.ConnectionString = "SERVER = localhost; USERID = root; PASSWORD =; DATABASE = vb;" sConnection.Open() End If LoadPeople() End Sub Public Sub LoadPeople() Dim …

Member Avatar for Pgmer
0
129
Member Avatar for Mirfath

Hi! I am designing a form which contains a datagridview which can display all customer orders. I also have a button inside the datagridview so that if a user clicks the button it will open another form which contains the items which the customer ordered in a datagridview. I am …

Member Avatar for pritesh2010
0
1K
Member Avatar for Lethugs

Hi, I have 3 tables Description, Item, Transaction Description Item Transaction DeID Name IID Name DeID TranNo Type IID Date 1 Printer 1 Styl T10 1 1 Repair 1 2 Monitor 2 MPS 1 2 Repair 3 3 ImpSonic 2 I need to count how many printers, Monitors etc. are …

Member Avatar for Lethugs
0
317
Member Avatar for Neethaa

Dim Cname As String Dim CID As Integer Dim Rmaterial As String con = New OleDbConnection("Provider=Microsoft.ace.Oledb.12.0;Data Source= C:\Users\Lenovo\Documents\Visual Studio 2010\Soft\Database\Login.accdb") con.Open() cmd = New OleDbCommand("select * from Purchase where CompanyID='" & txtnum.Text & "'", con) dr = cmd.ExecuteReader() If txtname.Text = "" And txtnum.Text = "" And txtraw.Text = "" …

Member Avatar for Reverend Jim
0
599
Member Avatar for bprosic

Hi, I have a simple program with datagrid view bounded to MsAccess DB in Visual Basic 2010. When user changes the width of datagridview columns and restarts the program, width of the columns have been reseted to original state. Now, what code can I use and how can I save …

Member Avatar for bprosic
0
549
Member Avatar for Lethugs

Hi, I have 3 tables Description, Item, Transaction Description Item Transaction DeID Name IID Name DeID TranNo Type IID Date 1 Printer 1 Stylus T10 1 1 Repair 1 2 Monitor 2 HP 1 2 Repair 3 3 ViewSonic 2 I need to count how many printers, Monitors etc. are …

Member Avatar for john.knapp
0
189
Member Avatar for James.M.Dallimore

Hi all, Had alot of problems with writing this code to update an access database from vb 2010 - even my computing teacher is at a dead end as what we havent tried. - Da.update(ds, "stafftable") Basicallly i can navigate records fine - but as soon as i try to …

Member Avatar for john.knapp
0
300
Member Avatar for ponkhiraj

Hello Developers, I'm here for your kind help, I am making a program where these codes i wrote: for i as integer = 0 to 5 If TextBox4.Text.Contains("1") Then TextBox4.Text = TextBox4.Text.Replace("1", "_n_") End If If TextBox4.Text.Contains("2") Then TextBox4.Text = TextBox4.Text.Replace("2", "_o_") End If If TextBox4.Text.Contains("3") Then TextBox4.Text = TextBox4.Text.Replace("3", …

Member Avatar for Reverend Jim
0
559
Member Avatar for pratik65

hii, guyz i wanted to learn how to declare and and use one and two dimensional array can any body give me a guidance through an eg.

Member Avatar for B1ts
0
320
Member Avatar for Galbatorix

Hi guys, I normally package a dotnet installer and my software installer for my client and he normally has to install each seperately. Is there a way i can add dotnet installer to my project installer... I do not want to use third party apps like install shield wizard... You …

Member Avatar for Galbatorix
0
286
Member Avatar for pratik65
Member Avatar for Stuugie

Hi all, With BIDS (Business Intelligence Development Studio)/SSIS, I have a process that downloads zipped CSV files. I store the files using the naming convention from the source ie 03260020-eng.csv. In a script task using BIDS, I would like to rename the file to exclude "-eng" but I'm not sure …

Member Avatar for Stuugie
0
191
Member Avatar for jeel.nayak.52

Hi, I am trying to clear the rows of a bounded datagridview without clearing its dataset. I cannot clear my dataset since i m using ds.update() to update changes from my datagrid to the sql database. On every new selection from the combo box( cb_video) the details are inserted in …

Member Avatar for john.knapp
0
176
Member Avatar for pratik65

i am making a Student Grading System in Vb.net which will store student and teacher information into database, as well as it will store student marks of particular semester and exam. i have done with my storing information part and designing part and now i am doing the grade calculation …

Member Avatar for Dili1234
0
1K
Member Avatar for Kukonangagila

Hi guys, i have a project payroll, i need to create 3 reports (" Any kind report format ") im using databindingsource..

Member Avatar for john.knapp
0
129
Member Avatar for Kukonangagila

hey guys, i created payroll system for my thesis project, i want to generate three reports using crystal report from visual studio 2008, but when i try to create connection using > OLE DB (ADO) > Microsoft OLE DB Provider for SQL server > Server = "Servername" > it has …

Member Avatar for john.knapp
0
312
Member Avatar for pratik65

i am making a project in vb.net and i have a bio data form in it i have 2 textbox in it, TextBox1 is for Name and the Textbox2 is for father's name . i want to make the first letters of Name in textBox1 as Capital(eg: Pratik Shukla) in …

Member Avatar for Gé48
0
3K
Member Avatar for Xeta

I created an application that can looks into the database for people having their birthday today and then send mail to them. The issue is that I want the system to do this automatically instead of me clicking it every day. I tried a scheduler but it stops working after …

Member Avatar for tinstaafl
0
287
Member Avatar for lymwale.pablo

Hello guys im in need of a help. I have a checkbox on a Listview1 and i also have listview2, textbox and 2 buttons. On listview1, i have a list of items and its subitems. Then im going to put a check on the one of the listview item then …

Member Avatar for tinstaafl
0
688
Member Avatar for Programmer629

Hi everyone. im kinda bored so i made my own code language. the code is like a=e b=q c=m d=p e=i ect. so i made it into a program. so i started to fill in the code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim …

Member Avatar for Programmer629
0
99

The End.