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

Software Development Network >> Visual Basic

Visual Basic

New Question

Urgent help needed
Changing the Font of an Excel Cell from Visual Basic
Is it non sense?
How to Detect USB Flash Drive
Validating Textbox
Creating a form to populate and print an A4 size document
registering filetypes to an app
Is this possible
passing a function's name to another function (or sub)
disable beep on the enter key

Top Answerers

Steve Jensen
Curt Zarger
PolkaDance
Steven D
Pekec N
Targe309404
pdDallas
narend
Chris Medlock
Nonu_k
sitemap
Only Title

Answer Questions

  • Radexx Poor Performance in Visual Studio

    Hi, I am an experienced VB6 programmer, but just a new starter in Visual Studio 2005. I have found Visual Studio 2005 to be very slow. I set up 3 simple tests with the following results:- 1. Scanning 20,000 directory entries and retrieving date/time and size info VB6 3 Secs Visual Studio (Debug) 13 secs Visual Studio (exe) 3 Secs 2. loading 100,000 Nodes into a treeview VB6 2 secs Visual Studio (Debug) 320 secs Visual Studio (exe) 140 secs 3. loading 100,000 Items into a Listview VB6 2 secs 11 secs Visual Studio (Debug) 270 Secs ...Show All

  • sweet_salt Processor optimized compiler

    Hi all, I want to improve the performance of my application by compiling my application with a processor optimized compiler. Is there a vb.net compiler optimized for Xeon processors Now, I know that the vb compiler compiles the code into an intermediate language file. So I can’t actually see any improvements here, or am I wrong That’s why I think to use ngen.exe to pre-compile my application assemblies. Is there a special ngen.exe optimized for Xeon processors available Any answer could help me further. Regards, George Homorozeanu. I want to optimize our application for XEON processors because we have a terminal server and the application will run on that termina ...Show All

  • RSUser08 comparing dates

    tryin got compare a user selected date with dates present in a dataset obtained from an sql database. on button clik the following code is executed. Reset field has to be changed on finding the specific date but this does not happen. Protected Sub ResetAll( ByVal sender As Object , ByVal e As System.EventArgs) Dim cmdObject As New SqlClient.SqlCommand 'select the trainees that have not been reset cmdObject.CommandText = "select CompletionID, EmployeeID, CompletionDate,Reset " & _ "from POPMA_Trainees " & _ "where Reset = 0 order by CompletionDate " Dim ds As DataSet = eLearningDatabaseMethods.GetDataSet(System.Web.HttpContext.Current.Request( &q ...Show All

  • gajar Writing Files to a Single Folder

    My application is developed in vb.2003. It is a database application that stores file paths in the database and the actual file data into a file. Is there a limit on the number of files that can be stored to a single folder Thanks, The limitation is based upon available disk space just to add, as long as 1 file does not exceed more than 4GB on FAT32 partitions, but this is now unlikely since most computers with Windows 2000/XP/2003/Vista use NTFS ...Show All

  • Nelson Rodrigues Change system time using vb.net

    Does anyone know how to change the system clock using code. I want to be able to set the date and time in my code. Any thoughts Thanks!!! It is not a third party program. I dont want to just click a button and the date and time is displayed. The program i am using is time orentied. The time in the program keeps up with the system time or whatever time u set it to. I want to be able to edit the time through a form in my program. NOT just click a button and set the current date and time. I want what i stated in my previous post. indeed there is, try this: //create a structure: Structure SYSTEMTIME Public wYear As Short Public wMonth As Sho ...Show All

  • SankaraNarayanan Nagalingam Building a defragmentation tool with VB?

    Hello :) I want to train my VB and had this great idea for a small defragmentation tool with Visual Studio 2005. Only problem is, is there any "easy" way to defrag hard disks with VB code I wouldn't have a clue about where I should start looking.. (if it's possible at all) So if anyone would have any lead as to where I should start looking/learning, thank you very much! Greatly appreciated, Steven This depends on exactly what it is you're trying to get experience with. I've been playing on and off with a project to do just this, but instead of rewriting the defrag process, I invoked the WMI defrag class. The end result is an application that triggers a defrag analysis on all servers in my d ...Show All

  • Vladimir_Kost How can I cycle through all the System.Drawing.Colors?

    I worked out the Console version to cycle through all 16 available colors: Sub Main() Dim x, y As Integer For x = 0 To 15 Console.BackgroundColor = CType(x, ConsoleColor) Console.Clear() For y = 0 To 15 Console.ForegroundColor = CType(y, ConsoleColor) Console.WriteLine("Background: {0}; Foreground: {1}", x, y) Next y Console.ReadLine() Next x Console.ResetColor() Console.Clear() Console.WriteLine() End Sub I also worked out a program that cycles through 4 colors in a Windows form: Private Sub btnCycle_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCycle.Click Static x As Integer x = x + 1 If x = 5 Then x ...Show All

  • Rudy Hentzen Clickevents for a dynamically built menu

    Hi, I'm making a custom browser with the webbrowser form and I've gotten stuck building the favorites menu. The way I have the code set up is that it reads all the favorites files and subdirectories in the user's default Favorites directory (Documents and Settings/$user/Favorites) and builds a dropmenu to the 'Favorites' menu button by adding the files one at a time as menu buttons. Subdirectories are also added, with dropdown lists of the files they contain. It's very similar functionally to the Internet Explorer favorites menu. Anyway, I have implemented clickevents for favorites menu using the DropDownItemClicked event, but this only goes down one level. I can't figure out any way to add event handlers to the buttons that dropdown from ...Show All

  • bk13 Webbrowser control (x reamaining items) status bar implementation

    I am in the process of developing an application that uses a webbrowser control to display google maps. when I load the maps under IE6 I notice that the status bar displays something like "(x Remaining Items) Downloading Picture http://...." x is the number of items being loaded and decrements to 0. I am wondering if there is a way to display this same kind of status with my webbrowser control. i currently have a status bar attached to the main windows form that uses the standard code shown below. the current status bar only shows status until the main page is loaded. If someone could get me started in the right direction or provide a code snippet i would appreciate it. Thanks Jim Groleau Private Sub WebBrowser1_Navi ...Show All

  • DeNiS-21 Question on message box

    Hi, im doing a web based personal info form. it allows users to enter their names, email , weburl and other info. the progam will check if the user enter correct info. for example in a email textbox , the user will need to enter a @ sign for email to work. else a error message will pop up. but since there are many textboxs need to be check each would pop a message box telling the user where they did wrong, i want to know if there is any way after i click the submit button that all the error will appear in one message box. thank you Sorry for the double post, anyway, i was thinking that the project i am doing is still basic VB language. so the stuff you posted is kind advance. Is there any other way which that ...Show All

  • DavidAragornHouse Mircosoft office document imagaing file locking Visual Basic 2005

    Hi all, please can someone have a look at my code and tell me why i keep getting file locking issues when using a simple sql statement. Background info: My program splits a mulitpage tiff file (batch of purchase orders from Sage MMS) into separate files by doing OCR and using the MODI functions. My code has three main loops. 1st loop goes through each of the pages and splits the tiff into separate tiff files based on order number and stores them in a directory. for each order i also create an array of information by doing OCR from the tiff ie. order number, customer etc etc. 2nd loop goes through the array. for each order number in the array checks to see if there is another tiff file existing in another directory. This could be ...Show All

  • Daniel Shevchenko How to use DLLs or APIs after you reference them?

    Referencing DLLs and APIs seems to be quite easy, but I have forgotten how to actually use them. I tried assigning them to a variable(after having it referenced as a type), but It didn't seem to work... Help Please :( That did answer my question, but why now is there no dropdown menu when I want to call on a method When I attempt to call something like "MyObject.InsertMethodHere" no list of methods appear as it should (to my previous experience). THANKS a bunch for helping me with my previous question. dim myObject as SomeObject myObject = new SomeObject OR dim myObject as new SomeObject then use code like... myObject.method ...Show All

  • Aghasadeghi Default Geteway and Subnet Mask how to get them into string?

    Hi Ok Im going a bit crazy but can some one help me to get Defauld Geteway and net mask I assume the only way to get it is to use WMI, and I have no expiriance in doing that :-( So would really apreciate some help :-) Thanks! PS: Oh yes im running 2005, maybe there are some new easy ways Hi, I am currently exploring WMI so I will have a crack at it. For your own investigation download the tool WMICodeCreator.EXE from the MSDN web site, load it, set the language to VB .Net and start selecting the WMI classes and parameters, it generates code for you to test and use. what do u mean fun Im lazy :-P Now i have to find good way to deal with multiple networc cards Replace the consolewrite with the variable or form ...Show All

  • UnKnown Nick check assembly

    i need to Check Whether the assembly is already running in the process when i start the same assembly ( to avoid duplication in assemblies running currently) i need one copy of assembly to run at a time.. is there any property to set or how to check Where is the suitable place for inserting the code.. in new or.. when Thnks. THanks ahmed and alex if its an executable assembly, your app, you can get the list of processes by name and if it already exists then you know that another instance is running: Dim theProcesses() as Process = System.Diagnostics.Process.GetProcessByName(" yourAppName ") if theProcesses.Length > 1 then 'another process running end if In Visual studio 2005, ...Show All

  • Manuel5 Multiple projects in one solution

    I haven't been able to figure out how to place several separate projects into one solution.  I create a lot of small demo projects that are related to a topic and have been opening them one by one in separate solution files.  Someone suggested I combine them into one solution but I don't know how to do it.  There is no option in the menu bar for adding a new project.  How can I place (or add)  my finished projects into a single solution   Also, I would need to be able to click on each one separately in the Solutions window and start it up independently of the others.   I did set the startup project to begin with the renamed Module2 instead of Module1, but it still only starts the first project. ...Show All

636465666768697071727374757677787980

©2008 Software Development Network

powered by phorum