20,285 Topics

Member Avatar for
Member Avatar for liqin

I have tried the following codes. The maximised window worked but the centralizing failed. How centralize a form in maximised window? [CODE]Me.WindowState = FormWindowState.Maximized Me.Left = (Screen.PrimaryScreen.Bounds.Width \ 2) - (Me.Width \ 2) Me.Top = (Screen.PrimaryScreen.Bounds.Height \ 2) - (Me.Height \ 2) Me.StartPosition = FormStartPosition.CenterScreen[/CODE]

Member Avatar for QVeen72
0
117
Member Avatar for WillC9999

Hi, I am having some 'fun' with a VB.Net DLL. I have written and debugged my DLL, built it and copied the .dll file to a separate 'live' folder. Calling applications will reference the DLL in this folder. Now, when there is an error in my application the DLL code …

Member Avatar for sknake
0
107
Member Avatar for gu0gu0

hi, i debug it keeps show: Syntax error in FROM clause. i google and read many website tried remove ' ' from sql line still cannot. can anyone help pls [code] Public Class frmLogin Dim mypath = Application.StartupPath & "\password.mdb" Dim Password = "" Dim conn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\Users\Du\Documents\password.mdb") …

Member Avatar for gu0gu0
0
107
Member Avatar for samuel_1991

With regards to another thread, [url]http://www.daniweb.com/forums/thread251069.html[/url] on how to compare the current date to retrieve relevant data (Details there), now I have issue on storing this query result on a VB.net variable. It works in this way. It is an academic work to do a ecommerce website, and I need …

Member Avatar for samuel_1991
0
1K
Member Avatar for Joomla12

I've got everything ready to go except for genre selection. I have a combo box added to the bottom of the player at the bottom of the program with a list of different genres. My question is, how do I get the radio to load one of the genres when …

Member Avatar for parkeyparker
0
97
Member Avatar for spxChrome

I know how to add the items during design time but how do you add the items through code. I want to fill the combo box in the datagrid with the results of an SQL query?

Member Avatar for parkeyparker
1
91
Member Avatar for tanvirahmad

hi experts i want to some change in textbox class , lick in got focus of textbox change color of text box and leave of text box change old color, i want to set Permanente code in text box property, after changing we give a new name to text box …

Member Avatar for Stevoni
0
99
Member Avatar for learn_vb.net

hello..i am new to VB.net i know VB i created a button on the form [code] private void button1_Click(object sender, EventArgs e) { MessageBox.Show("neha"); } [/code] i am not getting display .I just get a blank form when i choose start debugging

Member Avatar for learn_vb.net
0
96
Member Avatar for SORelena

Hello guys, I wrote a program VB 6 At the opening show me this window Please help quickly....:)

Member Avatar for SORelena
0
290
Member Avatar for Chris147

Can someone please help me with this - it's driving me mad. I have a very simple app (at the moment) that stores file names/paths and folder names/paths in an SQL database and displays them in a ListView and TreeView respectively. All fine and dandy. I have an option to …

Member Avatar for Chris147
0
124
Member Avatar for tqmd1

Dear Sir, How to write these codes correctly. It displays following tooltip Too many arguments to 'public function iif(expression as bolean, truepart as object, falsepart as object) as object'. [CODE]Dim cmd As New SqlClient.SqlCommand("Insert Into master (code) Values (@code)", con) cmd.Parameters.AddWithValue(IIf(Val(Me.TxtCod) = 0, "Null", "@code", Val(Me.TxtCod)))[/CODE]

Member Avatar for jireh
0
116
Member Avatar for matimba2j

i asking for your help.i need a code on how to detect network in the dashboard.

Member Avatar for anoop4real
0
106
Member Avatar for maliknouman

Hi i want to save a picture of employee in SQL server Database in my college project payroll system, Please Help me in this matter and give me one example of this.

Member Avatar for tqmd1
0
136
Member Avatar for saran456
Member Avatar for ZidaneXero

Hello Everyone I'm using VB 2005 to do a small program to find clients and print a label, and i have crystal report to print the label, but it only prints the clients information. So i want to add a comment box in the print label form that i use …

0
46
Member Avatar for jt_murphree

I have a form with a table bound to a binding navigator. When I add a new record and commit it to the database I have to query the DB for the id of the record in order to to cave other records associated with the new one. The only …

0
70
Member Avatar for kzdev

I am using Microsoft Visula Basic 2008 Express edition. How can I open an xls file, to store and read data from it?

0
87
Member Avatar for coolheadedguy

I am currently working on my project which involves me developing a system where order can be placed to buy sports kits. I am implementing security features like Encryption, Access control and Intrusion detection/tracking. The intrusion detection/tracking part simply has to do with knowing what each employee does, data viewed, …

Member Avatar for Obiora
1
145
Member Avatar for Edmondo

Hello All Does anyone know how to pass data from a textbox into a pre-defined outlook message? I have some code I found which does a search for certain words in Microsoft Word documents and replaces them with the values from a textbox but when I try to convert this …

0
59
Member Avatar for rciprogrammer

Hi I am currently porting (well really totally re-writing) a project to run on WM6 devices. I need to initiate a GPRS data connection (or any internet data connection really, shouldn't matter if its GSM or CDMA) before I can get the data I need (actually sync. a database over …

Member Avatar for shifa888
0
116
Member Avatar for dev_1710

I m IT student, I want to make project in vb.net plz, [B][U]sugest me latest topic[/U][/B] on which i make project.

Member Avatar for freedos
0
101
Member Avatar for pysdex

I am very new in VB.Net. I can read the integer with no problem at all but I just cannot extract the equation I enter. I enter A+B, I can read it no problem, but how do I extract the equation information to make the two number to add together …

Member Avatar for Ranx
0
92
Member Avatar for jcb0806

I HAVE PHOTO ATTACHED I'm trying to come up with some code that will make the 'Acct #' label and text box ONLY appear when some text is typed in the text box beside of 'Prime Broker', 'Custodian', etc. Can anyone help? Thanks.

Member Avatar for kvprajapati
-1
86
Member Avatar for gianrocks

hey all, i have a project that is like a server and a terminal interface. the server is the one that can only make changes in the database and the terminal is more of storing what is in the database. here is the problem, i have stored a PDF file …

Member Avatar for Ranx
0
379
Member Avatar for tanvirahmad

hi experts i m using fallowing code for update, delete and save data it's working very well when i save new recored but when i update and delete recored it's showing error message [B] "Dynamic SQL generation for the DeleteCommand is not supported against a SelectCommand that does not return …

Member Avatar for Ranx
0
138
Member Avatar for jjohnson0819

I wrote a custom web service to submit a form from sharepoint to sql. The form works properly and says the form submitted sucessfully but no data is stored in sql. I am pulling my hair out. Any help would be appreciated. Code is below. [CODE]<%@ WebService language="VB" class="Submit" %> …

Member Avatar for Elehas
0
151
Member Avatar for jimib

I have a very complex multi-page form I am developing in the Crystal Reports which is included in VS2008. There is always 1 Page A. There may be 1 or more page B. There may be 1 or more Page C. Page A has 7 subreports and a header from …

Member Avatar for jimib
0
178
Member Avatar for nick447923

I am a beginning programmer and am having a problem with adding a record to a customer table in a Microsoft Access database. I have worked for hours reading my textbook and troubleshooting to no avail. When I execute this code below the record is not added and I do …

Member Avatar for nick447923
0
109
Member Avatar for TonyR54

Help needed please. I have a VB.Net solution using a web service that was developed by another developer and has been working for years. Now all of a sudden it fails with this error message: A first chance exception of type 'System.Configuration.ConfigurationException' occurred in system.dll Additional information: Unrecognized configuration section …

0
46
Member Avatar for yasinirshad

Hi, Am getting this error "System.NullReferenceException: Object reference not set to an instance of an object." This error comes when i am trying to export crystal report in excel format. Exporting to pdf works fine though. On local development machine, exporting to pdf and excel works. On server, only exporting …

Member Avatar for guytang
0
249
Member Avatar for judge6

Hi, what I am trying to achieve is to extract a certain word from a .txt file, eg. "word". I am also running an XML file into a dataset. Within this dataset I want to locate the column which has the name "word" (same string from txt file). Once I …

Member Avatar for judge6
0
86
Member Avatar for JAM1011

Hey there, I am having a little trouble with my select statement. It works grand until I but a where clause in. then I the follow error [I]Syntax error (missing operator) in query expression 'MacStatus where((Rating =70 ))'.[/I] This is the string I am submitting to the DataBase . [CODE] …

Member Avatar for JAM1011
0
104
Member Avatar for chiquest
Member Avatar for kvprajapati
-2
31
Member Avatar for SarojKumar12

i want to insert only integer value from front end. Example- i have a textbox1 in a window form. i want to insert only price in integer. if i write a string value in it, it display a msg to please insert correct value.

Member Avatar for kvprajapati
-1
29
Member Avatar for kzdev

How can I print a mathematical formula in a form? For a example I found in wikipedia a guide to do it in HTML: [url] [URL="http://en.wikipedia.org/wiki/Help:Displaying_a_formula"]http://en.wikipedia.org/wiki/Help:Displaying_a_formula[/URL] But how can I do it in VB2008, showing the formula in a form?

Member Avatar for kvprajapati
0
90
Member Avatar for snarb

Hello, I'm new to vb. Basically, I want to learn how to remove the last part of a string if its seperated by spaces... For Example (How to change): "John said 687" To "687" or "John decided to say hello" To "hello" in otherwords, the last word of the string, …

Member Avatar for tede_saputra
0
141
Member Avatar for jad2010

I am trying to build a VB.NET 2005 windows app which gets cars info from a webpage(webapplication) that has a username and password. I was able to programmatically login to this webpage(by automatically populating the input boxes using webbrowser control) And after I logged in, I could view the cars …

Member Avatar for jad2010
0
198
Member Avatar for SyLk

New to VB.NET How do you create a label which is'nt associated with a handle so that it displays the data when the form is loaded with clicking it etc?

Member Avatar for cellus205
0
84
Member Avatar for skyyforever

Hello everyone, I'm trying to implement windows form with data grid (or anything you say is better) which should represent a hierarchical data. This data are stored in a xml file which structure is as follows: [code] <elements> <element> <term>name of element</term> <subelements> <caption> <term>caption name</term> <subelements> <caption> <term>caption 2 …

Member Avatar for gusano79
0
180
Member Avatar for kzip
Member Avatar for staginfo

I apologize for not knowing the proper terminology. I'm trying to connect to a database, and the tables appear, but there are no entries in them! What did I do wrong? [CODE] Dim MyConnection As OleDb.OleDbConnection Dim MyAdapter As OleDb.OleDbDataAdapter Dim MyCommand As OleDb.OleDbCommand Dim StrConn As String Dim StrSql …

Member Avatar for staginfo
0
213
Member Avatar for rfrei

I'm writing a batch publishing program in VB.NET using VS2008. My program is a Windows form. The program spawns a process called "xtop". The process converts one CAD format to another. The conversion process demands heavy CPU cycles. The user will add "jobs" to the batch. The batch program will …

Member Avatar for rfrei
0
236
Member Avatar for tqmd1

Dear Sir, Table Employees has data as follows sno----name 1------Eric 2------Boris 3------Bill Whien I enter "B" in text5 and run following codes then it show error message as [CODE]IndexOutOfRangeException was unhandeled There is no row at position 0I have two question[/CODE] 1) Why it does not select name begins with …

Member Avatar for tqmd1
0
106
Member Avatar for tqmd1

Dear Experts How to display the value of variable abc as tooltip text on picture1 dim abc as string abc=trim("Click to rotate picture") Please help

Member Avatar for anoop4real
0
94
Member Avatar for anoop4real

Hi, I have an icon file (32x32) and I added it as application icon in the properties and it is coming fine only if the view is set to "Medium Icons" else it is showing only the default icon. How can I add all sets of icons to an application …

Member Avatar for anoop4real
0
96
Member Avatar for gianrocks

hey everyone need some help again, i have two computers both running in vista ultimate. one is a server and the other is like a terminal. my problem is, how do i connect the terminal to a database which is in the server? please provide me a step by step …

Member Avatar for gianrocks
0
196
Member Avatar for twalton42

I'm using mysql database..I have forms setup main form has datagrid..you can add to this datagrid and save to datbase with my add form and it works fine. I can delete from the datagrid and it works fine...when I select an account to edit is when I have my issue...form …

Member Avatar for twalton42
0
118
Member Avatar for JAM1011

Hey all, I am having a little trouble with my sql and VB.net I think There it is I want to select records from a customer table which is like what the user types in (So they don't have to be exact matches. The statment runs but I don't think …

Member Avatar for JAM1011
0
165
Member Avatar for labsnark

Hi again I've acquired a strange effect in the program that I'm writing to drill balls with holes at various angles over the surface. The code reads in data from a text file that is read into a number of public variables. These values are then read back when the …

0
49
Member Avatar for sreenathvp

Please give me the code to plot a graph when integer values of x-axis and y-axis are feeded...

Member Avatar for sabaum
0
64

The End.