Exploder's Q&A profile
Windows Forms bindingnavigator with custom list - position and count not displaying
I am using Visual Studio 2005 C++. I have a class inherited from CollectionBase as follows: The bindingList class is a generic class that supports databinding. I would either use the bindinglist or have my class inherit from it. ...Show All
Visual Studio Team System Deploy windows users to different servers
Hi All, I have an issue with deploying a SQL 2000 database project to different servers, each using windows authentication. I have a user against in the database project called "User1". This has to be tied into the login "COMPUTER\User1", where computer will be the name of the server I am deploying the project to. The problem is that creating a user using sp_grantdbaccess requires a login name, but the login name can't be determined till deployment time because the login name will change based on the server name. So I keep getting the error 'User1' is not a valid login or you do not have permission" . Does anyone have a work around for this Other then blogs and this forum are there any good online resources for D ...Show All
Audio and Video Development Getting a VC-1 file ready for advanced content authoring
Hi all, I just started to author advanced hddvd content but i vailed in getting a valid video content to test my first project. is it possible to multiplex a VC-1 file with the Sonic authoring system for standard HD content in a way that i can use it for my first advanced content project I tried to import the vc-1 file into sonic, generated a simple autostart HDDVD, multiplexed it and used the HVDVD_TS folder for my advanced content project but it didn't work. The Nero Showtime softwareplayer diplayed the menu correctly but didn't play the video. I also tried to burn a dvd rom and inserted it into my Thosiba HD_DVD player but it just displayed the disc error 0x4095C501. Can anybody help me thx mikeret ...Show All
Windows Forms Visual Basic - printing to a listbox
How do I make Visual Basic enter values in a listbox while the program is running, instead of waiting until the end and then displaying all values Sounds like you're running code that takes a while to finish. For a Q&D fix, call Application.DoEvents() after you've added the item to allow the ListBox to repaint itself. For a clean fix, you'd need threading and Invoke(). ...Show All
Visual Studio Team System Team Foundation could not update the work item because it was already updated by another user
I am using a web service event subscription to assign an internal id to new workitems by type and project as mentioned here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=677833&SiteID=1 The web service works properly and I do not receive errors when copying a requirement to another WI type either on the server, or from my desktop, but other users report receiving the following error message: Team Foundation could not update the work item because it was already updated by another user, it does not exist, or you do not have permission to update it. Any suggestions I now understand what is happening and yes they have to revert manually to save their change if the workitem was modified in your webservice meanwhile. The even ...Show All
Visual C# Restrict the size of a string
This is more then likley going to be an easy fix, but at the moment I can not think straight. What I am tring to do is restrict the size of a string. I am in the process of migrating some data from one sql system to another and need to truncate some text in the process. I need to convert a text field to a varchar(7989), to do this I need to make sure that the data from the text filed is striped so that only the first 7989n characters are returned. I have a data reader that I am going through and am adding it to a genieric collection that I am then going to process and re insert into the new system... all I need is a way to restrict the text returned from the data reader... all the rest is fine. I have done a small workarou ...Show All
Software Development for Windows Vista Will WinSDK Sept. CTP Work With WinVista RC2
So, the question is will WinSDK September CTP work with Windows Vista RC2 Build 5744, on the download page it only mentions Build 5728. Thanx in advance. Yes it does. Willy. <Mohsin Mirza@discussions.microsoft.com > wrote in message news:faae61a9-e3d4-4ed6-ae0a-49848950ffd8@discussions.microsoft.com ... So, the question is will WinSDK September CTP work with Windows Vista RC2 Build 5744, on the download page it only mentions Build 5728. Thanx in advance. ...Show All
Smart Device Development How to Convert Stream to String
How to Convert a Stream datatype to string.For example Dim path As System.IO.Stream = (Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream(AssemblyName)) the path should to converted string. It depends on the content of the stream whether or not you can conver to a string. What type of embedded resource are you trying to load from the assembly's resources with GetManifestResourceStream If you're trying to load textual data, let's say you've embedded a resource from file "notes.txt" you would use the Stream's Read method to get the data as bytes then Encoding.ASCII to convert it to a string: Dim path As System.IO.Stream = (Reflection. Assembly . _ &n ...Show All
SQL Server Looking for table / view that will tell me if I need to reinitialize subscription
I have kind of unique situation. I am running Merge replication. In one of my publications I am only publishing procedures/functions/views. By design, these do not change that often, but when a programmability object changes, it is scripted in a way so that: 1. The article is dropped from the publication 2. the object is then changed 3. The article is added back to the publication My question is: Is there a table or view that the subscriber or publisher can see that could tell me if reinitialization needs to occur. I am looking at adding an automated script at the subscriber that makes the determiniation and automatically reinitializes the subscription. My alternative is to force the subscriber to reinitialize every time w ...Show All
Windows Forms Regarding use of panel
Hi it seems panel and forms are same..what is the use of panel actualy when should we go for panel Thank you... They both inherit from ContainerControl so have identical behavior as far as containing controls goes. A Panel is useful if you want to contain controls in a child window. That gets handy when you want to move them, scroll them or show/hide them as a group. Look at Project + Properties; a set of buttons on the left, each button makes a different panel visible. ...Show All
Visual Studio Express Editions calling header files in c# program
Hi, I have to implement '#include "AcroUtils2.h' in my C# program. As i am calling the acrobat sdk of which functions are written using header files. I tried 'prebuildevents' but i am having problem with out the example. can anyone please guide me how to implement header files in c# rajashekar s You need to know first that coding in C# is not the same as C++, only the sintax is almost the same The headers contain the definitions of a DLL when you're coding in C++, but there's no need for that when you're using C#. ...Show All
SQL Server XML Source: string types lose length attributes in XML Schema?
I'm having a problem with the XML Source data flow component not transferring the length attributes from an XML Schema to the column attributes of the output table. An example schema that I have is: < xml version='1.0' encoding='UTF-8' > <data xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'> <xsd:schema> <xsd:simpleType name='NameType'> <xsd:restriction base='xsd:string'> <xsd:minLength value='0'/> <xsd:maxLength value='50'/> </xsd:restriction> </xsd:simpleType> <xsd:element name='Name' type='NameType' nillable='true'/> <xsd:simpleType name='FamilyType'> <xsd:restriction base='xsd:string'> <xs ...Show All
SQL Server Multiple records returned.
The following statement gives the error that multiple records are returned. I am attempting to pick one weight out of a group of three, the three have the same ResidentID and different dates in the table variable @WeightReportRaw. If I hard code the ResidentID, ResidentID = 6, it works fine. The variable @intMonth3 passes in a month number ans dosen't seem to be a problem. What am I missing, Thanks in advance for any help. update tblResidentWeightsTemp set FirstWeight = ( select RWeight from @WeightReportRaw as W where ResidentID = W.ResidentID and month (W.RWeightDate) = @intMonth3) I am not quite sure about the background of the calculation but in common you should use the setbased approach (and in addition tr ...Show All
.NET Development HttpWebRequest SSL Session Control
I use an HTTPS GET towards a server. This .NET code fetches a session cookie from the server. The code uses HttpWebRequest with KeepAlive = false to fetch the cookie. NO cookies are ever sent to the server. My application will always receive a session cookie when the .NET application is first initialised. If the application tries to perform another fetch however without .NET initialisation, the remote server does not return a session cookie since it believes this is a continuation of an existing session. When I analyse the SSL packets using Ethereal, I see that the SSLV3 SessionID in the .NET sent Client Hello is zero in the first GET but contains the same non-zero SessionID for each subsequent GET. This is how some servers maint ...Show All
Commerce Server Banners offline after 11pm
Our CS2007 website stops serving all banners after 11pm and restarts it's normal behaviour after midnight. There are no time restrictions on the properties for the banners, only date restrictions. Is this a known issue/bug Thanks guys. -- Jorge Medeira Hi, According to the devs, as long as the start time equals the end time, the ad will be treated as an all day event. You can set the start time and end time by using the Marketing Manager, Create New Advertisement page. Set the start time and end time to the same time, select the All Day check box, and the ad will run all day. Hope this helps. ...Show All
