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

Software Development Network >> Visual Basic

Visual Basic

New Question

Windows Media Player Control not working as it did with VB .NET Express
array of controls..
Move form with Custom Border
PDF to CSV conversion
converting datagrid control to html table
anyone familiar with Integer.TryParse ?
How to read/write to an .ini file using VB 2005?
property as combobox in VB.NET
Protecting EXE file
BackGroundWorker and the RunWorkerCompletedEventArgs

Top Answerers

Ahmed Chaudhary
bilsa
shibumong
HbH
Vighnesh Prabhudesai
ardmark
Devi48354
swapna_n
XNA-Mordt
LibertySt
Gentle Introduction To SOAP
Only Title

Answer Questions

  • patty boy90 set_textmatrix - MsFlexGrid to DataGrid conversion

    Is there an equivalent   The designtime IDE doesn't know what to do with, for example,   AxMSFlexGridLib.DMSFlexGridEvents_KeyDownEvent   Private Sub MSFlexGrid1_DblClick( ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MSFlexGrid1.DblClick and I don't understand this     MSFlexGrid1_MouseDownEvent(MSFlexGrid1, New AxMSFlexGridLib.DMSFlexGridEvents_MouseDownEvent(1, 0,    iMousePosX, iMousePosY)) in the context of the MSFlexGrid1_DblClick event End Sub Private Sub MSFlexGrid1_KeyDownEvent( ByVal eventSender As System.Object, ByVal eventArgs As AxMSFlexGridLib.DMSFlexGridEvents_KeyDownEvent) Hand ...Show All

  • Vidda Checking User Group in Active Directory using VB.net

    Hi i am new to .net and active directory. i need to validate user in Active directory. my input data is Domain name , Username and groupName and i won't pass password private function chechkUser(ByVal domain As String, ByVal username As String, ByVal GroupName As String) As Boolean if username is found in active directory chechkUser = true else chechkUser = false end function how to resolve this can any send VB.net code for this requirement thanx in advance -naren Pretty easy in VS2005 If My.User.IsInRole("Group Name") Then Return True Else Return False End If VS2003 takes a little more work. Post again if you need an example for the older version. this following statement w ...Show All

  • DiasVFX how to uninstall my own application

    I have a vb.net program that runs invisibly - no task bar, no icon, no VISIBLE form. It can't be shut down by the user outside of the standard windows shutdown. This part works. If the user wants to uninstall this program, they need to open up the application and enter an uninstall code that turns off the program so it can be uninstalled. A tray icon is not an option. QUESTION: If I have a program that is running invisibly, is it possible to click an icon that makes the program become visible do a project reference instaed of a .Net Reference....."Project"..."Add Reference"..."Project" tab...then browse to the project....of course a really easy solution is to bu ...Show All

  • anderskj1 COM Interop question

    Hi, I have a Enertrprise MDI form written in VB 2005. This Enterprise MDI form, calls child forms are also in VB 2005, but are dll's with a gui interface. I have a customer support MDI form which is in VB6. This Customer Support MDI form needs to call the vb2005 child forms, and pass parameters to it. After the child form is closed, the parent MDI (written in VB6) needs to be refreshed. Is my best option to write a CCW I am concerned about how to refresh the VB6 MDI form, after the child vb2005 form has closed (or for that matter, pass other information back to the VB MDI form). Any detailed advice is appreciated I've been following the previous threads to find a similair problem using Int ...Show All

  • mojoshaneman I need help on how to store recently visited websites in a combo box

    I want to know how to save recent web pages visited in my combobox. My webbrowser is called WebBrowser1 and my combo box is called combobox1 Thank You, the combo box is working the way i wanted it to That code really helped. everytime they visit, just add the url into the combobox. So if they pressed the go button and this navigates to the site they specified in a textbox, add this value (Textbox) to the combobox items collection. private sub BtnGo_Click(byval sender as object, byval e as eventargs) handles BtnGo.Click if Me.txtUrl.Text.Length > 0 then Me.theWebBrowser.Naviate(Me.txtUrl.Text) Me.combobox1.Items.Add(Me.txtUrl.Text) end if ...Show All

  • santhosh_cz Application Path

    Hi , i am new to VB.net windows application. How to get the application path of the application. Thanks in advance http://msdn2.microsoft.com/en-us/library/system.windows.forms.application.startuppath.aspx Best regards, Johan Stenberg Please note that I'm not a ClickOnce expert, but - you can check if the application is deployed using ClickOnce: http://msdn2.microsoft.com/en-us/library/d8saf4wy.aspx ...and if it is, you probably should use the DataDirectory for your data file: http://msdn2.microsoft.com/en-us/library/d8saf4wy.aspx Best regards, Johan Stenberg Why are you playing with that Why dont you put the INI file with the Exe itsef so just refer it as "sss.ini" rather than s ...Show All

  • Jon Braganza problem in debugging application with .net having large no of projects

    i m doing project in VB.Net having a solution with 123 project. to compile that i hav to build each project seperately..... is there is any method by which i can select all project in one go and compile all simultaniously. If you have the solution properties set correctly when you choose to build the solution form the build menu...it will build all projects in the order defined in the solution properties....make sure build is checked in the solution build config window and are you not able to go to Build > Build Solution Does this not work From the solution explorer...right click on the solution at the very top.....then select properties...The properties dialog will open and you will be able to set the startup project ...Show All

  • clint 2 Open Directories

    Hi How can I open For example "My Documents" Directory, Clicking on the button Not open with open dialog, Open only Thanks or even: Process.Start(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)) same thing! You can use this line, if this is what you mean: Process.Start( My .Computer.FileSystem.SpecialDirectories. MyDocuments ) ...Show All

  • 0xDEADBEEF INSERT, DELETE, UPDATE Staments for 2 tables

    In VB.NET 2005, INSERT, DELETE, UPDATE Staments for a TableAdapter can be generated automatically; but not for the two related tables. I find it very hard creating these statements manually. I request the members of this forum to help me with some examples. It is an acknowledgement to your query. I am very sorry for not being able to respond as I got too much involved in some other issues. So, please don't feel offended. Regarding the topic, I am back to my work and if I find any solution, I will share with yout. Regards, Abbasi Hi Abbasi, I facing same problem with you, sigh. I had spent more than a month, yet still cannot resolve this problem. How ...Show All

  • eldiener Remote Connection to mdb Database?

    I'm looking for a way to connect to a remote access database located on a web server (ie. http://www.blah.com/database.mdb ) I have using VB2005 and this is for a windows application not asp. So far I'm having zero luck... If anyone has any info on how to do this or another way to access a database(of any kind) on the web I would greatly appreciate any and all info you can provide. This is the only thing holding me back from completing my program. These articles might help you: Using the OLE DB Remoting Provider: A Closer Look and Overview of the OLE DB Remoting Provider Well I managed to get a little farther but now encountering an odd error message... when I try to create the data source i ...Show All

  • jmcdonaldtucson Display a tooltip when the mouse hover a specific word/phrase

    Hello, I have a label with a lot of text. I want to do, that when I hover specific words/phrases it will display a tooltip with a pre-defined text. For example, if the label is written "Hello, welcome to my program. It will help you a lot.", then I want to do that if the user mousehover the word welcome it will display a tooltip with text of "Hi User", and if the mouse will hover the phrase "help you", it will display a tooltip with text of "In a lot of stuff". Thanks, Ofir. add a ToolTip control to the form where your label is in,just name it "ttTest",then write codes in your label's Hover event as follow:ttTest.show(your pre_ ...Show All

  • JavaBoy Help the handicapped.

    Good morning gurus, I have the stupid question of the day - in fact, I'm embarassed to even ask it. How do I extract a filename without the extension and set it to a variable For example, I have a file called 123test.ps which is passed to a batch file as %1. I want to set another variable (TESTNAM) to 123test - no extension Something like set TESTNAM=%1 (minus the .ps) TIA ah! Well thats different. doing it in MSDOS...not sure which forum would be appropriate really since no such forums are placed here which is for MSDOS. the closest one, but incorrect, would be asking somewhere here: http://www.microsoft.com/technet/community/newsgroups/topics/scripting.mspx otherwise no ide ...Show All

  • BarrySumpter Choose random rows from a table

    Problem: From a table with 106 rows, choose 25 random rows and display them on a form for the user. Question: Is there any way to randomly choose rows from a table Note: My programming experience comes from some game scripting and using Access; I’m just learning Visual Studio 2005. I’m working on a small game that mostly uses data to simulate buying and selling stuff. What I would like to do is – In Visual Basic (code), Generate 25 (as example) random numbers and use these numbers to choose the rows from the table to display to the user – Random data from a table. I can generate random numbers and place them in a text box on a form, which I don’t need; but how could I use these number to choose ro ...Show All

  • Callavin ADO Stream Write wont work

    Hi All I can t get ADODB Stream.write to work. I get Runtime error 3001. 'Arguments are of wrong type, are out of acceptable range, or are in conflict with one another' I use Writeline all the time but this is my first time writing binary. Any clues here is my test code Private Sub subStreamTest() Dim cnnLocal As New ADODB.Connection Dim stmStream As ADODB.Stream Dim strMcomDir As String Dim bufBuffer(3) As Variant Dim bytTest As Byte strMcomDir = "R:\NewDB\" & funDateString & ".tpf" bufBuffer(0) = &H5 bufBuffer(1) = &H2 bufBuffer(2) = &HCA Set stmStream = New ADODB.Stream stmStream.Type = adTypeBinary stmStream.Open bytTest = bufBuffer(2) stmStream.Write bufBuffer(2) ...Show All

  • j_ames2006 How do you trap errors from System.Drawing.dll?

    When I execute the following code, I get the error - An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in System.Drawing.dll. In this example it occurs because the wmf file is very large and PictureBox1 size mode is Auto. I know I can prevent this error, but that's not the point. The point is I can't trap it. The error never gets caught. Can anyone please enlighten me as to why this is possible and what if anything can be done about it I thought exception error handling was supposed to prevent this type of thing from happening On a separate note, it would be nice to know (or be able to calculate) the size limitation of the PictureBox control. My guess is it's hardware dependent and therefore not docum ...Show All

747576777879808182838485868788899091

©2008 Software Development Network

powered by phorum