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

Software Development Network >> Visual Basic

Visual Basic

New Question

The specified module could not be found. (Exception from HRESULT: 0x8007007E)
How to do these things?
VB 2003 & .Net 1.1 - Data Write/Read Issue
"The operation could not be completed. Access denied"
Problem in VB Designer
Nooby here again. Handle the keyDown event.
How do I... ?
Date formula
Upgrade failed
Can't open PowerPoint presentation in VB2005

Top Answerers

Software Engineer
MarkW1
JohanGL
HimanshuG
upgraders
AlexDcosta
scyle
Jim Sn
Nisa
Divided Sky
Topix: Matt Damon
Only Title

Answer Questions

  • detzX Beginner.....what is an attribute?

    <System.STAThread()> _ Public Shared Sub Main()        System.Windows.Forms.Application.EnableVisualStyles()        System.Windows.Forms.Application.Run( New Form1) End Sub 'Main Similary for a web service <WebMethod()> _    Public Function HelloWorld() As String    Return "Hello World" End Function Can anyone explain to me more about attributes Only thing I know about them is they are called attributes. <System.STAThread()> _ or   <WebMethod()> _    Attributes are a way of adding metadata or extra information into your code. That w ...Show All

  • Tammt how can fix the form size same

    hi, i was creating windows application 800*600 Resolution i think the form size is (750,520) to display for the whole screen but as soon as 1024*768 the form the form size reduced can anybody suggest me it is immpossible to do it You can trap the size of your screen with this code: Dim MyScreen As Screen = Screen.PrimaryScreen Dim MyWidth As Integer = MyScreen.Bounds.Width Dim MyHeight As Integer = MyScreen.Bounds.Height Then, just resize your app like: If MyWidth = 1024 Then Me .Width = 'the width Me .Height = 'the height End If Hope this helped Jeff i think we have taken into the account of only two resolution but at prese ...Show All

  • GBC143 How can you set variables to Nothing when using Return?

    Here's a hum dinger.... It's my understanding that it's good programming practice to set variables to nothing when you are done using them, however, how are you supposed to do this when a return statement is involved.  It's a catch 22... you cannot set the variable to nothing before you return it, and you cannot set the variable to nothing after you return it because no statements after "return" run. e.g. Public Function ReturnSomeCrap() As Crapola Dim SomeCrap As Crapola SomeCrap = New Crapola("100 lbs") Return SomeCrap End Function So, where and how do I set SomeCrap = Nothing, since I have to have it to return, and I cannot do it after the return I was referring to the OP code... This is a ...Show All

  • Automate List view control with multiple columns

    How can we tell out list view control [that has multiple coulms in the columns collection] to add a specific list view item in 1st, 2nd or say n th column, I know to see columns we add in the columns collection [@ design time] we have to set the view property of the list view to DETAILS [from the combo], but how we can programatically add text in our desired column in other words how can we manage what item is gonna added in what column Me . ListView1 . View = View . Details Me . ListView1 . Columns . Add ( "C1" ) Me . ListView1 . Columns . Add ( "C2" ) Me . ListView1 . Columns . Add ( "C3" ) Dim I1 As ListViewItem = Me . ListView1 . Items . Add ( "Item1 col ...Show All

  • PLess i need help urgent

    i want to upload file on vss and later perform checkin and check out operations on it..using my own applicastion say "Doc Manager" hows is this possible... is Visual SourceSafe 6.0 Automation is thay way to do this ..or some thing else.. please do tell me regards ghous Yes. Source safe automation is the best way to do this. You can find a sample here: http://msdn.microsoft.com/vstudio/previous/ssafe/downloads/samples/ mian ghous wrote: first fo all thanks dear for managing time to dig out the sloution.. i have an other issue please have a look at this as well "An important limitation of the IVSS events is that all of the action occurs on the cli ...Show All

  • UncleSam89 Display Same Object In Different TabControl Page

    Currently i have one databasegridview in tab page1, how can i bring this databasegridview to the other tab page Thank you. Can you please provide sample code to me Thank you. If interacting with the datagridview changes the underlying database, then reloading the datagridview with the database when you move the datagridview to a new page, should display the changed stuff. If the reason for moving the dgview instead of having a different one on each tabpage, is that you want to preserve changes to the layout, then why not let a single event handle every layoutchange in all the dgviews If a user moves a column in one tabpage's, the other dgviews show the columns the exact ...Show All

  • Dennis Lackmeyer Welcome to the Visual Basic IDE forum!

    Hi all, and welcome to the Visual Basic IDE forum .  I'm Paul Yuknewicz - I'm one of the Program Managers on the Visual Basic product team, and starting today, I'll be moderating these forums.  For more info about me, check out my blog .  Note there is a VB Team blog as well.  In this forum we will cover questions and discussions regarding the all things in the Visual Basic IDE (integrated development environment).  This covers Intellisense, debugging, ErrorCorrect, ClickOnce deployment, code snippets, colorization, smart tags, key bindings, Object Browser, Refactor! for Visual Basic 2005 , etc. The team and I look forward to joining you in discussions about VB. Best, Paul ...Show All

  • Quirk Special Characters in XML File

    Hi all, I have a little problem with XML. This XML file is a UTF-8 codeification and most of the times a "tiny square" appears inside the text, I know I can replace the character but I just don't know which character is. Working with VB.NET (System.xml and System.XML.Path), I tried to get the char number but I get two values: 63 and 13 Dim CharWeird As Char = GetChar(xString, 15) ' 15 is the position of the character (zero based) CharWeird = 63 BUT if I..... Dim CharWeird As Double = Char .GetUnicodeCategory(xString, 14) ' 14 is the position of the character (1 based) CharWeird = 13 Not to mention that if I lookup the char inside the string: xString.IndexOf(63) or xString.IndexOf(13) it always returns -1 me ...Show All

  • lushdog True or False?

    In my project I have a Module with the following code Module modPGS Public Create As Boolean End Module In Form One I have two events one that sets Create = True and one that sets Create = False after setting Create, Form Two opens and an event checks for the state of Create but Create is always False why is this What is the event that sets create = false Such is the problem with global variables. To make it debuggable and pretty, add this code to the PassCreate form: Private mCreate As Boolean Public Property Create() As Boolean Get Return mCreate End Get Set(ByVal value As Boolean) mCreate = value If value Then btnPassCreate.Text = "Create a ...Show All

  • ROLIVIER Textbox Dataformat

    Hi, I am trying to setup the data format optionsto use for values in Textbox. How can i do it I remember using some option which when you click on the e llipsis button ( ... ) in the Format tab of the Textbox Properties dialog box. This property appreaded in the Misc Section. Any suggestions I could locate only a similar option in Report Designer Thanks Access database forms have textboxes with a Format property. No such goodies in Windows Forms... I am not sure if i used a custom control or not, but i am sure it wasnt the Masked Textbox Setu Well, this will do the trick but the standard textbox wont. You may have used a 3rd party cust ...Show All

  • Neotech Variables scope in shared function

    If I declare a function as shared, I would like to know the scope of the variable defined within it. public shared function Testing() dim a as integer ... end function What will happen when 10 calls are made to the same function With the variable be the same In your example, the local variable 'a' is only available while the function is running and a new instance is used each additional time. Here's a good explanation: http://msdn2.microsoft.com/en-us/library/35styb3a.aspx Tony Sorry, Tony. I found that the link you provide still can't clear my mind. It didn't mention the case when the function is shared and how will the local variable in that behave. Moreover, please note that I don't need ...Show All

  • Nubby Difference between C# interfaces and VB.NET interfaces.

    I'm trying to convert a C# sample to vb.net and am running into a bit of a problem. The following C# code compiles.. public interface IView { event EventHandler Load; } public class MyView : System.Web.UI.Page, IView { } While the following VB.NET code does not. Public Interface IView Event Load As EventHandler End Interface Public Class MyView Inherits System.Web.UI.Page Implements IView End Class The error returned is: Class 'MyView' must implement 'Event Load(sender As Object, e As System.EventArgs)' for interface 'IView'. How do I fix this problem It seems like it should be simple! VB.NET requires that classes declare what interface and method it is being implemented, whereas C# infers i ...Show All

  • CodeSweatAndBeers VisualStudio 2005 BUG

    Am developing a forms app using vs2005. All going fine till decided to publish via ClickOnce…. Having published to ClickOnce, now every time I try to debug (F5) the app after doing a code change or opening up the Publishing Project Properties, get “The operation could not be completed. The process cannot access the file because it is being used by another process” Try again – then get “Visual Studio could not copy a support file to this location: Q:\Development\Visual Studio 2005\Projects\projectname\projectname\bin\Debug\projectname.vshost.exe. Please verify the path exists and is writeable”. (projectname changed to protect the innocent) Think it is due to the code being not being on my machine but on the network A ...Show All

  • RookieDBA Program help please!!!

    I'm working on a program that converts something in a metric unit of length (meters, centimeters, etc.) to something in another metric unit of length (meters, centimeters, etc.) Whenever I type in a number, check something in the first checkedlistbox, then check something in the second checked list box, and hit a button, all i get is zero in both boxes. Can someone help me with my code It's just a multiplication error, but I need some help on determining what it is. Thanks. Public Class Form1 Dim dblMultiplier As Double Dim newdblMultiplier As Double Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load CheckedListBox1.Items.Add("Yottameter(Ym)") CheckedListBox1.Items.Add("Zettameter( ...Show All

  • Yurko how to do this???

    A. Application: Control Structures Procedures Arrays B. Program Specification: Project Name: countletters Project Type: Windows Application C. Requirement Description: Write a windows application that accepts a string as input and determines the number of occurences of each character in the string. Implement this using a form with a TextBox, a Button, and a ListBox. Please refer to the graphic file(s) associated with this Machine Problem. Use the TextBox as the data entry for the string, the Button for invoking the count process, and the ListBox for the output. Assume that the user may enter any number of printable character available in the ASCII table. Ignore the spaces and the character case if alphabetic(i.e. 'A' an ...Show All

83848586878889909192939495969798990

©2008 Software Development Network

powered by phorum