rmethod's Q&A profile
Visual Basic Detect Internet Connection - VS 2005 BETA 2
Hi, I am using VS 2005 - BETA 2. I'd like to use My.Computer.Network.IsAvailable to detect whether an internet connection is available. Is this the best "new" way of doing things or does the above method above detect network connectivity of some other type There seems to be a delay capturing the disconnect-connect events when I do use it, is there a way to shorten this delay In essence, what does this method wrap Can I use it to properly ...Show All
Visual Basic Don't work
why don't works this code, I can't see what wrong is Private Sub Afsluiten_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Afsluiten.Click Dim Response As MsgBoxResult If TextBox1.Text <> "" Then MsgBox( "Opslaan " , MsgBoxStyle.YesNo) End If If Response = MsgBoxResult.Yes Then OpslaanFunc() Else End End If End Sub This ...Show All
Windows Forms CheckedListBox Only Check One Time
I know this is an easy thing but instead of coding a work around is there an intrinsic method to force the CheckedListBox to only allow one time to be selected Or has anyone already coded a workaround Thanks. I'm gonn ...Show All
Game Technologies: DirectX, XNA, XACT, etc. creating stars
Im not sure how to do this but im creating a space sim and what I want to do is place billboard sprites in static position's so as you move you get the effect that you really are moving, what should I do here Point sprites are probably a good enough solution to this - although the initial positioning should be carefully done. If you have a background (e.g. not just black space - maybe one with nebula's/galaxies/ ...Show All
Visual Basic String Formatting
How do you format strings in VB.Net i.e. In VB6: Format("A1B1C1", "!@@@@") = "B1C1" In .Net: It seems in .Net you can only format numeric data. e.g. String.Format("{0:###0.00}", SomeValue) But I want to format a string text :-) I did read MSDN and it showed me how to format numeric data, but not an alphanumeric string such as in my VB6 example.. For ...Show All
Visual FoxPro How to print a label?
I've got a table with name and number. I want to print a label witch this name "number" times. How can i do it. How to loop a cursor :( You could create a temporary cursor with the same number of records that you want printed. Use the CREATE CURSOR command to create the cursor you want for the label report, then use a for loop like Andy showed you to INSERT the number of records you want in the cursor for each of the names... here's the gi ...Show All
Visual Studio Team System Deleting Work Items
Hi, I've come to the conclusion that Wor Items aren't to be deleted. However if someone creates one mistakenly what should be the correct approach I mean should it be closed with a cut reason Luis Work items can only be deleted if you're deleting a project they belong to. I don't think there're any recommendations about what to do in cases like yours - we usually close them and make note somewhere in t ...Show All
SQL Server That assembly does not allow partially trusted callers.
I have a report that references a custom assembly. The assembly loads an xml file from a web site in the code OnInit. The reports designer the code runs fine, because it is called with full trust. I deployed the report to our test sever, and copied the two dll files to c:\Program File\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportService\bin. I have added the following to the rssrvpolicy file. < PermissionSet class = &qu ...Show All
Visual FoxPro small form failure
I have created a small form to display messages from a larger major app form. It is supposed to display a message for 3 seconds and then disappear. It took me 5 min to make it. It can display its face no problem when run from a browser. The next step was to invoke if programmatically from the main app. I use SET PROCEDURE TO "C:\.....\formName.sct" command. It must be a compiled form file. This statement did not accept anything else, like *.s ...Show All
Visual C# MessageBox does not display?
Hi there... I'm fairly new to VC#, and I'm working with VC#.NET Express 2005. I am experiencing a problem in an app I'm writing. Normally, when I call Messagebox.Show, the Messagebox pops up and functions as advertised. But I've been having difficulty in this application that the only way I can get the messagebox to show, is to minimise/select a different application to be on the top level, then select the app again and as such cause the displ ...Show All
Visual Basic How to check if a string is a number
How do you check to see if a string is a numberic value Dim mystr As String mystr = "12344" If IsNumeric(mystr) = True Then System.Windows.Forms.MessageBox.Show( "All Numbers" ) else System.Windows.Forms.MessageBox.Show( "Not All Numbers" ) End If ...Show All
Visual Studio Team System Connect to team foundation server tool moved
I just downloaded and installed Visual Studio 2005 Team Suite Release Candidate 1. The tool to connect to the Team Foundation server is no longer under the Tools menu. See http://msdn2.microsoft.com/en-us/library/ms181474 . Does anybody know where it was moved to As I understand it, you're right. Actually, I believe you buy the license and you get Team Explorer for free . But ...Show All
Visual Basic pb : Query with parameter
HI I use an Access Database and want to create a query in VB TableAdapter Query Configuration Wizard. The query contains a parameter like : select Field1,Field2,Field3 from MyTable where Field1= @Field1 When I Try to validate the Query the Wyzards sends me the error : Error in WHERE clause near '@'. Unable to parse query Text. Can you help me Thanks. Hi, So... There is no way to use named parameter with ac ...Show All
Visual Studio Tools for Office VSTO 2005 Word Bookmarks
On the client side I created a Word Document Project using "add the datasource to the project, add the bookmark controls and then databind the bookmark controls to the fields in the datasource" and "you should be able to simply drag and drop a field from the datasource to the document to create a bound bookmark control." (thanks to Ken Laws 24 June 2005). I used the DataSet Wizard to create a strongly typed dataset connected ...Show All
Visual Studio Team System Event log errors RTM Workgroup edition
I have just installed the workgroup edition on a fresh installation of Windows Server 2003 R2. I'm getting the following errors in the application event log on boot: 1) MS SQL Server - Failure Audit - Event ID 18456 "Login failed for user 'domain\tfsservice'. User: TFSSERVICE Followed by 2) Windows SharePoint Services 2.0 - Error - Event ID 1000 #50070: Unable to connect to the database STS_Config_TFS on THUNDER. Check the ...Show All
