VS 2008 newbee
Hi everybody After a long stint with MS Access, i have recently started moving to Vb.net with ms sql in the back end What i know : in ms sql i have done the tables relations are done in vb.net know to...
View ArticleIncorrect syntax near '='
Hi, The following insert syntax gives me an error - Incorrect syntax near '='. Incorrect syntax near '=' Code: Dim strQuery As String = "insert into dbo.Files" _ & "(ChangeID, filename,...
View ArticleLaunch app automatically after install 2005
Is there a simple way to make a setup project in VB 2005 launch the app automatically after install?
View ArticleVS 2008 Draw a line in a picture box
Hi, I am trying to draw a line within a picture box between 2 check boxes. I have the coordinates of the start and end points of the line. When I use the drawLine method and the coordinates I have, the...
View ArticleVS 2010 Database Problems
I am in the middle of creating a password database and up until recently the database has been functioning correctly and now for some reason the save button with the automatically generated code...
View ArticleWebBrowser not loading Javascript in a local HTML file
Ok, so here's the deal. I have a html file that will be created at runtime, which will include javascript and will be saved in the resources folder. Now, when loading this html file, the javascript...
View ArticleNeed to write a VOIP call recorder... where to start?
Hello all. I need to write a class library that records short snippets of VOIP calls (I will have the consent of both callers). The caller will be using a headset plugged into the microphone and...
View ArticleVS 2010 problem to update html combo box!!
hi! I have webbrowsser to login in a web. this web is webbrowsser´s game called ikariam. When i go to this page, show me a message "this browsser is not compatible whith this web, but if y make loggin...
View ArticleAppend text to begining of text file
Hi, This runs the ping command and outputs the result to a text file called "Local Host.txt" Code: Shell("cmd /c ping 127.0.0.1 >C:\""Local Host.txt""", vbHide) How can I know if the file...
View Article[RESOLVED] Help Split String
Hi, I am making a CSV class for reading and updating CSV file. Anyway I use a little split function I found ages ago, It works well splits string with comma's , and can also split strings with quotes....
View Articlesystem.nullreferenceexception was unhandled?
I am making a game for a gr.11 computer science class final project. It is similar to pokemon, and so object collision is an important part. The way i've set the game to recognize this is that any time...
View ArticleLeave event not triggered when access key activated for button
I have a textbox on a form. I have a procedure to check the validity of entry when the LEAVE event for that textbox takes place. There is also a button to exit the form which has an access key. if I...
View ArticleTabs in vb
Question is quite simple. I want to learn how to make cool looking tabs as avast does or any programmer. I don't want default tab look, it's too ugly. Is there a way to change the tab look, the white...
View ArticleVS 2010 Cant set WebClient Accept header
Ive used HTTPWebRequest or WebRequest replete with all the stream readers and such to grab the HTML string of a web page. I was delighted to find the WebClient class which seems to encapsulate most...
View ArticleVS 2010 Keyboard buttons
Hello everyone. Ive already made a similar message but on my system how do i get a keyboard button to open a form whilst im in the load event of a differnt form. ive used this on a .keydown If...
View Articlecreating classes and using them correctly
im not a very good v.net programmer, i programmed in java and c++ in school and rarely touched classes, so i dont really know much about them. i know how to create one, and barely how to call it. but...
View ArticleA direct relationship between a bitmap image variable and an integer variable.
I am using VS 2012 Express For Desktop. I am creating a board game and in order to score the game I need 2 things: 1) A way to show a direct relation between a bitmap image on the board and an integer...
View ArticleVS 2010 Where to put configuration file that needs read/write access for all...
I am having difficulty finding an acceptable location to put configuration files that need read/write access. I tried quite a few special folders: SpecialFolder.CommonApplicationData...
View ArticleVS 2010 Help with delegates
Code: Public Delegate Sub Show(ByVal str As String) Public Shared Sub Main Dim Shower As Show = Delegate.CreateDelegate(GetType(Show), GetType(MessageBox).GetMethod("Show", New Type()...
View ArticleVS 2010 Help with MySQL.
Hey everyone! I'm pretty new to VB and to database but I managed to make a login system work with my database. I'm using MySQL Workbench and a standard connection. Now, I have a field in that database...
View Article