Answer Questions
madenci Join function with array of Objects
Help lists the declaration of the Join Function as Function Join( ByVal SourceArray () As { Object | String }, Optional ByVal Delimiter As String = " " ) As String It does not describe what happens if SourceArray is an array of objects rather than strings, but I assumed that it would use ToString to convert each Object to a String and then join them using Delimiter. However when I try to use Join to convert an array of IpAddress Objects to a string like this: Dim dnsAddresses() as IpAddress dnsAddresses = Dns.GetHostEntry("AComputerName").AddressList Dim Adrs As String = Join(dnsAddresses, ", ") the Join function gets an "Argument 'SourceArray' cannot be converted to type 'String'& ...Show All
Stevenmja Visual Basic 2005 Express help
ok i have visual basic 2005 express installed and that is all no other programing software on either of my pcs. I am just starting to learn vb. and i am watching these video tutorials and reading these books. it says go to add new item then click inheritance form.. well that option is not availible in 2005 express. So can someone talk to me like i am stupid and tell me how to fix this. and also will inheritance form pull information from form 1. like num1 = whatever and i just reference num1 on the inherited form and it pull the information Thank you for the all the help What is the error You must have a form1 in your project in order to inherit from it You can format the output of your calcu ...Show All
Alessandro Camargo Inet?
Can console apps have an Inet If so whats code to add and use, or if there is none whats an alternative I need like exact code here. Mine in a windows form was: Inet1.OpenURL("http://blah.com/blah.txt") Text1.Text = Inet1.OpenURL("Same as above^") Gots no idea how to use that, I am noob. How EXACTLY would I use to make it check for updates I am not trying to do that, it's to check for updates, the inet1 was for VB6 also. Any ideas well VB6 and .NET are different. the other thing I can suggest is to use WebRequest/WebResponse classes to get your stream of data. http:/ / msdn ...Show All
Arjan Meskers Name of user control
Why does this return an empty string when used in the same user control class Private CaptionString As String = Me.Name Later in the same class, CaptionString returns an empty string. In VB6 I used the Extender object to retrieve the name of the control, but the code above doesn't work. It will only return an empty string when I really want e.g. Button1, Button2 etc. The form using the user control will need code Similar to this: Option Strict Off Public Class Form1 Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load WalkControls( Me ) End Sub Private Sub WalkControls( ByVal obj As Object ) Dim c As Contro ...Show All
Mark Goldstein Users can no longer connect to TFS
Hi, I came across a very strange problem. I have a group of developers which connect to TFS regularly. They are all members of the domain group 'Developers' which in turn is a member of the 'Contributors' group of my team project. Some developer, which has been connecting to the server for a some time, can not connect any more and is prompted with the User/Password dialog. No changes were made to the server group membership or the doamin group membership. This happend more than once before with no apparent cause. When I add that user to the 'Contributors' group individually (not through the domain group), all goes back to normal. Any ideas Thanks, Shay It seems a problem with ...Show All
OEIL2MOSCOU control type not detected.
Hi, I am developing a desktop windows application. There is one form which contains a lot of different controls (textbox, label, checkbox, combobox, etc.). I have assigned specific control information to "tag" property for some of these controls, that includes all the textboxes. Later i wrote some codes trying to output these control information to a text file for reference: For Each i As Control In Me.Controls If TypeOf i Is TextBox Then sw.WriteLine(i.Name & " : " & i.Tag.ToString) End If Next (code shows only textbox case) strangely, no textbox control has been detected through the code above, and the intellesense over the "Me.Controls" tells me that there are ...Show All
Ricardo Francisco Using new Source Control from VS.NET 2005 Professional
Will it be possible to integrate with Foundation Server, or rather the source control system, from VS.NET 2005 Professional In other words, if we want to take advantage of the new source control system, but not buy the VSTS clients, is that possible From a licensing point of view I guess that it mean one VS.NET professional license + one foundation CAL per developer in addition to the one foundation server license but is it technically possible Thanks The link in Brian Harry's blog doesn't work anymore. Here's a link to the current download for the MSSCCI provider. http://www.microsoft.com/downloads/details.aspx familyid=87E1FFBD-A484-4C3A-8776-D560AB1E6198&displaylang=en One ...Show All
stswordman Creating my own Methods
Hi, I have a class for data with an overridden ToString() member namespace Employee { public class Employee { public string firstName; public string lastName; public string jobTitle; public override string ToString() { return lastName + ", " + firstName; } } } A Form with a listbox for display purposes and another form acting as a dialog for entering data With help from this Forum I am now saving the data to a text file. However, I only show names in the listbox but I want to save all data [including the job] to the text file. I tried overiding the ToString() method a second time, but that's not allowed so I created a similar method private string MyString() { return firstName + &quo ...Show All
KannanPV How To Set The Label Font
I have a problem with my program that used to set label font. How can I set the font on the controls on my form (label). Is there any way that i can set my font in just a single line Anybody here has a code on how to save my code into the registry and retrieve it and use to set another label's font Thank you very much Hi You can set diffrent properties of the Font Property of a control, like Name <Face in Html> e.g. "Arial" size and style like Bold. lbl.Font.Name = "Arial" lbl. Font.Bold = true And for registry accessing check The Microsoft.Win32.Registry class for performing registry accessing and minupulation. Thanks Akbar Khan, but is the ...Show All
Karin3299 Project Alerts Feature Request - Limiting Scope
It would be great if I could limit the scope of directories that generate alerts. That is, I don't care about what Joe Blow is doing on their private developer branch but I do care about what gets checked/merged into the Trunk. Any chance we will see this kind of flexibility in project alerts in v.Next As long as you build the query with 'StartsWith' it should be inherently recursive. That's cool but please tell me I don't have to specify every directory in the branch that I'm interested in. That would be like ~60 folders. Isn't there a /recursive option Hi Keith: I have taken this and forward it to the respective team that is in c ...Show All
Gosatu VB6 -> VB 2005 Help
Hi I tried to email my example home but i guess the works fw ate it Anyway i am 'updating' one of our in house app's from VB6 -> Vb 2005 Express it uses an access databases on a remote share i am using DAO to query this database all is well however i cant 'INSERT' anything new into it i can read and update but when i try to insert VB debugs on me my codes is something like rs = DBase.OpenRecordSet ( "INSET INTO Table1 (xxxxxx) VALUE ( xxxxx);") the rest of the code is borrowed from how i read data out so i know thats working it dies on the above line. Does anyone have a example of an insert using DAO i can borrow ive been googling all day at work can no decent results! Cheers Kevin! ...Show All
Ovidiu Padurean Running an application on a server 2003 Thin Client - errors
Hi folks, boy, do I hope one of you can help me out here.. I ran a test to find out if the application I am working on, also runs on a server with windows 2003. I access that server through a terminal (thin client). I developed the application on a windows XP machine, and it runs without a hitch on all kins of stand-alone systems. However, if I run it via the thin client I get the following error: Application attempted to perform an operation not allowed by the system security policy. To grant this application the required permission, contact your system administrator, or use the Microsoft .NET Framework configuration tool. If you click Continue, the application will ignore this error and atte ...Show All
mimesis Can't get past the Error 1718 when loading VS2005 SP1 on Team Suite With Win2003 SP1
Hello All, I can't get past the error so I really need some help on this. I am trying to load the VS2005 SP1 on a Win2003 server system running Team Suite. I did try to change the Local Security Policy as suggested but it doesn't seem to help. Thanks in advance for any help :) Bob Hanson I did this in my Windows Server 2003 R2 box and it was OK. Strange problem :) anyway... I think this would be the solution... http://blogs.msdn.com/heaths/archive/2006/12/16/slipstreaming-visual-studio-2005-service-pack-1.aspx ...solved the problem for me. Yes, I have the same error. I have installed it about six times. It can installed on WIN XP sp2. ...Show All
Christian N Trouble with compiling simple C# script
Hi I am a beginner trying to compile a simple C# hello world script using a command prompt. I am unsure how to do this but have tried typing run then cs.exe or cs and the error comes up - 'cs.exe is not recognised as an internal or external command.' I have also browsed to the .NET Framework in Windows and tried to run this file which opens for a split second then closes. Can anyone explain what I am doing wrong I am running Windows XP SP 2 and Visual Studio 2005 Express Edition Many thanks for any pointers E how can i vew a file from a source using the console appplication. for example: :\ > View Filename: C:\My Documents\hello.txt(input b ...Show All
Andy Mueller bitmap colour depth
hi Can anybody help me out with some example or implementation I want to convert a lower bit (8 or 16 or less than 24 bit) *.jpg file to 24 or higher bit jpeg file in VC++. Here is the little bit of detail what is actually happening. If I set color quality less than 24bit, in my system's display properties and then in my VC++ project, I save jpg file, it get saved as 0 byte file. but if somehow I can change the screen depth at the time of saving the jpg file, the problem can be solved. amicalrahul wrote: I want to convert a lower bit (8 or 16 or less than 24 bit) *.jpg file to 24 or higher bit jpeg file in VC++. but if somehow I can change the screen depth at the time of saving the jpg ...Show All
