20,278 Topics
| |
hi all, I want to update title block attributes of a dwg file using vb.net.please give me the code of this. thank you in advance. | |
Hi all I've been struggling with this one for some time now and I would realy appreciate some help. I have a string which gets data from mssql server, reader collects data (among others also "person) SQLStr = "select * from tablename order by id desc command = New System.Data.SqlClient.SqlCommand(SQLStr, … | |
Back on my form with a ton of financial data entry textboxes but I want to have the data formatted at runtime, as I enter the data. I have a format declared as Public Const cFmtCurrency = "##,###,###" ' don't need decimal for the local China currency What would be … | |
Hi, I am trying to delete data from dataGridview, and update my Access database, but I am having trouble withe these code it keep stated that I have "Object not set to an instance of an object" and I don't know where my code went wrong, please help, I am … | |
I'm new to vb so it is no surprise that I am stuck. I have this code and it runs as it should but I get a the Error "Run-time error '91: Object variable or With block variable not set". How can I fix this and have it continue on … | |
I was creating a program using vb.net on visual studio. Unfortunatley when I closed out I save it in a way where all of my developer coding was erased. Luckily I still have the debugging file, but it won't allow me to see the form developer or design view (which … | |
[Sample Project](https://skydrive.live.com/?cid=e4d7ee6214fdc062&id=E4D7EE6214FDC062%21120) Excuse me. I am a new vb programming and my enlish is not well. A link on top is my sample project. I have to try hard to fix it. But i have no idea how to fix. If you download my project and run it. When you … | |
How do i transfer the information stored in the 2nd and 3rd col of the selected row in datagrid im using visual basic 6 i have to transfer it to a textBox in a diferent form please tell me if its possible | |
i'm working with vb to automate word documents so to create a new document i use dim oword as word.application dim odoc as word.documant odoc=oword.documents.add and to open a document i use odoc=oword.document.add(mypath+mytemplate) but i'm struggling now how to add a template to an existing document for example i want … | |
I have a string of text being sent through a serial port to a text box (Text1.Text). The string has some symbols in in which I am assuming are Hex values. The hex values are Hex(1), Hex(4), Hex(12), and Hex(17). What I need to do is find the position of … | |
Hello community i am new to vb.net and was wondering if anyone had some turtorials as i am trying to create a tool for my job. I would like to create a tool to gather data from sql 2008 by searching a clients name and then pulling the clients record … | |
I have two RichTextBoxes in my vb.net application (rtf1 & rtf2). rtf1 is loaded with the external data. Mostly It contains para split into different sections. The paragraph is a dynamic data, hence the no. of words keep on changing. Now my question is that, I want to select a … | |
I am connecting to a data stream that pushes data continuously and when I tried to set up a network stream I just could not connect and kept getting the 'not found' error. I used the httpwebrequest with webrequest.keepalive = true and started to consume the data by reading into … | |
Hi..... How do i set a listview to only add one item from a combobox? Example: In the text file containing the list are "Chicken, Beef, Buffalo", that already exists in listview is "Cow" then the listview will only add "Chicken, Buffalo". i have here a code for adding items … | |
Hye, i got problem while saved the record. here is my code. Imports System.Data.OleDb Imports System.Data Imports System.Configuration Public Class Form2 Shared STAFF As Form2 Function GetInstance() If STAFF Is Nothing Then STAFF = New Form2 ElseIf STAFF.IsDisposed Then STAFF = New Form2 End If Return STAFF End Function Private … | |
I am having trouble with databinding when trying to add it to a dropdownlist. I can get it to work with a label: <asp:Label ID="Label3" runat="server" Text='<%# Eval("Location") %>'></asp:Label> But when I try with the DropDownList I get this error and I can't seem to find an answer for it. … | |
hi i'm working on a website that i allow the user to enter a name and then press a button that prompts the server to setup a pdf acording to the info the user entered and then send the pdf to the user i'm testing the website on my leptop … | |
Hello, I am new in VB2008. Could you guys please advice how I can programmtically delete/remove/clear the content of a cell of DataGridView? Say,for example,I have the following code that populates with data in DataGridView. Now,how can I clear/delete the "Test4" text from the cell of DataGridView? The GridView is … | |
**I have to create an application that will dynamically add a menu strip with menu items to a form(ie NOT dragged and dropped onto the form) in Visual Basic. The menu strip should be created in the Form_Load event handler. I have to use a TextBox for user input. If … | |
Greetings guys, i don't know if this is the right forum to post it so please forgive me if my topic is not related in to this forum. Uhm, i just want to ask about on how to check if i am successfully connected in ms sql 2008 in vb.net … | |
I need help with the following windows form applications in VB, question is attached. PLEASE HELP ME!!!!!!! | |
Hi, im currently working with an SQL Server 2008 database and im trying to change values in the database usign visual basic. The following code runs correctly and I have tested changing passwords and have been able to logoff and then back on again using the new password. The problem … | |
Hello Friends, I need to create a report for my project I am using Miscrosoft Visual Studio 2010 and the SAP crystal Report I am not able to set up the connection The SQL server that I am using is not coming in the drop down of the server part … | |
I am new to dealing with SQL Express DB tables. I have a Windows application that gives the user a textbox that is bound to a value in my dataset (ds) which reflects my SQL table (Specs) field. The user can change the numeric value of the textbox and I … | |
Here is a example for my work. if a date ---> 20/03/2012 should be shown as 01/04/2012 16/12/2011 Should be shown as 01/01/2012 02/05/2008 Should be shown as 01/06/2012 My requirement is to get a given date as 1st of next month. I know to do this with IF conditions. … | |
Hi peeps, pls i need help on how to hard code my database connect to my application . Example, i want to connect to my application using dim conn as new SqlConnection conn.ConnectionString = " connSring" dim cmd as new SqlCommand cmd.connection = conn cmd.commandType = commandType.text cmd.commandtext = " … | |
SELECT airplanes.ID_airplane FROM (airplanes LEFT OUTER JOIN airplanes_hangar ON airplanes.ID_airplane = airplanes_hangar.ID_airplane) WHERE (airplanes_hangar.ID_airplane IS NULL) This is the vb code. Me.AirplanesTableAdapter.superawesome(Me.Hangar_DataSet.airplanes) I want to pass the values returned to a combobox, or a string, doesn't matter i can take it from there. Can someone tell me how can I … | |
i have problem with query the database. i want to add data into two table that share same Primary key. here my code error message :The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the … | |
I have a Capstone Project this summer where I have to create a program from start to finish. The instructor told us we are not allowed to ask him for help or advice we have to find it ourself so that is why I'm posting here. My idea for my … | |
Hey all. I am busy writing a application that i can set up a list of files to copy from one location to a remote network drive. THe program has a list of "jobs" in a datagrid that it loops through and executes in sequence. What i have now is … |
The End.