bergtatt's Q&A profile
Visual Studio Team System How to call Stored Prosedure?
Hi, I added a storedProcedureTableAdapter to MyDataset, this stored procedure return one int value, how to execute it and how to get this value from my windows app, I'm using VS2005 team. ...Show All
SQL Server 2005 breaks sp_rename for constraints?
BooksOnline indicates that sp_rename can still be used to rename constraints such as primary keys, foreign keys, defaults, etc. in SQL Server 2005. However, when I try to do so I get this: "Either the parameter @objname is ambiguous or the claimed @objtype (object) is wrong." After looking at the code for sp_rename, it looks like this problem might be related to another bit of apparent misbehavior on 2005's part: when I execute "select object_name()" with the Id number of a constraint, it returns the name, but when I execute "select object_id()" with the name of that same constraint, it returns null. Why is that Thanks, Ron Did you specify the schema make sure that Object_id is only v ...Show All
Windows Forms MSI Package Question
I have developed an VS2005/VB application that I have installed on a couple of end-users PC. The application works great with one exception. After I install the package and run the application the first time, either as a local administrator or standard user, the application looks for the MSI package to complete the install. What can I do to get this to stop. I'm not sure why it would not work the first time I setup the install package, but I deleted the setup routine and re-created it and now it works just fine. ...Show All
Visual C++ "Access is denied." errors with VS2005-SP1 and Vista ?
Hello, I have some projects that fail to build because VS2005 says something like this: ERROR: Could not create the file 'C:\Users\Mark\AppData\Local\Temp\VSIC1D7.tmp' 'Access is denied.' I can go to this folder, and create a file here, so I seem to have permissions okay. I'm running VS2005 SP1, and running it as administrator. I'm also running under Vista. Any ideas Thanks, Mark Beiley http://www.beiley.com ...Show All
Microsoft ISV Community Center Forums Checking a userform that is not visible yet
I have a userform where the user can make some choices. If the user wants to be more specific he/she can press a button and a second userform is shown that offers more detailed choices. The second userform is thus optional and if the user whishes to skip that step he/she should be able to do so. My problem is that the (default)settings in the second userform is necessary for the rest of the macro. now i have it all on the same userform but that creates a problem because there are so many checkboxes etc. that it becomes hard to use. I thus want to use the setup described above. my problem is that I need to keep everything variable eg now i count the number of checkboxes in the userform and use that value later on. question 1) is it ...Show All
Visual Basic unique constraints
how can i set empid,logdate and loantype=1 as unique let say empid logdate loanid 1000 1/1/01 1 1000 1/1/01 &nb ...Show All
Visual Basic Merge 2 Richtext Box Contents with Formatting
Hi.. I want to Merge 2 Richtext Box Control's(VB6) Text in to the 3rd Richtext Box with Preserve the formatting ( BOLD, Italic, etc.) of those two. Vimal Me . RichTextBox1 . Rtf = Me . RichTextBox2 . Rtf & Me . RichTextBox3 . Rtf ...Show All
Smart Device Development Which Platform?
I have written an application using VS 2005, and installed it on a pda(s) running Windows Mobile 5.0. Now, what I want to do now, is to load the same application on to a Windows CE 5.0 environmnet as well. Looking at it, it should work The main question I have is that once loaded on either enviroment, I need to know which one the application is running. If the application is running on WM 5.0 follow a set up route of say a) or if it is CE 5.0 then do b). Not too much differnce to be honest, but I was wondering if there was some system variable that I could look at, which would indicate the environment - WM 5.0 or CE 5.0 Ok, I've just about everything I can think of, and I always get an 'unhandled exception error ...Show All
Visual C++ trying to _not_ return full paths not working
so the /FC compiler option is not set but I am still getting the full paths returned when using __FILE__, using vc++ 2005 express. is this a bug or is the /fc used somewhere else ...Show All
.NET Development [HttpException (0x80004005): Unable to validate data.
I have this error and saw a post in MSDN by KYLE kyle on 7/16/2005. Rok Yu answer on 7/18/2005 to look at http://forums.asp.net but no available. What is the cause and solution of this. It seems to me that the Web server need session persistence to be set on if it is load balanced. Am I correct Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Unable to validate data. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and loca ...Show All
Visual Studio Express Editions Not sure how to do this
How to describe this: I have a String Variable that will contain a specific string. I have another variable may or may not contain a different string that i want to use if this variable has the string instead of the first string variable. For example: Dim Variable1 as String Dim Variable2 as String Variable1 = "Test" Variable2 = "Something Else" (Which it may or may not contain something based on user input/selection) If Variable2.Contains = True then Variable1 = Variable2 End If This is not working.....Ideas Regards, LVB You might need to initialize the variable first for this to work, try this: Dim Variable1 as String = "Test&qu ...Show All
Smart Device Development Treo 700w to Treo 700p
Have any body converted an application from windows mobile 5.0 treo 700w to palm treo 700p. I have an application for windows mobile 5.0.This application consists of three c++ projects and on C# project. i.e. 1,A Service [c++ dll] 2,A today screen plugin [ c++ dll] 3,A messaging prject [c++ exe] 4, C# client project [exe] Now I also want's convert it for the treo 700p [palm os] What Can I do. Probably nothing, you'd need to rewrite your entire application from scratch. There's no way you can "convert" it, at best you can reuse some C++ code. In this case you can probably reuse nothing. Palm OS is single task OS, so no services. There’s also no "today" plug-in and no C#. Not sure what "messaging p ...Show All
.NET Development proxy error when consuming internal web service
I've pulled out much hair over this, so I hope a guru out there can quickly see the err of my ways. I have created (with the help of some code from articles) a web service that accesses an external web site (outside of our company firewall). I have coded the web proxy and credentials into the web service. In testing via a browser, the web service performs correctly, in that it authenticates thru the firewall and returns data to the browser in XML format. Now I need to consume that web service in an ASP.NET application. However, it fails with the error : The request failed with HTTP status 502: Bad Gateway. The client code is pretty darn simple, so I'm embarrassed that it's not easily working. The sanitized code is below (client and web ...Show All
Windows Forms how to set Listview Item Heigh in C#
how to set Item Height in listview without setting font size --thanks You can do this is you assign an ImageList and set ImageList.ImageSize. You don't have to use the icon(s) in the image list. I am not sure if the ImageList needs to actually contain any icons. Hope this helps. Er ...Show All
Windows Search Technologies no e-mails are indexed
just installed latest version of windows desktop search on my home computer. I use it at work and think it is great. However at home no e-mails are indexed it does not seem to recognise that I have outlook installed. I have outlook 2003, windows xp, service pack 2 and latest updates. Any help would be appreciated as i would really like to be able to use this at home too. thanks thanks for the information but that didn't work for me. It shows as outlook express installed and that outlook is not installed :( ...Show All
