20,278 Topics

Member Avatar for
Member Avatar for Susmita_Sikder

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.

0
134
Member Avatar for razree

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

Member Avatar for razree
0
2K
Member Avatar for themaj

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 …

Member Avatar for themaj
0
351
Member Avatar for aimboter89

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 …

Member Avatar for aimboter89
0
186
Member Avatar for dsatele1

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 …

Member Avatar for Unhnd_Exception
0
124
Member Avatar for npmiller

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 …

Member Avatar for adam_k
0
103
Member Avatar for winki

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

Member Avatar for Reverend Jim
0
304
Member Avatar for nanako

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

Member Avatar for poojavb
0
149
Member Avatar for jcgldr

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 …

0
76
Member Avatar for mikeybware

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 …

Member Avatar for Reverend Jim
0
2K
Member Avatar for dmv091

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 …

Member Avatar for Reverend Jim
0
100
Member Avatar for Riteman

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 …

Member Avatar for Riteman
0
3K
Member Avatar for maverick0612

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 …

Member Avatar for Oxiegen
0
1K
Member Avatar for bazzer14

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 …

Member Avatar for bazzer14
0
126
Member Avatar for mie.ilani

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 …

Member Avatar for poojavb
0
127
Member Avatar for abathurst

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

Member Avatar for poojavb
0
184
Member Avatar for jcgldr

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 …

0
83
Member Avatar for elitely

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 …

Member Avatar for elitely
0
4K
Member Avatar for Ruan10

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

Member Avatar for Reverend Jim
0
1K
Member Avatar for Jake.20

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 …

Member Avatar for lolafuertes
0
66
Member Avatar for Ruan10

I need help with the following windows form applications in VB, question is attached. PLEASE HELP ME!!!!!!!

Member Avatar for Reverend Jim
0
588
Member Avatar for dangerousd28

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 …

Member Avatar for dangerousd28
0
220
Member Avatar for poojavb

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 …

Member Avatar for Katie Kate
0
780
Member Avatar for kindofsudden

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 …

Member Avatar for kindofsudden
0
233
Member Avatar for weeraa

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

Member Avatar for poojavb
0
152
Member Avatar for Mechizedek

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

Member Avatar for Mechizedek
0
172
Member Avatar for NtheN

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 …

Member Avatar for poojavb
0
88
Member Avatar for mie.ilani

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 …

Member Avatar for Reverend Jim
0
288
Member Avatar for lbgladson

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 …

Member Avatar for Begginnerdev
0
93
Member Avatar for slpefanis

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 …

Member Avatar for Begginnerdev
0
215

The End.