20,285 Topics

Member Avatar for
Member Avatar for b1izzard

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]

Member Avatar for mnmw
0
126
Member Avatar for endex
Member Avatar for Jx_Man
0
51
Member Avatar for rbascom

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 …

Member Avatar for syrwom
0
153
Member Avatar for wildguard

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 …

Member Avatar for wildguard
0
164
Member Avatar for b1izzard

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 …

0
85
Member Avatar for frozie

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 …

Member Avatar for evisi
0
143
Member Avatar for vamsikrishna20

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 …

0
78
Member Avatar for Estella

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

Member Avatar for vamsikrishna20
0
3K
Member Avatar for tanvirahmad

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?????

0
68
Member Avatar for Kingcoder210

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 …

Member Avatar for GeekByChoiCe
0
99
Member Avatar for mnmw

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 = …

0
50
Member Avatar for pardeep3dec

Dear Experts, I need a process for disabling windows key of keyboard through coding. Kindly help Thanks Pardeep

Member Avatar for Luc001
0
190
Member Avatar for Learning78

[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 …

Member Avatar for Legjendat
0
1K
Member Avatar for b1izzard

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 …

0
98
Member Avatar for leverin4

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 …

Member Avatar for Oxiegen
0
162
Member Avatar for BalagurunathanS

Hi all... Someone give me the difference between typed dataset and untyped dataset.. Regards, Balagurunathan S

Member Avatar for vinod991
0
169
Member Avatar for Nikon70

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 …

0
56
Member Avatar for Ali.M.Habib

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 …

Member Avatar for Ali.M.Habib
0
111
Member Avatar for b1izzard

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 = …

Member Avatar for b1izzard
0
176
Member Avatar for zilonox

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 …

Member Avatar for zilonox
0
295
Member Avatar for jtodd

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 …

Member Avatar for jtodd
0
110
Member Avatar for aliftek

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 …

Member Avatar for Oxiegen
0
127
Member Avatar for Nadaa
Member Avatar for Oxiegen
0
57
Member Avatar for discovery-power

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 …

Member Avatar for Luc001
0
266
Member Avatar for pritesh2010

This exaple show you how to insert image in database and how to retrive in gridview. see the attachments.

0
60
Member Avatar for bellconsult

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 = …

Member Avatar for pritesh2010
0
245
Member Avatar for riahc3

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 …

Member Avatar for riahc3
0
76
Member Avatar for DSinWA

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 …

0
26
Member Avatar for wiss.dev

i need to convert date format used from datetimepicker as(dd/mm/yyyy) to (yyyy-mm-dd) any ideas thanks

Member Avatar for jlego
0
912
Member Avatar for mteberlein

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 …

Member Avatar for mteberlein
0
282
Member Avatar for nodoso

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 …

0
80
Member Avatar for Kingcoder210

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 …

Member Avatar for kvprajapati
0
117
Member Avatar for TsadokBlok

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 …

Member Avatar for ghdfans2010
0
273
Member Avatar for hemal1972

[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]

Member Avatar for pritesh2010
0
141
Member Avatar for Gamra

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 …

Member Avatar for GeekByChoiCe
0
102
Member Avatar for pritesh2010

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, …

Member Avatar for GeekByChoiCe
0
204
Member Avatar for spxChrome

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

Member Avatar for TsadokBlok
0
91
Member Avatar for udayreddy
Member Avatar for dionisov

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. …

Member Avatar for dionisov
0
203
Member Avatar for sackymatt

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 …

Member Avatar for sweber25
0
147
Member Avatar for Kingcoder210

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 …

0
34
Member Avatar for gruffy321

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 …

0
89
Member Avatar for hemal1972

[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]

-3
78
Member Avatar for wildguard

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 …

0
123
Member Avatar for dilad
Member Avatar for TechSupportGeek
0
182
Member Avatar for like_bilal02

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() …

Member Avatar for like_bilal02
0
103
Member Avatar for tungnk1993

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

Member Avatar for kvprajapati
0
92
Member Avatar for Brandrune

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 …

Member Avatar for kvprajapati
0
51
Member Avatar for mdutton

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 …

Member Avatar for kvprajapati
0
78
Member Avatar for naveen_smg

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

Member Avatar for finito
0
92

The End.