20,899 Topics

Member Avatar for
Member Avatar for blackknight469

hey everybody! :D I am a major noob at programming and I am using VB '08 Express and want to use a text file to set variables on seperate forms of one program. What I would like to know is if i should use seperate files for each form and …

Member Avatar for blackknight469
0
86
Member Avatar for Merovingian

Title probably makes no sense :) I have a single picturebox button that I will be using to open new forms. Is there a way to set a variable and then have the button open the form name included in the variable I really dont know where to start as …

Member Avatar for EvolutionFallen
0
185
Member Avatar for Ana D.

Hi, In my page, I have a GridView and a FormView. Every time a selected item in the GridView is edited in the FormView, both the GridView and the FormView are updated. In the FormView, I have a couple of textBoxes and a checkBoxList. I want to bind the checkBoxList …

0
55
Member Avatar for X~G

Hi all, I need help with creating an application in vb.net that will behave itself a taskbar in that it will # attach to an edge of the screen {sort of like a scrolling marquee or jet audio(PC) toolbar mode}. # not overlap any other windows but wedge itself in …

0
36
Member Avatar for avgVBUser

Could someone tell me how to include a timer inside of a class? I was trying to set up a panel class that has some generic information in it to be included in many of the form windows included in a bigger project. It would also have some other information …

Member Avatar for avgVBUser
0
122
Member Avatar for aalto

I'm new to VB 2008 Express, but I want to produce a user interface (a form linked to an access database). Comboboxes and textboxes work fine. Each box being linked to a separate database column. My main problem is with duplicate entries in each database column. I want the 1st …

Member Avatar for aalto
0
107
Member Avatar for vampke

Hi guys, I'm trying to communicate with an external hid-compliant USB device. I've been looking for a way to do this, but I'm not getting anywhere. With the [url=http://www.lvr.com/hidpage.htm]Generic HID Tester[/url] I did not manage to get proper communication, allthough I got the application to recognise the device using the …

Member Avatar for vampke
0
100
Member Avatar for hery

this is my code in vb6. How to in vb.net??? Please tell me?? Thank's [code] Public Function Tgl_Max(Month As Integer, YEAR As Integer) As Integer Tgl_Max = Day(DateSerial(YEAR, Month + 1, 0)) End Function [/code]

Member Avatar for benson waweru
0
97
Member Avatar for stormshell

can someone help me with this issue i don't see why its not initializing but here is my error: [code]Object reference not set to an instance of an object.[/code] And Here is My Code: [code=language] Dim pic As New PictureBox Dim frm As New Form Public lbllist As Generic.List(Of Label) …

Member Avatar for Arunabh Nag
0
100
Member Avatar for chanlichin

[quote]I get the bar as the picture below. But the value for each bar display is too crowded. So can i know how to change the vertical values(each stack bar) into horizontal value.Thanks.Below is my coding.[/QUOTE] [img]<a href='http://img513.imageshack.us/i/58407423.jpg/'><img src='http://img513.imageshack.us/img513/8098/58407423.jpg' border='0' alt='Image Hosted by ImageShack.us'/></a><br/>[/img] [code] myPane.BarSettings.Type = BarType.Stack myPane.XAxis.Type = …

0
79
Member Avatar for bustanji83
0
51
Member Avatar for realone

[code]' Add template and surname to database. Returns added template ID. Public Function AddTemplate(ByRef template As TTemplate) As Long Dim da As New OleDbDataAdapter("select * from Biodata", connection) Dim txtsurname As System.Windows.Forms.TextBox txtsurname = New System.Windows.Forms.TextBox() ' Create SQL command containing ? parameter for BLOB. da.InsertCommand = New OleDbCommand("INSERT INTO …

Member Avatar for kvprajapati
0
157
Member Avatar for murid

i'm try to send many picture using socket programming in VB 2005 from client to server. but, after i run the program, only the first picture that reach destination server. and there is an error saying that my socket are no longer connected after the first picture are sent. client …

Member Avatar for murid
0
352
Member Avatar for hepsy.i

I want to update my database( using a file from my root folder ) every hour even when my web page /form is not opened in the browser.... Please help Thank u

Member Avatar for kvprajapati
0
264
Member Avatar for pbbhatt

This is error messages. Server Error in '/trialwebsite' Application. Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that …

Member Avatar for Ana D.
0
267
Member Avatar for deeputan

I need to create a form containning one list box & two buttions The listbox is used to list all installed printers on computer. Button1 is used to select default printer from listbox Button2 is used to close that form.

Member Avatar for sknake
0
54
Member Avatar for Harssh

I am developing application where I want to give a choice to user to make backup of database in case of syatem crash etc. I know how to copy a file from one location to another loaction using filesystem.copyfile but i want to get information of user system and its …

Member Avatar for sknake
0
308
Member Avatar for EvolutionFallen

Hello, I am writing a program (for fun as well as for practical uses) that will allow me to keep track of several projects I am working on and how long I have spent working on each. My program has a class "Project" which has the following variables: [code="VB"] Private …

Member Avatar for sknake
0
250
Member Avatar for chandiusjp

hi all, i am trying to add check box to my datagrid view and update checked rows to sql server. please help me. i am using vs 2005 and sql 2000 thanks in advance.

Member Avatar for kvprajapati
0
75
Member Avatar for bist

i want 2 develop some application in vb.net as my final year project m a student of btech final year cud u pls help me in dis

Member Avatar for Stevoni
0
80
Member Avatar for Merovingian

Hi all, I've got my restore database code working good but was wondering if there is anyway to get some feedback from the SQL server during the restore? [CODE] Dim sqlstr As String sqlstr = "restore database " + dbNameFinal + " from disk ='" + tbBAKpath.Text + "' with …

Member Avatar for Merovingian
0
168
Member Avatar for ggl0rd

i got problem to save the record after edit the record.. this the error [B]Operator '&' is not defined for string "UPDATE RekodAnggaran SET Nama='A" and type 'DataRowView'.[/B] code save [CODE]Private Sub btnsimpan_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsimpan.Click con.Open() [B]sql = ("UPDATE RekodAnggaran SET Nama='" & …

Member Avatar for sknake
0
133
Member Avatar for ggl0rd

i got 2 form... 1 form for add, delete, find record in database(access) 2 form show record in database(same database) use datagridview. but the problem now, when i delete or add new record in database at form 1. then i go to 2 form, try to see record show in …

Member Avatar for sknake
0
122
Member Avatar for lil_Is

Hi all, I am doing a project on creating send and receive sms application just like a software named Mozat M2U. I just want to know what are the different ways of sending and receiving sms. When I am doing my research, some of it uses sms gateway which is …

Member Avatar for lil_Is
0
158
Member Avatar for Harssh

Hi I am using ms access 2003 with VB.NET .I want a textbox or similar to take user query and to show respective results in datagridview queries : select with where clause field name with yes/no in form of check box Thanks in advance!

Member Avatar for kvprajapati
0
46
Member Avatar for sandipdandel

hello for database in my vb.net application i want 2 create backup file in another location of or drive of user comp.. by clicking "backup" button

Member Avatar for sknake
0
45
Member Avatar for sandipdandel
Member Avatar for sknake
0
43
Member Avatar for diya26

Hi I'm new to developping applications in VB.net I need help with a simple select statement. SQL statement: Select "LYC Code" from [General ledger Setup] I don't how to write that particular select statement in vb.net when there are spaces in the names of the table and field . Can …

Member Avatar for sknake
0
69
Member Avatar for mania_comp

I am installing sql server 2005 express as a pre-requisite along with my VB.net application setup. When I run-setup, set-up starts and after 2 or 3 minutes it gives error as follows : [COLOR="Red"]Component SQL Server 2005 Express Edition SP2 (x86) has failed to install with the following error message: …

Member Avatar for sknake
0
200
Member Avatar for yorro

I am trying to read a specific line from .txt file. The problem is the the whole application hangs. It does not display any error, just hangs [CODE=vb] Imports System Imports System.IO Dim Username As String = "" Private Sub Form1_Load() Try Dim Filereader As New IO.StreamReader("Test.txt") Dim CurrentLine As …

Member Avatar for yorro
0
152
Member Avatar for hery

Hello all, How i can delete value variable using vb.net.. I try this one.. strTBL_T5_Lookup = "" or strTBL_T5_Lookup = nothing But value is still in there. Why my code is not working. Please tell me??? Thank's

Member Avatar for kvprajapati
0
106
Member Avatar for doomfrawen

Hi again guys :D I need to make a program that reads a txt file, show the original file on a RTB and then show the words of the file, sorted alphabetically with the number of words found on the file in another RTB, e.g. INPUT: "That fox killed my …

Member Avatar for doomfrawen
0
209
Member Avatar for Sylenas

Hey, i am working on a project that saves and load text files just so i can get the coding down for later projects. I am able to specify the location of the file to load eg. the Load File Dialog and the user specifies the location of the text …

Member Avatar for kvprajapati
0
139
Member Avatar for ramabala

how to check if a directory contains any files or not?if files exist how to delete them in vb?

Member Avatar for sknake
0
1K
Member Avatar for yorro

This is my code: [code=VB] Private Sub NextForm() Form2.Show() Me.hide() End Sub [/code] [B]Problem: [/B]The first form fades out and the second form fades in. Between the transition of [B]Show()[/B] and[B] Hide(),[/B] the actual desktop is seen. The only solutions that I could think of is; 1. Not to hide …

Member Avatar for yorro
0
405
Member Avatar for bbxrider

the somewhat complex run command built below: cmd = "" & htmlDocExe & " --webpage --fontsize 8 --fontspacing 1.3 -f " _ & """" & outPdf & """" _ & " " _ & """" & inHtm & """" _ & " --datadir " & """" & dataDir & """" …

Member Avatar for sknake
0
188
Member Avatar for chandiusjp

Hi All, i worked hard with following error from two weeks. when i am connecting to my sql database from client machine using vb.net following error occured. its worked for local machine. "an error has occured while connecting to the server. when connecting to sql server 2005 ,this failure may …

Member Avatar for samir_ibrahim
0
258
Member Avatar for Peric

So, i'm working on VB.NET application but I'm having problem with one MSSQL query. [CODE]SELECT ISNULL(Sezona.NogSezona, '') FROM Trener LEFT JOIN Licenca ON Trener.BrTrenerskeIskaznice = Licenca.BrTrenerskeIskaznice LEFT JOIN Sezona ON Sezona.IDSezona = Licenca.IDSezona AND Licenca.IDSezona=3[/CODE] This is the code I've been using 'til now, but it's not working as I …

Member Avatar for Peric
0
238
Member Avatar for tomtetlaw

I am new to vb.NET and I have decided to make an image viewer, and what I want to do is resize the image it loads to fit the picture box, how do I do this? My image is a System.Drawing.Image object.

Member Avatar for tomtetlaw
0
87
Member Avatar for danielagaba

hi i designed an application in Visual Studio 2008 that uses crystal reports. When i run the application in Visual Studio, the application generates the reports with no problem. After packaging and installation though, a Just In Time Exception is called when a user tries to generate a report.

Member Avatar for danielagaba
0
125
Member Avatar for ggl0rd

this is a error when i click the button add Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound. [CODE] DataGridView1.Rows.Add((txtPelan.Text), (txt36P.Text))[/CODE] \ anyone can help me?

Member Avatar for GeekByChoiCe
0
120
Member Avatar for awestove

I am writing a very basic memory match card game, and am trying to get the program to flip over the selected cards, wait 2 seconds so the user can see the values, then flip back over. The code I have to do this is: [CODE]Private Sub Label_Click(ByVal sender As …

Member Avatar for awestove
0
141
Member Avatar for atplerry

Hello i want help on saving large text into the database and the structure of the data should be maintain i.e the paragrah,insertion point, list example if i enter a an html code structure in a textbox on saving and retriving it to display i should retain the structure, I …

Member Avatar for sknake
0
127
Member Avatar for QuickBooksDev

Script works in MSIE but not FireFox (part of a VB.NET 2005 web site) There must be a place in FireFox or a JavaScript settings somewhere that allows errors to continue. The below works in MSIE var _rate = "ctl00$ContentPlaceHolder1$txtrate"+index; var rate = document.getElementById(_rate).value; index = 1 to 10 for …

Member Avatar for QuickBooksDev
0
186
Member Avatar for ggl0rd

anyone can help me fix this coding.. this coding output is string output.. but i want output in double.. [CODE]Private Sub OutputPremium() With ds.Tables("KadarPremium").Rows(cmbPremium.SelectedIndex) Select Case cmbPelan.Text Case (1) lblPremium.Text = .Item("20TP1") Case (2) lblPremium.Text = .Item("20TP2") Case (3) lblPremium.Text = .Item("20TP3") Case (4) lblPremium.Text = .Item("20TP4") Case (5) lblPremium.Text …

Member Avatar for ggl0rd
0
111
Member Avatar for vaq

Would I be able to make 2 of my forms share properties? Like, uh, I want form1 to be my main program, but I want form2 to have my programs 'options'. Then when the 'save' button on form1 is pressed, it will save the information on form1 and the options …

Member Avatar for vaq
0
102
Member Avatar for Ana D.

Hi, I have a FormView where records can be visualized, edited and inserted. When inserting or editing, I have a CancelButton. In my routine all I have is: [code=vb.net] Protected Sub CancelLinkButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) SitemapFormView.ChangeMode(FormViewMode.ReadOnly) End Sub [/code] When debugging, I could see the routine …

0
58
Member Avatar for mania_comp

HI experts..I need ur help.. VB.NET category I need script that can be used to do settings for allowing SQL SERVER 2005 Express to allow remote connections. The settings that we do manually after installation [COLOR="Green"][B]i.e to enable TCP/IP in remote connection in Configration Manager , start Browser service, set …

Member Avatar for sknake
0
476
Member Avatar for rizillion

I want to select multiple records from sql table and insert it to a dataset when the selected index is changed from a combo box. for example if i select "1" from the combo box then, only values with "1" in the sql table's mentioned column should be inserted into …

Member Avatar for rizillion
0
905
Member Avatar for dre-logics

[TEXT] I have in Visual Basic 8.0 a MaskedTextBox1 with the mask "00/00/0000" (short date) I have in my MYSQL table a fields : "name" datetype CHAR(15) [COLOR="Red"]"birth-date" datetype DATE[/COLOR] "birth-place" datetype CHAR(15) I have one record: Name birth-date birth-place Andre [COLOR="red"]01-01-1974 [/COLOR]Amsterdam [/TEXT] [CODE] Me.TextBox1.DataBindings.Add("text", myData1, "name") Me.MaskedTextBox1.DataBindings.Add("Text", myData1, …

Member Avatar for dre-logics
0
77

The End.