Software Development Network Logo
  • VS Team System
  • Smart Devicet
  • Visual C++
  • Windows Vista
  • SQL Server
  • IE Development
  • Visual Basic
  • Audio and Video
  • Game Technologies
  • Visual C#
  • Microsoft ISV
  • .NET Development
  • Visual Studio
  • SharePoint Products
  • Visual FoxPro

Software Development Network >> Visual Basic

Visual Basic

New Question

movie collection starter kit
Printing Component - Visual Studio 2005
Sending RTF formated emails from VB.net through MSOutlook
keyboard buffer
Free S.O. for VB2005 ?
Multipage Tabs
bind a combobox to a table which contain two or more primary keys in vb.net 2005
not sure how to overload a property
VB6 --> .Net Question Urgent!
KeyPress Event, Highlighting Text Questions

Top Answerers

amit007
joeydj
robinjam
Khenat.Ram
Pockey
Proxima
Tobias Boehler
Gregory Storme
thejez
MatteusX
Software-Web di Morresi Matteo
Only Title

Answer Questions

  • Tryin2Bgood Printing

    Hi, I want to print a form of from vb.net window application. is it possible for me to print the whole form out through printer If can, may i know how can i do so Hi all, Can anyone please help me Is there anyway that i can print only certain component such as label and textbox only in a form, Can I jus choose a few components in a form to be printed I'll leave the printing part up to you, but here's how you capture the image: Private Declare Function GetDesktopWindow Lib "user32" () As Integer Private Declare Function GetWindowDC Lib "user32" ( ByVal hwnd As Integer ) As Integer Private Declare Function GetDC Lib "user32" ( ByVal hwn ...Show All

  • pwhitaker Math Questions

    This is my code I'm working with. I'm trying to use the sum from the lhGal to show in lhGal2.Text. Dim FirstNum, SecondNum, ThirdNum, FourthNum As Double 'Intial Fuel Add FirstNum = lhPounds.Text SecondNum = lhDensity.Text ThirdNum = lhGal.Text FourthNum = lhPounds2.Text lhGal.Text = FirstNum / SecondNum - 0.4 'Additional Fuel Added to bring to 1200 lhGal2.Text= FourthNum / SecondNum - lhGal   Spidermans_DarkSide wrote: Hi, '   As long as the numbers are right in the textboxes this should work!! '   This is your original code only altered with CDBL and CSTR   '   instructions added into the  ...Show All

  • DanO84 generating random letters

    What is the code for generating random letters either uppercase or lowercase in VB.NET You can use the Random class for that. Here's an example: Dim rand As New Random Dim letter As String letter = ChrW(rand.Next(Asc("A"), Asc("Z") + 1)) The Random.Next method takes 2 parameters, minValue and maxValue. Since these parameters are integers you need to use Asc to get the code of characters A and Z. + 1 is needed because maxValue is exclusive and without + 1 the Z letter will never be generated. The return of Next is also an integer so you need to convert it to a letter using ChrW function. ...Show All

  • matto Error in loading DLL Because I have installed Visual Studio.NET in my Machine.

    HI All, I have a problem in Visual Basic Application. As my Visual Basic Application is running fine but when i installed Visual Studio.NET 2003 in my system i m getting Error As :- Compiler Error: Error in Loading DLL. I want to ask one more thing "Is it possible that any DLL or referenced DLL of Visual studio got updated because we installed VS.NET 2003 ". if its possible then which dll is it. So any one can tell me why its happening. Thanks in Advance. What is the version of the VB application 02(framework 1.0 )and then you upgraded to 03 (frameork 1.1) You should be able to look at the stack and see which dll call is causeing the error! ...Show All

  • Antioch The specified module could not be found. (Exception from HRESULT: 0x8007007E)

    Hi, a Visual Basic 2005 project was saved on a USB memory. Then it was copied to the hard disk. When trying to open the project from the hard disk, it is not possible to load some forms and this is the message that appears: Errores al cargar el disenador. Los errores se citan a continuacion. Algunos errores se pueden corregir volviendo a generar el proyecto, otros puede que requieran cambios en el codigo. The specified module could not be found. (Excepcion de HRESULT: 0x8007007E) Ocultar en System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid) en System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid) en System.Windows.Forms.AxHost.Create ...Show All

  • paso string matching

    hi all i m working on string matching pattern. can any one suggest me that how can i make different pattern for string matching. gorla, This example looks for parts of a string surrounded by double quotes and replaces occurrences of / with within those parts. The rest of the string also contains / so you can see that the code doesn't replace those instances. When you click the Replace button, the program uses Regex.Matches to get a collection of matches for the pattern "[^"]*". This pattern matches a quote, followed by any number of non-quotes, followed by a quote. For each match, the code adds the part of the input string between this match and the previous one and then the matched text with the a ...Show All

  • Steve Whitley Needing Some Knowledge About Visual Basic

    What are the limatations of Visual Basic - I am familiar with html, and dhtml, I'm learning CSS & C+ currently. -- Anyway, my hobby is making all kinds of websites. My cousin wanted me to make her a virtual pet site. Like Neopets R something interactive, where you can have items, stores, pets, and stuff like that. I don't know how to make this, and I've been trying to learn for what seems like forever. However I don't know what to search for to learn this. I found Visual Basic yesterday, and it is soo much easier than notepad. I haven't found out everything about it yet, and I was hoping someone can point me in the right direction, what to search for to learn how to make a virtual pet site.. I know it sounds childish but it's imp ...Show All

  • adamoneil Uploading Files

    Hi there, I know how to upload a file to a remote server but it always comes up with a dialog box saying where it going, etc. Is there any code that stops that dialog box appearing. Thanks, AliQ Hi AliQ, Can you give us a little more information on the method/code you are using to upload the file Richard Dick Donny, I am sorry I didn't mention this ... My .Computer.Network.UploadFile( "C:\MyFileLocation" , " ftp://MyRemoteServerLocation " , username, password, True , 500) AliQ Hi AliQ It looks like you are setting the ShowUI argument to true. Try the following and see if it solves the problem ... My .Computer.Network.UploadFile( "C:\MyFileLocation& ...Show All

  • Petchey DllRegisterServer entry point was not found

    I'm trying to use a .DLL file in a program I'm writing, and it comes up with the following error: hai. I am trying to register a Ms-Access assembly using regsvr32. I need to do the Ms-Access application. In that application i need to send and receive email with attachment. I am done the send email. But the attachment was pending. I need the Common Dialog Control for Browse and Select the file, and the selected file path was stored in a textbox. But in my Access form toolbox, doesn't contain the Common dialog control. So am click the more controls button to Select the "Microsoft Common Dialog Control, Version 6.0". When i try to put this control in my Access Form. one error message was show me. The error m ...Show All

  • Scythen counting letters in a textbox?

    Is it possible to count the number of letters in a textbox OR label e.g >textbox1.text = "thesister" would return a value of 9 letters is this possible Would retrieving the length of text, contained in a textbox, work for you textBox1.Text.Length Andrej What would this return a single value of how many characters or something else You could use this method. It would probably be faster with much larger strings. Imports System.Text.RegularExpressions ' input text Dim inputTxt As String = "_() letter _+=" Dim totalLetters As Integer = 0 'fetch the total number of letters - 6 in this case... ...Show All

  • december_i How do I count rows in a dataset or loop through a column?

    I want to assign a dataset row count to an integer type variable. This is what I did, but it's not working: countcourses = dataset.Tables("Course").Rows.Count Also, how do I loop through a dataset column and extract every value to a collection of strings (or in my case, a class that holds the string collection) Thanks for any help. Thanks a million. that was all the help I needed..and more! to loop through a dataset and columns: for each currentRow as DataRow in theDataSet.Tables(0).Rows for each currentColumn as DataColumn in currentRow MessageBox.Show(currentRow(currentColumn.ColumnName).ToString()) next next this will loop thr ...Show All

  • Joel Hensley (VB)Updating row data in SQL

    Hey guys, I have a small issue doing the following. Before inserting rows into a table I need to make sure that the rows is not already there.. If they are, I want to update the rows, else insert new rows .. I have the inserting of new rows figured out, but can't figure out how to check if the row is already there .. This is where I need your help.. Thanks, Nilysg Hey DMan, This were exactly what I were looking for :) (Can't believe how much time I used searching for something this simple) Thanks alot, Nilysg Hmm... I redraw my "simple" statement for now .. Code: Private Sub AddHublist(ByRef sMyinfo As String) Dim s() As ...Show All

  • Rollin561 RegExp

    Hi, If I had a textbox that contained the following: --------------------------------------------------- Mr FirstName LastName ABCD Ltd, Address 1, Address 2, Town/City, PostCode, Notes1, Tel: 0171 800900, Fax: 0171 800909 --------------------------------------------------- how can I parse this to -------------------------------------------------------------------------------------------------------------- Mr, FirstName, LastName, ABCD Ltd, Address 1, Address 2, Town/City, PostCode, Notes1, 0171 800900, 0171 800909 -------------------------------------------------------------------------------------------------------------- I now this can be done using Linux GREP but I am new to regular expressions and its options. Any assistan ...Show All

  • David N.4117 DeviceIOControl and SCSI_PASS_THROUGH_DIRECT

    Hi, I'm trying to get data from a SCSI Inquiry command in VB. I'm using DeviceIOControl with SCSI_PASS_THROUGH_DIRECT - the call goes through OK and DeviceIOControl returns 0, but I can't seem to get the expected data back - retBytes just contains 7 bytes of seemingly (but probably not) random data: (40, 4, 20, 0 , 40, 4, 20). Changing scsi.dataIn to 0 gets me 255 bytes of data, but not the data I should be getting. Any help would be greatly appreciated. Here's what I'm doing. offset as Byte is ignored for now, and fileHandle is a valid handle to \\.\F:. Private Function getVPDPage(ByVal offset As Byte, ByVal fileHandle As Long) As Byte() Dim status As Long Dim dIn As IntPtr = Marshal.AllocHGlobal(255) Dim dOut As IntPtr = Ma ...Show All

  • Frank2808 insert snippet with a shortcut key

    I write in VB.Net with VS2005. I would like to insert my code snippet with a single shortcut key. It's so inconvenient for me to insert a code snippet every time according to the following steps: 1. right click on my VB codes 2. click the "Insert Snippet..." menu item from the context menu 3. find and select the folder of the snippet I would like to use 4. find the snippet I would like to use from the selected folder The above 4 steps is too long to me. What I want is a single shortcut key for each insertion action. I considered to record a macro for this. However, I found out that I could not pop up the context menu for the "Insert Snippet..." menu item once I have started marco recording. How can I insert my code snippet in a faster way ...Show All

8485868788899091929394959697989901

©2008 Software Development Network

powered by phorum