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

Software Development Network >> Visual Basic

Visual Basic

New Question

simple string manipulation pda
FolderBrowserDialog Question
Sigh - I remember one-based.
Hospital Visual Beds layout in VB.NET
Difference between C# interfaces and VB.NET interfaces.
check windows account type
getting binary from file.
Quick Question About DataGrid type of UI in Task Manager ???
Cannot launch .NET from VB6 using Interop Toolkit
How to save a JPG with no color loss? (ChrominanceTable / Subsampling)

Top Answerers

Taliesin*
kopo
Alvin Kuiper
Niros
adamhill
alpha202ej
ADHDsowhat
TedSA
Buck_Danny
Principher
A Weblog for the Magical Arts
Only Title

Answer Questions

  • parreg generic list of buttons that have check property of checkbox that looks like a button.

    'need to create at runtime 'n' buttons that have a 'checked' property (1 or 0) Public SelectFrames As New System.Collections.Generic.List(Of Button) ' ' or create 'n' checkboxes that look like buttons. Public SelectFrames As New System.Collections.Generic.List(Of Checkbox) Each button must have a 'checked' property so that the application can keep track of how many items have been selected on a corresponding graphical display and which ones. Are there any properties I can already use for the existing controls to achieve this or do I have to create a new class inheriting either the button or checkbox controls and then subclassing off a new property Thanks for any ideas.. (if this is clear) -greg ******************** ...Show All

  • hommer Visual Studio Is Busy?

      Pentium IV - Northwood 3.5 Ghz - I Gb of Ram. XP SP2 .. all current patches applied. VS2005 RTM Team Suite On occasion while debugging the IDE becomes nonresponsive and I receive a Bubble message informing me that "Visual Studio is busy waiting for an internal operation to complete - If you receive this message often, please inform Micorosoft" After I receive this message the IDE never recovers. All I can do is to delete the process and restart it. Any idea what's occurring Renee I have had the same thing happen from time to time. I noticed it happens alot when I am using remote desktop. ReneeC may be onto something (or not) with the Data Access comment. Everything I write accesses a SQL server ...Show All

  • AdelioStevanato Best way to store ip information of users

    I am writing this in VB 2005     Hello, I hope this belongs in here for it seemed to fit.  I am making an application that requires me to get the IP, and data so other users can user operations such as file transfer, IM, and more.  I would like to get your opinions on the best way to store their information so the tool isn’t confused about who is on, who isn't and what their information is.  I have obtaining the information done (ex: use my own web script get the external IP).     The tool will have probably about 5 users on at the same time with maybe a total of 25 users that use it.   With my two methods, I have a server with 100GB of bandwidth and many mysql-d ...Show All

  • Ori' Fade in code doesn't worked on mdi child form

    This form fade in code worked for non-mdi child form but doesn't worked on mdi child form. How will i make it work Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim i As Double For i = 0 To 1 Step 0.01 Me .Opacity = i Next Me .Opacity = 1 end sub Assuming Stephen's code is for form2 (the child). You have to wait until the fade-in is done to set the parent/child relationship. (May not look perfect.) Private Sub Timer1_Tick( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Timer1.Tick Me .Opacity += 0.05 If Me .Opacity >= 1 Then Me .MdiParent = Form1 Timer1.Enabled = Fal ...Show All

  • RAB36 How to connect to Server Database (Remote Acccess)

    I using VB2005, and I would like to create same simple program that related to the Access or SQL database. The problem is, I want My database is store in server, and i can remote access to the server's database for Inserting, Deleting, Editing and updating the database that store in server. And i also can access the database using my VB2005 program to edit the record in the server database through Internet Connection. Can VB2005 solve above problem Can someone HELP HELP HELP me up asap. Thank Thank Thank ... "Provider=sqloledb;Network Library=DBMSSOCN; Data Source=130.120.110.001,1433; Initial Catalog=MyDatabaseName;User ID=MyUsername; Password=MyPassword;" How if they us ...Show All

  • R.Tutus How can I get the default paper size of a printer

    How can I get the default paper size of a printer I don't know how to do this... Use PrinterSetting Or Else ... Please help me,thanks a lot!!!! Thanks!!! There is no default paper size per se. There is a size that the printer is currently set to by a page setup dialog. Public Class Form1 Private WithEvents pdoc As New Printing.PrintDocument Private Sub Button1_Click( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button1.Click MsgBox(pdoc.DefaultPageSettings.PaperSize.ToString) End Sub End Class ...Show All

  • MosheDeutsch counting number of words (or regex) that appear in a string

    Is there a way of counting the number of times the word the appears in the sentence out of the frying pan into the fire I have an input string, which I want to test, I've tried:   regularexpresions.regex.ismatch(input, "the") but this only returns true or false   From my reading of the documentation I thought that the following would work regularexpresions.regex.match(input, "the").Groups.Count but this doesn't seem to give me anything that resembles what I want   I tried a loop dim counter as integer = 0 while regularexpresions.regex.ismatch(input, "the")    regularexpresions.regex.replace(input, "the", "") counter = counter+1 end while but the replaces replaces all mat ...Show All

  • Sean D Wright Calculate the exact differences between 2 given dates

    TimeSpan supports only up to Days. How best to get the exact differences between 2 dates in years, months, and days I searched online and most methods only provide the average by assuming number of months or numbers of years and such. Try using the built in function to calculate the difference! DateAndTime.DateDiff (DateInterval, DateTime, DateTime, FirstDayOfWeek, FirstWeekOfYear) If it does, I probably not posting this but it doesn't because it would return in either totaldays, total... whatever not separately as I am looking for. Unless you tell me it can returns x years x months x days .... I think they should consider adding DateSpan or some ...Show All

  • Michael_Shao Default XmlDoc Comment Format

    Is it possible to alter the default format of the XmlDoc comments produced when you type ''' I would like to place the tags on their own lines with a blank line in between them. Maybe: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=709661&SiteID=1 can help out... Best regards, Johan Stenberg ...Show All

  • cgraus How to get hold of the linenumber of the line where an error occurred

    Hi. I have tried ( in vain ), when executing the VB executable, to find out how to show the line number of the error that occurs. I can access the line number when I'm in the VB IDE environment, but not when I run the executable. Below is the code I use to access the line number ( I also tried lo_stacktrace.ToString(), but again the line number did not show when I ran the executable ) This leads me to the question: Is it at all possible to access the line number when the executable is run Private Function CodeRef( ByVal po_ModInfo As t_ModInfo _ , ByVal po_ex As Exception _ , ByVal pb_ReturnSource As Boolean _ , ByVal pl_FrameNo As Long _ ) As String Dim lo_stackframe As Stac ...Show All

  • Sanje2v How to maniputate this string ?

    Hi All, I have a 3 different Strings like bellow, "Informat-eemknz\Admin" "MLSQW\POMK\PN\TESTUSER" "MHQLLz\FFRR\User1" And How do I get a output like this Admin TESTUSER User1 Like last string after \ separator Regards sujithf Try this: m_NewString = m_OriginalString.Substring(m_OriginalString.LastIndexOf("\"c) + 1) Tony ...Show All

  • NeedSomeAnswers .Net2003: "Opening media..." message with AXWindowsMediaPlayer, doesn't open

    Hi. I would appreciate any help. Imagine an AxWindowsMediaPlayer control on a VB.NET form along with a list box that contains URLs of sound files on the local machine. When bntPlay1 is pressed the player will grab the first item in the list box and play it, or if it's already playing, it will grab the next one in the list and stat playing that one instead. That part works fine. My issue is that I want it to automatically grab the next file from the list box when the current one is completed. It does correctly put the next item into the URL, but it just says "Opening media..." and never actually opens the media. Again, if I click btnPlay1, the media does open correctly. I have included some of the commented cod ...Show All

  • haguna99 simple answer simple question

    I have a database that has an employee table with the following collums. (EmpID,FName, Lname) On my windows form i want to bind those three colums to text boxes. I have run the data bound wizard, but what code needs to be added to save changes using save button. Do i need to send the results to somewheres else then code to the save button. Sorry if i dont make sense this is my first time using MSDN Forums. Thanks in advance. Tim Timothy1, Please try the following code as follows: Public Sub SaveChanges() Dim table As DataTable = CType (datagridAuthors.DataSource, DataTable) Dim changedRows As New ArrayList For Each row As DataRow In table.Rows If row ...Show All

  • Geogie Passing values between forms

    Hello! I have been trying to figure out the best way to do this, read so much about tonite, head is spining, must sleep. But before I go, hoping someone can help me out. I have a text box that holds a value in FormA. I would like to pass that value from that textbox to a diffrent textbox on FormB, c and other forms; in the same app. I saw example where you can make the form public, but can't I create the texbox as a public varaible Or would I try a diffrent way. Just not sure how to write this out in vb.net. Thanks for the help! Rudy Hi William! I tried your way, but I'm a little lost. I understand the first part. I wrote a sample app to help me figure this out. So I have my class. ...Show All

  • OOT_In_Atlanta Fraction to decimal

    Hi! I have a list with prices of US Treasury bonds. They are quoted in a particular way that I would like to convert to decimal form. They are quoted like this eg: 99-02. Now this means that the price is 99 and some decimal. The two first numbers are the number of 32:s. Thus in this case the price is 99 and 2/32. However if there are three decimals eg 99-021 the last digit refers to the number of 124:s. Thus the price is 99 and 2/32 and 1/256. Sometimes There are only two decimals followed by a plus or minus sign eg 99-30+ or 99-10-. The plus/minus indicates that you should add/subtract 1/64. Keep in mind that the non decimal numbers may be one, two or three digits. Thus, it could be eg. 6-02 87-22- or 105-21+. Is there any wa ...Show All

727374757677787980818283848586878889

©2008 Software Development Network

powered by phorum