vbtheo's Q&A profile
Visual C++ Importing, compiling and running source code
Okay, so I've downloaded some source code off the net, can someone pls tell me how to get it into visual c++, compile it and run it ... can't seem to find this info anywhere. Desperately yours, ron.photog Hello Re: Importing, compiling and running source code I am going to mark this thread as answered since you have not followed up with any further information on your problem - I assume you solved the problem yourself or one of the suggestions in this thread helped you solved the problem. If you have a solution you could post it so others can find it. If you do not have a solution then please submit further details and then mark the thread as unanswered. Thanks ...Show All
SQL Server How SQL 2005 Execute a sp in master db when called from other db?
In previous SQL server version, if I create stored procedure sp_XXXXX in master database, then call it from other database (session context is other than master) with master..sp_XXXXX. SQL server will execute the sp with the environment from where it was called. However, in SQL 2005, if I call it with "master..sp_XXXXX", SQL 2005 will switch the context to master database and execute the sp in master database environment. I wonder if I did something wrong or that is the way SQL 2005 execute the sp. If this is the way SQL 2005 does business, then, how to exec a sp in master database with local environment Thank you for any help. The capability to create system objects in master ...Show All
Smart Device Development Error Code c00e000b recieved when starting msmq on Pocket PC Phone Addition
Hello All... Im getting error code c00e000b on a pocket pc device when using visadm to start msmq after installing it. when I use the verify short cut I get a successfull reply but when I use the status short cut I get the c00e000b error code. I have seen many posting on the internet for this error but no solutions. I downloaded the msmq cab from the MS web site to make sure I have the latest version, but Im not sure it is the right version for my processor my device has a Intel(R) PXA270 processor and Im using the msmq.arm.CAB There's no MSMQ CAB for WM 2003. You'd need to copy these files to device and configure MSMQ as described in Mark's blog or MSDN. These files are redistributable, so y ...Show All
SQL Server How to create a cross line on the chart.
Hello, Im trying to create a benchmark report using the bar graph, where the values on the y axis are presented in % goin from 0 and upwards. But the problem I'm having is show a red line at 100% which indicates the benchmark value. I have attached a image link below of the graph Im trying create using reporting service. And it's the red line in that graph im struggling with. http://test.mercatus.no/test/BenchMarkGraph.JPG Hope some one can help me with this issue. Thanks Regards Rajeevan ...Show All
Visual C# Webbrowser - Find what word was clicked
Is it possible to find what word a user clicks when he/she clicks inside of a webbrowser control, using C# I would like to highlight/select the word that is clicked, or at least know what the word is, so I can search my database for possible definitions. I would like it to be like when you double click a word in internet explorer (on a webpage), and it selects the word, but I only want the user to have to do it in one click. I thought about converting all my words to hyper-links, and then getting the active element from the Document, but I think that will take too much processing power for lengthy data displays. Any ideas will be helpful. Thanks, - Jon There recently was a subject covered on handlin ...Show All
Visual Studio 2008 (Pre-release) Custom TreeView Layout [Article]
Hey all, I just posted an article to the CodeProject which shows how to turn the TreeView into something like an org chart. I'm pretty happy with the results, so if you are interested in checking it out: http://www.codeproject.com/useritems/CustomTreeViewLayout.asp ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problems with SurfaceFormat.Bgra1010102 on the XBOX360
graphics . PreferredBackBufferFormat = SurfaceFormat . Bgra1010102; If I have the above line right after I create my GraphicsDeviceManager, anything I render to the screen comes out as total garbage in terms of color values *except* while one of the 360's panels (or whatever they're called - the ones the big X button brings up) is rendering. In that case everything renders fine. Simple example, I render out a farily heavily tessellated quad who's verts range from -32 to +32 in world space (in both X and Z directions, Y = 0). My vertex shader passes abs( worldPos.xz ) into the pixel shader as a texture coordinate and the pixel shader returns float4( frac( texCoord ), 0, 1 ) . I expect this to give me a r ...Show All
SQL Server Full feature demo for SSRS Web Service Rendering (with Interactive Sort)?
Is there any example I can find a full feature demo of SSRS Web Service Rendering with Interactive Sort and other features enabled For MS: Indeed I think ReportViewer Control should be an open source component as we as developer needs the flexibility to customize the report viewer interface as well as can learn directly from the control source so to understand how can we integrate better with SSRS. The RSExplorer sample distributed with the SQL Server 2005 Samples (installed by default in C:\Program Files\Microsoft SQL Server\90\Samples\Reporting Services\Application Samples\RSExplorer Sample) will probably help. Interactive sort uses the ReportExecutionService.Sort API. However, I don't think you will get too far trying to implemen ...Show All
SQL Server Forwarding ?
Hi There Anyone have a good resource for a forwarding example I have a distributed service broker application working but i would like to add a forwarder in the mix, all i can find in BOL is that you must create an endpoint for forwarding and create the correct routes on a frowarder but thats it. Is that all you require AN instance with a forwarding endpoint correct routes I am looking for an actual example, cannot find anything in BOL on how to actually implement it I downloaded forwarder1.1 example from getdotnet.com, but that example sucks, it does even create routes Thanx The sample shows how to implement data-dependent routing service that performs forwarding. That has nothing t ...Show All
Visual Studio Team System Attaching an attachment from one bug to another
I am trying to create a new bug which is based on another bug, how can I get the attachments from the original bug to the new bug I tried downloading the attachment and creating a new attachment object, but this does not seem to work. Thanks for any help... For v1, TFS delegated attachment downloads to the default web browser (essentially returns a url). Please note that downloading attachments via our code is not a supported scenario - even though it is possible through laborious means If you want to attach the same file to another work item, you would need to write an HTTP Get Request to download the file locally, then attach it via the Object Model to another work item. The url to get a file ...Show All
Visual Studio 2008 (Pre-release) Feature Request for LINQ designer
Could I make a small request, or perhaps this has already been done and I'm just not aware of it... When dragging tables into the LINQ Designer I get nice classes that I can customize. But what I would really love is if 2 classes were generated: a base class consisted only of the table's member properties, and an subclass that utilizes all of the LINQ data access features. This way I can decouple the LINQ specific data access code from my business objects and allow me to do other things with them (such as Serialize them!) Can this be done Thank you.. The entity classes generated for LINQ to SQL do not contain any data access logic in them, only some attributes on the properties if you chose to use attribute based mappin ...Show All
Smart Device Development Using a cdb database with evc++ 4.0
Hi there, I'm quiet new at this stuff (former VB6.0 programmer) and now i'm trying to build an apllication wich should access a database with 5 table's. This application should be running under windows CE 5.0 and therefor i chose the *.cdb database. This is how far i'm right now, i don't have enough background in evc++ or c++ to fully understand the info from the MSDN. Has anybody got an example for me to get me on the way Why you've chosen database which is long deprecated and no longer available And why C++ you don't know instead of VB.Net ...Show All
Windows Live Developer Forums Virtuak Earth 3d install
This may not be the place, but I can not find help anywhere for my problem. The Live.Mail group referred me here. My problem is that when I open and select the 3d map, the 3d objects are represented by a blue silhouette and never fill in the object. I went through the acceleration settings, FAQs, etc. to no avail. I am running XP Pro, IE7, 3.2 GHz P4 CPU, 1 mb ram. When I originally installed VE, I had my default browser set to Firefox 2.0. I reset my browser to IE7, uninstalled and reinstalled VE. I saved it to disk, also ran it from the site all to no avail. During the original installation, I also installed Live Local for Outlook. This seems to be OK so I left it as is. I noticed the map was taking a minute to load ( I have 768 kbps DS ...Show All
SQL Server Linked server problem
I linked two sql servers (one an x64 sql 2005 server the other a sql 2000 x86 server). The link is from the x64 box to the x86 box and I used Windows authentication to forge the links. When the developer (who has Windows accounts on both boxes) logs in locally to the x64 box and runs a query, data is returned from the linked server. But when the same developer logs into his own client box and uses Management Studio to access the x64 box (via Windows authentication) and run the same query, he gets this error message" "Login failed for user '(null)'. Reason: not associated with a trusted SQL Server Connection" I presume that the developer should be able to access this data from his own box or can the linked data o ...Show All
SQL Server AMO Security Scripting Problem
Hi! I have a little program that creates roles for a catalog and cubes. The roles is created fine and all the read permissions on the different cubes as well. Also adding different users to the roles is no problem. Then when i look in BIDS( open analysis services database) everything looks exactly as it should. However, the different roles does not work for the users that are added through the script. But, if i manually add a user to one of the created roles, it works for that user. Anybody who knows what is going on The roles both have users and user groups in them. If you 'script' a role, the script just contains the names of the role members, NOT the permissions. Those permissions are stored in the cubes an ...Show All
