sl333's Q&A profile
Visual Basic "By Design" IDE Bug
I'm sure this has been asked (compained) about before, but I can't locate a post about it, so here goes... The IDE deletes my code without asking. I do not want it to do that. Precisely, if I want to delete any code, I will highlight it and hit the delete button. Go figure. The problem occurs when controls are cut and pasted (for example, to move from the form surface to a panel or tab). The IDE quite rudely deletes the event handlers. I understand this is 'by design', but it is infuriating to say the least... Is there a hotfix for this A hack Anything The VS2005 designer for VB.NET forms doesn't appear to do that. It leaves the event handler code but just removes the Handles keyword. Which create ...Show All
Visual Studio AssemblyInfoTask starts at revision 0, but team build at revision 1
We are using the team build to do a nightly build/deployment and the assemblyinfotask to increase the build number in the assemblyinfo file. But the first build start with revision 1 in team build but assemblyinfotask at revision 0. Is it possible to change TFS or assemblyinfotask so they are synchronized and start with the same revision number Ok, thank you. This is not a big issue, but maybe this can be a configuration option on the next version I had some problems with the test app in AssemblyInfoTask. Bu I tried to change revison from 0 to 1 in line 56 in Version.cs (Microsoft.Build.Extras.Version) and compiled a new version but still the revision start at 0. I have uninstalled the old version fr ...Show All
SQL Server disk fragmentation
I have a Dell PowerEdge 2850 with Windows 2003 server. 2 disk drives with RAID. My databases are fragmented on the drive and I need to defrag the drive at least once a week. My database files are fragmented. Defragger cleans up the files but as soon as I start running processes again, the files fragment and system response time suffers. What can I do to keep the files from fragmenting How are you measuring the fragmentation There are two types of fragmentation here: 1) The normal filesystem fragmentation of the database files. This should have minimal to nil impact unless you do a lot of table-scans. On the other hand, you shouldn't be getting this sort of fragmentation unless you are constantly growing your database. Far b ...Show All
SQL Server Batch Jobs
Hi Folks, I am running batch jobs(Nearly 50 queries) on Production server.It is taking nearly 5 or 6 hours(some times 10 hours also) to get the results.The problem is If I loose VPN connection I am not able to save data.I need to save the data upto the query executed before I loose VPN connection Please help me You're not saying what those batchjobs are doing, but would it be possible to have each job or query save it's intermediate result in a table or as files.. That may be a way to 'catch up' if you loose connection. It probably needs som adjusting in the jobs/queries also in order to keep track of done/left to do steps, but perhaps an idea /Kenneth ...Show All
.NET Development .net and sync toy
I have .net version 2.0 When trying to run sync toy it says I need version 1.1.4322. When I try to download that it tells me that I already have 2.0 How can I get sync toy to load with .net 2.0 Thanks i'm getting the same thing. i have 2.0 installed, but sync toy wants 1.1.4322. The original question is over 13 days old ! Will someone answer this for us Not Happy in Maryland ...Show All
Visual Studio Team System tfssecurity syntax question
This may be trivial. I am trying the following in order to delete a user from a TFS Project that I created: C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Tools>tfssecurity /server:ServerName /g- [TFS Project Name]\Project Administrators n:DomainName\username I keep on getting : Error: The identity cannot be resolved. Also, can someone give me the syntax of deleting a user from the licensed user list for TFS workgroup. Well eventually, the actual syntax turned out to have quotes etc. It was: C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Tools> TFSSecurity /server:http://servername:8080 /g- "Team Foundation Licensed Users" & ...Show All
SQL Server Creating Pull Subscription using T-SQL
Hello, i am trying to create a pull subscription to my publication using T-SQL. The pull subcription is created successfully but the problem is that data is not merged correctly. I mean when i run the agent ( despite of having data in subscription / publication ) the data is not merged and i get "No Data Needed To Be Merged" message. i run following sp in this sequence: At Subscrber: 1 - sp_addmergepullsubscription 2 - sp_addmergepullsubscription_agent At Publisher: 1 - sp_addmergesubscription Again at subscriber : Transaction for adding merge agent job. Regards, OK, just to be clear, you've generated the snapshot and applied it to the subscriber, correct Now you've made more changes (at publisher or ...Show All
.NET Development Website
Can Any body help me how can i create a web site that ather than localhost,i want it to have an address like juandelacross.com in my own computer my os is server2003 standard,please i'm an amature. they are all correct but,there is also other thing to do you have to configure your dns or if u dont know how you have to register ur domain,if u want to learn about configuring your dns to host your own internet domain or windows domain just text me so i can responce you any time i dont have internet connection at this time so you have to text me (0920-272884) ...Show All
Windows Forms Smart Client Install/Uninstall broken
Howdy all, I have a smart client application that is giving me an error when I try to install it (error text below). There is an interesting twist though that is likely causing the error. I recently developed this application in the hopes of making it a smart client. The server where the smart client application will be hosted does nto have the .NET 2.0 framework installed. It is not expected to be installed until sometime next year. In the mean time, it was decided to make a standard windows installer for it. Here's where the problems started. The solution has a Windows Installer project in it. The main project is also configured to be published as a smart client. It seems that during my ...Show All
Visual Studio Team System Why can we not delete objects from schema view?
Hi, What is the rationale for only allowing us to delete objects from Solution Explorer and not from schema view Thanks Jamie The only items which you are not allowed delete from Schema view directly are - columns belonging to tables or views - PK or contraints which are defined within the table itself i.e. stored in that table file. We allow you to open the file to manually delete the entry itself in that table file If the PK or constraints exist in their own file you can delete those from schema view mairead ...Show All
.NET Development Passing credentials
Hi! I'm making a webservice that should be called by a webservice client at a customer's location. I use Windows Basic Authentication and SSL to authenticate the client. If the client was written in C# the way credentials are passed is by using NetWorkCredentials on the proxy client, correct But I just wonder what actually happens. How will the credentials be sent to the server In the soapheader to the webservice Or in the https header Can somebody explain this to me, I need to know because the customer do not know how to pass the credentials to our webservice. THey do not use C# or Java. They have their own strange script language which I do not know...so I have to explain what really happens.... Please, any explanations would be appre ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Vista allows What versions of DirectX?
(split from http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1221168 to make a new question) It is interesting that you say that because I am testing a VB6 app that was working fine on XP and below but now fails on Vista when it tries to create a DirectX8 object, specifically Set oDX = new DirectX8 throws Error 429, ActiveX failed to create component. Running in XP SP2 compatibility mode does not work either. I would be really grateful if anyone has any ideas on this. I also tried running the latest DX9 redistributable because I heard that was providing backward compatibility, but to no avail. Thanks. Just to confirm, I have never needed to distribute dx8vb.dll b ...Show All
SQL Server SQL-Server 2005 SQL Server (SQLEXPRESS) service does not start automatic
Hi there, I dont know whether i am at right place or not (please excuse me, if so) I am using SQL-Server 2005. My SQL Server (SQLEXPRESS) service does not start automatic (although it’s been set as automatic). The thing is, if I try to start it manually it throws an error as “Windows could not start the SQ Server (SQLEXPRESS) on local computer. For more information, review the system Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 17058.” I too check the Event Log it show as “The SQL Server (SQLEXPRESS) service terminated with service-specific error 17058 (0x42A2). For more information, see Help and Support Center at http://go.mi ...Show All
Visual Studio Express Editions How Can I Draw A Gridlines on the Form
I want to draw a grid lines on the form, How can I do it anybody here has an idean on how to do it Thanks Hi, in form's Paint event, you can draw lines on Graphics: e.Graphics.DrawLine(Pens.Black, 0, 0, 10, 0) Andrej ...Show All
Visual C# what is the difference between .cer/.spc and .pvk/pfx?
Hello, I'm trying to figure out what is the difference between this keys. regards, .cer - states for Certificate used for storing X.509 sertificate. This certificate contains informations about certificate owner, and also public and private certificate key. .spc - states for Software Publisher Certificate. This is just different representation of certificate in PKCS #7 format. You can generate spc file from cer file. .pvk - states for private key and is a private key from sertificate. you can extract the private key from certificate .cer file. Also you can create a certificate based on .pvk private key file. also file extension used with prevous ones is .ctl and this is certificate trusted list. About pfx ...Show All
