rodizzio's Q&A profile
Visual Basic Website error
Not sure if this forum is the proper place for this question, but I have a new server, which 2.0 beta framework was just installed (2.0.40607.42). From VS 2005, I created an ASP website on the server in VB. Other than putting "Hello World" in the body of the default page, I changed nothing, and when I brought up the page, I received the following error: Parser Error Message: Could not load type '_Default'. After removing the Imports="_Default", I then received the error: Parser Error Message: Error parsing attribute 'codefile': Type 'System.Web.UI.Page' does not have a public property named 'codefile'. I then changed ...Show All
Windows Forms Using Data Form Wizard - AddNew() adds new row but doesn't clear out databound controls
I'm usedthe Data Form Wizard in VS 2003, Visual Basic to create a Windows Data Form to display/edit/delete a table in a Microsoft Access database. The data loads into the dataset just fine and the binding context works except for when I click on the "Add" button the dataset indicates a new row is inserted but the databound controls won't clear out and the current record doesn't appear to change. See attached code: Try 'Clear out the current edits Me .BindingContext(objParts, "Products").EndCurrentEdit() Me .BindingContext(objParts, "Products").AddNew() Catch eEndEdit As System.Exception System.Windows.Forms. ...Show All
Visual Studio Team System Load Testing. How to view the number of passed/failed users
I have recorded a web test for login page of our application. Now I want to arrive at a figure as to how many simultaneous users (load) can my application take without any errors. 1. How to do this. I used load test, but it didnt show how many have users passed or how many users failed. My question is how to come to a conclusion that my application works fine for X number of users without errors. 2. And also when i run my project i dont want the web test to be executed again which is happening now. 1. If you specify the load at 100 and you receive test failures, doesn't that show you that there was a ...Show All
Visual Studio how can i get the latest version by command line ?
Hi, I need to get the latest version of my project by command line , i checked the VSS 2005 help i didn't find any real example. Please can u give me an example (with recursive option) Thanks, Tarek Ghazali SQL Server MVP Thanks for the info. This is pretty much the answer I thought I'd receive, despite what my hopes would be. Didn't think about using the Share command in VSS to create links to individual projects in the solution's VSS directory. Would that allow me to retrieve one project and get the appropriate sub-directories using both the ss command and VS.NET If not, looks like I'll ha ...Show All
Smart Device Development RegistryPermissionAttribute on Windows Mobile 2003
Hi, having some troubles here... within visual studio 2005 beta 2 environment, when i insert the code [assembly: RegistryPermissionAttribute(SecurityAction.RequestMinimum, ViewAndModify = "HKEY_CURRENT_USER")] a) into a normal windows project the RegistryPermissionAttribute will go green when "using System.Security.Permissions;" is added above. the function has been ID'd or whatever is going on... b) in a windows mobile project it just stays black, and then i get an build error. Error 1 The type or namespace name 'RegistryPermissionAttribute' could not be found (are you missing a using directiv ...Show All
Visual Studio how could I merge several branches in SourceSafe?
Hi all If our team create several branches version based on the same baseline, in the end we wanna merge these branches, how could we implement it in SourceSafe Hope your reply, thanks in advance Well..., it is on file by file basis... ok I can leave with that, and you can use the show difference command and it shows 100 diferent files in 20 folders. So far so good. Now you want to merge them... in the context menu there is no merge.. ... the dialog is modal so you cannot go back an use the merge branch command there is no raport so you can save the difference ... The "best" solution is to have two instances op ...Show All
Visual C# Compiling a native C DLL for use in VC# using DllImport
Hi Group! I'm a C# newbie (real wet and raw) as well as a complete newbie to Microsoft OS programming. Normally I use native 'C' on Posix complient platforms - which I've been doing for many decades. Scruitinsed this BB for an answer but can't find anything close. Also burrowed around in Visual C# IDE for clues - none forthcoming. For reasons of speed and size I want to write a suite of routines in native 'C' and encapsulate them in an external module - presumably a DLL. Can someone please give me a pointer to how to get started in Microsoft products Can Visual C# IDE compile a native C routine (after all most C++ IDE's can) and what do I ha ...Show All
Visual Studio Team System First impressions....
...In case anyone is bothered!!! http://blogs.conchango.com/jamiethomson/archive/2006/06/13/4072.aspx Anyone else got stuff to say -Jamie Thanks for taking a look. I noticed when you created the project you choose "Other Projects>Database Projects" not just the Projects Node (notice on your screen shot ) just above Other Project Types. Our product project is that one. The one you used is the existing VS project type and doesn't work the same way our project does. ...Show All
.NET Development obtaining identity from sql server after insert using DA - constraint error
I am using a DA with individual select, i,u and delete sps. The update sp first updates the fields UPDATE Customer SET [Company] = @Company,........ then returns the whole row to ensure that calculated columns are refreshed at the client. I used to have a simple select for this and it worked fine : SELECT [Customer].[Company],.............. FROM Customer WHERE PK = @PK but for ease of applying future changes, I wanted to simply call the select sp instead: exec CustomerSelect @PK (this is call immediately after the insert statement in the stored procedure) This causes an exception . The update does occur, but the ...Show All
Visual Studio VSS extremely slow over internet
hi. i have a setup with several local clients to the database and a remote client that is connectected over a 2mbit dsl line. now, i know that 2mbit isn't _that_ much, but is it really necessary for a 'get latest version' to take up to 20 minutes the ss database is only 10 mb in size... what options do we have in order to make this thing a little faster WM_THX thomas woelfer http://www.die.de/blog Hi, That comparison has been posted on this forum, too, but it seems that you have to read it "cum grano salis" http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=21541&SiteID=1 Alin ...Show All
Windows Forms Inherited forms and the designer (again)
Hi I've found many threads in this and other forms dealing with similar issues to my this, but none which provided what should be a simple answer. I have a form which inherits from a base form. In the constructor of the base form controls (typically lists) are populated with data. We're currently using firebird embedded database. The designer pops up with the familiar red message, and the following exception text: Unable to load DLL 'fbembed': The specified module could not be found. (Exception from HRESULT: 0x8007007E) (etc) My question is around the mechanics of the designer. I gather that it instantiates an insta ...Show All
.NET Development SMTPClient do not send authorisation properly
Hi, I have very simple code which tries to send email via relay server requiring authorisation. Code is below. It does not work becouse after running sniffer I found .NET runtiime is incorrectly sending AUTH field to server 142.165.72.18 192.168.251.102 Response: 220 bgmpomr2.sasknet..ca -- Server ESMTP (SaskTel eMessaging Service) 192.168.251.102 142.165.72.18 Command: EHLO workhome 142.165.72.18 192.168.251.102 Response: 250-bgmpomr2.sasknet.sk.ca 192.168.251.102 142.165.72.18 Command: AUTH login ZmFz 142.165.72.18 192.168.251.102 Response: 501 5.5.0 Invalid input (Invalid authentication protocol).   ...Show All
Visual Basic Creating a Windows Service
In VS .NET 2003, you could create a Windows Service using Visual Basic. This was a great feature and I used it several times. I went to try this in VS 2005 and it doesn't seem to be an option. Will this feature be included in the final version of VS 2005 or am I just not finding it in B2 Thanks. That is the case, but I would be very surprised if VS Profesional didn't contain the Windows Service Template. Well it did in VS 2003 anyway. ...Show All
Software Development for Windows Vista How to check if a workflowruntime has been loaded
Hi there, since only one workflowruntime allowed in a appdomain, I need a mechanism to check if the runtime has been loaded, if yes, I also need to get the reference for the runtime so that I can run my workflow. Thanks in advance. Hi Walter, In a given appdomain the program would know if the workflowruntime is created or not. If a second runtime is created an exception is thrown. May be I am missing something but the program will have a reference to the runtime created, right If not, the program should try to keep the reference of the runtime created. Also more details of the scenario and the signif ...Show All
.NET Development Can application be command line and Forms at the same time?
Hello, Is it possible to build application which will accept input from command line and run with GUI at the same time Something like shutdown.exe where you can initiate shutdown from command line or if you launch it with "-i" parameter then it'll display interface. Hi Yes you can, Just add a Windows Form to your Console Application and open it just like we open it in other applications [STAThread] static void Main( string [] args) { Form1 frm = new Form1(); frm.ShowDialog(); } ...Show All
