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

Software Development Network >> Visual Basic

Visual Basic

New Question

Accent Characters
Datagrid
Checking User Group in Active Directory using VB.net
Working text files without a binary mode
Program fine tuning: Skinning & Startup a windows forms app with only one instance like media player
Slow picturebox hover
msgbox when a tabpage is selected
Run My Computer
Building a defragmentation tool with VB?
save dialogue box using designer in Visual Studio 2005

Top Answerers

Stags
Tom Frey
bob26
pcd
DannoCoy
Quirk
Bendas
ahmad.nazmi
Vudathu
ahmedilyas
sitemap
Only Title

Answer Questions

  • ash141vsp2003 Cross Threading in General

    Can someone answer me this question... I have programmed in VBA for years. It seems to handle directly accessing simple form objects without any worries about threads or cross-threading or whatever... It seems ( also ) to me, that this threading issue could be internally managed by the Control Class to some degree or another. Is there a good reason for this new Thread Issue that I am unaware of The problem I am getting now is that whenever it hits that ComboBox from a InvokeRequired = True event It just freezes My biggest problem with all of this is that I had this WHOLE thing working JUST FINE in VBA... However VBA has a Max Controls limit. So as I attempted to make my little tool / app larger I hit a point where it stopp ...Show All

  • friggityfraggity Two-pronged Question

    Hi, I'm fairly new to VB and learned on VB 2003. I just upgraded to VBE 2005. I'm trying to make a multiple document reader and modifier. My questions are: 1) To be able to view the most documents, is it better to use a Rich Text Box or something else. 2) Is there any information floating around out there on making document readers I'm trying to be able to read MS Word documents, Works documents, Text files, Rich Text files, and an AutoCAD lisp file(its basically a text file). If anyone can point me in the right direction it would be appreciated. Thanks in advance for the replies. I would like to be able to open say a MS Word document and read it without all of the squiggly lines under the words from the spel ...Show All

  • Vaylor Trucks what is the equivalent in VB of the C# keyword sealed

    how d we translate the C# code: sealed class ReflectionSample to VB Thanks NotInheritable Class ReflectionSample thanks ...Show All

  • Rasheed Hammouda VB vs JScript ConnectServer Method

    I know that this question is more for the JScript experts but I have searched high and low for a forum \ community to post this issue in and the newsgroups have nothing for this caliber of question. I have written two identical wmi scripts that perform a remote connection to a workstation on the same domain with administration rights over the machine to retrieve the running processes. I'm not using the moniker method as I'm wanting to authenticate the connection with a user other than the user that is logged in on the computer firing the script. The VB script that I have written works beautifully: Here is the example code: function returnWin32_Process(strComputer, strUser, strPassword, strDomain) Set objSWbemLocator = CreateObject("WbemSc ...Show All

  • smilertoo Q: Persistent Graphics on Form or PicBox: a real pain!!!

    Hi all, this is kind of a follow up on 2 earlier threads I started. This time the question is a bit more fundamental. It concerns replacement of the persistent graphic methods in VB6 with the Picbox_paint persistent graphics in VB.net. Whatever I try, and whatever help I ask I simply cannot perform the following task: (heavily simplified) I have a VB6 program that reads inputvalues (X and Y) from an A/D convertor. It continuously reads values at ~5 per second and plots them as vectors. Aim is to visualize outliers and get a quick view of grouping of the outliers. I definitely need to implement exacly this functionality in VB.net. After a number of days, millions or even billions of vectors are drawn, with only a few outliers. ...Show All

  • Simmy7 System.FormatException: Input string was not in a correct format.

    Public Sub DeleteRecord( ByVal sender As System.Object, ByVal e As DataGridCommandEventArgs) Dim PrimaryKey As Int32 = Convert.ToInt32(glossData.DataKeys(e.Item.ItemIndex)) glossData.EditItemIndex = -1 DeleteData(PrimaryKey) 'viewstate("sortField") = "gTerm" 'viewstate("sortField") = "key_word" viewstate("sortField") = "Username" viewstate("sortDirection") = "ASC" End Sub Have the following code here but theres an error stating: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it orig ...Show All

  • Todd Schroeder Serious Problem!!! Please HELP!!! Project does not allow changes in code or design

    Hi, I was working at my project (Visual Basic, Visual Studio 2005) and while I was making changes a message box came up asking something about reloading my project. I clicked it.. and since then (i think its from that time) my project doesn't seem to build the changes that I make. For example, I added a form and deleted another, and although the project compiles and runs, the deleted form is still there and the new one doesn't exist. I even added a simple line of code in the form load event of my starting form, to show a messagebox but nothing. I am stuck. Please help. I tried to create a new project and add the forms from the old one but nothing. The forms are empty. Problem solved but not easy. I fortunately found ...Show All

  • chub xbox Abstract/Generic Enumerations?

    I am trying to create a base class that contains a property (custom enumeration) that is different depending on the needs of the instantiated class. Is there an easy way to do this that preserves intellisense If this is not possible, is it even possible to have a generic/abstract enumeration MattDe_MS, Yes, what I need is a polymorphic property, but it has to be an enumerated (Enum) type that I have created. Maybe there is a better way to do this , but this is what I am trying to accomplish. I am building an open source application and library (soon to be available at TrossenRobotics.com , for easily controlling any of the Wowee products, using a USB UIRT IR Transmitter. I have just finished up wor ...Show All

  • LalitSRana Secure Connection String? is there such a thing?

    Hi Everyone, Im developing a VS.net application which connects to a SQL server over the internet, i have a SSL certificate running on this server and data between the application and the server is encrypted. which makes me rather happy. However using .net Reflector i just opend up my code and low and behold there is my conenction String in full sight!!!! which essentially means that anyone can have fun with my database :( i have read a lot of help pages but nearly everything is in C# which doesnt help me a lot, is there any way to A) not show the connect string at all (without using winows authentication as i have lots of users) Or to encrypt it so that evn if the program was decompiled or memory sniffed that they could not get t ...Show All

  • rod_r Command line not shell

    Hi, How can I execute a command like executing it from the command prompt through VB. I try "Shell" but it doesn't work. Hi, Want I want to do is run a backup that has to be done in the command prompt. I try “Shell” like I said before but the backup is suppose to be save in a directory and what it does is run the backup in side the Shell not like how is suppose to. And I try the Diagnostic.Process.Start and it said that the file can't be found.   The command that I want to execute I tried in the command prompt and executed right and this mean that the command is correct. OK, I'm not sure qhat is going on here but the following sho ...Show All

  • syhzaidi MP3s

    How to run an mp3 file in the same window(NOT TO OPEN windows media player or real player etc...) by using a play click and how to stop it by clicking a stop button, and also a pause button. I need full code for who know. Well, it is 448 mb, so is there another way to run mp3s. I think directX9 (Managed) has some functions to do this, its really easy, like you create an object with the mp3 as argument and just do object.play(), object.pause(), object.stop() etc. Please i need full code, i don't know how to work with direct x in visual basic language. download the DirectX SDK - all examples and source code are included. Its also easily understandable with the naming conventions and method names, you can play the aud ...Show All

  • DOSrelic OFSTRUCT Structure - Exception

    Hi, When I use OFSTRUCT Structure in VB.Net without Marshalling the szPathName field throws the following error "An unhandled exception of type 'System.ExecutionEngineException' occurred" while opening a file with LZOpenFile. Is there any way that this could be solved without Marshalling Pls find Piece of code used. Public Structure OFSTRUCT Dim cBytes As Byte Dim fFixedDisk As Byte Dim nErrCode As Byte Dim Reserved As Byte '<MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst:=OFS_MAXPATHNAME)> Dim szPathName As String Dim szPathName() As Byte Public Sub Initialize() ReDim szPathName(OFS_MAXPATHNAME) End S ...Show All

  • scdlewis cannot create proper formula - cell referring

    Does anyone know how I can include an existing dimensioned integer in VB code in a formula when using location indices (either R2C2 or R[2]C[2]) I have integer Location set to the value 6 in some earlier programming steps, and now I'd like to be able to create other formulas and someimes use this Location integer into these formulas. More specifically at the RC and R[]C[] locations in formulas. Range("A1").Select ActiveCell.Formula = "=RLocationC5 blabla " (which would mean R6C5) or ActiveCell.FormulaR1C1 = "=R[Location]C[5] blabla " (which would mean R C[5]) If this is not possible, then how would I do the following: I have found that some interesting cell for my program e ...Show All

  • mel_mel How do I set delay between code?

    Hello all. I would like to enquire how I can set a delay in between chunks of code. For example, after some code which interacts with a server, I am supposed to get a corresponding information from the server before it is appropriate to proceed on to the next part of the code. As the server response is not immediate, therefore an arbitrary delay is needed. What is the proper code format that I need to add  I can't seem to find the documentation in the help file. Thanks in advance. Only use this for very small delays as it suspends the entire thread from doing anything. Otherwise if its a longer delay then consider using timers. shizu ...Show All

  • Etowah_man Disable a warning

    Is there any way to disable a specific warning.  For example, in one of my classes are re-implement System.ICloneable.Clone.  After doing so I now get a warning that states, "'System.ICloneable.Clone' from 'implements System.ICloneable' is already implemented by the base class 'XXX'. Re-implementation of function assumed."  Is there any way to remove this warning from the Error List Thanks, Lance Declare the method in the base class that implements the interface overridable. In the derived class override the base class method. Don't implement the interface in the derived class. This gets rid of the error. When the interface method is called the correct method will be ...Show All

828384858687888990919293949596979899

©2008 Software Development Network

powered by phorum