Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF VB.NET


[2005] Splitting a file  

HiI have a text file that contains groups of data like thisgroup 1onetwothreegroup 2fourfievsixgroup 3etc...I have the entire text file loaded into a string and I want to extract... Continue Reading
Views : 46
Saturday 3rd of November 2012

[RESOLVED] textbox to show current webbrowser url  

Well, in vb.net 2005, how can i make is so that after the webbrowser has navigated to site, the site address is displayed in a textbox?Cheers! Continue Reading
Views : 46
Saturday 3rd of November 2012

Append data to the already existing dataset  

Hi folks,I have a dataset(global) which has already got some data in it. After some processing I get the new set of data in a new dataset, and the datatable has go the same structure as the global dataset table. I want to append this new set of data in the global dataset table.... Continue Reading
Views : 45
Saturday 3rd of November 2012

tabbed webbrowser, need help!  

Well, i decided to continue my learning of vb.net (2005) by creating a webbrowser. I got all the basic stuff in, pluss some neat extra settings untill i realized: "Hey, tabbed browsing is the only way to browse". And then i tried to implement it, but i just cant make it work.I am... Continue Reading
Views : 53
Saturday 3rd of November 2012

Analysing Print Queues  

I'm in the process of writing an application that queries a SQL database to get name and address details, then outputs them to Word in Label format, and prints out the resulting document.I want to be able to make Word exit once the labels have been printed, but forcing it to close... Continue Reading
Views : 51
Saturday 3rd of November 2012

Restoring database programatically.. error  

I need to programmatically backup a "template" database and restore it under a different name. The template database just contains the structure with stored procs, but no data.What I need to do is everytime we get a new project I need to backup the template db and restore it with... Continue Reading
Views : 52
Saturday 3rd of November 2012

Re: [2005] item's position in webbrowser control  

Is it possible to find out an item's position in webbrowser control? In my program, it has a webbrowser control. I use it to show some html files. Then, I need copy the html into an image. Usually, In the html files only they have some simple items, like textbox, radio button,... Continue Reading
Views : 42
Saturday 3rd of November 2012

Re: [2005] Converting Array Datatype  

Hello,Is it possible to convert the datatype of an entire arrray? Initially I would like to store the array as strings however later I have mathematical functions that use decimal arrays as an argument. I would like to convert the arrays to the decimal datatype. Continue Reading
Views : 54
Saturday 3rd of November 2012

Macro to pickup on checkout command possible  

VS2005 - is this possible?Macro to pickup on checkout command possible? Continue Reading
Views : 42
Saturday 3rd of November 2012

Capture result from a command in cmd   

I found a routing for the Classic VB, but does not work with vb.nettried to convert a vb6 project, but get stuck with convertingI want to capture the result from my cmd prompt, likeipconfig, and the result show in a textboxThanks Continue Reading
Views : 52
Saturday 3rd of November 2012

Re: [2005] Need a good ListView example  

I've been making an audio player for all audio format's using the listbox but now I wanna switch and use the listview mainly for experience for the code for the listview for things like this for example: Continue Reading
Views : 39
Saturday 3rd of November 2012

moving files  

Using VB 2005, trying to create a backup folder that has a date stamp on it. Once the folder is created with the date stamp, I want to move files into that folder. Would it be easier to create a folder called "backup" then move the files into the folder, then rename the folder with a date... Continue Reading
Views : 49
Saturday 3rd of November 2012

Re: [02/03] ODBC DataReader  

I'm using the odbcdatareader to read through a table but I need to identify when its the last row or save the contents of the last read. VB Code: Continue Reading
Views : 48
Saturday 3rd of November 2012

treeview background  

I need to place a picture as a treeview background depending on the selected node.can someone point me in the right direction?thank you Continue Reading
Views : 49
Saturday 3rd of November 2012

Re: how to open  

hiis there a way to open a file when the button is clicked? does any onw know the code for this?tanks in advanc Continue Reading
Views : 44
Saturday 3rd of November 2012

register a hot key  

Basically I want to be able to press ctrl 6 in any window then my vb.net app will do whatever.I also want understand how the hex code for a key combination such as that work out. for example how does 312 = to ctrl f Continue Reading
Views : 59
Saturday 3rd of November 2012

Entering data into 2 tables using a form  

I've created 2 tables, a people table, and a people details table. My first table I wanted just to store data like:lastfirstphoneaddresscitystatezipMy second table I wanted to track job info about the people like what jobs they... Continue Reading
Views : 50
Saturday 3rd of November 2012

Pointer to a connection string  

Hello all, I am trying to set a connection property in a class to be that of an already open sql connection in my calling form.class.Connection = mcnConnectionIn the class my property for the connection is as below:-Private mCnx as... Continue Reading
Views : 46
Saturday 3rd of November 2012

MS Access Database, removing row  

Intellisense will tell you what members are available and you can use the F1 key to go to the help topic for the selected member if you need more information about it. There are numerous tutorials in my signature that address ADO.NET. The Start VB.NET tute even has an Access-specific... Continue Reading
Views : 54
Saturday 3rd of November 2012

region windows form designer  

Hi,I know, this is a silly question, but i couldn't find anything about it. I'm using vs 2005, and when i crete a new project and go to form1.vb code I don't have the region Windows Form Designer generated code.How can i get it? ( whiout copy/paste of another xD ). Continue Reading
Views : 50
Saturday 3rd of November 2012

[2005] Importing dat file  

I am very new to VB 2005, and I have no idea how to proceed with this project. My task is to create a Windows Service that will import an orders.dat file that contains the following headers "FIRSTNAME", "LASTNAME", "ABANUMBER", "ACCOUNTNUMBER", "CITY", "STATE", "ZIP".My goal is... Continue Reading
Views : 54
Saturday 3rd of November 2012

[2003]datagrid problem  

hi,Scenario:I'm creating a .vb windows application which uses a DATAGRID to display records from SQL Server 2000. There are new records added to the database regularly. Hence, my application would need to be able to update the DATAGRID whenever there are... Continue Reading
Views : 51
Saturday 3rd of November 2012

[2005] displaying new images to replace older ones  

[COLOR=DeepSkyBlue]I have managed to display an image on the screen and get it to move around the outside of the screen......it starts in the top left hand corner of the screen and then moves right til it reaches the top right hand corner of the screen....then it moves down the screen til it... Continue Reading
Views : 41
Saturday 3rd of November 2012

Re: New to VB  

Hi,I'm new to VB, and am having problems getting to grips with it. I have no programming experience.I am running VB2005 (standard) and am trying to teach myself from a book called 'Sams Teach Yourself, Visual Basic.NET 2003', a different version I know. I am finding... Continue Reading
Views : 40
Saturday 3rd of November 2012

clear fields  

it's me again ok, i made a databse then connected it to vb. then i make a setup file. after i installed it... Continue Reading
Views : 60
Saturday 3rd of November 2012

double buffering  

I am having trouble using the double bufferI have used the following code Me.SetStyle(ControlStyles.OptimizedDoubleBuffer, True) Me.SetStyle(ControlStyles.UserPaint, True) Me.SetStyle(ControlStyles.AllPaintingInWmPaint, True) ... Continue Reading
Views : 47
Saturday 3rd of November 2012

Re: Sending mail  

i was trying to send an e-mail using this code but it's not working it's not working can someone tell me what is the error for it?Dim message As New MailMessage("sender@address", "from@address", "Subject", "Message Text") Dim emailClient As New SmtpClient("Email... Continue Reading
Views : 42
Saturday 3rd of November 2012

Hi, how to plot 3 curves in 1 graph instead of one curve.  

Hi gd evening everyone I wish to know how to modify the Visual Basic 2005 program in order to plot 3 curves from the Zedgraph in 1 graph in one Application instead of one? Currently if i load the program, i can plot one curve in the application. When I click data... Continue Reading
Views : 58
Saturday 3rd of November 2012

Re: How to get or set the url in a web-browser  

Hi!How can i get the function to Get or set Url for a Process(ex: internet explorer) thanks Continue Reading
Views : 31
Saturday 3rd of November 2012

Re: Icon in MsgBox  

How do I code i icon into my Msgbox? Continue Reading
Views : 47
Saturday 3rd of November 2012