Quantcast
Channel: VBForums
Browsing all 42202 articles
Browse latest View live

person class

hi I have a person class Where I store the name, the city, how many sons and daughter he have. But I have a groupbox with 3 radio buttons not married , married and lives alone. How can I store then in...

View Article


Backup from Remote Computer

Hi In the below code when i take Backup from remote computer it gives me error "Cannot Open Backup Device 'c:\test.bak' operating system error 5 (Access is denied) When i run Backup Utility on local...

View Article


[RESOLVED] Determining the End of line....

I have a code here that selects a particular string inside a richtextbox Dim a As String Dim b As String Dim c As String a = TextBox1.Text b = InStr(TextBox2.Text, a) If b Then TextBox2.SelectionStart...

View Article

VS 2010 SendKeys command in a TextBox?

I'm trying to read a textfile line by line, because each line is a data for mi program (integer numbers). After reading each number, I want to add the number to a textbox and then send the "Enter" key...

View Article

brackets around numbers problem

hi i have this code that goes to an excel file look or a word and copies the value i want here is the code Code: oRng = oWSSheet.Cells.Find("UNREALIZED GAIN - FVTPL_HFT_FT (SHORT) (19611104)", , _...

View Article


VS 2010 Treeview Sort and Group Nodes

Hello All, I have Extended treeview, in order to have Multiselect. I also have Extended three different types of nodes Group, Project and ProjectDirectory from Treenode. The Hirarchy is like Bellow...

View Article

VS 2010 Help with Sudoku game

Hey, I'm trying to write my own Sudoku game. So far, I've written almost everything concerning the game itself. Problem is, the function that creates the board itself, meaning, the generator. Some...

View Article

VS 2008 Pass Exception Message to label on another page

I’m wondering once I catch an exception, how can I use the exception message in another page? How can I pass this exception message into a label on another page? In order so I can have the exception...

View Article


Changing Fonts at Runtime.

Hi, I'd like an opinion on the following code... vb.net Code: Private Sub Face(ByVal a As Integer)        'Style 0 regular, 1 Bold, 2 Italic, 3 Bold Italic.          If a = 1 Or a = 2 Then...

View Article


Combo Box question

Is there any way to make a combobox read only. Users can select from a list, but can not add to it. I dont want to use 'combo1.locked = true' as this prevents users from selecting. Thanks :)

View Article

Query (formula) problem in Crystal XI

I need some help getting this report working. My report is a payment voucher the reports orignal sum, Change Order amounts sum of these 2, sum of amount already paid, balance still in contract,payment...

View Article

Please help me! SOS!

I have to program 2 games for the final exam by VB6, but I don't know its source code. 1) Matching pair game (In this game there are 20 cards, I want to match 2 cards have the same meaning. For example...

View Article

POS .NET vb.net 2012 - print 2 copies of the receipt?

Using the POS.net with an EPSON TM-T20 i have the receipts printing perfectly.... my issue is printing 2 copies. Right now it loops through the code, rebuilding the receipt then printing it a second...

View Article


Circular referencing and seperation

so this big project I have, I'm not able to really make it cleaner. Its VERY tightly coupled together. There is a "coreframework" project which contains heavily type of subclasses and inhertiences. in...

View Article

XML writing problem

I have an XML file that I need formatted in a very specific manner, to wit: <Transactions date="today's date"> <transaction> <trans-line> <UnitQty>1</UnitQty>...

View Article


How to know all bytes received sending byte array

The server sends via Winsock a byte array of a sound file to a client PC. How does the client know when all of the array bytes have arrived?

View Article

VS 2008 Create a Data Source from SQL statement with Inner joins

Hello! I want to create a Data Source which could be displayed in a Form based on an SQL statement with multiple inner joins. Code: SELECT DISTINCT document.id            AS id,...

View Article


Help!

I don't know what i do. My project [Desing] are deleted and i onli have Form1.vb with all code, but the design has disappear. If i want open [Desing] V.Studio open a empty box with nothing. HELP ME...

View Article

How do I make a form always on top

Hi. everyone How do I make a form always on top of other forms.:wave:

View Article

VS 2008 regex to get the first name

Rafael R. Alcorta What is the regex to get the first name only (Rafael)? .* will work but there is a space at the end.

View Article
Browsing all 42202 articles
Browse latest View live


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