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

Create mdf / ldf file in User Instances???

I was wondering how I can create a mdf sql server db file by using a user instance? The only way I know and can find is: vb Code: Dim str = "CREATE DATABASE ClientRegistration ON PRIMARY " & _...

View Article


How can one get his own extension registered in OS ?

hi all I need to know How if I have simple text editor , and liked to save my text file in my own extension (say .ttx) and latter let the windows opens that files with the new extension by my program...

View Article


VS 2008 How do I change the mouse pointer to an hourglass for the whole form?

Hi, VB.net Started off with : Me.Cursor = Cursors.WaitCursor which works fine until you move the mouse. This works for all the controls on the form: Dim i As Integer Do Until i = Me.Controls.Count...

View Article

VS 2010 Getting data from website

Hello, I have the following part of code for automatic login: Code: Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As...

View Article

VS 2010 [help] regex function

...Regex.Match(Str, "<div class=""myTEXT""><p style=""text-align: center;""><span style=""color: #ffffff;""><strong><span style=""font-size: large; font-family: georgia,...

View Article


I dont understand my errors

I am working on final unit assignment for my visual basic class. I am confused by this assignment. I have four errors that keep me from compiling. Error '______' is not a member of...

View Article

New Error and I'm new at this already!

I am finishing off my last unit in a beginner intro visual basic class. I am writing code for an employee class. I get a warning that it does not like my New in Public Sub New(ByVal first As String,...

View Article

Get Reuters currency value to vb application

Hi I want to get the currency values from reuters to vb application. Any one can help

View Article


VS 2010 Insert a row into MSACCESS 2010 database

Hello everyone. I googled a lot about this but results didn't help. However, I was able to read records from the database witht the following codes that google gave me. Code:         Dim con As...

View Article


File List Box question

Is there a way to clear a file list box so it will not show any files like how you would clear a regular list box using .Clear. I don't see a .Clear for the FileListBox. I tried using .Path = "" but...

View Article

Counting the amount of Times specific String is Present in a List Of Strings..

Hey Guys / Gals... First off I want to say thank you to so many of the members who have helped me this far as my new hobby in programming is coming along great and I'm glad to say I'M ADDICTED lol.....

View Article

Image may be NSFW.
Clik here to view.

VS 2010 [RESOLVED] Accessing Databases

I'm writing an application that i can click one of four buttons, (First Record, Last Record, Next Record, and Previous Record). I have linked the program to the database fine, but I'm unsure how to get...

View Article

dbcombo & option button

i have create a combo box to display the name of different book from another table now i want to take the id of the book and store it in my database in another table, i dd'ont how to retrieve the id...

View Article


VS 2010 Displaying currently installed RAM

Alright, so my program is mostly finished, but I would like for it to display the amount of currently installed RAM. Here is what I have- Code: Dim ram As String = My.Computer.Info.TotalPhysicalMemory...

View Article

VS 2010 Read in XML File and Put into array?

Hi Guys, OK so I am enhancing my current project. Please see the below for a quick summary: >Open ServiceUser XML file >Read in the contents of the ServiceUser XML file into an array >Filter...

View Article


accessed from a thread other than the thread it was created on ???

I am new to VB.NET and only have the vaguest understanding of threading. Thus, as far as I know I'm not even using it. But this morning I created a FileSystemWatcher form which is giving me the above...

View Article

CSS Template Layout Sites

Anybody have any good sites that have CSS layouts that you can download? Thanks.

View Article


Cell Phone Format

the below code doesnt give me correct results...am missing a vb.net syntax...no error though Code: Public Shared Function TSTIDM_Format_Cell_Number(ByVal str As String) As String           'remove all...

View Article

select database problem

PHP Code:     $con = mysql_connect("localhost","user1","password") or die("Cannot connect");                              mysql_select_db("pmonty7_dsd", $con) or die("Cannot select database");...

View Article

Really basic array help

Hi. We are really fresh on VB programming, just started programming this fall. We need some help! The problem is that we have a two dimensional array, and a random generator will pick out a word from...

View Article
Browsing all 42406 articles
Browse latest View live


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