20,899 Topics
![]() | |
Hi guys, I am experiencing a problem with a variable I declare. If I pass on a real value that the variable might contain code works ok , but if I leave the code to get the variable as decalred it doesn`t. What my code is doing is checking if … | |
Hi all, I'm facing some difficulties with the [b]getchanges [/b]method of a datatable... In my program, I have a standalone datatable which I'm using as the datasource to a datagridview. When I make changes to the datagridview, and I use the [b]getchanges(DataRowState.Modified)[/b] method, I get [b]Nothing[/b] as the result, no … | |
Private Sub DataGridView1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles DataGridView1.KeyDown If e.KeyCode = Keys.Enter Then DataGridView1.AllowUserToAddRows = True Dim ri As Integer = DataGridView1.CurrentCell.RowIndex Dim ci As Integer = DataGridView1.CurrentCell.ColumnIndex e.SuppressKeyPress = True FindNextCell(DataGridView1, ri, ci + 1) 'checking from Next End If End Sub Sub FindNextCell(ByVal dgv … | |
When I install my application I would like a shortcut to be added to the desktop. How can i do this? I am running Visual Studio 2005 Standard Edition Thanks Simon | |
sir i am developing application in windows so i want that when i serach data that data then that data is dislpayed indatagridview when i am doing that thecvdata is displayed but there is one blank row created in gridview below that row:means that suppose in first row of gridview … | |
sir I want that when i press enter in any cell of datagridview i want that next cell value is focused and i edit that value .Means how i set focus to any cell on pressing enter and in which event i do that | |
Hi everyone, my name is Gary and I live on the Isle of Wight southern UK. I have been programming since I played with a commodore PET (8K RAM - green screen) way back in 1979. Since then I have progressed through 380Z, ZX80, ZX81, ZX Spectrum (even programmed that … | |
Dear all, I'd like to write a Java program that could use functions in an existing VB.Net dll or exe. Is it possible to do that? I had actually searched for methods online, and it seems like there's JNI which could do that, but after reading the implementation I got … | |
I am developing a project in which i have combobox in that there are list of station and i want that when i type the words that will match to that station and that station is selected in combo box | |
Are there any good and inexpensive 3rd party software for error handling? At my prior job, once the code was ready to ship to the client, we ran it against some 3rd party software that added all the error handling. The software provided a log with easy to read call … | |
Hello Frens, I tried to update change made in database shown DataGridView1 of Visual Studio 2008 with the following codes. But an error message comes as "Object reference not set to an instance of an object". Public Class Form1 Dim cmd As Odbc.OdbcCommand Dim adp As Odbc.OdbcDataAdapter Private Sub Form1_Load(ByVal … | |
i am developing windows application project i want that in a datagridview if there is data in the first row ,then i want that if i enter then that above row is copied as next row below the first row.so how i do code in enter of any cell in … | |
Rather than build in a proxy to my program I want to use it with my existing proxy switcher program Hide-My-IP. This program doesn't change the IE settings, but it makes all your browsers go through one of their IP addresses. IE, FF, etc all get their ip changed by … | |
I want to update data using DataGridView in Visual Studio2008 with the following code. But it is not working. Plz help me. Private Sub btnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate.Click cmd = New Odbc.OdbcCommand("UPDATE Table1 SET Name") Me.Table1TableAdapter.Update(DataSet1.Table1) MsgBox("Updated") End Sub | |
hello everybody :) im new in vb and now try to develop one system using visual studio 2005 and sqlserver 2000.. i succeed to generate the data in datagridview but then it display all data not i had selected in combo box.. as shown below :- Imports TMSForm Imports TMSBusiness … | |
Hi, I am having a bit of trouble. Here is what I have. Main Form - the atari pong game High Score Form - the grid view of the simple SQL database PONG database contains: ID (identity auto increment) and FinalTime (string) Basically I cannot get the stopwatch text box … | |
"Sorry, you can't do that right now." I'm testing my application which is a Twitter account manager, and I'm offering a feature of being able to create a new account right from the application. However, sometimes, usually after a few bouts of testing. Twitter gives me this error and its … | |
How can my VB.net application interact with windows modal dialog boxes? For example when you click an HTML <input type=file> the dialog that opens is a windows form that isn't in my application, so how can I manipulate it? | |
I have datagridviews where I've removed the ability for users to edit them directly. I have made add and delete buttons for users to add rows and remove selected rows. Occasionally, and I'm not sure why, I get the "Prepare: CommandText..." error, as well as "Update requires a valid ___Command..." … | |
ok i understand some basics of vb but am still relatively a new... my problem.. code is for saving values into a database and displaying on the same form on a datagrid which is connected to the database... Imports System.Data.OleDb Public Class Addbooking Inherits System.Windows.Forms.Form Public cN As OleDbConnection Public … | |
Is there an equivalent of the COM Out of Process EXE server in .NET? I have an object that loads a large amount of data and it takes a while to load up, and I need multiple instances of it to exist in separate threads. I only want to load … | |
Hi.. i want to know how do we access a web site's data to be displayed on my application e.g. like i want to create an application that looks up some investing site and displays current stock and share values on my desktop. I have already in mind that the … | |
sir i have combobox in that when i type the words , i want that that type word will match the combobox and diaplay in combobox LIKE Suppose there are station :allahabad aligarh ambikapur and when i type alla then in combobox all wordsc are displayed in the combobox | |
I have a file of members in excel with al the details in 1 field like this: [email]fristname.lastname@emailadress.com[/email],,,,,,membergroup how can i split them in firstname, lastname, full email adress, membergroup so i can insert them in my table tblMembers? Thanks | |
There are multiple occurances of the PLUS_BORROWER data. For each occurence of PLUS_BORROWER, I want to save the CREDIT_SCORE and DAYTIME_PHONE_NBR when the Type= And SOCIAL_SECURITY_NBR are certain values. Then I want to execute a loop and extract the Credit_Score and Daytime_Phone_Nbrs. [code] <PLUS_BORROWER Type="Primary"> <SOCIAL_SECURITY_NBR>123459999</SOCIAL_SECURITY_NBR> <CREDIT_SCORE ModelName="Emperica">793</CREDIT_SCORE> <DAYTIME_PHONE_NBR>4077889999</DAYTIME_PHONE_NBR> <DAYTIME_PHONE_EXT>101</DAYTIME_PHONE_EXT> … | |
Hi guys, I have spent a morning working on this. Not sure if I will ever get it right. What I want to do is read a text file and based on list of constant values split the original file in two smaleer files. One of them to contain only … | |
Hey!! Myself shail... I am working over the peoject "Internet Access Account System"... Which i want to implement on an intranet... in which a unique userid n password is aloted to individuals, an the perticular can only access his account for an hour.. as soon the user click the explorer.. … | |
Can anyone reccomend any good C++ books (available on amazon preferably). Im not a total newb (I know java, php and vb.net), i just dont know that particular language that well. A book which covers data structures and concepts too would be beneficial, as im on a comp/sci course atm, … | |
I'm a first semester CINT student and I'd like to add some "bling" to my final project. I want to add blinking text to my final forms clearform button. My code so far: [code]Private Sub orderForm_Load(ByVal sender As System.Object, ByVal e As _ System.EventArgs) Handles MyBase.Load 'disabling the animation on … | |
[QUOTE]Hi I have an INSERT INTO SQL that keeps on retuning an Syntax error in Insert Into. I cant seam to see where the error is, can anyone Help. This is my SQL.[/QUOTE] [ICODE]Dim DesignSQL As String = "INSERT INTO Design_tbl (CustmrID,[User],Builder,Model,Type) values ('" & _ CustID & "', '" … | |
Plink is a command-line version of PuTTY, a Windows SSH client program. I am trying to get the output from plink to display in a textbox within a VB form. I can get it to work but I must hit the ENTER key twice before it shows anything, everytime. So … | |
Hello, I've just recently gotten back into VB. I am currently developing a Database for a sort of hobby project, and I am having trouble with displaying it properly. Here is my situation. I have a ComboBox which allows a user to select from a series of categories. Each category … | |
Visual Studio 2008 has a toolbox, solution explorer, and data sources forms that nicely dock to the side of the screen and can be easily pinned into place by the end user. Are these forms available to me as a programmer to use in my programs and if so, how … | |
Hi Does anyone know how to place sound in a vb.net project? Thanks | |
Hi, I need to implement a class that allow me insert as many childs as needed, like when you have a DataTable Class and add as many DataRows as needed with DataTable.Rows.Add(DataRow). I can't figure the right way to implement it. Please help me here... Omar | |
hiiiiii to every one when we run any exe file it shows a dialog box on screen . we choose the directory where we want to install this setup . how can i do this with my exe is there any code for doing this | |
the code seems to be fine dont know why its not working. when i execute the same sql directly in database it works fine. the error is get is oledbexception was unhandled syntax error in from clause. please help me thanks is advance. Private Sub Button2_Click(ByVal sender As System.Object, ByVal … | |
Hi, i want to transfer every text that is entered into a textbox1, into another textbox, textbox2(which is multi line textbox). But i want textbox2 to arrange every input it recieves from textbox one in alphabetical order. This is the code i have below [code=syntax] Imports Microsoft.VisualBasic.ControlChars Imports System.IO Public … | |
Can anyone please tell me how to update an existing exe's file version? Ex. Target.exe exists. It may or may not have a file version. The source code is NOT available. I need be able to change the file version. Thanks!!!! | |
i have developed vb.net 2005 project in my laptop screen resolution 1280X800. and i installed in this application to 800x600 screen resolution pixel system. but the controls gone to out of focus . please any one help me to give idea for set all my forms and control are change … | |
Hi I spent several hours yesterday trying to fix an error with one of my classes. I have a clas which handles all the resources of a game, and they are all declared as public. When a function of the same rseource class is called by another class, its meant … | |
`Which book i have to refer to learn basic fundementals of Vb.net 2005? Kindly help me out | |
I am building a program that will 'integrate' with a website I have built, the user wants a client based app that can be used to upload text from a .doc file to the website. The website uses a database to store the text in HTML format. The HTML produced … | |
guys plz help me i need a vb6 code for circle detection using hough transform plz help me | |
Hi. I am making a project on student attendance register in vb.net2005 with sql2000 server as backend. I am getting the data at runtime from database in data grid viewer. But if a user wants to edit a record, i want to give rights that he is able to edit … | |
hello frnds,I m able to insert the icon in ListView Column Header.. Steps-1) Drag the Imagelist. 2) Insert the iamges into the imagelist. 3)Associate the SmallImageList Property of Listview to Imagelist Name. [code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim lCount As Integer Dim … | |
Hi guys, I am trying to create an windows application. What I need to do at this stage is I am trying to read a tab delimited file and the that same tab delimited file to go to another text file on my C drive. I have written some code … | |
I am in a beginners programming class for visual basic and i have to build a game, a simple hangman game... but the only problem is i don't know how too... My teacher hasn't taught us anything, he simply gives us the book and says go.. so i don't know … | |
I have aseries of textboxes namely txtAlpha1, txtAlpha2, txtAlpha3 etc and txtBravo1, txtBravo2, txtBravo3 etc. I am trying to loop thro these by doing the following but of course it does not work. [code] For i = 1 To 25 If txtAlpha & i & .Text = txtBravo & i … |
The End.