• Microsoft Visual Basic's Today Newest Questions & Articles Featured

    • Urgent - SP5 - component error when compiling app
    • I just applied SP5 and now I'm getting an error when compiling the ActiveX DLL I was working on previously.This app has been compiling properly for the past number of months but now I get a "Component not properly registered" error when I compile it.The error show up after 'Compile
    • Weird problem
    • I have a vs flexgrid control wich i am trying to change some properties. Sometime it works other it doesnt but when i run it point by point the affectation is made anybody had a similar problem
    • Computer name...
    • [Originally posted by rcoltrane]I need to get the users Computer Name and load it on a variable. How can I do that?Thanks in advanceRegards,RColtrane
    • Screen resolution problems...
    • My question / problem is that when people are using windows, their resolution could range anywhere from 640X480 to 1280X1024. So when I program an ap, it will look perfect on my 1024X768, but on my friend's 640X480 they won't be able to see a thing. So what would u recommend? Size it all d
    • can i make the option button Transparent ?
    • can i ?? :)
    • Accessing properties of jpg files from VB6
    • Windows XP shows various useful properties of jpg files, such as Title,Subject, Keywords.How can I access those properties from a VB6 program?--Nigel Lancaster
    • Tell about worst practices you have seen...
    • I *was* considering writing my code - variables, comments,etc - in Polish (I work in USA, but I know Polish, too).This way they can not fire me (right?) unless they willhire somebody who knows polish and VB :)Just as a joke I did put some comments in my code like:WARNING!!! Tu nie ma nic waznego
    • Enumerate local groups & their membership?
    • I'm trying to find out how to enumerate all local groups on a machine and list their membership. It's easy in Vbscript but it seems to be considerably more tricky in VB.NET. Am I missing something obvious?
    • Replace Function
    • The replace function doesn't seem to work the way i thought it did.I have this:Replace(tmp, "_", strcurletter, i, 1)which in theory if i had a 'tmp' of "S____", 'i' of 2, and 'strcurletter of "T" should return "ST___" however what I get is "T___"any ideas?
    • Sql OUTER JOIN & ADODC
    • I have the following SQL statement as RecordSource for an ADODC. It's simplified.SELECT AgentMaster.AgentID, NameAddress.FirstName FROM AgentMasterLEFT OUTER JOIN NameAddressON AgentMaster.AgentID = NameAddress.AgentIDUsing the RecordCount property generates an error.Clicking the ADODC's M
    • Write from data to a txt file
    • This is my second day with Visual Basic.I just tried to add a menu, and made a menu 'file'.Caption: SaveName: mnusaveIs there possible to make a txt file out of a textbox called text10?Like if this is in Text10: 'hello there'Is there possible to make that save as object.txt i
    • Creating Hex file
    • I have a program that converts a decimal to a hex string then outputs it to a file. the only problem is, when I save the file it saves it as an ASCII text file instead of a hex string. how could I make it save it in hex format?
    • focus... focus... focus...
    • How can I make a textbox get focus using code only?
    • BatchUpdate
    • HiWhat does the following error mean when using batch update?Key collumn information is insufficient or incorrect. Too many rows wereaffected by update.ThanxReid
    • strange breakpoint problem
    • In a particular project that I'm debugging (compiled as debug, not release) I cannot set a breakpoint inside a particular function. I click to set it, and magically, another file from another project is opened in the IDE, and the new breakpoint is set there, in a random location. And I get
    • very new to .NET
    • > -- Original Message -- > From: "Cor Ligthert" <notfirstname.visual-basic.itags.org.planet.nl> > Newsgroups: microsoft.public.dotnet.languages.vb > Sent: Saturday, June 05, 2004 2:08 AM > Subject: Re: very new to .Net > > > > Hank, > > > > 1. The vbc needs a full reference
    • About the registry
    • Hi... I just want to retrieve and set the value of this:'Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]'Value Name: ProxyServer'Data Type: REG_SZhow do I do this in a simple way?Thank you ! :)
    • Recently Used File List
    • I have a simple application and under the File menu of the form, I want tolist the last 4/5 files that I have opened. Any pointers to some sample codewould be greatly appreciated.David
    • Cant get example code working.
    • I have the Common1 control on my form but i still can't get this to work.Public Function LoadList(CommonDlg As CommonDialog, List As ListBox)Dim Path As StringCommonDlg.Filter = "Text Files (*.txt)|*.txt"CommonDlg.ShowOpenPath = CommonDlg.FileName If Path = Empty Or Path = "" Then Exit Fu
    • EM_AUTOURLDETECT
    • Anyone have any luck getting this to work with a RichEditTextBox?
    • Hey...whats going on?...
    • Hey...whats going on?
    • Environment Variables - how to add using vb6
    • how can i check if a certin variable is defined under a user or the system.and if i want to change its value or to add a new 1- how can i do this in vb6?thnaks i nadvancepeleg
    • Find on page
    • Hey guys,I'm trying to figure out if a certain string is found on a webpage through VB. I got the browser to open and the page to load, i just need to check for a specific sentence on the page. Any thoughts?
    • VB, implementing the high score within this code
    • I have developed a small arcade game with the help of a few VB books. A scoring system was implemented in the design of the game but I as hoping that some one would be able to instruct me on how display the score at the end of the game. At the moment when a player finishes the game I have a wind
    • Passing parameters from VB to Crystal Reports
    • I think that you have to send the parameters to the store, not to crystal.
    • Msflxgrd.ocx
    • Hi:More and more from the grid ;)My trouble is in using the old flex in .net i.e i have an application thatis using the old grid in vb6.0 and .net it is givving you don't have alicense to use this control in desing .... this problem had never showed upwhile developing the software on a mach
    • Getting string from quote
    • Sup,I got a string which holds a name. The string length is 30, and the name length is Maximum 30.Now lets say I have this string:"Stiletto George "The Max length of the string is 30, but the name is shorter. I wanna get rid of all the blanks after the name.How do i do that?
    • How to find the current path for an open file on network drive?
    • I used CurDir in excel vba code. It always gives default dir on C: I amopening an excel file from a network drive. I want to get the path for thisfile on the "M" drive so that I can manipulate further. I tried all ChDrive,ChDir etc.Thank you
    • file matching program
    • I need to create a simple file matching program.I have 3 files. The transaction.rnd, oldmaster.rnd and newmaster.rndTransactions are saved in the transaction.rnd file. This file is updatedto the contents of the oldmaster.rnd file. If a match (using the accountnumber) occurs, the account info (the ba
    • edit an array to change data
    • Hi there i have a problem in a simple login program where i store the userand password in an array, i have a add new user form so as to be able to adda new user so that they can login as well but i can not seem to find theright code to change the data in the array.Any help anyone can give me wil
    • »» Read More about "Microsoft Visual Basic"...