20,899 Topics
![]() | |
Hi to all, Programmers. :icon_smile: [B]i require a general syntax for checking if the [COLOR="Red"]SQL table[/COLOR] is empty or Contains records.[/B] if the table is empty i'm suppose to add initial counter (like 0001) and if table already contain records then i'm suppose to increment the counter by ONE. The … | |
[CODE] Dim DesinNum As DataColumn = New DataColumn With DesinNum .ColumnName = "DEsign#" .Expression = "ISNULL(usrini,'')+design+typcde" End With With Design_dt.Columns .Add(DesinNum) End With[/CODE] These are the results I'm getting usrini="J", Design=123,typcde=cst expression=j123cst usrini="J", Design=123,typcde="" expression="" I have this code to add a new colum in the datagrid. It seams to … | |
Hello! I have program that consists of multiple forms. Each of the forms share a common variable which I stored in the main form. But to access the variable from another form, I have to type something quite long like this: MainForm.CommonVar.Function(arg1, arg2, arg3, arg8) I use this many times … | |
I want to show contextMenu on Menu Item Right click..But probs is dat when i right click on menu Item,Context Menu is popping up..But menu disapper..I want that menu should not be disappered... See in Attachment [code] Private Sub MenuAddToFavorites_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MenuAddToFavorites.MouseDown If … | |
I am new with VB.NET, I can safely say i know absolutely nothing but i want to crash-teach myself with your help so that i become versed with .NET in a short space of time | |
i want to know how to make online exam application using VB.NET & SQL SERVER questions should be displayed randomnly , also there is a time restriction for example ,30 min for 25 question and time should be visible to user. then after time over he will be not able … | |
hi every body I am new over here I have query that is it necessary to do a live project in Ty.bsc.it | |
Im a beginning C++ programmer and i was just trying out some of the awsome stuff that can be done with c++ and not VB(.NET, 2008). I actualy have 2 questions: First, y does this give me an empty console screen? Im not getting any error messages, my intend was … | |
Hi folks, I am trying to play mp3's in VB.net 2008 pro. I have a button that when clicked will play an mp3 in windows media player. The problem is I can find no coding for this in any of the books that I have. The other problem is that … | |
Hello All. This is my first post here, and I'm hoping that it's my first of many. I'm just starting out in C#. I did a really small project in VB.NET, but other than that, my experience in any programming language is highly limited. I'm working on a project for … | |
<A class=F11 id=moreFF4Link style="DISPLAY: inline" onclick="showMoreFF4('on');clickTrackSwbdAttr('BP:Attributes:Additional Info:Show More','Trattoria-Pizzeria-Roma Inc','Pizza Restaurants, Restaurant Management & Consultants')" href="javascript:void(0);"><BR>Show More ></A> This is the html of that page. I am looking forward to clicking on 'show more' I am using a instance of Ie to open this page, As this is supposed to back … | |
Hi all, I am developing an application in which I need to incorporate a checkbox field for each record from the database. But the checkbox is having threestate in which the third one is a null value which I cannot afford in the database. So I need to eliminate the … | |
Hello i got trouble to add data i got error saying: OleDbException was unhandled here's the code: [code=vb.net]Private Sub cmdAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdAdd.Click Dim com As New OleDbCommand com.Connection = con com.CommandText = "insert into Watches values(" & txtWatchId.Text & ",'" & txtWatchBrand.Text & … | |
hi how to create and open an excel file in vb.net when the button clicks.. | |
Hi members, I need yours feedback for the following program which I have designed through different website and tutorial helps. Its a word Guessing Game which I have design in vb.net using visual studio, extract the zip file and run it on your machine. Dont forget to send your feedback … | |
Hello to all. I am a B.S Information Technology student in Our Lady of Fatima University Philippines. I am now conducting a proposal for a school "student information system". this is for our subject "System Analysis and Design" i will use Visual Basic 2008 and (MySQL or MS Access). I … | |
My problem is that i want to develop a project in which there is front end (window form) in vb .net in which there are diffrent field for book entry name,author,image etc. all this data is stored in back end sql server 2005 there is drop down list of books … | |
Hi there, Being new to Vb.Net 2003, I need help to determine whether to Create new Record or Update an exisitng record in SQL SERVER table. In VB6 I used this logic to do that but in Vb.Net 2003, I am totally lost at it. Please Help me. Thanks. VB6 … | |
Hi, I'm having some trouble with SQL Compact Edition, it's popping up with this error when passing a string: "The token specified is too long. The maximum length is 128 characters. [Maximum size of token (if Known) = 128, Token (if known) =" The data type for the field that … | |
Hi. I have a VB .net application which retrieves large amount of data from the database. It can take upto 4 mins to retrieve the data. I would like to know if there is I can do at the application end to speed up the process. Caching ?? Paging ? … | |
I need to handle dates and times in a vb.net program. If there is a data type to handle that please let me know how to work with it. that class should have capability to compair, increase, decrease, add, substract and support to ms access date and time data type. | |
Hi all, I would like to be able to show all the websites visited on a machine. How would i go about doing this. Thanks | |
Hi I am trying to display time in a text box which updates itself every second. I am using visual C# and I am pretty new to it. (My first program in visual C#) (Actually its part of a little bigger problem in which I have to implement a timer … | |
Hi, Is there any (free) graphical engine for Visual Basic .Net that can be used to show 3d graphics and/or create games? Anything is appreciated... Thanks, | |
Hi All, Can anyone of you please suggest me some best books for learning VB.NET or any online stuff. This site itself is a very good source of learning, but still thorough knowledge is needed. Thanks. :| | |
Hey guys, i need to read form(s) on VB.Net from the simple html based web sites, like on VB6 webbrowser object; [code] WebBrowser.Document.All("form").All("field")[/code] But i shouldn't to use a WebBrowser object. How can i do this on VB.net? | |
Hi... Plz help me.. How to send Message to Yahoo Messenger (YM) using vb.net? windows application thanx | |
HI.. could u help me,how to Login windows user account using vb.net ? thanx | |
hey, i am creating a basic game, something a bit like space invaders but only 3 levels long. I'm haveing trouble moving from Form2 (level 2) to Form3 (level 3), Form3 opens, Form2 closes, and I want the start menu (which is on another form called Start) to show if … | |
In the application that I am building I have a log window that contains a listview control. This listview control has two columns, a time stamp column and log description column. When an event happens it is added to the listview. The problem is that when about 15+ events happen … | |
I am working with tabs in a application but I am having problem with the tabs. I want to allow the user to add or delete a tab. Can any one help Thanks in advance | |
I have the following code for reading an online file, somehow the first line returns an empty string, what can be the reason for this? Dim myRequest As WebRequest = webRequest.Create(myurl) myRequest.Proxy = WebRequest.DefaultWebProxy Dim mystream As Stream = myRequest.GetResponse.GetResponseStream() Dim objReader As New StreamReader(mystream) Dim sLine As String = … | |
I am making a program where I need to dynamically add buttons to a form. When the form loads anywhere from 0-30 buttons will need to be loaded. When a button is pressed it needs to run a common function, but pass a unique parameter to the function so it … | |
Hi All, I try to ping my server with my application but cannot make it.....anyone can help me in VB.net 2003 , if use vb.net 2005 it already ok..plzzz | |
I am using vb.net 2005 (express) and can't quite figure out how to do this. I have an application that reads in a bunch of data from a file into the appropriate variable arrays like I want. I used a simple solution that I found here on DaniWeb to read … | |
I want to get all the files from my local directory in my web page the same code works fine and it returns all the files when i run the code on the local system but when i'm trying to do that online it gives me error. the error is … | |
I am coding a program and have this function where i need to delete a record. The current code i have at the moment deletes a record but only deletes the top record but i need it to delete the record the user has selected. This is the current code: … | |
Hi I am working on a VB.Net program using Ms Access Database i want to call a report from VB.NET to display an Ms Access Report Any help will be appriciated | |
I want to show the contextMenu on MenuItem right click....AS IE favorites.... I m able to show the contextMenu when i right click on menu..But the Probs is dat when i right click..Context menu is showing & menu is hidding....... Y so ..I want that when we right clikc on … | |
How does one control what's included and not included in a project? I am forced by the environment to work in the same directory as other projects. I have written a Class and also a Module with a subroutine that does not show up in my project, yet I see … | |
Hai Friends, Please Help Me!!!! I am developing a bussiness application.It includes a module which has to send a text file from the head office to the branch. I am able to send the file through internet only if i get the global ip. But Under the router i am … | |
Hi I am currently using the DSOFramer control to allow editing of Word documents within my Windows VB.net (VS2005, dot net 2.0) application. Everything's working well, but I am struggling with limiting the items available from the Word menu. Specifically I am trying to remove (or at least disable) the … | |
Dear all, Can anyone kindly let me know how to put codes in my program to check if the network card is currently connects to nowhere (in nortification area, the small computer icon is crossed in red). Many thanks! Best regards, Gibbs | |
Hi Guys. First let me say that this site is fantastic and the knowledge spread is vast. OK, now I'm somewhat of a noob when it comes to VB.net 2008 and have not long been coding with it. I came across a problem with the cancel button on an "input … | |
Hi All, i have a homework of programming (vb.net) that need create send email function by using vb.net.. I already find a bunch of solution in google, but still i didn't work.. below is my source code.. [U]source code:[/U] [code] Imports System.net.Mail [COLOR="Red"]Public Class Form1[/COLOR] Sub SendOneEmail() Dim SendTo, strSubject, … | |
Hi all, I am trying to make a program in VB .NET that has two "browse" bottons, two textboxes which should show the full path of the files to be selected, one "Save As" button, one textbox that should show the file's full path where to be saved in, an … | |
Hi All, I am new to Vb.NET. and I am Trying to develop a textpad application using richtextbox control.. Now my problem is that, while using this application. when user clicks on Close event in File Menu, I want the Editor to only close that particular file(or text) that is … | |
Hi, Is there any way I can select multiple items in a listview programatically in WPF? | |
I guess its only stupid if I don't ask it... Hi VB Daniweb folks. I've developed some VB.Net applications and now I'm trying to dabble with some asp.net server pages. I've created a simple page and when I display it (entered in the browser:[url]http://localhost/hello/welcome.aspx[/url]) I get the following error... Server … |
The End.