20,285 Topics
![]() | |
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] | |
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 … | |
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") … | |
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 … | |
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 … | |
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? | |
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 … | |
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 | |
Hello guys, I wrote a program VB 6 At the opening show me this window Please help quickly....:) | |
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 … | |
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] | |
i asking for your help.i need a code on how to detect network in the dashboard. | |
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. | |
can u help me how to send sms from pc to mobile in vb.net | |
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 … | |
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 … | |
I am using Microsoft Visula Basic 2008 Express edition. How can I open an xls file, to store and read data from it? | |
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, … | |
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 … | |
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 … | |
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. | |
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 … | |
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. | |
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 … | |
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 … | |
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" %> … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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] … | |
pls u need VB codes extract frames from a webcam and convert to greyscales | |
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. | |
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? | |
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, … | |
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 … | |
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? | |
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 … | |
how to m a Win+D action button visual basic ?? GR Kevin (Kzip) | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Please give me the code to plot a graph when integer values of x-axis and y-axis are feeded... |
The End.