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

Software Development Network >> Visual Basic

Visual Basic

New Question

Com Library overloaded methods with optional parameters
Data Grid / Data Grid View.
FileSystemWatcher - Created events fires too early
TabPage Header Question
printing a file (created in a procedure) in hebrew language
Geting an Image of the Page in a Web Browser Control
PrintForm tool problems
How to avoid stepping into the Enterprise Library when debugging?
Binding a RichTextBox to an Access or SQL Server database
Compilation error

Top Answerers

davidjmsdn
Balwant Patel
James Cornell
Aruntc
Holistic
Gaurav Sehgal
Emadkb
Patrick-SURFThru
Johan Sörlin
Appel
Haverford Consultants Inc.
Only Title

Answer Questions

  • nunes_David How can we know what copy is currently going on?

    As an administrator, i want  to keep a track of which file the user is currently copying and from which location to which location, using API in VB6. I want to stop/interrupt the copy if the user is trying to copy any important data. Regards, Dinesh This forum is for VB.Net topics. In VB.Net you can accomplish this very easily using a filesystem watcher. ...Show All

  • figo2476 Where is refactor?

    Where do I download the free version of Refactor I followed the link in the msdn video, but the download is not available. Jeremy link is not working... http://msdn.microsoft.com/vbasic/downloads/tools/refactor/ thanks.. it did. Seems like they fix the problem(see previous post) Yes. Refactor! Pro 2.0. But it's not free. Costs $99. I bought it recently after having used the free VB 2005 version for several weeks. You can download a trial version though. http://www.devexpress.com/Products/NET/IDETools/Refactor/ This should work. Ken, thanks. However, clicking on the download link just opens the same url yet again. I ...Show All

  • Anurodh [2005]Text to text tagged with BB Code

    Hey i wasn't quite sure where to post this topic i am trying to program an application that converts text to BB Code Example :- If u write something in the top text box and code is checked then once u click Tag It in the second textbox the text will be wrapped in BB Code i am not sure how i go about doing this would be great if some 1 could pls help me :) just can't seem to do this but without brackets so the resulting text comes ut looking like ([code]please help me[\code]) in text box 2 so maybe 1 example would be great on how to do this would be greatly appreciated thanks you mean something like this TextBox2.Text = "[code]" & TextBox1.Text & "[\code]" How about something as simpl ...Show All

  • Joel Poiron 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

  • bola shokry Visual Basic Express application stops before showing form on another computer

    I have now tried 3 separate applications, one being just a simple form with no underlying code at all. All three applications will run fine on my Dell desktop (XP) and Dell laptop (2000) but will not run on my Toshiba laptop (XP). I do the development on my desktop so I cannot run debug on the Toshiba laptop. When I run the applications on the Toshiba, the process explorer shows it starting and immediately stopping. Placing a few log statements in the code, I noticed that the application is stopping when the form is trying to display. Load form is working fine but show form does not seem to be. This must be a configuration issue with the Toshiba as it is the only computer that does not work. However, I have done all MS ...Show All

  • Philippe Cand How to open a CSV text file and import that data to a database?

    I work for a medical billing and accounting firm and we get these massive medical reports that are not sorted. What I am trying to do is write a program to add these reports to an Access database so that i can recreate the reports using crystal reports. I already have a system in place to sort add these reports to csv files and importing those files into a database and then refreshing a Crystal Report I already have setup with the new data. My goal for this program is to be able to open the program select a csv file, import that file to a access database, then generate a crystal off the updated database. Where I am having trouble is getting that csv data into the database. Any help will be greatly appreciated. ...Show All

  • Shahzad Yousuf how do you custom a message box?

    Hi All! Is there a way to custom a message box Change the font, font coloring, background color of box. Stuff like that. Thanks! Rudy .NET 3.0 will allow you to do this... No, unfortunately there is no way to customize the appearance of a message box. I recommend you design a new form the way you want it and use that instead. no problem Thanks James! Cool! More info please (if you don't mind) ...Show All

  • SOTY_Programmer First Chance Exceptions

    Having converted a VB.Net 2003 project to VB2005 as soon as the program is run in the debugger I get these two statements in the Imediate window A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in System.Windows.Forms.dll Can any one shed any light as to what the cause is I have a break point at the very first execution statement so it seems to be created prior to the user generated program code. Thanks First chance exception could happen in the framework code, and if it is caught inside framework, it might affect nothing in your program. You can make the debugger to ...Show All

  • FilthySlider Display icons of the system tray

    Hello: My name is Martin and I dont speak english so sorry if you dont understand at all. What i want to do is create a program that enums icons of the tray bar that have been created calling the function ShellNotifyIcon. So my question is how do you do to enum the windows that have called this function and want to appear in the system tray, whit its icons, and display a menu when you click on them. because i want to do the same that explorer.exe does but whit my own program (shell). Is this a secret I know that others programs do this like one called Cibergest. Thank you very much. Martin MartinII, Thank you for your quesion. Actually I don't understand your meaning from the description. However, I found two related article ...Show All

  • bryceflorek Running isnumeric on array textbox (Help needed)

    hi, this is what i wrote : Private sub text1_change(index as integer) Dim A as boolean, b as boolean for index = 0 to 2 if a = true then msgbox "ok", vbok if b = true then a = true if isnumeric(text1(index).text) then b = false else : b = true End if if text1(index).text = "" then b = false End if Next index End sub My form has  3 textboxes in an array. The first box adhere to the above, i.e. when i type numbers in,it is okie, however any alphabets will result in error msg. 2nd and 3rd text boxes however displays an error msg wheneva i type anything in. Is there something wrong in what i have done thanks~!! Rather urgent The only issue with that nob ...Show All

  • FernandoLeite Error 80040154 retreiving COM Class factory

    Greetings, I have a VB.NET application that references a 3rd party Com component. The file is Interop.WINTSRRLIB.dll. My VB.NET application has a project reference to the COM comonent which lives in the directory: C:\WaveTracker. The application runs fine. When I sent it to my customer, he installed in on his desktop machine. It runs fine. Then he copied all of the application files (which live in C:\WaveTracker) to his laptop. However, on his laptop, he gets the error: "System.Runtime.InteropServices.COMException (0x80040154). Retrieving the COM class factory for component xxxx failed due to the following error: 80040154" The customer swears he has the .NET 2.0 Framework installed properly on his laptop. Any i ...Show All

  • RCH1968 A Simple Visual Basic Question

    I'm walking through the book "Microsoft Visual Basic .NET Programming for the absolute beginner" I'm on my third program in my third chapter, I's like to finish the book. These are very, very simple mind you. I'd like to finish the book. I started a new project - it was a visual basic one, windows application. I named it Msgbox I double clicked the form to open up the code window. Running the code at this point, with F5, yields just a black window. I typed in two lines of code exactly as thry appears in the book. MsgBox("Visual Basic .NET Programming for The Absolute Beginner") End MsgBox was underlined by the built in compiler. Remember this is only the first two line of code in the program. In the third chapt ...Show All

  • wish1267 Either Sending Keys directly to a specific form, or bringing specific form to the front

    Basically, I have a program that loads a page, pastes some text, clicks a button, waits 20 seconds, loads another page and repeats, most using SendKeys. Upon loading: SendKeys("+{TAB}+{TAB}(text){TAB}{ENTER}") The first two backwards tabs get into the text box, the text is put in the box, and tab puts it on the button. Now, I'd like for this program to be able to run while I do other things - and I bet you just saw my problem. SendKeys sends its keys to the active window, no matter what that window is. So since this is running on a timer, I'd need to bring up the window myself every 20 seconds for SendKeys to work right. (Right now I have it running off of the timer, waiting for my prompts instead) There's two ways I' ...Show All

  • Dustin_H How to make a Timer and ButtonVisibility Question.

    Ok, I just got done with the Alpha and Beta stages of a really simple game I'm making and it's going out pretty good, but I wanted to add more interface so that it would actually be a fun game, so what I wanted to do was after an amount of turns I wanted my Button5 to become visible (I know how to make it visible the only thing I'm having trouble with is how to make it so after five turns it becomes visible.) and once it becomes visible you can click that button for about 10 seconds before it becomes invisible again, but I also needed to know how to make the timer and how to make it so that the time only starts once the user clicks it once. Anyways help would be greatly appreciated and thanks for the MSDN forums, whenever I have a VB relea ...Show All

  • Adam Tappis - IMGroup ArrayList in a Structure Arry

    I have created a normal structure that is based on the below model Friend Structure abc Friend a As Double Friend b As Byte Friend c As Double Friend d() As Integer End Structure Then in the class I have declared: - Friend Shared abc(0 To 3, 0 To 3) As abc I don't know how I can initialise the array d() I can't just do Redim abc.d(9)... For obvious reasons I can't just call abc(XIndex, YIndex).d(1) = 3 ...this will result into an error "Object reference not set to an instance of an object" Any suggestions Thanks Jansen Issue has been solved by changin the following syntax Friend Structur ...Show All

96979899012345678910111213

©2008 Software Development Network

powered by phorum