20,278 Topics

Member Avatar for
Member Avatar for tim8w

I have a RichTextBox. I process all the formatting and everything works fine. There is an exception. When I have selected text that have two states of formatting in it, the SelectionFont member is set to Nothing. I notice that WordPad recognizes this condition and kindof greys out the affected …

Member Avatar for ShahanDev
0
159
Member Avatar for G_Waddell

Hi All, I have an application written in VB.net for batch print jobs. As part of the application, the user selects two printer trays to use to print the batch to (one plain paper the other coloured for coversheets and batch seperators) I had this working until we upgraded our …

Member Avatar for G_Waddell
0
228
Member Avatar for WHchaz1027

Hi geeks, I really need your help. I want to query in a table in MS SQL using a data in another table. This might give you an idea on what I am talking about. This is the query I've constructed : "SELECT TABLE1.FIELD1,TABLE1.FIELD2 FROM TABLE1, TABLE2 WHERE TABLE1.FIELD3 = …

Member Avatar for jbisono
0
122
Member Avatar for RenanLazarotto

hey guys! how can I read strings from a file? Like... They will compose part of the interface... something like, read a string from a file, then this string points to a image that will be used in a picture box, as same as a label that will be shown …

Member Avatar for RenanLazarotto
0
129
Member Avatar for noel9

hi friends i m doing login code in vb.net for admin and local user,so i want whenever localuser login he/she cant update the form so i have disable the update button of the form. i took 2 radio buttons admin and localuser so whenever localuser radiobutton selected the update button …

Member Avatar for kvprajapati
0
74
Member Avatar for cs_tx_usa

Hi VB .NET experts, I was wondering if you could give me some help. I am planning to write a simple program which reads two binary files and apply a simple math function ((file1-file2)/(file1+file2)) then outputs the file (file3). Then the user selects the file (file3) outputted as an input …

Member Avatar for kvprajapati
0
382
Member Avatar for sureshbabuganji
Member Avatar for mikeybware
0
39
Member Avatar for mls

Hi, I have a Access table where I would like to set fields values ( swh1_ct and swInfa_ct) to null if my pdmH1_ct or pdmInfA_ct fields have values greater than 0. and vice-versa. Can some one point me to the error in my code? [code] Sub update_field() Dim objDB As …

Member Avatar for mikeybware
0
157
Member Avatar for Viperino

Hello. I want to know if someone can help me with this: I'm starting to write some code to run an office (not professionally). When I write the Client Class, how do I make it that the number of the client be a primary key (unique and auto incremental)? Also, …

Member Avatar for Viperino
0
425
Member Avatar for baldowz

How can i perform a drag and drop in the data grid? I am trying to make a program that can swap row to row or column to row (vice versa) contents. please help thanks in advance ^^,

Member Avatar for baldowz
0
80
Member Avatar for bhagawatshinde

Hi i am working on windows application . I am opening an math type using button want to select all and copy send keys are not working here is my code ... [code] Dim proc As New Process() With proc.StartInfo .Arguments = "file_path.bmp" .UseShellExecute = True .WindowStyle = ProcessWindowStyle.Normal .WorkingDirectory …

Member Avatar for bhagawatshinde
0
1K
Member Avatar for swathys

hi, i have 2 text box 1) account no 2) amount I have a problem whereby i want a text box to accept 9 or 10 digit (after check digit)and then show the 2nd text box but after it accept the 1st 9 digit on the 1st text box it …

Member Avatar for swathys
0
145
Member Avatar for a1a4a

Hello all I am working on a project that convert images to text , and load them from text , so i can save them online then load them as image . But if u could just give me a code of a project with a textbox where i write …

Member Avatar for codeorder
0
393
Member Avatar for Macky Dave

Good Day! I need help. How to make back-up and restore point? what I want to happen is when I click the button back-up. It will generate a back-up of database in access on the current date. And if I click the button restore. the system will restore the last …

Member Avatar for Teme64
0
110
Member Avatar for SMIFMD

Greetings. I have a question regarding MS Access Me.Filter. In short, I am building a personal database for my CD and DVD collection and I have a few CD's that start will a number instead of a letter - such as the band, 3 Doors Down. On my form, I …

0
79
Member Avatar for Dragon840215

Hi Guys / Gals I am new to programming and am having some trouble with my code to update my data from a datagridview wich is bound to a datatable. all works fine until the update proccess is started. The programs updates all my rows (x amount) on the datagridview …

Member Avatar for Dragon840215
0
850
Member Avatar for RenanLazarotto

Hey guys! I'm planning on a private software, that I wish that have multiple pages, like a installer. It will not be a installer or anything, and I don't want to use tabs on it (it doesn't fit to what I'm thinking.) How can I do it? I've tought on …

Member Avatar for RenanLazarotto
0
209
Member Avatar for cjoyce

hey guys i really can't solve this problem, hope you can help me. the problem is, i use this codes to get the data type of a column from an access database Form12.ListView1.Items(j).SubItems.Add(myData.Rows(i)!DATA_TYPE) but what displays in my listview are numbers like (130 , 3 so on..). How can i …

Member Avatar for kvprajapati
0
98
Member Avatar for johntricolor

hi guys.. i just wonder how to refresh when using data gridview,i mean direct refresh coz i've to close program/stop debug and debuging again to refresh it.

Member Avatar for devi.....
0
104
Member Avatar for daskeyboard

The title of this thread pretty much says it all - I would like to know how to open an already created excel spreadsheet (I want the application to launch). Thanks so much to anyone who has time to respond to this.

Member Avatar for kvprajapati
-2
17K
Member Avatar for cjoyce

hey guys i really can't solve this problem, hope you can help me. the problem is, i use this codes to get the data type of a column from an access database [code] Form12.ListView1.Items(j).SubItems.Add(myData.Rows(i)!DATA_TYPE) [/code] but what displays in my listview are numbers like (130 , 3 so on..). How …

Member Avatar for Teme64
0
100
Member Avatar for simonfoley

Hi there More help required! I have a table being imported into my VB application that has 3 columns. I have written code to import the table, and have written code to display on the first column (country) in a list view. What I want to do now is have …

Member Avatar for Teme64
0
100
Member Avatar for atv161

I was wondering if anyone knows how to get text from a cell in a datagrid into a message box or text box? Thanks in advance.

Member Avatar for mikeybware
0
180
Member Avatar for Riga

i want to make program for a quiz. i create the questions is an array, and i want that questions start at random, and never be shown again. [CODE]dim question() as String = {"OTOMATIS MENURUT KERJA MESIN", "TIDAK MENEPATI JANJI", "YANG UTAMA", "TEMPAT TINGGAL KEPALA NEGARA", "PENGURUS RUMAH SAKIT", "SUDAH …

Member Avatar for codeorder
0
127
Member Avatar for mrbungle

Lets see if I can explain- I have a text box (rich text box) in a form. Inside the box, some data gets put in there- specifically insurance information. Normally, the box doesn't need to change color to alert the user there's a problem with the text that's inside, because …

Member Avatar for mrbungle
0
760
Member Avatar for Mike Bishop

i have been looking for help with this now for days and still not able to get this working. I want to make a function to get each line of my txt file and place it in its relavent var. IE DIM ServerV = (firstline of txt file) dim DatabaseV …

Member Avatar for codeorder
0
144
Member Avatar for discovery-power

Hi All, I have had some reall problems with this. I have a form with a datagridview, now I can add new records and the dataset will update fine, but it wont update when I want to delete a record. Please see below my code. [CODE] Imports System.Data.SqlClient Public Class …

Member Avatar for discovery-power
0
91
Member Avatar for Mike Bishop

Hi All, I have a text document that am pulling infomation out of. i only want to collect the information after the = sysmbol which is on each line. here is the code so far [CODE] Dim FileName As String = "C:\test.txt" Dim TextFromTheFile As String ' Whole text Dim …

Member Avatar for Mike Bishop
0
125
Member Avatar for paulablanca

Hello there. I would like to ask if it is possible for datagridview to have a "drop down calendar" for date inputs and checks when one date is chosen 10 times already. Thanks. If ever this isn't possible, please do tell me some alternatives. Thanks again and God Bless. :D

Member Avatar for paulablanca
0
163
Member Avatar for xNegma

HI everyone, i am currently having problems with Datagridview, for example when i select the first checkbox, second checkbox onwards. I would like to update the textbox on my form to display '2' records selected. But there is one problem i faced is that when i deselect the checkbox, it …

Member Avatar for Luc001
0
111

The End.