OC's Q&A profile
Visual Studio There is no source code available for the current location message box
Hi, I'm having problems with the debugger. The code was working fine 2 days ago and since yesterday I'm getting a popup window saying "there is no source code available for the current location". It must be a very common problem, since I've seen many posts over the internet related to this message. I'm posting with the source code, so apologies if you find that the post is lengthy. My environment is Visual C++. NET 2003. I also checked the debug source files from the solution properties and checked that there's no file appearing on the "Do not look for these source files" field. I tried to clean the solution, I even tried to create a new project from scratch.... If anybody is kind enough to test this little pie ...Show All
SQL Server Reporting Services authenticating with Analysis Services
Setup: Reporting Services and Analysis Services are on the same server. Active Directory User. Default configuration of Reporting Services. Problem: Reporting Server does not apply Analysis Services Role after login. Details: I have created a report that retreives data from the Analysis Service. I created a role and added my user company/myUserName to the role. On the Reporting Server I set the data source to : * Credentials supplied by the user running the report and Use as Windows credentials when connecting to the data source Internally when I connect devsql2005/Reports/ReportName I get the user and password fields. When I fill them in I get the report but I can see all the data while my role was restricted to see only ...Show All
Visual Studio Team System Importing schema causes full crash in CTP5 (but worked fine with CTP4)
I had just upgraded from CTP4 to CTP5 and am now having crashing problem (full crash, have to restart VS) trying to import a schema. It was not never a problem importing this same schema in CTP4. Any ideas Thanks Yep. The same problem. Full crash on Import or Database Schema Compare. Without any error output - just closes VS. Worked on CTP4. Pretty small amount of objects. SQL 2005 Server & project. ...Show All
Smart Device Development using Microsoft.WindowsMobile.PocketOutlook;
In my codes, I type that using Microsoft.WindowsMobile.PocketOutlook at my codes head. But it can not pass building. the error tell that there are no WindowsMobile at namespace Microsoft. why Thank you You need to add the assembly as a reference in the projects where you are using this namespace. You can do this by right clicking on the References folder in the solution panel and selecting add reference, Microsoft.WindowsMobile.PocketOutlook will show up in the list. ...Show All
Visual Studio warnings in Code Snippets Output for snippets in My Snippets folder
Hi Everybody, I've got a strange problem with Code snippets I've created for C# (I'm using VS2005 for Developers). I've created the snippets xml files (using snippy) And put them in Visual Studio 2005\CodeSnippets\Visual c#\My Code Snippets The snippets I've created work OK, I can add them from the Intelisense menu, or by writing the snippet shortcut and pressing TAB. The problem is that I keep getting these warning in the Code Snippets Output window C:\Documents and Settings\<myUser>\My Documents\Visual Studio 2005\Code Snippets\Visual C#\My Code Snippets\events.snippet: Missing or unspecified Language attribute C:\Documents and Settings\<myUser>\My Documents\Visual Studio 2005\Code Snippets\Visual C#\My Code ...Show All
Visual Studio Express Editions Get the source of a web page
Hello, My program needs to get the source of a webpage (eg codeproject.com) and return it into a variable: dim sourcecode as string=getsource("http://codeproject.com") Thanks in advance The following will work although it writes to a disk file in between. My .Computer.Network.DownloadFile( " http://codeproject.com " , "C:\test.html" ) Dim s As String = My .Computer.FileSystem.ReadAllText( "C:\test.html" ) ...Show All
Visual Studio Express Editions SImple Calculator problems
can anyone help me on how to make decimal point and to also perform the order of operations .. doing more then one problem at once such as 2+3*4 thank you SCott i am not sure that i really understand this.. im new to doing this so i need like... the simpelest explination... i have posted a copy of my code . maybe that will help... once again. i jsut need to make a deciamal point work and function as well as performing order of operations.. but with out the bracets...ex.() i need fo the calc.. to do it it self thanks for oyur help scott Public Class Form1 'Scott Kushner Dim DisplayNum As Integer = 0 Dim PrevNum As Integer Dim Intop As Integ ...Show All
Microsoft ISV Community Center Forums Can you tell me why Int(1.4 * 100) = 139
Can someone help me to find solution: Int(1.3 * 100) = 130 Int(1.4 * 100) = 139 (also Int(1.38 to 1.49 * 100 ) ) Int(1.5 * 100) = 150 (VBA:Retail 6.0.874) Thanks in advace I am not sure why, but after some testing. It is pretty interesting. Anyway, to solve this issue, use CInt instead of Int. The Int() function seems to give this strange result, but CInt is totally fine. Also this problem only happends when you use Int() function. If you just do msgbox cstr(1.4 * 100), it will give you 140. Try this code to see how things behave. ' explicit double Dim a1 As Double, a2 As Double a1 = 1.4 a2 = 100 MsgBox "CStr(a1 * a2) = " + CStr( ...Show All
SQL Server Linked server 2000 to 2005: Error 17 sql server does not exist or access denined.
I'm trying to link SQL Server 2000 sp3 to SQL 2005 64 bit. I keep getting Error 17 sql server does not exist or access denined. I tried adding remote user mapping and chaning the linked server properties to "Be made using this security context" without any success. Any help is appreciated. I am also receving this code error, from a .Net 2003/C# to Crystal Report XI. I get: Failled to Connection: [Vendor Error 17]. Is there a security permission that has been overlooked Here is the code I use to access CR XI ConnectionInfo connectionInfo = new ConnectionInfo(); TableLogOnInfo tableLogO ...Show All
.NET Development Loading reused XML file only once in WebService
I have a web service that reads in an xml files whose data will only change on occasion. One day the WebService (written in ASP.NET, 1.1 framework) will be in production where hundreds of people could run the code at once. I am trying to find a way that the XML file could be opened only the first time the code is run and saved into some kind of memory eliminating many instances of the same data being opened. Cache and sessions have been discussed but I’m not sure if they will work for this purpose. Does anyone know if and how we could accomplish this Do not use Session unless each user has their own XML file. Instead I would try the Cache approach. This prevents the framework from having to load and p ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Performing custom blending in pixel shaders?
Hi, I've read that in xna the fixed function pipeline has been wholly removed, with the exception of alpha blending. My question is, is there a way to do blending in the pixel shader anyway, for example: to write a full screen shader that takes what has currently been drawn and applies some effect to it (ie. makes the scene black and white, applies blur, whatever) that can't be achieved with just alpha blending Or is there some other standard way of doing this Yes, save your current backbuffer (GetRenderTarget) set the new one as a surface from your texture (GetSurfaceLevel, SetRenderTarget), then render what you want to the texture. Then set the render target back to the original, set the texture. Af ...Show All
Windows Forms cross Thread control accessbility
I am having a serious problem with accessing controls in another thread. This is the runtime error message I get. I want to describe the setup in general terms without displaying the code since it is large and complicated and would need a lot of editing for clarity if I am to do it. What I hope to get from this post is a general recommednation as to how such problems should be handled. It more information is desirable I will post the code. I have a Form1 class. There is another class, BuildNewTabsPages , that generates new TabPages for my TabControl on demand. When a new TabPage is created all its subcontrols end up in a Thread in the ThreadPool, I suppose. When the new TabPage is created by calling a function makeNewIntraDayPAG ...Show All
Visual Basic VB Auto generation program
I want to run a vb exe file everyday at a particular time. How to set the time function. I think we have to write the code in registry file. But i am not confirm about it. Please help me to do this. Thanks Sasikala hi christopher fleming, i have used the scheduled task to set the repeat time for the file. But i have received the error as " The new task has been created, but may not run because the account information could not be set. The specific error is : 0x80070005 : Access is denied. " Please let me know what to do now. It is not working. thanks ...Show All
SQL Server Domain Migration
I am trying to migrate users accounts from a 2000 Server to 2003 server I am changing domain names and the new domain a is a child domain off a parent domain. I have created a trust on both domain servers and the parent domain and I have created administrative users on each domain I am using the ADMIT migration tool and can get all the way through it then get an access denied when it trys to create the accounts. The knowledge bases on this say I need a Domain Admin user on each domains for the other domain. Being in a child domain it does not let me create this I have created users and added the admistrative group for each user this should give the rights to create the users on the new domain, but still am getting the access denied. Does ...Show All
SQL Server Visual Studio 2005 The remote connection to the device has been lost. Please verify the device connection and restart debugg
Basically I've been using Visual Studio 2005 for a few weeks now moving a Pocket PC project from 2003 to 2005. When I hit the Start Debugging Button every time until today the project would rebuild and deploy to my pocket PC allowing me to debug etc but now I get The remote connection to the device has been lost. Please verify the device conection and restart debugging. I used to get this problem in VS2003 sometimes and just like the numerous posts on different sites that I've looked at the problem eventually goes away and I'm none the wiser. One guy said that he found that if he went to bed the problem was resolved when he came back! My PDA running Windows 2003 2nd Edition is directly connected to my PC via a USB port. I've re ...Show All
