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

Software Development Network >> Visual Basic

Visual Basic

New Question

Check for encrypted match.
Adding a checkbox to a .net ViewView
populating an Access database using visual basic 2005
BindingSource & AddNew record to dtatbase
Large byte types
Video
hook windows key.
Good Systems and Analysis Design
how to create a component
Invocation Error.

Top Answerers

Will Merydith
Quilnux
Jebat
Michael_317
Bernie44601
Kim Carlsen
Shailendra Kumar
Damien fromOZ
sxzhan
olive2
Kelly, Jimi
Only Title

Answer Questions

  • F.Costa Kiosk Keyboard Disable Shortcuts

    Currently I am developing a kiosk in Visual Basic .NET, and I wish to prevent my users to enter any shortcuts and taskbar within the application. Please could advice me what is the best steps or where I may find a simple of the code so I could develop from it. I will look forward hearing from you Regards Programmer. Do a web search on keyboard hooking and this will reveal ways in which you can disable certain system keyboard functionality for your kiosk application. Use carefully as what prevents users from doing things, also prevents you from doing them also which can be a real problem if things go wrong on that machine and you have disabled certain functionalities. ...Show All

  • Wicket Consume a VB.Net Bitmap in VB6

    Hi All: I was hoping I would be able to consume a VB.Net bitmap in a VB6 picturebox. I have no problem creating the system.drawing.bitmap, and I am able to consume a com wrapper class for the bitmap in my VB6 app; however, I can figure out what to do with the bitmap so the the VB6 picturebox can use it. Any ideas If there is a better place for this question please direct me to it. Thanks, Doug. Thanks! Doug. Hi Doug, There's a UserControl template prototype we've posted on our team blog that has code to handle this, download the file at this link and check out this code: http://blogs.msdn.com/vbteam/archive/2006/11/02/interop-road ...Show All

  • Mike Greenway please help saving file

    I have a text box and i want to make be able to save its contens via dialog box the one with the options. various ways of doing this. Dim theSaveFileDialog as new SaveFileDialog() if theSaveFileDialog.ShowDialog() = DialogResult.OK then Dim theStreamWriter as new System.IO.StreamWriter(theSaveFileDialog.FileName) theStreamWriter.Write(Me.theTextbox.Text) theStreamWriter.Close() end if or you can use: Dim theSaveFileDialog as new SaveFileDialog() if theSaveFileDialog.ShowDialog() = DialogResult.OK then My.Computer.FileSystem.WriteAllText(theSaveFileDialog.FileName, Me.theTextBox.Text, false) ' change false to true if you wish to append to the file end if hope th ...Show All

  • cssjm Change a Windows Service Account Password using VB.NET

    I am trying to connect to remote computers and update a service account password using VB.NET 2005. I have found samples of starting and stopping services but nothing on modifying existing services account information. Does anyone have a sample of this that isn't vb script The wmi win32_service class supports this for vista and longhorn server. I am not sure if this is possible in any other version of windows. Thanks for the link. It looks like it should be supported for Xp and Windows Servers 2003 but there isn't a sample...it just provides sample for script and C++. ...Show All

  • Forch User Control problem

    I have a UserControl which basically shows in a textbox the content of a row in a table relationally linked to another table in a database and also a combobox containing the contents of that second table. This mean that as you travel through the main table you can see what the linked text entries are and have a combobox when entering a new record. I started the table in VB.NET 2002 and upgraded it to VB2005 Express and have been using it successfully for some months.So, it has saved considerable code and added to my VB skills. However, having recently discovered the MaxDropDown size property for the combobox I wanted to add a line to the UserControl to fix the MaxDropDown size to be the size of the records in the table it accesses. T ...Show All

  • AndyL Split Question

    I need splitting a file for get any info I wrote this Code:   Dim number As Integer = 0 Dim ParamSeparator() As Char = { "G" , "I" , "F" , "8" , "9" , "a" } Dim gif As String = File.ReadAllText(OpenFileDialog1.FileName) Dim i As Integer = 0 For Each files As String In gif.Split(ParamSeparator) If files.Length > 0 Then ListBox1.Items.Add(i & " " & files.Length + 6 & " 0" ) i = i + files.Length + 6 number = number + 1 End If Next TextBox1.Text = number   And it work but i have a problem with " ParamSeparator". My problem is that if i have a file with this Text: GIF89a11 G GIF89a32 The G doesn't go counted be ...Show All

  • João Cunha Lopes Weird problem with datatable

    My project has a SQL 2005 DB with 3 tables so far. All of these work fine in the forms I have completed. On a new form, I needed to display a field from one of these tables ("Classes") in a listbox for the user to select. I did this, but, when the user selected an item and the SelectedValueChanged event was triggered, I got an exception and when I tried to print the selected item, it said it was "System.data.datarowview". OK, I thought, having tried everything I could think of re databinding via properties window, I'll do it programmatically. Copied code from the Help system as shown: MemLbx.DataSource = ClubSecDBDataSet.Tables( "Classes" ) MemLbx.DisplayMember = "Memberclass" Using ...Show All

  • Rick Spiewak Internet Explorer Plugin Development

    I visited the Internet Explorer forum for this question. What is the conceptual process for creating an Internet Explorer 6 plug-in (extension). Reason for post: I would like to use Internet Explorer instead of the WebBrowser inside my application. It seems like a waste of time to create a brand new custom browser if I could simply change IE to fit my application. Once again, I need IE to reside inside my application - specifically, integrate it into one of my application windows. There is a sample for how to do this in C# here: http://www.codeproject.com/csharp/dotnetbandobjects.asp . You may be able to download the code and convert it into VB. -Scott Wisniewski ...Show All

  • George2 Check for dbnull in an untyped dataset decimal field

    Hi Everyone, How do you check for a null vaulue in an untyped dataset if the field datatype is decimal CK12 wrote: Hi Everyone, How do you check for a null vaulue in an untyped dataset if the field datatype is decimal Have you seen the IsDBNull() method ...Show All

  • Peter Bernhardt [OTP]Accessing column in ASP.NET

    I've the following code in ASP.NET < asp : GridView ID ="GridView2" runat ="server" OnSelectedIndexChanged ="GridView1_SelectedIndexChanged" AutoGenerateSelectButton =true > < Columns > < asp : BoundField DataField ="ProductCode" HeaderText ="Product Code" /> < asp : BoundField DataField ="ProductDesc" HeaderText ="Product Description" /> < asp : BoundField DataField ="ProductRate" HeaderText ="Product Rate" /> < asp : BoundField DataField ="ProductQty" HeaderText ="Product Quantity" /> < asp : TemplateField HeaderText ="Total Value"> < ItemTemplate > <% # Eval( "ProductRate" ) * Eval( "ProductQty" )%> ...Show All

  • etcheverrjc Ethernet Port Watcher

    I am trying to write an application similar to file watcher, but instead of watching a directory I want to watch a wireless connection, as soon as the computer get connected to that specific connection an application will be automatically launched. any ideas Thanks. hmm..thought the user meant a different method but I see where you are going. You could also use WMI for this....there are more than 1 solution to a problem :-) Partial Example Private Sub Form2_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load ' Monitor for network availablility change AddHandler System.Net.NetworkInformation.NetworkChange.NetworkAvailabilityChang ...Show All

  • markovuksanovic AutoScroll problem of FlowLayoutPanel

    Hi I find that if buttons are added to a FlowLayoutPanel, the AutoAcroll (via mouse wheel)works. But if the added controls are pictureBox, then the autoScroll does not work. Does anyone know why The code I used is: Dim panel As New FlowLayoutPanel Dim control As New PictureBox 'Button ' panel.Width = 300 panel.Height = 500 panel.Location = New Point(10, 10) panel.FlowDirection = FlowDirection.TopDown panel.AutoScroll = True panel.BackColor = Color.AliceBlue Me .Controls.Add(panel) control.Width = 200 control.Height = 1300 control.BackColor = Color.Blue panel.Controls.Add(control) Thanks. Thanks for your reply. In your code, ...Show All

  • NetPochi Printing Large windows form in VB.net

    I have a problem in printing large windows form. I have used following code to print the form. still it's printing like print screen, not complete form. Form is larger than the Screen and Scrollable. Private Const SRCCOPY As Integer = &HCC0020 ' create a printing component Private WithEvents pd As Printing.PrintDocument ' storage for form image Dim formImage As Bitmap ' create API prototype Private Declare Function BitBlt Lib "gdi32.dll" Alias _ "BitBlt" (ByVal hdcDest As IntPtr, _ ByVal nXDest As Integer, ByVal nYDest As _ Integer, ByVal nWidth As Integer, _ ByVal nHeight As Integer, ByVal _ hdcSrc As IntPtr, ByVal nXSrc As Integer, _ ByVal nYSrc As Integer, _ ByVal dwRop As ...Show All

  • Kartit splash screen

    I understand the concept of the splash screen, in that its only supposed to be visible while the program or forms behind it load, but I want to use it as a login screen for a program I am working on. I want it to stay up until the ok button is clicked. Is that possible or should i just nix the whole splash screen idea.. Please help! ( code is always good!) You want a login screen, not a splash screen. They are there for different purposes. Use a splash screen for a splash screen and a login form for a login form. Use the login form template for what you want. You can use the login form as you start form for your application requiring them to validate before allowing use of your application. ...Show All

  • ideal24293 MessageBox.Show doesn't works in Win2003 ED. Why?

    Hi everyone, Primary platform is Framework 2.0. We're suffering an odd behaviour for an UI code. We've built a Windows Service by means of VB and everything goes fine. OnStart method and another ones we've defined a MessageBox.Show function in order to show errors or whatever to the users but unfortunately they don't see at all. Curiously it happen only in our server (Windows 2003 Enterprise Edition) no in a Windows XP Pro workstation. Does anyone ever faced this issue According to BOL is not recommendable to show UI in that kind of projects but "only not recommendable". Thanks for your time, I think you'll find the issue is more to do with windows service than the OS - messagebox wor ...Show All

293031323334353637383940414243444546

©2008 Software Development Network

powered by phorum