ilr's Q&A profile
SQL Server Queries returning Multiple instances of the same record
I am running SQL 2005 and have created a simple database for interfacing with Visual Web Dev 2005 and Visual Studio 2005. I noticed that my applications where returning multiple instances of the same records in the queries. I went back to the SQL server and created a query, and sure enough, I'm getting each record returned 3 times. Where do I start to resolve this issue DOH! You were right. The records were duplicated. Apparently using the SET Insert Unique ON and not having the Primary Key set allowed the duplications. I've cleaned up the mess and I'll try not to shoot off any more toes. Sorry for the bother. I should have caught that ...Show All
Visual C# How i can Embed swf file in the form..?
Hello,all.. How i can embed a swf file..in a form.. which object can i use ..(i am using C# 2.0..not C# 1.1..).. Did any one try..that..please help..i have a column in database called fld_Data..which is of type of image..datatype..it contains all data....(images(jpg,gif,) and swf )..the question..i know how to show the images on PictureBox. Control..but the question how i can show swf flash file..in that control..or another controls.. best regards. Bassam Basamad The most Flash player controls don't accept a stream but want a file path or something like that. I don't know wish Flash player control you are using, but ...Show All
Software Development for Windows Vista Can't find MFC lib files for 32-bit apps in new PSDK.
I recently downloaded and installed the Windows Server SP1 Platform SDK. I notice that there are MFC include files and lib files in the installation. However, I can't find any lib files for 32-bit applications. As I understand it the library files in the .\Lib\AMD64\atlmfc\ and .\Lib\IA64\mfc\ directories are for development of 64-bit applications. So which libraries should I use when building a 32-bit MFC application Thanks in advance, Roger Martin Richter wrote: The 32bit MFC was never part of the Platform SDK, only the 64bit version is/was. You need a full VS product to get MFC 32b ...Show All
Visual Studio Team System Using a server with VSTS as an agent
I am looking at using some of my workstations as agents for running load tests. Is there any known problems with having any of the VSTx line running on a workstation, then using that workstation as an agent Thanks Tom We do it here all the time for testing. You should be fine. Be aware that you migth have your CPU eaten by tests being run from other machines. ...Show All
Visual Studio Can VSS 2005 and VSS 6 co-exist?
Can Visual SourceSafe 2005 and 6.0 co-exist on the same machine If not the databases, can the clients Thanks, Klas Yes, it is possible to have VSS 6.0 and VSS 2005 installed on the same machine. However, if you do... the VSS that you installed last is the one that will be used since the latest install will register the DLLs from the latest installed version. If you would like to switch the other version of VSS, you would have to re-register those DLLs (ie. using regsvr32). Scenario example: 1. Install VSS 6.0 2. Install VSS 2005, now VSS 2005 will be used. If you want to switch to using VSS 6.0 then proce ...Show All
Visual Studio LogonInfo, linked parameters, different databases, subreports, Oh My
I'm having a bear of a time getting reports with subreports to function correctly. I have followed all of the directions for logonInfo updates. The original report running under v9 only has to have the first four parameters filled, from there 9 other linked parameters are supposed to be filled. I started with code that we have in production (v9). This code ran fine when running against the server that the report was designed against. But when compiled in CR .net 2005 the linked parameter values kept prompting. Then I tried to hack my way through that problem and set all of the parameters (13) instead of just the 4 we normally send. Stil ...Show All
Visual Studio Express Editions Printing multiple pages
Can someone please help me print out a directory listing to multiple pages Here is the basic code I have so far: Private Sub PrintDocument1_PrintPage( ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage Dim di As New DirectoryInfo(pathString) 'create an array representing the files in the current directory. Dim fi As FileInfo() = di.GetFiles() 'get number of files in selected folder numfilesInt = fi.Length Dim printFont As New Font( "Arial" , 10) Dim lineHeightSingle As Single = printFont.GetHeigh ...Show All
Smart Device Development How do you clear recently dialed numbers from the device.
Is there any way to clear the recently dialed numbers from the Phone/Send button I want to create a Visual Basic program to clear the numbers that show up when you press the Phone/Send key from the device. Can someone tell me where to begin Look at this post for more appropriate places to post this question http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=223605&SiteID=1 ...Show All
SQL Server Help with pointing to an image!
I am new to SQL and I am trying to have a column in my table that points to images I have stored in a directory on my system. I cannot seem to get it to work correctly and I am wondering if someone might be able to help. I want to use this image for each record with the other information on my windows form but I cannot seem to get the file pointer right. Any help would be appreciated. Thanks. If the images are ordinary files stored on disk, the value in the column would be the path to the file. (from the servers point of view) Is that the case with you /Kenneth ...Show All
Visual Basic ATTACHING CODE SNIPPET
How do I attach a code snippet to a thread so that it can be viewed by the members of the forum You can copy and paste it though, rather than typing it from scratch. HTH ...Show All
Windows Live Developer Forums Problems with Messenger Beta 8.0
I received an invite to messenger beta and I’ve intalled in my computer. When I connected I realize that all my contact were gone !!! And appear a message saying that I have do add more contacts !!! This problem is related to my passport My email is from gmail. Can be that Anyone knows Thanks. Rodrigo, It sounds like you experienced server problem with the beta server network. You should log in again and you contact list should appear. Moving to the beta from MSN Messenger 7.5 should not cause your contains to disappear. -Scott ...Show All
SQL Server How to add a TCP endpoint in SQl Server 2005 Beta 2
Hi All, I would like to know the syntax of creating an endpoint in SQL Server 2005 Beta 2 version. The syntax which i am using is as follows: create endpoint yuk1 state = started as TCP ( LISTENER_PORT = 4022 ) FOR SERVICE_BROKER ( AUTHENTICATION = CERTIFICATE trpyuk1 ) And i am getting the following error : Incorrect syntax near 'CERTIFICATE'. Regards Deepak Hi, Ok, thanks for the update. SO is this syntax ok for the June Community Version Regards Deepak ...Show All
Visual Studio Team System XP Style Icons for Software Developers?
I am looking for XP style icons. Specifically, icons that have to do with login/logout, customers, products, employees, inventory, suppliers, receiving, shipping, orders, returns, sales, reports. If you happen to have any icons, please reply to this post or send to tyzimmerman@hotmail.com. thx I don't think this is the right forums for this question. This forum is for tools that are shipping for software developers, true; but these tools are tools like profiling tools, static analysis tools, testing and code coverage tools, etc. Can you try other .NET development forums -Munjal ...Show All
Windows Forms How to define a folder's read/write access in setup project?
I created a setup.msi in VS2005 which will create several folders during installation. One of the folder c:\program files\MySoftware\Data need to set access right to "Full Access" to all users. How can I do this Any suggestion of using VS setup project or Orca(direct .msi editing) is appreciated. Thanks Please read this thread for another half of answer about security: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=112272 ...Show All
Visual C++ difference between vs6.0 and vs2005
hai, I am Manas from india.i am learning VC++ 6.0. i would like to make a career in vc++ product development.i heard that microsoft stopped giving certification in Visual Studio 6.0. So is it useful to learn vc++6.0 now or should i shift to Visual Studio 2005 from VS 6.0 . i would like to know the difference between these two. plz help me. It depends on your needs. There is a pretty big difference: 1) Visual C++ 6.0 came out in 1998 so it is rather old, so the C++ language standard support is quite out of date. 2) Visual C++ 6.0 supports unmanaged (non .NET Framework) programming onl ...Show All
