20,284 Topics
![]() | |
So, I'm making a program that has a "Print" button. I want it to open a PrintDialog, let the user select the printer they want to use, and print the contents in the RichTextBox/TextBox. I was thinking about this: [CODE]Print.RichTextBox1.Text(PrintDialog1)[/CODE] But it didn't work. I also tried: [CODE]PrintDialog1.RichTextBox1()[/CODE] Those came … | |
Dear, Currently I am working on VB.Net 3.5 Win Forms. I have few queries about datagridview, I believe your expertise will help me to overcome this. 1) I have DataGridViewComboBoxCell and DataGridViewTextBoxCellinserted into the the datagridview1, which in turn bounded with the datable, Here I want to update/edit the value … | |
I was wondering how i would be able to validate a textbox for the E-MAIL address of a person. For example it cant have anything like "`#[]-=+-></~| etc. it MUST have an @ and a .com or .co.uk at the end of the e-mail. anyway i was wondering how i … | |
hi. im so lost now. teying to look fro a reason for this error but come up empty. heres me problem, Im using MS access as my DB. and VB.net i have a query in my DB that uses a USER-DEFINE FUNCTION... If i open my query in the ACCESS,, … | |
Hi I was wondering if anyone can help. I am writing a program in vb.net 2008 and need to be able to send and receive files using Zmodem through the a comport. I have search the net and have not found much to do with Zmodem in VB.net. I am … | |
I'm using Visual Studio .net 2008 to build my Crystal Reports. I have a simple table that shows training records of people. Training takes 5 days to complete, and each day has a record in a SQL database. I can display all the data, but want only to show the … | |
Hi All I am having a problem that's driving me crazy. I've just moved a .Net 2 website to run on .Net 4. The conversion went without any problems and everyting runs well on my development machine in both its raw and built forms. But... when I move the site … | |
Hi Well I don't know whether it is possible or not, but i wanted to change language setting of a system using windows(XP) registry via VB.net code in English US. | |
hi Everyone, My program is doing good when I suddenly bumped into this problem. I dont know how to do the next functionality that I need to accomplish. I am done with inserting values, showing the gridview etc and it works great. Now my problem is the update command. I … | |
[B]1.[/B]I want my program to get the drive letter (like c:\,d:\) on form load and save that to a variable.What should i do to get the drive letter? [B]2.[/B]I want my application to fire this command (shutdown -s -p) on button click. But if i use this path (process.start("F:\Windows\System32\shutdown.exe -s … | |
Guys, I have encountered this pal in our school who can open my password-protected applications using a combination of keys which starts with the ALT key. I am afraid he could use it to malevolently open my applications and other applications that contain confidential information. Does anyone know this key-combination … | |
I have two radio btuttons which link me to another form but they have failed to likk me to the forms i directhem to link me to. i dont know if ther is any problem with my code this is the code. some one to help me [CODE] Dim one … | |
i have installed VB2008 EXPRESS EDITION. i have added com component msflexgrid ,but Getting error with this component An error occurred creating the form. See Exception.InnerException for details. The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) how to resolve this. | |
[QUOTE=swathys]Hi, I have a problem to solve this, when the 1st language button clicked it should carry the language that already specified in xml but it seems my code doesn't work in that way. Can you help me please ! Form1 [CODE] Private Sub FlashObj_FSCommand(ByVal sender As Object, ByVal e … | |
Hi, I have create an application in vb.net and ms sql 2005 as database storage. How do i create an installer that can be included in a CD. What i mean is if i want to install it in the virgin PC the Installer CD would be able to run … | |
With ListView and ListBox, you can have multiple selections when you set the property to do so. There are different ways to delete all selected items from a ListView and ListBox, right or wrong. I have some lessons learned on the topic. (1)Use For Each loop in ListView. (It works) … | |
I need to make an application that can calculate the items the user chooses from There is 7 different items the user can choose from Small Coffee $4.95 Medium Coffee $6.87 Large Coffee $8.52 Bagel $2.99 Cream $0.71 Sugar $0.50 Lid $0.99 Total the coffee order (subtotal + tax at … | |
Hi i have a program in which i want the main form to get information either from the login form or from the sign up form depending on which one is used. Here is the code below. The information does not seem to appear although there is no error. Please … ![]() | |
I have a combo box with a list of my customers, when a user selects a customer i have the customer code populate a label called LBcustomer. here is how i populate my combo box [CODE] Dim connString As String = "Data Source=" & ServerV & ";Initial Catalog=" & databaseV … ![]() | |
Hi all I need a bit of help I don’t know what I am looking for, basically I want a rich text box to display public variables like (pizza toppings dinks ect that have been selected in other forms) these variables have declare in a module. But I want the … | |
Hi All, can anyone give me the regx expression to be used to search for ip address in microsoft visual studio versions. If I open text files using Visual studio and ctrl+Shift+F, search al open documents, then give the regex, it should list all the ipaddress contained lines at the … | |
OMG, im doing my project and whenever i edit it, i cant see my changes when i debug it, and i always get these frustrating errors: Could not determine the dependencies of the COM reference "PAGEOBJECTMODELLib". Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)) WindowsApplication1 Could not determine the … | |
Okay, So I'm currently working on my A2 computing project, and I am having slight difficulties updating and saving the data in my database when it is entered on a form in VB. I cannot find any reason why it wouldn't work, but if someone could suggest a better way … | |
hi guys, ive just learned how to use crystal reports and im wondering how can i use inner join in selecting my data to be displayed in CR. and also how can i group them with a specific field, thanks a lot guys! :D | |
Hello Coders Need help I want to remove the lines that contain specific text. (Whole Line) Eg: Textbox1.Text = [code]learn lines dani knows everything web knows lines lines knows daniweb everything dani everything lines [/code] So textbox1.text will become and remove whole line that contains the word "daniweb" [code]learn lines … | |
This snippet is to create a user control that will only take numbers. Numbers will accept decimal values, for which the NumberBox is validated to take only one. The implementation for the control is the same as it is for the TextBox, since it is inherited from this class and … | |
Hey guys, I got this code to upload an FTP file which works great, but what do I do when I wnat to upload the contents of an entire folder? I mean, I could make a for-each but that would mean disconnecting and reconnecting to the FTP server alot of … | |
i hve create checkbox in listview.. how to export check item in list view to crystal report, so i can print item that i hve check.....anyone.. | |
Hi to everyone! I am new in programming and I'm making an application that can filter records on datagrid from the user's input in textbox..I tried this code that I also got here.. But I'm getting an error..please help me..thanks in advance.. ERROR MESSAGE: An unhandled exception of type 'System.InvalidOperationException' … | |
Guys how do I save settings of a form like its background color, fonstyle, sontsize etc. I cannot save them as string or text into my access database. |
The End.