Quantcast
Channel: VBForums
Browsing all 42215 articles
Browse latest View live

VS 2012 How to replace words in a string

Hi I need to replace sum words in a string. EX: me and amanda are go to town. When I use this Dim s As String = FileString.Replace("and", "") it removes the and but it also removes the and from amanda....

View Article


VS 2010 Disable adobe reader plugin in Webbrowser

Hi all, I am currently trying to program a web scrapping program, which should be working fine if I searched using internet explorer or chrome - since the results would appear as text (html). However,...

View Article


Show program above all Windows 8 apps

I made a program like On Screen Keyboard, all is ok except that, its window shown only when select Desktop from Windows 8 start menu, how can i make it shown above all Windows 8 apps e.g. Messaging,...

View Article

[VB6 ]World War 3 points game Source + EXE

Hi, This is a little game I have been working on over the past couple of days. vb Code: 'You need' 4 CommandButtons "cmdAbout", "cmdHow", "cmdAdd" and "cmd Subtract"' A listbox called "lstCountries"...

View Article

[RESOLVED] What does 'No Source Available' mean ?

I'm trying to debug a project which has gone sick on me... Probably due to some 'weeding' in the Registry Patch. When I run the project all seems to work except that the texts in several TextBoxes...

View Article


Add shortcuts to the start menu

I just can't find it in the Help. How do I create a shortcut in (or drag it to) the start menu in Windows 7?

View Article

[RESOLVED] syntax error

what is missing here?:confused: Code: CN.Execute "INSERT INTO Appointments (AppID, AppDate, AppTime, AppCust, AppHrDr, AppService, AppRemarks) VALUES (" & _             NewID & ", #" & _...

View Article

VS 2010 Read VBA binary file

Hi, I've been working with some ERP software that allows me to develop VBA to interact with it, although I'm not able to read/write the binary file that it uses. Did anyone ever try to read VBA...

View Article


VS 2010 Multiple Style Changes On A Html Element

Hi. I have 1 webbrowser and 2 buttons on my form. After the site gets loaded, I press on a section of the site itself, click the first button to change the style of the html element (works well) and...

View Article


Multiple TcpClient connection tips

Hi Folks Im working with my first VB.Net application (I've done some VB6 long time ago), and also my first to use TcpClient. I have the basics down OK so far, but now I need to scale up and have lots...

View Article

Continue to a text file

Hi guys! Let's say I have a form with Textbox1 "Name", Textbox2 "Surname" and Textbox3 "Company". And I have this code for Button1: Code: Private Sub Button1_Click(sender As Object, e As EventArgs)...

View Article

VS 2010 [RESOLVED] Make all forms the same.

Hi, I am making a program and have got to the stage where I want all the forms to have the same background, same fonts etc etc and I was just wondering whether anyone has a piece of code which can do...

View Article

troubleshooting an SSRS report..help!!

One SSRS report out of 10 is timing out upon launch within an application whereas in report manager and report services it manually runs fine. I am seeing the following in the code where the Launch...

View Article


Object Array filled with double arrays

Code: Public Function xXML(Filepath As String) As Object()         Set objParser = CreateObject("Microsoft.XMLDOM")         Set OCC = "OMICRON CONTROL Center"         Dim xDoc As MSXML2.DOMDocument...

View Article

How to create macro to convert number to text

Hello everyone, I have a report that comes out as 1s and 0s. What I would like to do is convert every 0 (zero) to a P, and every 1 (one) to an F. I looked up some VBA code and didn't come up with...

View Article


VB.net 2008 and excel pivot tables....

I am trying to add additional cols of data to a pivottable. If I record a macro, I get the following line of code. Code: .PivotTables("LYpd1").AddDataField(.PivotTables("LYpd1").PivotFields("Avg Last...

View Article

Auto-complete information from text file

Hi guys! What I need is a very complex thing for me and I aö searching ideas about this. The thing is, I have a database (a simple text file) created by myself which is keeping a log as "Mark Twain,...

View Article


VS 2010 Search for a string in a text file and perform an action

I have a txt file with the following contents: Code: [config1] name = test1 settings = settings1 host = sample.com [config2] name = test2 settings = settings2 host = sample2.com [config3] name = test3...

View Article

What version of Visual basic to Learn first in dot net?

I have been in VB6 for the past 2 to 3 years. Now I would like to switch to .net part of it. Can any one suggest what to take first whether Visual basic 2008 or any higher version. I want to learn...

View Article

Passing keystrokes to another window.

Hi, How do I pass keystrokes to another window? For example I need to fill up text boxes in another application.

View Article
Browsing all 42215 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>