-
Replied To a Post in Open link in WebBrowser Control in new WebBrowser Control
You haven't posted any code so it's difficult to know exactly what you are doing. Using `WebBrowser1.Navigate("http://www.yourUrl", True)` will open the url in a browser (IE) window. While using `WebBrowser1.Navigate("http://www.yourUrl", … -
Began Watching Problems with VB Console Program If, then Statement
Program runs without errors, unfortunately it will not calculate the days overdue. Any Suggestions? I have attached the code as a pdf, i have also done this as an IF, … -
Replied To a Post in Problems with VB Console Program If, then Statement
Have you checked the value of "intDays" after you call "getDaysOut(intDays)"? You have the following: `Private Sub getDaysOut(intDays As Integer)` it should be: `Private Sub getDaysOut(ByRef intDays As Integer)` If … -
Replied To a Post in Problems with VB Console Program If, then Statement
If you right-click the file and "Send To" => "Compressed (Zipped) Folder", you can attach it. -
Replied To a Post in Regex alternatives?
You can do the following: Add `Imports System.Text.RegularExpressions` Create a class named "VideoInfo.vb". **VideoInfo.vb:** Public Class VideoInfo Public Property videoNumber As String Public Property name As String Public Sub New() … -
Began Watching Regex alternatives?
Hello, I'm sorry if this is the wrong place to post this, I couldn't find a support section. Anyway, I'm new to VB.NET and honestly, I'm lost. I need to … -
Replied To a Post in How to check the xml's node's value in C#.net
You can use XMLSerializer. To hold the data from the XML file, I use two classes. I will call them "UserListInfo.cs" and "UserInfo.cs"--you can name them anything you want (it … -
Began Watching How to check the xml's node's value in C#.net
Hi all I have a simple login form with Username and password as fields when the user clicks the login I wish to check the xml whether the username and … -
Began Watching Open link in WebBrowser Control in new WebBrowser Control
I am having the most horrendous time searching for this. I swear I have trawled the web 10 times over. All I need is to get the URL of the … -
Replied To a Post in Open link in WebBrowser Control in new WebBrowser Control
What are you using to view the initial web page? -
Replied To a Post in Hide some menu items as per user rights?
See above where it says: usage of the attached file. -
Replied To a Post in microsoft outlook 14.0 object library
[Microsoft Office 2010: Primary Interop Assemblies Redistributable](http://www.microsoft.com/en-us/download/details.aspx?id=3508) [Office Primary Interop Assemblies](http://msdn.microsoft.com/en-us/library/15s06t57.aspx) -
Began Watching c sharp csv file
hello i need to replace data only in one(specific ) column of csv file for example replace just in city column f_name,l_name ,city,country --->headers david,d,los-ang''elses,california ( replace los-ang''elses to los-ang'elses) … -
Replied To a Post in c sharp csv file
Can read data into a DataTable, manipulate it, then save it back to the file. [How to read a CSV file into a .NET DataTable](http://stackoverflow.com/questions/1050112/how-to-read-a-csv-file-into-a-net-datatable) -
Stopped Watching Access 2007 Connection
Hi guys pls help, Im trying to connect to access 2007 database in vb.net 2005 woth no luck.....im using a login form with two text boxes and two buttons, Im … -
Began Watching Access 2007 Connection
Hi guys pls help, Im trying to connect to access 2007 database in vb.net 2005 woth no luck.....im using a login form with two text boxes and two buttons, Im … -
Replied To a Post in Access 2007 Connection
Your connection string is incorrect. Should be: `"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Video Rental System\DvDSystem1.accdb"` Also add the following: `Catch ex As OleDB.OleDbException` [Access Connection String](http://www.connectionstrings.com/access/) -
Replied To a Post in How to manipulate automatic computation in textbox?
You haven't set `txttotal.Text = ""` or `txttotal.Text = Nothing`in "txtamount_TextChanged" or "txtquantity_TextChanged" if txtamount or txtquantity is null or empty. -
Replied To a Post in TableAdapter and Unicode?
The following seems to work: **Create a new project:** * Click "File" (in menu) * Select "New Project" * Double-click "Visual C#" to expand * Click "Web" * Select "ASP … -
Replied To a Post in TableAdapter and Unicode?
This may be of use: [Globalization Step-by-Step](http://msdn.microsoft.com/en-us/goglobal/bb688114.aspx) -
Replied To a Post in TableAdapter and Unicode?
Are you using the DataSet designer? If so, check the parameters by doing the following: **Open Solution Explorer:** * View * Solution Explorer * Click your dataset name (ex: DataSet1.xsd) … -
Began Watching How to call oracle function with 2 param using vb with oledbconnection?
hello, i want to ask why my function cant be called here's the function create or replace function hitung_denda (idPinjam number, tggl varchar2) return number is denda number; tgl1 date; … -
Replied To a Post in How to call oracle function with 2 param using vb with oledbconnection?
The following is untested (and has the username and password replaced by an asterisk): Private Function call_hitung_denda_function(ByVal idPinjam As Decimal, ByVal tgl As String) As Integer Dim denda As Integer … -
Replied To a Post in How to call oracle function with 2 param using vb with oledbconnection?
First of all, I've found the following related to the provider "MSDAORA" (Microsoft OLE DB Provider for Oracle): [Microsoft OLE DB Provider for Oracle](http://msdn.microsoft.com/en-us/library/windows/desktop/ms675851(v=vs.85).aspx) *"...This feature will be removed in … -
Began Watching OverFlowException Help needed
I'm trying to create a code that gives the factorial for a number given. If it is negative, string, or to large of a number an error should return. I … -
Replied To a Post in OverFlowException Help needed
[checked (C# Reference)](http://msdn.microsoft.com/en-us/library/74b4xzyw.aspx) *"...By default, an expression that contains only constant values causes a compiler error if the expression produces a value that is outside the range of the destination … -
Began Watching "Thread is not in a single-threaded apartment." error
ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment. Im getting this error every time my program tries to initalize the users nasme, … -
Replied To a Post in "Thread is not in a single-threaded apartment." error
This can happen with improper usage of backgroundworker. You can use properties and/or constructors to pass data to your class. I'm confused. Can you post your code. Or portions of … -
Replied To a Post in TableAdapter and Unicode?
Try adding "N" in front of the unicode data: TRUNCATE TABLE [dbo].[Language] SET NOCOUNT ON INSERT INTO [Language] VALUES ('English',N'English') -- 1 INSERT INTO [Language] VALUES ('French',N'Français') -- 2 INSERT … -
Began Watching TableAdapter and Unicode?
Working with Microsoft Visual Studio 2010 Professional, using C#, with Microsoft SQL Server 2008. I have been tasked with taking an existing application, and making changes so that it can … -
Replied To a Post in TableAdapter and Unicode?
[Collation and Unicode Support](http://msdn.microsoft.com/en-us/library/ms143726.aspx) -
Began Watching Need help in checking for duplication records in Excel
Good Evening Everyone, i am currently facing a problem. I want to append data to an excel file but before that i want to check for duplication records in the … -
Replied To a Post in Inventory Form
Sorry, I'm not going to debug your whole program for you. Place "MessageBox.Show()" and/or "Console.WriteLine()" statements throughout your code to help you find out what is executing and what is … -
Began Watching Inventory Form
Hello, I attached my solution so far. I dont know how to create a collection within the code and read it from the .txt file. I seriously have tried and … -
Replied To a Post in Inventory Form
Try changing: Private allInventory As New Inventory To: Private allInventory As New List(Of Inventory) Add `allInventory.Add(objInventory)` here: ... 'Display data in text boxes. DisplayInput(objInventory) '-------------------------- ' Add objInventory to list … -
Began Watching Read a file
hi guzs im trying to read a file and open it when click on the button when i run.I don't know why the file didn't show up on my screen.here … -
Replied To a Post in Read a file
You haven't fixed your original problem. In your first post you do the following (line 34): Dim stringrecord As String The next time you reference "stringrecord" is in line 60: … -
Began Watching OS migration and Outlook not working in vb6.0
Hi, I have migrated OS from XP to win8.1. Earlier in my VB application, I was sending email thourgh my outlook object. set outapp = createObject("Outlook.application") but now I am … -
Replied To a Post in OS migration and Outlook not working in vb6.0
Is your Win 8.1 32-bit or 64-bit? What version of Outlook (year and 32-bit or 64-bit)? [Developing Outlook 2010 Solutions for 32-Bit and 64-Bit Systems](http://msdn.microsoft.com/en-us/library/gg549122(v=office.14).aspx) -
Began Watching Setup project (.vdproj) loads when opening Solution file (.vbproj)
I tried to create a setup project for my VS 2010 (Visual Basic) application (which was successful) but now whenever I try to open the solution project (.vbproj) the Setup … -
Replied To a Post in Setup project (.vdproj) loads when opening Solution file (.vbproj)
I think that you left out some "details". **In menu:** * Click "File" * Select "Add" OR **In solution explorer:** * Right-click "Solution" **The remaining steps are the same for … -
Replied To a Post in Hide some menu items as per user rights?
Here's "doTasks" that is in the attached file above: Public Sub doTasks(ByVal username As String, _ ByVal ToolStripStatusLabel1 As ToolStripStatusLabel, _ ByVal StatusStrip1 As StatusStrip, _ ByVal MenuStrip1 As MenuStrip, … -
Replied To a Post in Hide some menu items as per user rights?
The following will show how to hide/show a menu based on user rights/permissions using a database that uses the structure in my post(s) above. There are most likely other ways … -
Began Watching Programmatically access accdb file
Hi, My project is in c#, created in vs2008 with access 2007 as the db and windows 8.1 as the os. I've created a setup file with the required dll … -
Replied To a Post in Programmatically access accdb file
No one has any idea what you are talking about when you say "Everything points to c:\Program Files(x86)\Default Company Name". Provide some code. -
Replied To a Post in Main form
My previous post was incorrect. Don't add `Namespace My` to "resultex". Change line #23 in "MyApplication" to: Me.MainForm = My.Forms.resultex The format is: Me.MainForm = My.Forms.<your form name to start> -
Stopped Watching Programmatically access accdb file
Hi, My project is in c#, created in vs2008 with access 2007 as the db and windows 8.1 as the os. I've created a setup file with the required dll … -
Replied To a Post in Application Blows Error ONLY when running on its own
You might try moving `value.Dispose();` inside the closing bracket of the using statement: using (Graphics graphicsHandle = Graphics.FromImage(TempImage)) { ... if (value != null) { value.Dispose(); }//if }//end using -
Replied To a Post in Application Blows Error ONLY when running on its own
...it could be related to using a "using" statement. [using Statement (C# Reference)](http://msdn.microsoft.com/en-us/library/yh598w02.aspx) *File and Font are examples of managed types that access unmanaged resources (in this case file handles … -
Replied To a Post in Application Blows Error ONLY when running on its own
It may be related to how garbage collection is occuring. See the following post: [Does garbage collection run during debug](http://stackoverflow.com/questions/7165353/does-garbage-collection-run-during-debug) The following post may also be of use: [How to …
The End.