xmldocument loading from a resource
I currently use this to load an xml doc from disk: dim si As New XMLDocument si.Load(Application.StartupPath & "\sydata.syt") How do I read this from a resource file instead? Have tried many ways...
View ArticleError message appears when you read a text file
Error message appears when you read a text file to Aldata jerked Message PHP Code: Attempted to read or write protected memory to it. This is often a signal that other memory is corrupt. I can not...
View ArticleVertical Label - Vertical Text VB.NET
Hello all, For I have some trouble to find out how to create a vertical label or vertical text in VB.NET myself, I would like to share my solution. WARNING: I know it can be done better - this solution...
View ArticleCan't deploy my images and wmv files
I have a simple VB.net project. Works fine in the IDE. I am trying to deploy it onto a server so my helpdesk guys can deploy it to all the workstations. The project has two pictures (used as buttons)...
View ArticleVS 2008 how to pass the values to browser window both user name and password
I have a VB.net application that at the climax of it calls this in a startnewbrowser function Code: Public Function StartNewBrowser(ByVal sURL As Object) As SHDocVw.InternetExplorer Dim...
View ArticleWhat control to use for a defining a in Code-Behind?
I need to define a <DIV> within my code-behind and I'm not sure what control to use as it's definition. Any ideas? Thanks,
View ArticleHelp with executing command from cmd
Hi, I am trying to execute this command from cmd when a button is clicked: Code: wevtutil qe system "/q:*[System [(Level=2)]]" /f:text /c:5 /rd:True The problem is that I can't execute it successfully...
View ArticleVS 2010 Deleting space after 5 digits
Hello all, I'm new to this forum but wanted to give this a shot. I have a huge text file (if put into word is 182 pgs) that has a space after 5 digits that I need deleted. An example of the data would...
View ArticleVS 2010 [RESOLVED] "Could not find file" - is WebBrowser locking it?
I'm getting a "Could not find file" error when trying to File.Copy an image file which is currently being displayed in a WebBrowser control. The latter is in "design mode" and is being used as a basic...
View ArticleNeed Help writing to event log.
Hello All, I need help writing to the event log. The problem I ran into is writing to a folder under Applications and Services. Here is the path I want to write to: Code: Event Viewer...
View ArticleVS 2010 [RESOLVED] Mouse input for input box re: Picture Coordinates
Hi all! I'm having an issue and so I turn to the geniuses for help :) What I'm trying to do: I'm trying to have users be able to click a button, which then allows the user to click the top left corner...
View Article[vb 2012] Input single lines of text from text files
i basicly explained wat i need help with in the title the smaller the code the better :) i would also like each input to have it its string attached to it dim bob as string = line1 dim tools as string...
View ArticleVS 2010 [RESOLVED] datetimepicker and monthcalendar accepting MM/dd/yyyy
I have a program (for friends and family) where the date is validated using MM/dd/yyyy. I recently found out that it bombs if you're not set in US format, for example Canada system settings for...
View ArticleVS 2010 how to create a combobox that is linked to a database
hello ! i'm a newbie with microsoft visual basic express 2010. i'm trying to create a database and link it to 2 combobox. the first box will be the main category, and the second the subcategory. (ive...
View ArticleConverting image to base64 String? Help with code!
Hello, so I am trying to make a program that will convert an image from a screenshot of the users desktop to base64 string so that I can send it to my websites php API. Here is what i have so far......
View ArticleVS 2010 [help] How to pass a Label( ) array from sub to sub
Hi and Happy New Year. I want to pass a Label() array from form1_load sub to Timer_tick subs I googled and find ByVal ParamArray labels() As Object method but it doesn't seem to work.Any suggestions?...
View ArticleVS 2010 SQL and Visual Basic.NET
I am wanting to develop an application in Visual Basic.NET that has an SQL database to store data. My question is this: If I develop an SQL database and store it on my HDD, is it easy to later place...
View ArticleVS 2010 OS Information
Here is my code: Code: Dim os As OperatingSystem = Environment.OSVersion MsgBox("OS Version: " + os.Version.ToString()) MsgBox("OS Platoform: " + os.Platform.ToString())...
View ArticleVS 2010 Delete Text
So what i actually need is something like this First, download the source from a website Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create(TextBox1.Text) Dim response As...
View ArticleVS 2010 Open files with program
Hello, everyone. I made a mini mp3 player in VB 2010. Does anyone know how to open a .mp3, .wav. whatever with it?? Like, open the program and have it automatically play the file.
View Article