Skyler's Q&A profile
Visual Basic Compare objects
Which function should I override to compare objects I'm solving the following problem. I'm creating a dictionary object using an object as the key, like ItemDictionary(Of ItemKey, String). The itemKey is a simple object like the following. class ItemKey _id _name ... other definition is not shown here. end class The problem is when I try to use the ItemKey object as a key. The dictionary object will report the specific instance is not in the list. I believe this is caused by the object comparsion method is not properly override. I remember I've read some related article but forgot it. Please advise. Thanks. The System.Colle ...Show All
Visual Studio Express Editions Writing a winapi with sql connection
Hi again, I'm using visual studio express edition for visual basic and sql server 2005 express. I'm completely lost while trying to write a winapi with sql connections within. First of all i can make forms but I can't create a main window where you can open more windows inside it (Is that MDI parent form ) Let's say we have a table with 2 cols in it one id, other name. I want to order them by id. When I drag and drop a datasource to a form a bar comes to the top of the form window allowing with buttons save, add, delete, etc... A number shows which entry I'm looking for. Is it possible that that number can be use ...Show All
Visual Studio Express Editions Unable to download Express Editions
Is anyone else experiencing problems try to download Visual Studio C# express from: http://msdn.microsoft.com/vstudio/express/visualcsharp/download/default.aspx I have also tried downloading Visual Web Developer Express from http://msdn.microsoft.com/vstudio/express/vwd/download/default.aspx . I'm using IE6.0 and each time I click on the download button another window pops up and eventually times out with the error "The page cannot be displayed". The link that shows in the popup window is: http://go.microsoft.com/fwlink/ LinkId=51411&clcid=0x409 . Any help or alternative download sources would be appreciated. ...Show All
Visual C++ Visual Studio 2005 MFC Applications on Windows 98
Hi, I am tring to build a unicode app to work on win 98/nt/xp. Built a sample MFC application in Visual Studio 2005 Team suite Beta 2. A unicode dialog app with a button. When run on windows 98 it shows this message. Installed VCredist_x86 and .NET framework 2.0 latest versions downloaded from web. Also coped mfc80u.dll to the exe folder. Microsoft Visual C++ RuntimeLibrary Runtime Error! This application has requested the runtime to terminate it in an unusual way. Please contact the application's support team for more information. I tried with Express Edition and Windows Forms it works in windows 98. Thanks, ...Show All
Visual Studio Team System Team Foundation Exception trying to connect to Team Foundation Server
I have the July CTP installed on multiple machines (separate data and app tiers). Previously I was able to connect to the Team Foundation Server, now, when using the Team Explorer to connect, I get the error "Team Foundation Exception - Object reference not set to an instance of an object"... Any ideas Also, is it possible to create a new Team Foundation project programmatically Thanks in advance... HI, Try using IP address of TFS Server, to connect. Also before you try this flush the DNS cache by using ipconfig /flushDNS in the command prompt (cmd). regards ...Show All
Visual C++ Project : error PRJ0002
hello i'm a complete novice in visual studio 2005 and was wondering if i could get some help from the pro's i have Visual Studio 2005 Professional Edition and was trying out some basic (and i mean really simple) code to get to grips with it and then work up, i'm not new to c++ as such so i'm pretty sure the code is ok i was trying to build a simple hello world program in a win32 console application project but when i try to build it throws an error Project : error PRJ0002 : Error result -1073741515 returned from 'C:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe'. and for the life of me i wouldnt know where to begin guessing at w ...Show All
Visual Basic simply play music (midi, wav ect...)
How do you play music on form load just play music (from file) i tried Sub PlayBackgroundSoundFile() My.Computer.Audio.Play("C:\Waterfall.wav", _ AudioPlayMode.Background) End Sub didn't work hi can any1 help me to play wav audio file in Visual C++ thanks u a lot. in whatever way, please enlighten me. ...Show All
Visual Studio Express Editions VB 2005 Express/MS Access - row is not being added
Has anyone had any success with adding a row to an (external) Access 2.0 database. My code is: ' *** create a new row by calling the NewRow method Dim thisRow As DataRow thisRow = dsACCIMAGE.AccImageTable.NewRow() ' *** manipulate newly added row using column name ' note: can alternatively replace column name with column index ' e.g. thisRow(3) = SelectedPathName ' Code for the 1st column goes here after auto-counter updating is resolved thisRow( "ImageDateTime" ) = somedate & sometime thisRow( "ImagePathName" ) = SelectedPathName thisRow( "ImageFilename" ) = SelectedFileName ' Code for the ...Show All
Visual Basic Dynamically populating a combo box .?
I am trying to populate a combo box on a form based on the contents of a field within SQL. i.e. I read the data from the SQL field. In this case I return the string "Select * From Transactions" I populate my dataset and set the dataset as the datasource of my combo box. This works fine. However what I want to do is to use a where clause in my select statement such as "Select * From Transactions Where AccNo = '" & strAccNo & "'", where strAccNo is a variable within my VB app. Now not surprisingly my combo box is empty as the the datasource is exactly as my select statement reads and it is trying to return records where Acc ...Show All
Visual Studio VSS 2005 WebService problem
Hi hi. I'm trying to use the new WebServices in VSS2005. After fiddling around, reading through the forums and doing some more fiddling I've just given up. The problem is authentication. I can open the share from my computer, open the project from the share (with the non-internet version of the VSS plugin) and open the webservice url from my computer. I've tried doing SSL, but the result is the same. If I directly open a project under source control I get "VSS Web Service could not open the database". *but* if I use Open project.. and then use the "SourceSafe (Internet)" option to navigate to the .sln file in the VSS database and open it - t ...Show All
Visual C# Find/Replace
Hi to all I am trying to code Find/Replace with richTextBox. Can anyone help You might want to look into regular expressions provided in System.Text.RegularExpressions . ...Show All
Smart Device Development smart device project creation failed!
Hi all, I'm using VS2005 Team Edition and WM5 Smartphone SDK. The problem is I cannot create any smart device project, but I can open existing solutions. I've reinstalled the SDK and ActiveSync, But the problem still exist. So how to solve this kind of problem Thanks doyoucy Please be more specific and describe why exactly you can not create device project. Also, which version of VS are you using, e.g. is it Beta 2, RTM, etc. ...Show All
Visual Basic vb help..pls
can any one help me plese with vb access interface.. which one is good to interface vb with access is it ADO or ODBC what is the diff bet them... how to create autogen of numbers in a forms text box how to retrieve a data for vb from access pls suggest me any one. bye. If you want to know the truth.... I've alway liked DAO (not ADO although Older versions of ADO are neat.) You might take a look here. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=210844&SiteID=1 ...Show All
Visual Studio 2008 (Pre-release) How to pass parameters to Web Browser Application?
Hi, Is it possible to to pass parameters to web browser application Something like: http://localhost/Test.wba ClientId=12345 Thanks One other note: You need to select the "Allow URL parameters to be passed to application" option in your project properties. In VS, it can be found on the Publisher tab under the Options button. ...Show All
Windows Forms Trust an assembly by Strong Name
Hi ! , I have created a signed .Net control that gets downloaded into the client machine from the web browser . The .net dll that gets downloaded needs File I/O , calls to Win APIs and full printing permissions . The web application is in the local intranet . So I used mscorcfg.msc utilty to create a separate code group under Local_Intranet and named&n ...Show All
