Answer Questions
Chmely display files names in a button in alphabethic
I have visual studio 2003. how can i show, in alphabeth, files names in different buttons without the extension, thanks anyway You can create Buttons dynamically, and add them to a Form or Panel at runtime. The code would look like: Dim fileNames As String() = System.IO.Directory.GetFiles(..., "*") for i As Integer = 0 To fileNames.Length-1 fileNames(i) = GetNameWithoutExtension(fileNames(i)) Next ...Show All
Stovesy PROJECT FILE
IM WORKING WITH VISUAL BASIC EXPRESS 2005 MY PROJECT FILE GOT MODIFIED SOMEHOW . SEVERAL COMPILER DIRECTIVES IN THE PROJECT FILE ARE LOOKING ON DRIVE A: MY FLOPPY DRIVE FOR 3 OF THE VISUAL BASIC FILES. THE REST ARE ON DRIVE C: THE HARD-DRIVE. HOW DO I MODIFY THE PROJECT FILE TO GET ALL FILES BACK ON C: I LOADED THE 3 VISUAL BASIC FILES ON THE A: DRIVE BACK INTO THE PROJCECT FILE BY USING THE "ADD EXISTING ITEM" ON THE PROJECT MENU. ...Show All
Paul Farrell Add A Pop-Up Blocker to My VB web browser
Im preety new to VB and Ive been working on a Web Browser Coded in VB Does anyone know a way i can add a pop up blocker to it ...Show All
DotFrammie How do you seperate the 2 ENTER/RETURN key in Enchanced U.S keyboard
In VB 2005, using "Keydown","Keypress" or "Keyup" command to capture the output code of the 2 Enter key. I get output code of 13 in keypress and key release. the same output. how do you determine which one you press I believe one of them is 2 byte which i cannot see in the command i use Any recommendation how to capture it how do you capture 2 bytes or more than 2 bytes keyboard output. your help is well ap ...Show All
Shadokin shared member and inheritance : how to ?
Hi I have 3 classes : Base, Child1, Child2 Class MustInherit Base Shared Stuff As ... Sub DoStuff for each x in stuff ... next End Sub End Class Class Child1 & ...Show All
radioman Registry Checker
I have problem on my program. How do i know if the registry subkey exist using Visual Basic 2005. I have here a code in Visual Basic 6.0, I don't know how use it in Visual Basic 2005. Can you please help me Example: '============================================================= ' This is a Visual Basic 6.0 code example '============================================================= Public Function DoesKeyExist( ByVal lngRootKe ...Show All
Mahmoud Amereh Accessing FTP server?
How can i access FTP server using vb.net I want to upload, downlaod, delete, rename files on FTP server and change directories on FTP server as well. thanks Hi, For simple upload / download operations, you can use My .Computer.Network.DownloadFile() My .Computer.Network.UploadFile() For other operations, you can see FtpWebRequest class http://msdn2.microsoft.com/en-us/library/8exfzxft(en-US,VS.80).aspx . Best regards, Hi, With ...Show All
Jeff Filek Splitting a string after finite amount of characters
Hi Hopefully this should be simple for all you clever people! I have a string of about 35 characters and I want to spilt the string after every seven characters and output them into a dropdown list box. What’s the best to do this The following will work Sub splitSevenCharacters(ByVal s As String) Dim i As Integer For i = 0 To s.Length - 1 Step 7 If i + 7 & ...Show All
Malic Huang controls in vb6 does not work anymore
After installation of VS 2005 beta 2, now my vb6 does not work. After dragging a i.e. textbox into VB6 IDE, when close the form within the IDE and reopen the form, here below is the error message Application popup: vb6.exe - Application Error : The instruction at "0x004b01cf" referenced memory at "0x00000000". The memory could not be "read". Click on OK to terminate the program Click on CANCEL to debug the program This happens to many contr ...Show All
Nick777 Tree view help
I'm a novice with VB. to create something like what you would find in outlooks side bar. Where all my data would be listed in the treeNode and all i have to do is click it to open in a Data Grid if possible. Can you help me please. Also i don't have a clue how the send information the a Form window using the MdiParent to miChild. can you help with that as well. Thank you very much.. treeviewctrl.nodes.add("str ...Show All
perryf_00 how does timer work in vb.net 2003?
hi! say i want to display the first label on a form and after a few seconds, the second label will display. what should be the code thanks, mac Some time ago i explained it to someone with a simmular question Like so Assuming you have a form called 'form1' a Timer called 'timer1'and a label called 'label1' Form variable Private _strArray(4) As String Private Sub Form1_Load( ByVal sender As System. Object , ByVal e ...Show All
ChrisLanotte Using the LIKE operator in SQL statement
I have an ADODB recordset named adoRS connected to an Access database and am setting SQL in the recordset source. The table I am accessing has 10 records with the Name Fred in them so when I execute: strSQL = "SELECT * FROM MyTable WHERE Name = 'FRED'" adoRS.Source = strSQL I get 10 records returned, however if I change the query to: strSQL = "SELECT * FROM MyTable WHERE Name LIKE '*'" adoRS.Source = strS ...Show All
sara8305 Renamimg an object
Hi, I noticed that when you rename an object at design time that this is what the code looks like: Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdDecide.Click Now I renamed my command button cmdDecide. I'm used to VB6 (using VS2005) now. In VB6 the buttons name normally came after the private sub but here I see it still has the generic name that it was given b ...Show All
Tjoppie my.application.log
I have a Data Access Layer dll file to talk to datatabase, I am trying to log data change action in this DAL assembly using My.Application.Log, can I just add a app.config file to DAL to make it happen I tried, but not work. Since the post above, I am trying to use the exe assembly app.config to log database changes. it works, but I have 3 questions, 1. can i use filter to tell if log entry type is INFORMATION, then go to one cust ...Show All
mangorind how to Download a webpage to harddisk?
I'm using VB-2005 The following example works fine (I lent it from this forum from someone) It uses a form with 2 buttons. The first button starts a webbrowser with a webpage The second button starts the ShowSaveAsDialog This works fine, I can save my Webpage. But: Question1: How can I save the Webpage to c:\webpage.html from my program without manually use of ShowSaveAsDialog Question2: How do i get the HTML-tables in a ...Show All
