- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
26 Posted Topics
Re: Hey Mukesh [code] Private Sub ReadAllText() ' Hold the Parsed Data Dim ary(0) As String ' Reader to read from the file Dim sr As New System.IO.StreamReader("LocalFile.csv" Or "Localfile.txt") ' Hold the amount of lines already read in a 'counter-variable' Dim placeholder As Integer = 0 Do While sr.Peek <> … | |
Re: Hi PJA. Bear with me as this is my first post on daniweb :) Replace your code with the following and your problem should be solved. Imports System.Runtime.InteropServices Imports Microsoft.Office.Interop.Word Public Class FormUserGuideWord Inherits System.Windows.Forms.Form Private Sub FormUserGuideWord_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim strFileName As … | |
Hey guys/girls... I am looking to constantly check to see if a variables value has changed. An example below might be simular ' If the value of this variable ever changes - perform some action Dim str As String = "" However, using a timer seems inefficient as I have … | |
Hey guys, I have a domain and sub domain set up using hosting services from data flame, the sub domain is set up as a physical sub domain. The sub domain hosts the CMS so I need to upload (product) images from there to the main domain. I spent a … | |
Hey Firstly, I have a WPF solution with [I]n[/I] amount of classes. I have instantiated the classes and assigned them to an array of type Object. So far I have 2 elements to my array (Class A and Class B) I am simply trying to add this array to the … | |
Hey kind people! How do I remove duplicate Rectangles from my List<Rectangle> in C#? Thank you | |
Hello all, I have created a wpf application and have run into a couple of problems... :-( I have published my project, copied the (published ClickOnce installer) files to another computer, installed my app and it stops working as soon as I launch... My problem seems to occour only on … | |
I am performing an installation on 15 client computers. I'm installing Windows XP Professional using Remote Installation Service (RIS). I've not used RIS before and am unsure how the RIS server will recognise the different clients. So I guess my question is: How does a RIS (Remote Installation Services) Server … | |
Hey guys, I have a brother (aged 23) who plays world of warcraft day in, day out. He plays for up to 16 hours a day, has no job and is becoming dumber by the day. The game has taken over his life and is seriously damaging his life, the … | |
Hey girls/guys of the dev community, Ok, I have a project I wish to begin work on but am not entirely sure how I should start. I need to change hundreds of values in script file, for this I am trying to make an interface, similar to the properties dialog … | |
Hey guys, I have a problem with a game me and a friend are creating... We have just set up a Server and Client through the use of Sockets... My friend (at an external location to me) can connect to my server when I forward the port we choose (in … | |
Re: If you only want to delete some records from the file, consider loading them into your ListView, removing the listview items you don't need, then write the listview data back to the file... Hope this helps | |
Re: Hi ruchika beddy, I replied to your last post and noticed you abandoned it with no reply. I (like many others) DON'T get paid for helping people out, we do it because we enjoy our work, and want to help others. Firstly, start by answering to the thread you abandoned … | |
Hey guys/girls I am having trouble adding Nodes from a TreeView into a TreeViewCollection My code below: [code] Dim treeNodes As TreeNodeCollection For Each node As TreeNode In TreeView1.Nodes treeNodes.Add(node) Next [/code] I am getting Object Reference not set to an instance of an Object error... There is no Constructor … | |
Re: It could well be that My.Application.Info.DirectoryPath is not returning what you'd like after the application has been compiled. I know, for instance that the My.User.Name did'nt work with Windows Vista at one point. Try something like Application.StartupPath & "\portfolioDB.mdb". Also, your application seems to be bound to the C:\ drive, … | |
Re: When you load Visual Basic's IDE, select Create a new Class Library. Code your class with whatever it is you need. Click Build Solution, under the Build Menu. Now open the save directory in Windows Explorer, and browse to \bin\Debug folder, your DLL will be in there waiting to be … | |
Re: Hi, ruchika beddy. According to your description of the problem, you simply want a MessageBox to show up, showing Yogesh and the selected ListView item's index... To achieve this, do the following: [code] Private Sub ListView1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListView1.Click MsgBox("Yogesh " & ListView1.FocusedItem.Index.ToString()) End … | |
Re: Hi sdimantova, In your code try changing the following: [code] If unwantedFile.Checked = True Then DeleteForm.DeletionList.Items.Add(unwantedFile.Text) End If [/code] To this: [code] If unwantedFile.Checked = True Then DeleteForm.DeletionList.Items.Add(unwantedFile.Clone) End If [/code] The problem is your only adding the Text of each listviewitem in the first column, what you want to … | |
Hi, I am stuck on some code I have to upload a file to my FTP server. I keep getting an error: The remote name could not be resolved: 'ftp.mywebsite.com' [code] ' set up request... Dim clsRequest As System.Net.FtpWebRequest = _ DirectCast(System.Net.WebRequest.Create("ftp://ftp.mywebsite.com/test.txt"), System.Net.FtpWebRequest) clsRequest.Credentials = New System.Net.NetworkCredential("username", "password") clsRequest.Method = … | |
Hey guys/girls. I am a a student (entering second year) and am looking to raise some cash to get through tough uni times :) . I have just started up my own website on which I aim to help others learn .NET programming, and sell some of the software I … | |
Re: If your using .NET 3.5 you won't have to worry about the Caps lock being on as a warning is shown automatically for you! (I think this will only work if you have set the UseSystemPasswordChar attribute to True, this will only take effect after your project has been published … | |
Re: Hi RiddlerLG , as niek_e said above you really need to decide what it is you want to create. Software, web pages, games programming. One you decide that you are then welcome to enter a world full of confusion/debate as to which is the 'best' language to learn. If you … | |
Hey. I would like to ask for help regarding SQL server. I have developed a client-side application to run on my clients' agents machines. They will use this software to add items to a cart and print an invoice, in addition to the program eMailing my client to notify him … | |
Re: Have you tried using a Select Case statement in the classes Constructor? Perhaps you could then use ModuleName.MethodName() Hope this did'nt over simplify your problem! Regards | |
Hey guys/girls. I just bought a domain from [url]https://www.123-reg.co.uk[/url] and assumed it was going to be easy to upload my own .html file and set this as the home page on my domain. I have the option of Framed web-forwarding, which I have done - directed to a .html file … |
The End.