579 byte By
teamdad at 2007-12-5 22:14:11
Ok... using the embedded RTF file is working great but in a discussion with another board member from another site that does some work for MS it's not an option to divert focus or prevent someone from resizing a picture from a RichTextBox unless the RichTextBox is locked/disabled and then would...
2763 byte By
KC GSR at 2007-12-4 23:57:07
Hey everyone, I am in over my head and was looking for a little bit of guidance. I just started learning .NET last week and my boss is needing me to develop an application for 100 users. The only real programming I have done was in VB6 and that was mainly for little utility programs to import vendor...
640 byte By
LyNdA^ at 2007-12-4 10:39:25
Imports System.Runtime.InteropServices <StructLayout(LayoutKind.Sequential)> _ Public Structure WSAData Dim wVersion As Short Dim wHighVersion As Short <MarshalAs(UnmanagedType.ByValTStr, SizeConst:=WSADESCRIPTION_LEN + 1)> _ Dim szDescription As Char...
I got a program wich stores some values and every time it saves it ads another line in a txt file but I want that when there are 3 lines in it. so how do I make that the next time you save it saves on the next line ? and when there are 3 lines it exports al the lines to a new file, but when i export...
222 byte By
yolip at 2007-12-1 0:35:00
Hi all<br/> is there any function in VB.NET does the same job as CreateObject in VB6?<br/> VB6 Code:<br/> Dim objDefine As Object<br/> Set objDefine = CreateObject("prjSysDefine.clsStart")<br/>Thanks
590 byte By
SarH at 2007-11-29 14:56:31
A the moment I've got my program reading text from a text file, which is great. The text file holds just 11 numbers (eg 11211215665), what I'd like to do is have it read the 11 numbers and take the last 4 digits (5665) to store as an int or something. Does anyone have any clue how I could...
Is there a way to test multiple wav files or directories of wav files or wav files from other machines, using the codecs install on a machine, to analyze or test to see if there is audio on the file or not and if no audio then write it to a comma delimited flat file
Hi to all. I want to open and close local ports like port 25 or port 80 with vb.net. Can you help me pls?
1796 byte By
TT-n at 2007-11-25 11:56:05
Here is an example of how to get the handle of the window, that currently has the keyboard focus.Since GetFocus is limited to the calling thread, this will attatch the thread input temporarily. Private Declare Function apiGetForegroundWindow Lib "user32" Alias "GetForegroundWindow" () As Int32...
1015 byte By
kahyoong at 2007-11-25 11:55:59
hi, I'm having an error during runtime of my code.Dim theFile As String OpenFileDialog1.InitialDirectory = Application.ExecutablePath OpenFileDialog1.DefaultExt = "mpp" 'custom format OpenFileDialog1.FileName = "" OpenFileDialog1.Filter = "Microsoft Project File...
1502 byte By
ai4u at 2007-11-25 11:54:55
I want to develop a POCKET PC application for PDA HP iPAQ hx2400 which have Windows Mobile. In my Local PC I have VS2005 and SQL 2000 on windows XP. When I try a simple application in VS2005 with local DB connectivity and run it on Pocket PC 2003 SE Emulator which is inbuilt in VS2005 it gives me "S...
i have created a web application using VB2005, i have stored date in one variable that i created in one page but when trying to access that variable in another page using request.querystring the variable return blank. Below is the code i am usingPage1.aspxResponse.Write(username)--saving the data fr...
357 byte By
furjaw at 2007-11-25 11:54:29
Visual Basic 2005: I have a DataGridView in Last Name sequence.Is it possible to when a user types the first letter of a last namethat it displays all rows with last names that start with that letter.When he types the second letter, it displays all records whose last name starts with those 2 letters...
969 byte By
derok at 2007-11-25 11:53:49
Hi,i am using visual studio 2003 and sql server 2000I have a program that connects to a database.the database contains two colums:example:ProductId--Name1----Casino Royale2----Silent Hill3----Lady in the Waterthere is a "Form1"when i click on a menu item on Form1, an inputbox is displayed asking the...
11646 byte By
TT-n at 2007-11-25 11:51:42
Title InputToWin(BETA)License info You must credit the author. Author nameShane FindleySystem RequirementsME/2000/XP/Vista with VB2003 or 2005 1.1 or 2.0 .NET FrameworkDescriptionThis class can be used to send keyboard and mouse events directly to a window.It sends input events, to the specified win...
244 byte By
GeoNav at 2007-11-25 11:51:32
Hi.....<br/> When I try to add a new row to a DataGridView in VS.net 2005, the new row is getting added with a row index of zero. <br/> How do I get it added as the lower most row with max row index?<br/> Thanks......<br/> GeoNav
4255 byte By
derok at 2007-11-25 11:51:27
Hi, i am trying to run this program, but it sends error:No controled exception of type: 'System.Data.SqlClient.SqlException' in system.data.dlladditional info: system errori am using visual studio 2003 and sql server 2000what can i do to solve this?thanks...Imports SystemImports System.Dat...
I've been looking around the MSDN about Bluetooth but all i've got was about Bluetooth connection between a computer and a mobile device. Now im wondering whether this is possible. Is it possible? How can it be done?
hiiiii need to know something. it would be great if anyone helps me ! i am making a dvd player sort of thing using the mswebdvd control... i have used its basic functionality to play, stop etc. they all work absolutely fine.. what i further want in this player is that i can search within the video...
276 byte By
bheller at 2007-11-25 11:50:37
I am relatively new to programming.<br/> I am currently using two seperate projects, one being vb.net and the other csharp, and would like to combine the two to one form, or program. Is there some simple way of doing this?<br/>Any help would greatly be appreciated,
272 byte By
g1m0v0n5 at 2007-11-25 11:50:21
Hai,<br/>I have one database containing Names,Address and Mailid, and some other details.<br/>I want to extract all email id from the database and save it into the notepad.<br/>Can anybody help to solve this.<br/>Database is Ms Access 2000.<br/>I need help in Vb.net 2005.
272 byte By
kahyoong at 2007-11-25 11:50:20
hi, I'm having difficulty in waking up a MS Project 2003 file using vb.net 2005. I need to retrieve the data at each row of each column but I don't know how to map the column name in MS Project with the textbox in vb.net. I need your guidance. thanks<br/>KY
anyone have idea about SMS pizza ordering system using VB.net
Hi, i face a problem in printing a report from report viewer with two sub report.My report layout is as below:Parent Report-------Body SectionSubReport1 SubReport2I have successfully created the report and the result is correct.But when i come to the print preview mode or printing the report,...
530 byte By
madhu_j at 2007-11-25 11:49:26
I am creating an Image processing Application in which 3 or 4 Images are superimposed one over the other. I am using DrawImage function for displaying the images. I want to select the Images using Layer concept and change it properties such as fillcolor, size etc. and use sendtoback/bringtofront for...
2258 byte By
1druid1 at 2007-11-25 11:49:02
Hi AllI have an external application that I connect to, unfortuantly for some reason both VB.net and Crystal Reports does not like connecting to it using Add New Datasource Wizard or the GUI's, so for my .net application I connect to it using code as follows.. Dim connectionstring As Str...
2123 byte By
bjswift at 2007-11-25 11:48:42
I have been working for a consulting group for six months now, was brought on as their first employee to take them into the world of .net. I've done asp.net and vb.net winforms applications. They normally work with applications written in Access, but the back end has always been MS Sql Server...
97 byte By
omrao at 2007-11-25 11:45:56
hi,<br/>can anyone tell me how to do rounded button with gradient color inside?<br/>OM.
hi guys, i am quite new to .net programming and i have to do this task which when i want to add information a pop up box will display and i will add the information in, once okay it will be displayed in a data grid. any suggestions or opinions on how do i use the pop up box and get them to add into...
267 byte By
chfyin at 2007-11-25 11:44:33
Dear Gurus:<br/>how can i cleanup an exception occurred in Try section or don't throw the exception to the caller? <br/>i try to start a process and if it fails, i would like to do something else and not throw any exception from here. <br/>Thanks,
519 byte By
codeUp at 2007-11-25 11:42:44
Hello I've been going thru Ged Mead's charting articles and they work in VS 2003 but not in VS 2005. The line chart in particular. I am getting no errors but on the chart it has a solid blue horizontal line for the points instead of nice random points. I've tried to vary the data numb...
HiI using VB.Net 2003 with simple SQL commands in my code.Now my application open the Access database file with no user name or password but i need to add this support to the MDB file so my basic questions re:1. How can i add via code a new user + his password to the MDB file?2. How do i open a MDB...
336 byte By
M V Mack at 2007-11-25 11:42:12
I have just installed Office 2007 and changed the references in a VB.net program to use the new settings however the program will no longer function properly on a computer with an earlier version of office. how can I make the program function with older versions of office?Thanks in advance for any h...
2117 byte By
Altaine at 2007-11-25 11:40:06
I am having problems with my dynamic array, I have a function to find the UBound of the array and if it is equal to or greater than a variable then it adds 10 to the variable. It is also supposed to find the next avalible array section to put a variable in. My problem is that when I try to load th...
599 byte By
dglienna at 2007-11-25 11:38:57
Updating a program that uses the vb6 Inet Control, to POST to a site, and retrieve info. I ran the VB.Net Wizard, and it produced a working program. ;)It's still using the VB6 namespace. I was looking into REMOTING, but it seems to only connect thru a Channel to another Channel.If I don'...
3117 byte By
sotoasty at 2007-11-25 11:38:42
I have a .DLL with a user control in it. On most of the machines we have installed this on, we have not had any problems. However I am having a problem with a win 2000 machine. Here is the error as lister.See the end of this message for details on invoking just-in-time (JIT) debugging instead of t...
78 byte By
luckroth at 2007-11-25 11:37:54
hi all. how could i write or read xml data to mysql? many thank for your help.
547 byte By
g1m0v0n5 at 2007-11-25 11:37:35
Hai,I had developed on project entitld as resume handler in vb.net 2005 and ms access 2000.In this we are storing the candidate details who are all applying for job in our company.It will entire details of the candidate.I want to add another advantage in my project.If I select a candidate name a Rep...
595 byte By
Rehorav at 2007-11-25 11:37:16
I need to make a program that can retrieve the width of lines and put it into a histogram. Same thing with the height of lines, but a seperate histogram. I've already looked into histograms and I know how to do those ( I'm using C# for that ). Its how to retrieve the width and height of al...
3554 byte By
satoriman at 2007-11-25 11:36:16
Hi,I am getting a Specified argument was out of the range of valid values. - Parameter name: index, ERROR when I click on a dynamically created treeview control in my asp.net (Framework 2) web page. The treeview populates as expected but when clicking on the child node I get the above mentioned er...
305 byte By
ntchinh at 2007-11-25 11:36:09
Hi friends,I trying to develop a tool (the same On-screen Keyboard on Windows, but it's too small key button).But i'm having a problem. When i click on the button on my application, how to set active other application to receive key code?Can you help me?Thanks...
Hi Guru's,Acctually i am looking to control some realworld's electronic's with the help of parallel port, i already know about parallel ports basics and some other stuff, so by the help of these things i created a simple circuit with a switch on it simply controlling a led and connec...
Hello. I have three picture boxes:1.) Background Image (JPG)2.) Circle (Transparent GIF)3.) Triangle (Transparent GIF)The arrow keys move the circle left and right, up and down. Currently, i have the circle and the triangle's parent set to picturebox1 (background image). When the circle moves o...
I'm using VBscript to validate a form in an asp page. I need to validate two textboxes. One for alphabetic character & the other will be alphanumeric(The first letter should be alphabetic & the next 5 should be numeric) how can i do it. after validating if there is any problem the asp page will...
Here is the scenario:<br/>A program(USBProgram) is stored in a USB Flash Drive.<br/>When the USB Flash Drive is inserted to a computer, the USBProgram is executed automatically.<br/>Is this possible?
892 byte By
idle at 2007-11-25 11:33:36
anyone know where i can find some decent information on permutations both with VB and without, i've had a search about and found some half decent resources but nothing really in-depth.EDIT: can't change the title of the thread?? anywayhere are some of the links i've found in case anyo...
Hi,I am tring this code to add a new record into access. But when I run the code I am getting an error message as syntex error.Here is the code that I am trying..... Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Clickinc = 0If inc <> -1 T...
162 byte By
bheller at 2007-11-25 11:31:52
I need to create a buffer for incoming bytes through the serial port and then parse the bytes. Is there some straightforward way of doing this with vb.net? thanks
2673 byte By
Cor Pruim at 2007-11-25 11:31:41
I have a very strange problem. I have written a Windows Service with VS2003 in vb.net. This service does some calculations and after that it needs to produce some Excel reports by getting data from an Oracle database.This has been working fine for two years and it still is working fine in our produc...
91 byte By
bheller at 2007-11-25 11:30:44
Is there some easy way to index multiple textboxes in vb.net. It was simple in 6.0...thanks