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

Software Development Network >> Visual Basic

Visual Basic

New Question

Programming Languages
Is there a way to monitor my wireless keyboard/mouse batteries?
VB.net how to do a dowhile loop for datatable
received System.NullReferenceException in hitting Edit button in FormView
Showing an XML file in a tree veiw
[VB.NET] How to merge many GIF Files into one file
MAKING .NET CONTROLS - OCX VB6 COMPLIANT
How do you set the namespace for a form's resources in VS2005?
Capturing a section of the screen.
quotes inside of a string variable

Top Answerers

Hameed_411
Huckster
Cerberuss
Cute_Celina
droujav
Thymen
Craig G
Chris0144
CalinMac
Jim Holloway
sitemap
Only Title

Answer Questions

  • ofireps How to create a "Hardware Profile"

    I need to create a "Hardware Profile" of the machince running my app.  Specifically i need it to gather info about hardware pieces that aren't commonly upgraded such as the hard drive then combine that into a string and hash it for privacy since i only need it for comparision reasons.  Any help on how to get manufacturers, models numbers, and serial numbers from hardware is appriciated. Thank you.   EDIT: I made a small change to the search term i was using on MSN and may have found what i need WMI, but from what i could read i dodn't undsertand how to get the details I need, anyone know of any code showing implimentation of WMI for simular use as I want EDIT2: ok i did some more digging while waiting for a respo ...Show All

  • Simon Telling TCP/IP clients, listener, and servers

    I was wondering if anyone had a good example of a TCP/IP server VB.Net application using TCPclient and TCPListener that you could send me. I need to develop an application that acts as a TCP/IP server waiting for TCP/IP client connections. All of the connections have to be maintained and any received command has to be processed and status information needs to be returned to the clients. Tony Thanks for the info and I was able to understand the example. I rewrote the code in VB.Net and it works but not exactly. The way that I read the code, it appears that the RECLAIM thread is able to determine if a certain client is "alive" by checking whether the thread is not null and if the IsAlive pr ...Show All

  • caitac Total VB beginer - WScript not declared?

    Hi guys, total beginer to VB. Only reason really using it is because the one app I'm using only supports VB for scripting and well here I am. I'm trying to link up with the application but I'm having problems early on... I have the following code: [start] Option Explicit On Module Module1 Const wait = 10000 Dim WSH Set WSH = WScript.CreateObject("WScript.Shell") Sub Main() End Sub End Module [end] And I'm already getting the error Wscript not declared --- what do I do try this: Option Explicit On Module Module1 Dim wsh As Object = CreateObject("WScript.Shell") Sub main() End Sub End Module This is for 2005 VB Adding a little to show running notepad ...Show All

  • Don Cameron How can I capture mouse gestures?

    I have a 'widgets' program that just sits in the system tray until the user presses Ctrl+F8 or clicks on the icon. What would be completely awesome is if the user could activate the program by doing some kind of mouse gesture (moving it in a spiral, or somthing like that). Would it be possible to implement this in VB.Net or should I not even bother trying I've managed to implement making the main form visible when the cursor enters the top-left of the screen like this: First I added a timer with a 100 ms interval Private Sub Timer1_Tick( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick If Windows.Forms.Cursor.Position.X < 10 And Windows.Forms.Cursor.Position.Y < 10 The ...Show All

  • arogan Missing: ReportBuilderAddIn 1.0 Type Library

    Hello, Problem occurs within Excel 2003, whenever entering a formula I get "Can't find project or library" Under Tools - References I see I'm missing ReportBuilderAddIn 1.0 Type Library. I can't uncheck it and I'm not sure where to browse to find that Library. Can anyone help Kevin These forums are for VB.NET questions. The VB within Excel is Visual Basic for Application. VBA is a very different product from VB.NET and there are some other locations where youy will probably get a quicker and better response to your VBA questions. Y ou may find more assistance in following which specifically deals with VBA development. http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=7 ...Show All

  • Ashish P. Ruparel Progress Bar with unknown maximum value

    Hi, I have an application that writes data from PC to a 8052 microcontroller's Flash. It takes an accountable amount of time.I want to show a progress bar for the same but i cannt quantify the time(time it takes to complete writing all bytes to the falsh).I have an idea on progress bars with minimum and maximum limits known.I would like to know for unknown situation like my application Can anyone please give me kick start tips for the same. Regards, Swapna yup... thank u guys.. :) Animated GIFs are one good option. You'll only see the marquee if your using 2005. http://msdn2.microsoft.com/en-us/library/system.windows.forms.progressbar.style.aspx Setting the Style Property and showing the ...Show All

  • mimesis Bringing in FORTRAN dlls using DLLimport

    I'm having a problem getting some unmanaged code to link into a program I'm writing. I have some FORTRAN legacy code that I don't have the option of rewriting, and I need to link several pieces of it together, as well as create a GUI for it. I've created a wrapper class for it using a DLLimport statement and I keep running into the following error: System.BadImageFormatException was unhandled Message="An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)" Source="FORTlib" where FORTlib is my wrapper class. The code is attached, the mentioned dll is the dll named in the code, called "readFile.dll". Surprising I know. This is a very simple piece of code, I' ...Show All

  • Ryn How to import vCards?

    Hi all, I want to import vCards in my Vb.Net 2005 application. I tried this code to read the adress: Dim adress as String Dim adress_start as Integer Dim adress_end as Integer adress_start = vCardString.IndexOf("ADR;TYPE=HOME;") adress_end = vCardString.IndexOf(vbCr, vCardString.IndexOf("ADR;TYPE=HOME;")) adress = vCardString.Substring(adress_start, adress_end - adress_start) It works, but I think there is a nicer method to do that. Could you help me Thank you. Thank you for your help. I think I'll have to study some regex -tutorials, but I'll try it... Instead of the string parsing, which probably would work, you could also try a RegE ...Show All

  • Anders Gran&amp;#229;ker Fill a one dimensional array variable with data from a query which returns one or many rows or columns.

    Help! In the dataset I am able to create a Query which returns one or many rows or columns. The Query is the following: SELECT idcliente, descuento, name FROM Cotizacion WHERE (idcotizacion = @idcotizacion) Idcotizacion is a unique value, thus the Query returns only one row with the data in the columns idcliente, descuento and name. I want to introduce these values into a one dimensional array, so I might be able to call the variables within my program. For example I want the following: Const maxptos=1000 Dim Data(maxptos) as Single Data(i)= Me .CotizacionTableAdapter.LlenarDatos( Me .InmobDataSet.Cotizacion,idcotizacion) The idea is ...Show All

  • woodland30033 Calling ActiveX Dll From VB Exe

    I'm writing a code where i have to call a method in an activeX dll using the "CALL" method. The problem is, an error occurs which says that "Entry point not found in dll". Can some1 plz help me with some info on "Entry point" for VB dll What's the DLL Is the DLL part of the Windows API if not is it registered in your system Have you set a reference to the DLL Project | Properties | references | COM (tab) Have you declared the dll as a function Protected Declare Function GetAsyncKeyState Lib "user32" ( ByVal vKey As Integer ) As Integer See http://www.pinvoke.net/ The Dll is also a custom one coded in VB and not ...Show All

  • xion.truth Root from a URL

    I feel this question is a little silly.. I can't seem to find a method to get the root site such as this: http://www.microsoft.com/ from something like this: http://www.microsoft.com/downloads/Browse.aspx displaylang=en&productID=BEAE32B8-4A67-4F78-BF4E-C114F922F1EA So far, I've tried things like this: ToString.IndexOfAny( "/" ) without much luck.. please enlighten me :) you could use regex (regular expressions) but that can be expensive/costly.   you could do a string.split ('/') however that is inefficient. IndexOfAny will return back the first instance it finds the specified value (in this case itll be http:/)   Regex *maybe* the way to ...Show All

  • Beat duplicate copy of listview

    Hi Could anybody tell me how to make a temporary copy of the item in the listview,so that if change the original content in the listview, it should not affect the duplicate copy and vice-versa.............pls do resolve my problem with Regards GaneshKumar.SW Create a collection or another listview/control to copy the items to: Dim MyListViewItems As New List ( Of ListViewItem ) For Each lvi As ListViewItem In Me . ListView1 . Items MyListViewItems . Add ( lvi ) Me.ListvIew2.Items.add(lvi) Next ...Show All

  • beegee Extracting the file name and extension from a system path.

    Hello. I am trying to get the name of a file and it's extension from a system path such as below: C:\example\doodad.txt I want to be able to return "doodad.txt" How can this be done I had looked through the help files and saw possibilities in the string.trim stuff, but I can't figure out how I'd go about cutting off everything before the doodad.txt instead of just the "/"s or something. Since the file names have different extensions and are different lengths, I couldn't quite figure that one out. If you need any other information, please let me know. Thank you. Excellent. Thank you very much. Use the System.IO namespace for file related work. The P ...Show All

  • M.N. Ahmed Sahib VB.NET Read mail items from Exchange '03 Public Folder

    Researching on how i can connect to our public folders and export the mail items to .txt or whatever format. Any leeds would be appreciated! Tia, Steve One way I would figure would be to use Outlook to connect to the exchange to get the mail items and use Outlook's Object model to achieve this Using Outlook Automation http://support.microsoft.com/kb/220595/ Then look at the Outlook object model. http://search.live.com/results.aspx q=outlook+%2B+object+model&mkt=en-us&FORM=LVSP Search to find the specific details on exporting the items. Hi Steve, This could be done using CDO. Please read this post about CDO http://forums.microsoft.com/MSDN/ShowPost.aspx PostID ...Show All

  • Gregor Jovan Copying and Pasting

    How would I go about copying the selected text in a web browser control to the clipboard and pasting the textg in the clipboard to a textbox in a webpage in a web browser control like the copy and paste commands in Edit menus for many applications Thank You! ClipBoard.SetText( value ) ClipBoard.GetText() 'Gets the text saved from the clipboard http://msdn2.microsoft.com/en-us/library/system.windows.forms.clipboard.aspx http://msdn2.microsoft.com/en-us/library/kz40084e.aspx As for using it in the webbrowser, same thing would apply but you would have to somehow get the element of the webpage, then paste it into that. ...Show All

91011121314151617181920212223242526

©2008 Software Development Network

powered by phorum