20,284 Topics

Member Avatar for
Member Avatar for hiral2cool

I have a One Search Box where we can search the "ClientName" now this Client Name match with Database ClientMaster -> ClientName if both Equal then Give the rowindex whose ClientName is this i only want the rowindex where clientname = "";

Member Avatar for JOSheaIV
0
123
Member Avatar for Mikey12345

Hi I have code as follows which works nicely but it loads a bit slow. I would like to have a progress bar while the file loads my code is as follows With OpenFileDialog1 .Filter = "Text files (*.txt)|*.txt|" & "All files|*.*" .FileName = "" If .ShowDialog() = DialogResult.OK Then …

Member Avatar for tinstaafl
0
388
Member Avatar for Obike

I'm having a problem updating records from my VB.Net application to the database (Access Database). I've tried all sorts of update technique and i keep getting either "syntax error in update statement" or "data mismatch in criteria expression". heres the code i'm using: Public Function save1stsemester() 'this code updates 1st …

Member Avatar for Obike
0
550
Member Avatar for Lle26

Public Module BackupRestoreModule ' save all db Public Function SaveDB(ByVal FileName As String) As Boolean Try ' create the stream writer object Dim FS As New System.IO.StreamWriter(FileName) ' open DB connection and start a transaction Dim Conn As New OleDb.OleDbConnection Dim Tmp As New LMS_DSTableAdapters.BookTableAdapter Conn.ConnectionString = Tmp.Connection.ConnectionString Conn.Open() Dim …

Member Avatar for poojavb
0
104
Member Avatar for Rachna0309

I have successfully published vb.net application.After publishing I get 1 folder that contains dll's,2 manifest file and 1 setup .exe file.When I have to install this in my client's PC,I have to copy all these files.Is it possible that If I copy only one manifest file,my application would run? Thanks …

0
62
Member Avatar for Thomas7399

Hi, I am trying to insert values into my local SQL database. Here is my code: Imports System.Data.SqlServerCe Public Class AddSensor ' Shared variables Dim con As SqlCeConnection = New SqlCeConnection("Data Source=C:\Users\Bryan\documents\visual studio 2010\Projects\SiteSecure v1.1\SiteSecure v1.1\Database1.sdf") Dim cmd As SqlCeCommand Dim myDA As SqlCeDataAdapter Dim myDataSet As DataSet Dim oForm1 …

Member Avatar for poojavb
0
285
Member Avatar for huntvbcode

I want to know **what are the prerequisites Softwares Needed to install on my pc to start vb.net 2008 and ms sql Standalone and Server Client Software Development**? I have P4 Processor, 4 GB Ram, 1 TB Hard Disk, Oprating System Windows XP Professional Service pack 3. Visual Studio 2008 …

Member Avatar for M.Waqas Aslam
0
281
Member Avatar for yous

Hi Guys I need to retrieve a value from the javascript below in my html code and inject this value into a webbrowser. how can I format and invoke this script ? $(function(){jQuery.liveviewWithTable({enableCountsTable:false,enableCountTable:true,countTableElement:$("#count"),directionIn:$.getParam("Counter.DirectionIn"),liveSumUrl:"/local/people-counter/.api?live-sum.json",loadingAnimationUrl:"/people-counter/images/ajax-loader.gif",dataTypes:["in","out"]})}); Thanks a lot

Member Avatar for yous
0
157
Member Avatar for monching

Hello there, How to add items in combo box from mysql database? 'mySQL statement 'tryCatch method ComboBox1._______ = myReader.GetValue(myReader.GetOrdinal("Uname")) I'm trying use this: ComboBox1.items = myReader.GetValue(myReader.GetOrdinal("Uname")) but an error occured.

Member Avatar for Reverend Jim
0
305
Member Avatar for pop_cola

Hi guys, Do you have some sort of guidelines on how a user is notified that there's a new upgraded revision of the application (assembly information) or set-up files? The situation is like this, I have created a vb.net application and created a set-up file using VS2008. Now everytime I …

Member Avatar for pop_cola
0
165
Member Avatar for vijaycare

Hi All, I have 2 data table in my application and want to create a new table from those 2 tables. Dim sql As String = "Select ID, DESC, QTY from Purchases Where PDate >= @StartDt and PDate <=@EndDt order by ID" Dim da As New OleDb.OleDbDataAdapter(Sql, Con.conn) da.selectCommand.Parameters.AddwithValue ("@StartDt", …

Member Avatar for Reverend Jim
0
180
Member Avatar for james19862012

As the title hopefully made clear...I want to restrict the access of a user data control so anonymous users (ones who havent registered with my site) can't access its contents. I read about restricting access to specific roles and I understand how it works for specific pages (forms) but I …

Member Avatar for LastMitch
0
182
Member Avatar for Begginnerdev

Hello my fellow Daniwebers! I am having some problems wrapping my head around the task sorting a List(Of CustomType) I have a list containing a custom class. The class contains Two DateTime objects, Start and End. I am trying to sort the list descending so that the shortest timespan will …

Member Avatar for Begginnerdev
0
445
Member Avatar for RockyBalboa

I am new to vb and trying to create a timer that will countdown for sets of time interval. I managed to display the countdown for enddate but I have no idea how to continue to enddate1 as soon as enddate finished. My code as follows: Public Class Form1 Dim …

Member Avatar for tinstaafl
0
163
Member Avatar for imperator

Hey, I have created one digit 7-segment screen in vb.net, which works fine, but I need several digits to show. How can I show the screen in multiple instances, which can be controlled separately? The form code is in attachments. Any suggestions appreciated!

Member Avatar for imperator
0
201
Member Avatar for lulu79

I have a LINQ function to get 3 things :: Line, Average of Duration and Count I have a problem to sort it based on Average Of Duration column. Here is my code: Dim group2 As IEnumerable(Of DataRow) = _ From row In Ds.Tables(0).AsEnumerable() _ Group row By LINENAME = …

Member Avatar for lulu79
0
748
Member Avatar for vijaycare

Hi All, I am having a stock report in my application. It has 4 Datagridview each one for OpeningStock, Purchase, Sales and ClosingStock. I am using vs2005 and access 2003 database. The report is based on from and to date basis. (i.e: if the user selects 2 dates, The opeining …

Member Avatar for vijaycare
0
194
Member Avatar for monching
Member Avatar for d_rev

Hi, there people! I have a project I have to deliver but I am at loss on the relevant tech. to use although I am a predominantly vb.net guy. The VB.Net is the 2008 one. I am to deliver a software that would enable an internet cafe do these basic …

Member Avatar for WebStone
0
231
Member Avatar for Start4me

I want to create an integer generating program where the user enters any number in TextBox1 and TextBox2 and presses the Generate button and in another textbox the integers shows up. REFER TO THE LINK to see what I mean. [Click Here](http://picturepush.com/public/11671143)

Member Avatar for tinstaafl
0
224
Member Avatar for Ancient Dragon

When my program calls MsgBox it appears in the middle of the monitor. Anyone know how to move it somewhere within the boundries of my program's window?

Member Avatar for TnTinMN
0
2K
Member Avatar for lulu79

Hi, How can i draw a horizontal line in my chart? Currently my chart look like below: ![chart11](/attachments/large/3/chart11.JPG "chart11") Before this i use below code to draw it but when i try to draw with this application (Y axis in datetime), it give me error like 'make sure not dividing …

0
110
Member Avatar for ComputerFirstAde

Hi Guys, just wondered if anyone knows how to change the focus from 1 textbox to another? i have 2 textboxes and a few buttons, what i am trying to do is select a textbox (either) then hit the button and the value from the button (i.e 1) will go …

Member Avatar for ComputerFirstAde
0
355
Member Avatar for maskinao

Hi! I want to be able to automatically select the first row in a listview then display the selected items in a text box. I've already done putting the data in the textbox by clicking the row, but i cannot do it automatically. any ideas? i would like to provide …

Member Avatar for Ancient Dragon
0
109
Member Avatar for moone009

Error: Cross-thread operation not valid: Control 'TextBox1' accessed from a thread other than the thread it was created on. After doing some research online I found when I add Control.CheckForIllegalCrossThreadCalls = False it works but I feel like that is not the proper way to handle this error. If anyone …

Member Avatar for moone009
0
5K
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to make a spark effect the follows a path using WPF. Please Help...

0
156
Member Avatar for vasim jada

Dear Friends, There are 2 form (form1,form2) and 2 dialogbox (dialogbox1,diologbox2) in my application. When application start at that time form 1 loaded, on form 1 when button-1 click, form2(as mdi parent) and dialogbox-1 (with textbox-1 and button-1 as mdichild) show. when button-1 on dialogbox-1 click dialog-2 (with textbox-1) show. …

Member Avatar for tinstaafl
0
756
Member Avatar for kazekagerandy

i am working on an application and i need to have an update feature, but when i try to refresh the contents of my datagridview to view the update ive made, the old and updated records kept on stacking. ive already tried the datagridview.datasource = nothing but nothing happened. this …

Member Avatar for M.Waqas Aslam
0
153
Member Avatar for zaeemabbas20

hi guys ! i want to set a focus using backspace keyascii in a maskedtext box so that when i press backspace the focus moves to the other text box or maskedtextbox, but when i press backspace and maskedtextbox is empty with length "5" the focus donot move to the …

Member Avatar for TnTinMN
0
701
Member Avatar for john.knapp

# Have you ever tried using the String.Compare method for a case-insensitive string comparison? # The [documentation](http://msdn.microsoft.com/en-us/library/zkcaxw5y(v=vs.100).aspx) on MSDN for the overloaded method: 'Declaration Public Shared Function Compare ( _ strA As String, _ strB As String, _ ignoreCase As Boolean _ ) As Integer states `Compares two specified String …

Member Avatar for jeffreyk16
1
415

The End.