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

Software Development Network >> Visual Basic

Visual Basic

New Question

Saving Back
Using a declared function in a dir' address.
Hard Disk Serial Number
Mshtml size problem
User Control problem
Split Functions
Speed of DrawImage
Convert VB struct to LPBYTE
How to Create a Console Window from a VB form?
extract images from MHT file

Top Answerers

Suman Ghosh
Daniel Adeniji
fofofree
Arun Shreedhar
Alexander_H
TRU927
MikeV1
FannwongCindy
Bluhman
John Veson
sitemap
Only Title

Answer Questions

  • santosh.kulkarni TextBox Input Validation

    Greetings: I'm trying to get a textbox to only accept the input of numbers, ".", and the back key. I modeled this on the example in the MSDN help files, which is close to what I want and works just fine, but this tweak doesn't work. No input is accepted. The debugger will display that e.KeyCode is "NumPad5{101}", for example, but the debugger slides right over the first Case where I'd expect it to be accepted. Any other key gets the same result. What's missing here Private Sub txtExp_KeyDown( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) _ Handles txtExp.KeyDown Select Case e.KeyCode Case e.KeyCode >= Keys.NumPad0 And e.KeyCode <= Keys.NumPad9 ...Show All

  • Isonduil I'm trying to search an Access Database

    I have an form called LitDir.aspx, and on the form, I have an AccessDataSource, and a GridView. I have no problem showing everything in the database. However, I want to allow users to search by keyword, and only see the results that match their search term appear. I can't find an Visual Studio 2005 tutorials to learn how to do this. Can anybody help me ! have you tried to make the select command for the datasource in runtime for example: remember to use the AccesDatasource, my sample is for SQL dim Product_name as string Product_name = (could be) request.querystring("search") SqlDataSource.SelectCommand = "Select product_id,product_name,product_price from Tbl_Products where product_name li ...Show All

  • SPRepublican generating charts in excel from access data: can it be done?

    Hi, Can anybody give feed back on this query What is the best way to generate charts in excel using data from access in vb.net I would like to know if it is possible.... Thank you. sure can. i haven't used access for a long time, but I'm sure getting the data is the same as our of any other DB. this dude has a good example of it. http://www.codeproject.com/office/Excel_Automation.asp osheet = oexcel.Worksheets( 1 ) ... Dim oChart As Excel.Chart Dim MyCharts As Excel.ChartObjects 'set chart location MyCharts1 = MyCharts.Add( 150 , 30 , 400 , 250 ) oChart = MyCharts1.Chart I haven't done any of it myself, but I have created excel files via vb.net code so I'm sure this will work ...Show All

  • danadanny sum of table colomn to a label

    i am trying to do the following pseudo code 'search the database in table accountInput 'get the sum of all records for collomn acct1 where usr = michael 'show the sum in form home on label1 'if no records in usr = michael then set the label1 to 0 can anyone please help. the following code is how i am accessing the database Dim constr As String = "Provider=Microsoft.Jet.Oledb.4.0; Data Source=|DataDirectory|\KeoFlexDB.mdb" Dim conn As New OleDbConnection(constr) Dim dt As New DataTable() Dim cmd As New OleDbCommand() conn.Open() cmd = New OleDbCommand(m"Select sum(acct1) from accountInput where usr = Michael", conn) if cmd = "" then acct ...Show All

  • Antarctica Login form + SqlDataReader

    How do i check-up a username and a password using an SqlDatareader Which member of the reader should I use to validate credentials if they exist I tried the solution you gave me, I receive no exeptions at all but nothing happens when I press the login button and I'v checked on the QuickWatch window it shows that the 'Reader.read()' has a 'false ' value so from the 'While' statement execution advances straight to the 'Reader.Close()'. What am I doing wrong nice find ;-) hi chyna, please read the answers to this post: http://forums.microsoft.com/MSDN/showpost.aspx postid=1084443&siteid=1 you must reference the sql client in your code by placing on the topmo ...Show All

  • gafferuk Error Message that I can't resolve...

    I am fairly new to writing in VB and in reality it is actually my first true language that I am trying to learn. I am currently writing a small application for where I work that will be used internally by only a couple of people. The purpose of this project is to record and maintain records for troubleshooting calls. This is in essence a CYA (cover your *ss) ploy that also helps us maintain with compliance rules. So essentially what I did was create a small program that would refernce back to a database out on one of our servers. This was supposed to be something that I assumed would be very easy, and at first it did seem to be working properly. Now I have run into a problem that I do not have a solution for. The following is the error I g ...Show All

  • bchu How to install an assembly in GAC

    Hi, All dot net experts, The assembly is CrystalDecisions.CrystalReports.Engine version 10.2.3600.0. When I run my OneTouch deployment of my vs2005 win app converted from vs2003, I got this error saying "Unable to install or run the app. The app requires that assembly Crystalxxx be installed in the GAC first." I googled the topic and found this KB article. But it talked about creating a strong name for the dll you created. Does that also apply to third party Dlls Prior to this point, I have been developing and deploying CR reports in vs2003 without running into this kind of hassle. http: / / support. microsoft. com/ default. aspx/ kb/ 315682 I found this help from another place, and follow ...Show All

  • Shabby PLEASE HELP - Executable properties - right click

    When I browse to a file in a directory in Windows and RIGHT CLICK ON My executable, on the version tab of an executable's properties, how do you set the following fields PLEASE EXPLAIN HOW TO DO THIS IN THE DEVELOPMENT ENVIRONMENT IN DETAIL. I'M TRYING TO SHIP A PRODUCT. THANKS IN ADVANCE Description copyright comments company Legal Trademarks Product name Product Version ------------------------------ on the summary tab, title subject author most of these are configured in the Assembly.cs file. Or perhaps in VS2005, right click the project and go to properties then click on the application tab and select "Assembly Information" and fill out the details there ...Show All

  • gavjohn Extracting numbers from strings from a textbox

    Hello, I'm using a textbox tool to load a 460kb text file using this: '=========== Try Open.OpenFile() myStreamReader = System.IO.File.OpenText(Open.FileName) TextBox1.Text = myStreamReader.ReadToEnd() Catch ex As Exception =====end of code======= the text looks like this: SPINDL/ 70.0000,RPM,CLW GOTO / -9.00000, 0.00000, 12.00000 GOTO / -9.00000, 0.00000, 2.00000 GOTO / -9.00000, 0.00000, -5.00000 GOTO / 0.00000, 0.00000, -5.00000 i need to extract the numbers 9.0 , 0.0 and 12 from the textbox once the file is loaded in the text box, how do i do this is there a way to perform a search thank you for your assisstance. you can use Regex, regular expressions, can be expensive however but powerful! I am not great on Reg ...Show All

  • jens_essen How do I Zoom in my WebBrowser control?

    Hello everyone, I need to know how to get my WebBrowser to Zoom in and out. I want it to have split button or something like that that has 25%, 50%, 75%, and 100% items when I click the button (you know, like in Internet Explorer). I have tried all kinds of code but they dont work.....I have tried to use Create Graphics() but it doesnt work........and many others. I know there is a way to do it, but I cant find how, so somebody here probably should know how.... The WebBrowser control on my form is named WebBrowser . Thanks in advance, fspilot2006 Well, it works in Internet Explorer, but it does not work on my WebBrowser. Maybe somebody has code for zooming in webBrowser If so, please send to me! ...Show All

  • pmanisekaran winsock in visual basic 2005 express

    I dunno if i am blind or not but i don't see the winsock control in the toolbox in visual basic 2005 express Can someone telll me where its located at or did they forget to put it in there lol Please e-mail at dnorman740@alltel.net Thanks Is this a tool, or do I have to get technical with it to get this An unhandled exception means that there was some sort of error in your program. If you use the debugger (hit F5 to start instead of CTRL-F5), the exception assistant should pop up and give you help and diagnostic information as to the source of the exception. i have no problem until its already compiled..... ...Show All

  • Aaron Oneal How to navigate a song to windows media player.

    I want to have the name of a song/album navigating to Windows Media Player when you click the Title. Does anyone know code so i can do this in VB. Thanks Thanks, I'll give it a go. if WMP is the default player on the machine then: Process . Start ( "MyFIle.mp3" ) otherwise: Dim P As New Process P . StartInfo . FileName = ( "PathToMediaPlayerExecutable" ) P . StartInfo . Arguments = "PathToMediaFile" P . Start () Deco wrote: I want to have the name of a song/album navigating to Windows Media Player when you click the Title. Does anyone know code so i can do this in VB. Thanks ...Show All

  • KevinHall what is the definition of module???

    Hi I need some help. I was searching the definition of module, but I haven't found it yet. Could someone explain me exactly what module is please thanks!!!! Check out this explanation: http://weblogs.asp.net/alex_papadimoulis/archive/2004/06/17/158295.aspx A module in VB terms is like a class with all members / methods defined as shared. So if you where to define a class with all methods/members defined as shared it would be the same. I would assume you are talking about this module rather than a netmodule which is something completely different. ...Show All

  • polymorphicx Questions about Entry point in VS2005's winform

    In vs2003,every form has a constructor that invoke the methed InitializeComponent to initialize the form,but in vs2005 there is not a visible constructor that invoke that method.How does initialization of form work There is some confusion in here, and I'll try to clarify it. VB and C# are different with regards to how they call InitializeComponent. C# uses an explicit constructor with an explicit call inside the hidden FormX.Designer.cs file. For VB, there is no explicit constructor inside the hidden FormX.Desiger.vb file. Because of this difference, the VB compiler will automatically generate the call to InitializeComponent inside the synthetic constructor for the Form. If the user adds explici ...Show All

  • W0KCF-Kevin change from vs2003 to vs2005

    Hi, .Net experts, I am at the eve of go live with my first full scale dot net windows app. I developed it in vs2003. Now we are thinking about change over to vs2005, primary for its one touch deployment capability. I know there are other newer features/upgrades associated with vs2005, but for this project, they would not make too much difference. My concern is that will the change break anything. I know a lot of factors can come into place here. Here is the laundry list. And please give me your advice, thanks! Old: vs.net professional version 2003 Upgrade New: vs2005 Professional Upgrade Nature of the app: windows app, client/server with sql server 2000, up to 50 users in one physical location, d ata access layer is using Microsoft.Appli ...Show All

656667686970717273747576777879808182

©2008 Software Development Network

powered by phorum