20,285 Topics
![]() | |
![]() | I had created a report using Reportviewer control(VS2008+MS-Access), the report displays all the records from Access Db correctly but i need to sort the records and display. [B]Sorting by Date(Ascending) that too the records prior to Today's date should not be displayed[/B] |
Hello guys i canot make the parking project in vb.net please give me the code | |
Hello all .. My environment: VS2008/VB using Data Sources (datasets, binding sources, table adapters) to interact with MS Access 2007 database. My application: A Master form displaying a 4-level hierarchy of data using listboxes instead of grids. Data source for each listbox is a query containing child table data and … | |
hi, im having trouble putting msgbox.. where do i put MsgBox("Passenger not found!", MsgBoxStyle.Critical, "Error") If name is not found from text file help thankz in advance VS 2010 [CODE] Private Sub btnRemove_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRemove.Click Dim i As Integer Dim removename As String … | |
![]() | Hi i had written the following code to Populate the Calendar Control with Data from an Access Table.[VS2008+MS-Access07] [CODE] Try Dim con As New OleDb.OleDbConnection Dim cmd As OleDbCommand Dim sql As String Dim dr As OleDbDataReader con.ConnectionString = _ "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\Resources\login.mdb" 'open the connection con.Open() sql = "Select [Scheduled … |
Ok, how do i make so if ihave a form on and press a button and a new form opens on the right side of the first form and follows when i move the first form and also i cant move the second form from the side of the first … | |
Hello, i am working with vs2008 (web application) and I want to copy some content from an excel sheet and and using the clipboard i want to copy the contents in a gridview I have tried using Clipboard.GetDataObject() but no matter what ever i do it is always returning null … | |
Hi masters, i need codes to cut, copy and paste text from textbox. i know that i can use shortcut like Ctrl + X, Ctrl + C and Ctrl + V, but i need to do it in code. please help me Anyhelp will appreciated much Regards Ela | |
Hi experts I m using vb .net, in my project I m creating a temporary table at run time and after sum calculation store records in that table. Then how can I print that table value, through crystal report or any other tools????? | |
Hi! All I need to know how can I secure my program by the serial number of local pc or WMI Code Creator? I want to secure my program by client`s hard disk`s serial number so that he cant sell it or use this program there in another pc. Please … | |
Check out my VB.NET code to convert numbers entered in a text box to string....It converts upto 99999999 though..... [CODE]Imports vb = Microsoft.VisualBasic Public Class frmFigures Private Function ConvertFigure(ByRef AmountInFigure As Double) As String If Trim(AmountInFigure) <> "" Then If AmountInFigure.ToString.Trim.Length = 1 Then ConvertFigure = getOnces(AmountInFigure) ElseIf AmountInFigure.ToString.Trim.Length = … | |
Dear Experts, I need a process for disabling windows key of keyboard through coding. Kindly help Thanks Pardeep | |
[QUOTE]Hi; I have developed a MCQ based learning game. A user has to play the game repeatedly to improve his learning. For each session of game, player gets score. I want to write the score in a single file for every session. e.g. I want to print user name and … | |
![]() | I had created a report using Reportviewer control(VS2008+MS-Access), the report displays all the records from Access Db correctly but i need to sort the records and display. [B]Sorting by Date(Ascending) that too the records prior to Today's date should not be displayed[/B] Another query "Is it possible to edit and … |
I have a web application that links to Microsoft Access and opens one of five databases depending on which button is clicked. I coded it on my machine in Visual Web Developer 2008 and it works exactly as expected when ran on my machine, but when I move the files … | |
Hi all... Someone give me the difference between typed dataset and untyped dataset.. Regards, Balagurunathan S | |
Hi, I've been at this for an hour and feel it's time to give up and ask you guys. I've got a data grid view. I can hold down CTRL+MouseClick and multiselect my rows. How do I do the same with key strokes? I basically want to use the arrow … | |
We use vb.NET windows form program to pass parameters to crystal report wich execute sql commands I use .NET 2003, crystal 9, windows server 2000 and SQL server 2000 at the above enviroment the reports application work very well when migrate to SQL server 2005 , and windows 2003 the … | |
![]() | Hi I need a help in choosing a combo box event for placing this code. I have tried with Lostfocus,leave,mousefocuschanged,displaymemberchanged like this but nothing works and Lable26(Default I set Visible:false ) is visible even after I select an Item. [CODE] If combotype.SelectedIndex = -1 Then Label26.Visible = True Label26.ForeColor = … ![]() |
I have an application that uses an *.accdb file as the back-end database. Connecting to and retrieving data from the access file is not an issue and is working quite well. However, as a precaution, I have the application first check to make sure the database file exists in the … | |
Hello all! I am new to VB and I am working on some code that is a painter. I have posted the xaml and vb portions bellow. I am getting error codes I do not understand. in line 84, 85, and 86 of the vb code it is not recognizing … | |
Hi everyone! I am bignner in vb.net and i have develo[ed a small application of vb forms in which i have use a service based sql server databas(.mdf)i want to make its msi installer last time i have made it and after installation application giving error for connecting to sql … | |
I need to now how to add sound to a project which bult by vb.net 2007 | |
Hi All, I have written a text editor for an assignment and have found a few faults with it im hoping someone could help me out. First one is my save menu option, when I click Save in the file menu, it brings up the save as dialog box as … | |
This exaple show you how to insert image in database and how to retrive in gridview. see the attachments. | |
i had problem in inserting data into a table in access database.i am using visual studio2005 for the projects.here is my code [CODE] Dim strConnection As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data source=" _ & "c:\Users\BELLCONSULT\Documents\LIBRARY2.mdb " Dim cn As OleDb.OleDbConnection = New OleDb.OleDbConnection(strConnection) Dim cmd As New OleDb.OleDbCommand With cmd .CommandText = … | |
Hey I want to generate 3 different types of arrays but 2 include a negative number and Im not really sure how to do that. The first type should generate 0 to 2 (which works): [CODE]num = Int(Rnd() * (2 - 0 + 1)) + 0[/CODE] Now I need one … | |
I was a pretty good developer in VFP, but feel lost in VS world. The command window used to be where I could immediately execute a line. Now when I type, "? 'a'" it says unable to evaluate expression. I've inherited a recession I mean an incomplete program. I can … | |
i need to convert date format used from datetimepicker as(dd/mm/yyyy) to (yyyy-mm-dd) any ideas thanks | |
Hi everybody, I have a legacy program at work that I have taken over and my boss wants me to add some functionality. I have already added a com object to the program and am producing a functional dll which I can write strings to and control my program. I … | |
Hi everybody Have a little problem here. I have a webpage with this code [code] <iframe name="myIframe" id="myIframe" height="2000" width="1000" frameborder="0" scrolling="no"></iframe> <form id="myForm" method="post" action="link" target="myIframe"> <input type="hidden" name="banner" value="link" /> <input type="hidden" name="type" value="1" /> </form> <script language="javascript"> document.getElementById('myForm').submit(); window.scroll(182,111); </script> [/code] And I want to click on … | |
I need to know how can I make a program for specific hard disk? I have heard it that programmers use hard disk`s unique number to protect their program. So that user cant use this program there in another pc(hard disk). So would you please help me about it? I … | |
Dear Experts, I am building a program which needs to store an Image (any image type) in SQL Express 2008. I am able to read, and insert images into SQL Datatable, but I can't seem to update my images. The SQL DataTable contains columnname "picture" - Varbinary(Max) I am using … | |
[B]I want to create help file for my accounting software project. Is it possible with the help of 'HTML help workshop' software? If yes, then explain me how to do it? [/B] | |
Hi guys I hope someone can help , Am trying to populate a TreeView from a TXT file My TXT file look like that : [STANDARD_DATA 0] STD_NAME=RED 1260418 BAT_DATETIME=1087475867, BAT_NAME=BATCH BAT_REFLPOINTS=35, BAT_REFLINTERVAL=-10, BAT_REFLLOW=360, BAT_VIEWING=%T MAV SCI UV Inc [BATCH_DATA 0] STD_NAME=RED 1260418 BAT_DATETIME=1087475867, BAT_NAME=BATCH BAT_REFLPOINTS=35, BAT_REFLINTERVAL=-10, [BATCH_DATA 0] STD_NAME=RED … | |
hello experts i got error when i running the program [CODE] " at Elactronic.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190\r\n at Elactronic.My.MyProject.MyForms.get_SplashScreen1()\r\n at Elactronic.My.MyApplication.OnCreateMainForm() in D:\\Solution SOftware\\Elactronic\\Elactronic\\My Project\\Application.Designer.vb:line 35\r\n at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()\r\n at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()\r\n at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)\r\n at Elactronic.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81\r\n at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)\r\n at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, … | |
Is it possible to create a new My.Setting item and value at runtime or does the setting already have to created? I'd like create new settings and delete settings. Thanks | |
how to set destination directory path to save file | |
I'm developing chat program. I have database on my webhosting where I store rooms and memebrship tables... I created the client, but I still cant do the server side of the program. It must be in win forms app.(I use .Net 3.5)Every tutorial\Sample of server side is for Console app. … | |
Hi all, I have a small problem that i cant figure out. i have a program that i want when a user select a date from a datetimepicker, it filters evrything from the datagridview that are for that date.. Hare is the code i have Private Sub Button1_Click_1(ByVal sender As … | |
How can I secure SQL SERVER 2000? I am using windows authentication mode and it doesnt have additional user name or password. As a result anyone can open SQL SERVER 2000. I need to know how can I secure it so that none can open & edit data from enterprise … | |
Hey all , Thanks for reading this and sorry to be on the take, as it were :) Please could someone point me in the direction of a tutorial that covers a credit calculator for student points.... i can design the gui but dont know enough to get the combo … | |
[B]Hi, friends, I am new in vb6.0 and vb.net programming. I want to know about defining API functions. Can anybody help me? I want positive and fast reply. Thanks. [/B] | |
hi im having trouble with lstout i have attached ss of result, i dont want System.Windows.Forms.Button,Text appear and also when i click one of seats which are A1~D10 let's say if i clicked D3 it pops "Enter your Name" msgbox so after i enter it it doesn't show output on … | |
Is there a way to check if the browser's 'Back' button has been clicked? | |
Dear freinds i want to get specific data in gridview specifc cell with the help of sql query from sql table i put the following query but it doesn't work [code] Sql = "select e.item_no from nitmtbl e,purchaseitem g where e.item_name=g.item_name and g.item_name='grovita sp'" Da = New SqlDataAdapter(Sql, Class1.Connection) Da.SelectCommand.ExecuteNonQuery() … | |
I want to make a deskband app that displays some text and buttons like windows media player when minimized on taskbar. What is the necessary imports / dll i need to use ? Codes will be useful | |
Hey Guys, I have an application that will execute a batch script. I want to make this hidden, yet if I do so, the user won't be able to overwrite the command the Batch file is issuing as it prompts in the CMD window "Y or N" to overwrite. Can … | |
I'm extreamly new to programming actually learning on my own, college is not an option now. Need some help. I'm trying to write the code to add users to sql 2005 backend server, and a windows login form. so that certain area's of my program have restricted access. Can anyone … | |
hi friends, can u please help me the code how connect to SQL server in vb.net using c#.. i m waiting for your help |
The End.